PatchModelOperation¶
- class oci.ai_document.models.PatchModelOperation(**kwargs)¶
Bases:
objectThe metadata which can be edited after model creation.
Attributes:
A constant which can be used with the operation property of a PatchModelOperation.
A constant which can be used with the operation property of a PatchModelOperation.
A constant which can be used with the operation property of a PatchModelOperation.
Gets the operation of this PatchModelOperation.
Gets the path of this PatchModelOperation.
Gets the value of this PatchModelOperation.
Methods:
__init__(**kwargs)Initializes a new PatchModelOperation object with values from keyword arguments.
- OPERATION_ADD = 'ADD'¶
A constant which can be used with the operation property of a PatchModelOperation. This constant has a value of “ADD”
- OPERATION_DELETE = 'DELETE'¶
A constant which can be used with the operation property of a PatchModelOperation. This constant has a value of “DELETE”
- OPERATION_REPLACE = 'REPLACE'¶
A constant which can be used with the operation property of a PatchModelOperation. This constant has a value of “REPLACE”
- __init__(**kwargs)¶
Initializes a new PatchModelOperation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
path (str) – The value to assign to the path property of this PatchModelOperation.
value (str) – The value to assign to the value property of this PatchModelOperation.
operation (str) – The value to assign to the operation property of this PatchModelOperation. Allowed values for this property are: “DELETE”, “ADD”, “REPLACE”
- property operation¶
Gets the operation of this PatchModelOperation. The value of the parameter to be updated.
Allowed values for this property are: “DELETE”, “ADD”, “REPLACE”
- Returns
The operation of this PatchModelOperation.
- Return type
str
- property path¶
Gets the path of this PatchModelOperation. The parameter of the resource to be changed.
- Returns
The path of this PatchModelOperation.
- Return type
str
- property value¶
Gets the value of this PatchModelOperation. The value of the parameter to be updated.
- Returns
The value of this PatchModelOperation.
- Return type
str