DatasourceOperationsGetResponse

pydantic model openapi_client.models.datasource_operations_get_response.DatasourceOperationsGetResponse

Polymorphic success body for GET /datasources/{datasource_id}/operations. Exact shape depends on action (see oneOf).

Fields:
field oneof_schema_1_validator: Optional[DatasourceOperationMessageResponse] = None
field oneof_schema_2_validator: Optional[ExtApiSampleDataResponse] = None
field oneof_schema_3_validator: Optional[ArcgisSupportedItemTypesResponse] = None
field oneof_schema_4_validator: Optional[List[StrictStr]] = None

getSchemas and getSchemaTables — sorted list of schema or table names from the schema-conversion lambda.

field oneof_schema_5_validator: Optional[List[DatasourceOperationsGetResponseOneOfInner]] = None

getTableMetadata — column descriptors from the schema-conversion lambda.

field actual_instance: Optional[Union[ArcgisSupportedItemTypesResponse, DatasourceOperationMessageResponse, ExtApiSampleDataResponse, List[DatasourceOperationsGetResponseOneOfInner], List[str]]] = None
field one_of_schemas: Set[str] = {'ArcgisSupportedItemTypesResponse', 'DatasourceOperationMessageResponse', 'ExtApiSampleDataResponse', 'List[DatasourceOperationsGetResponseOneOfInner]', 'List[str]'}
__init__(*args, **kwargs)

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

classmethod from_dict(obj)
Return type:

Self

classmethod from_json(json_str)

Returns the object represented by the json string

Return type:

Self

to_json()

Returns the JSON representation of the actual instance

Return type:

str

to_dict()

Returns the dict representation of the actual instance

Return type:

Union[Dict[str, Any], ArcgisSupportedItemTypesResponse, DatasourceOperationMessageResponse, ExtApiSampleDataResponse, List[DatasourceOperationsGetResponseOneOfInner], List[str], None]

to_str()

Returns the string representation of the actual instance

Return type:

str