OperationsResponse

pydantic model openapi_client.models.operations_response.OperationsResponse

Polymorphic success body for the DWH operations of /clusters/{clustertype}/{operations}. Exact shape depends on operations (see oneOf). IndexHistory is deliberately NOT a member here even though operations=indexhistory is served by the same path. It is listed as a sibling branch on the operation’s response instead, because having it in both places made every array-shaped response match two branches of the enclosing oneOf and therefore fail validation.

Fields:
field oneof_schema_1_validator: Optional[ClusterGroups] = None
field oneof_schema_2_validator: Optional[ClusterMetrics] = None
field oneof_schema_3_validator: Optional[ClusterSchemas] = None
field oneof_schema_4_validator: Optional[ClusterSchemaTables] = None
field oneof_schema_5_validator: Optional[DWHListTables] = None
field oneof_schema_6_validator: Optional[DWHQueryResponse] = None
field oneof_schema_7_validator: Optional[DWHQueryResults] = None
field oneof_schema_8_validator: Optional[Tenants] = None
field oneof_schema_9_validator: Optional[TenantResponseBody] = None
field oneof_schema_10_validator: Optional[WLMConfigResponse] = None
field oneof_schema_11_validator: Optional[ClusterOperationsMessageResponse] = None
field actual_instance: Optional[Union[ClusterGroups, ClusterMetrics, ClusterOperationsMessageResponse, ClusterSchemaTables, ClusterSchemas, DWHListTables, DWHQueryResponse, DWHQueryResults, TenantResponseBody, Tenants, WLMConfigResponse]] = None
field one_of_schemas: Set[str] = {'ClusterGroups', 'ClusterMetrics', 'ClusterOperationsMessageResponse', 'ClusterSchemaTables', 'ClusterSchemas', 'DWHListTables', 'DWHQueryResponse', 'DWHQueryResults', 'TenantResponseBody', 'Tenants', 'WLMConfigResponse'}
__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], ClusterGroups, ClusterMetrics, ClusterOperationsMessageResponse, ClusterSchemaTables, ClusterSchemas, DWHListTables, DWHQueryResponse, DWHQueryResults, TenantResponseBody, Tenants, WLMConfigResponse, None]

to_str()

Returns the string representation of the actual instance

Return type:

str