RequestAccess

pydantic model openapi_client.models.request_access.RequestAccess

RequestAccess

Fields:
field resource_type: StrictStr [Required] (alias 'ResourceType')

Resource type to request access for (lowercased in handler). Supported: domains, datasets, datasources, jobs, dashboards, datalabs, data-pipelines, glossaries, agents; tenants when MULTI_TENANCY=yes. Else IPV-1041.

Constraints:
  • strict = True

field resource_id: StrictStr [Required] (alias 'ResourceId')

ID of the resource. For domains/tenants this is the name key used by the resource table. Rejected with IPV-1002 if missing.

Constraints:
  • strict = True

field access_type: StrictStr [Required] (alias 'AccessType')

Access level requested. Rejected with ACR-1001 if the user already has equal or higher access.

Constraints:
  • strict = True

field comment: StrictStr [Required] (alias 'Comment')

Reason for the access request (stored as RequestersComment).

Constraints:
  • strict = True

field additional_params: Optional[RequestAccessAdditionalParams] = None (alias 'AdditionalParams')
to_str()

Returns the string representation of the model using alias

Return type:

str

to_json()

Returns the JSON representation of the model using alias

Return type:

str

classmethod from_json(json_str)

Create an instance of RequestAccess from a JSON string

Return type:

Optional[Self]

to_dict()

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic’s self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

Return type:

Dict[str, Any]

classmethod from_dict(obj)

Create an instance of RequestAccess from a dict

Return type:

Optional[Self]