PrevalidatePatchPayload

class oci.globally_distributed_database.models.PrevalidatePatchPayload(**kwargs)

Bases: oci.globally_distributed_database.models.prevalidate_payload.PrevalidatePayload

Payload to prevalidate patch sharded database operation.

Attributes

OPERATION_CREATE str(object=’’) -> str
OPERATION_PATCH str(object=’’) -> str
operation [Required] Gets the operation of this PrevalidatePayload.
prevalidate_payload [Required] Gets the prevalidate_payload of this PrevalidatePatchPayload.
sharded_database_id [Required] Gets the sharded_database_id of this PrevalidatePatchPayload.

Methods

__init__(**kwargs) Initializes a new PrevalidatePatchPayload object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
OPERATION_CREATE = 'CREATE'
OPERATION_PATCH = 'PATCH'
__init__(**kwargs)

Initializes a new PrevalidatePatchPayload object with values from keyword arguments. The default value of the operation attribute of this class is PATCH and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • operation (str) – The value to assign to the operation property of this PrevalidatePatchPayload. Allowed values for this property are: “CREATE”, “PATCH”
  • prevalidate_payload (oci.globally_distributed_database.models.PatchShardedDatabaseDetails) – The value to assign to the prevalidate_payload property of this PrevalidatePatchPayload.
  • sharded_database_id (str) – The value to assign to the sharded_database_id property of this PrevalidatePatchPayload.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

operation

[Required] Gets the operation of this PrevalidatePayload. The operation on sharded database that need to be pre-validated.

Allowed values for this property are: “CREATE”, “PATCH”

Returns:The operation of this PrevalidatePayload.
Return type:str
prevalidate_payload

[Required] Gets the prevalidate_payload of this PrevalidatePatchPayload.

Returns:The prevalidate_payload of this PrevalidatePatchPayload.
Return type:oci.globally_distributed_database.models.PatchShardedDatabaseDetails
sharded_database_id

[Required] Gets the sharded_database_id of this PrevalidatePatchPayload. Sharded database identifier

Returns:The sharded_database_id of this PrevalidatePatchPayload.
Return type:str