AttributeUpdateNotesResponse¶
-
class
oci.apm_traces.models.
AttributeUpdateNotesResponse
(**kwargs)¶ Bases:
object
Response of an individual attribute item in the bulk update notes operation.
Attributes
ATTRIBUTE_NAME_SPACE_SYNTHETIC
A constant which can be used with the attribute_name_space property of a AttributeUpdateNotesResponse. ATTRIBUTE_NAME_SPACE_TRACES
A constant which can be used with the attribute_name_space property of a AttributeUpdateNotesResponse. ATTRIBUTE_STATUS_ATTRIBUTE_DOES_NOT_EXIST
A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. ATTRIBUTE_STATUS_ATTRIBUTE_NOTES_UPDATED
A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. ATTRIBUTE_STATUS_ATTRIBUTE_NOT_PROCESSED
A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. ATTRIBUTE_STATUS_DUPLICATE_ATTRIBUTE
A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. ATTRIBUTE_STATUS_INVALID_ATTRIBUTE
A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. ATTRIBUTE_STATUS_NOTES_TOO_LONG
A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. OPERATION_TYPE_UPDATE_NOTES
A constant which can be used with the operation_type property of a AttributeUpdateNotesResponse. attribute_name
[Required] Gets the attribute_name of this AttributeUpdateNotesResponse. attribute_name_space
[Required] Gets the attribute_name_space of this AttributeUpdateNotesResponse. attribute_status
[Required] Gets the attribute_status of this AttributeUpdateNotesResponse. notes
[Required] Gets the notes of this AttributeUpdateNotesResponse. operation_type
[Required] Gets the operation_type of this AttributeUpdateNotesResponse. time_updated
[Required] Gets the time_updated of this AttributeUpdateNotesResponse. Methods
__init__
(**kwargs)Initializes a new AttributeUpdateNotesResponse object with values from keyword arguments. -
ATTRIBUTE_NAME_SPACE_SYNTHETIC
= 'SYNTHETIC'¶ A constant which can be used with the attribute_name_space property of a AttributeUpdateNotesResponse. This constant has a value of “SYNTHETIC”
-
ATTRIBUTE_NAME_SPACE_TRACES
= 'TRACES'¶ A constant which can be used with the attribute_name_space property of a AttributeUpdateNotesResponse. This constant has a value of “TRACES”
-
ATTRIBUTE_STATUS_ATTRIBUTE_DOES_NOT_EXIST
= 'ATTRIBUTE_DOES_NOT_EXIST'¶ A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. This constant has a value of “ATTRIBUTE_DOES_NOT_EXIST”
-
ATTRIBUTE_STATUS_ATTRIBUTE_NOTES_UPDATED
= 'ATTRIBUTE_NOTES_UPDATED'¶ A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. This constant has a value of “ATTRIBUTE_NOTES_UPDATED”
-
ATTRIBUTE_STATUS_ATTRIBUTE_NOT_PROCESSED
= 'ATTRIBUTE_NOT_PROCESSED'¶ A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. This constant has a value of “ATTRIBUTE_NOT_PROCESSED”
-
ATTRIBUTE_STATUS_DUPLICATE_ATTRIBUTE
= 'DUPLICATE_ATTRIBUTE'¶ A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. This constant has a value of “DUPLICATE_ATTRIBUTE”
-
ATTRIBUTE_STATUS_INVALID_ATTRIBUTE
= 'INVALID_ATTRIBUTE'¶ A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. This constant has a value of “INVALID_ATTRIBUTE”
-
ATTRIBUTE_STATUS_NOTES_TOO_LONG
= 'NOTES_TOO_LONG'¶ A constant which can be used with the attribute_status property of a AttributeUpdateNotesResponse. This constant has a value of “NOTES_TOO_LONG”
-
OPERATION_TYPE_UPDATE_NOTES
= 'UPDATE_NOTES'¶ A constant which can be used with the operation_type property of a AttributeUpdateNotesResponse. This constant has a value of “UPDATE_NOTES”
-
__init__
(**kwargs)¶ Initializes a new AttributeUpdateNotesResponse object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - attribute_name (str) – The value to assign to the attribute_name property of this AttributeUpdateNotesResponse.
- notes (str) – The value to assign to the notes property of this AttributeUpdateNotesResponse.
- operation_type (str) – The value to assign to the operation_type property of this AttributeUpdateNotesResponse. Allowed values for this property are: “UPDATE_NOTES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- attribute_name_space (str) – The value to assign to the attribute_name_space property of this AttributeUpdateNotesResponse. Allowed values for this property are: “TRACES”, “SYNTHETIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- attribute_status (str) – The value to assign to the attribute_status property of this AttributeUpdateNotesResponse. Allowed values for this property are: “ATTRIBUTE_NOTES_UPDATED”, “DUPLICATE_ATTRIBUTE”, “INVALID_ATTRIBUTE”, “ATTRIBUTE_NOT_PROCESSED”, “ATTRIBUTE_DOES_NOT_EXIST”, “NOTES_TOO_LONG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_updated (datetime) – The value to assign to the time_updated property of this AttributeUpdateNotesResponse.
-
attribute_name
¶ [Required] Gets the attribute_name of this AttributeUpdateNotesResponse. Attribute for which notes were added to or edited in this bulk operation.
Returns: The attribute_name of this AttributeUpdateNotesResponse. Return type: str
-
attribute_name_space
¶ [Required] Gets the attribute_name_space of this AttributeUpdateNotesResponse. Namespace of the attribute whose notes were updated. The attributeNameSpace will default to TRACES if it is not passed in.
Allowed values for this property are: “TRACES”, “SYNTHETIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The attribute_name_space of this AttributeUpdateNotesResponse. Return type: str
-
attribute_status
¶ [Required] Gets the attribute_status of this AttributeUpdateNotesResponse. Status of the attribute after this operation. The attribute can have one of the following statuses after the update notes operation. The attribute can have either a success status or an error status. The status of the attribute must be correlated with the operation status property in the bulk operation metadata object. The bulk operation will be successful only when all attributes in the bulk request are processed successfully and they get a success status back. The following are successful status values of individual attribute items in a bulk update notes operation. ATTRIBUTE_NOTES_UPDATED - The attribute’s notes have been updated with the given notes. DUPLICATE_ATTRIBUTE - The attribute is a duplicate of an attribute that was present in this bulk request. Note that we deduplicate the attribute collection, process only unique attributes, and call out duplicates. A duplicate attribute in a bulk request will not prevent the processing of further attributes in the bulk operation. The following values are error statuses and the bulk processing is stopped when the first error is encountered. INVALID_ATTRIBUTE - The attribute is invalid. The length of the notes is more than a 1000 characters. ATTRIBUTE_NOT_PROCESSED - The attribute was not processed, as there was another attribute in this bulk request collection that resulted in a processing error. ATTRIBUTE_DOES_NOT_EXIST - Attribute was neither active nor pinned inactive. NOTES_TOO_LONG - Attribute notes were too long (more than 1000 chars).
Allowed values for this property are: “ATTRIBUTE_NOTES_UPDATED”, “DUPLICATE_ATTRIBUTE”, “INVALID_ATTRIBUTE”, “ATTRIBUTE_NOT_PROCESSED”, “ATTRIBUTE_DOES_NOT_EXIST”, “NOTES_TOO_LONG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The attribute_status of this AttributeUpdateNotesResponse. Return type: str
-
notes
¶ [Required] Gets the notes of this AttributeUpdateNotesResponse. Notes added to or edited for this attribute.
Returns: The notes of this AttributeUpdateNotesResponse. Return type: str
-
operation_type
¶ [Required] Gets the operation_type of this AttributeUpdateNotesResponse. Type of operation - UPDATE_NOTES.
Allowed values for this property are: “UPDATE_NOTES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The operation_type of this AttributeUpdateNotesResponse. Return type: str
-
time_updated
¶ [Required] Gets the time_updated of this AttributeUpdateNotesResponse. Time when the attribute’s notes were updated.
Returns: The time_updated of this AttributeUpdateNotesResponse. Return type: datetime
-