Class AttributeUpdateNotesResponse
Response of an individual attribute item in the bulk update notes operation.
Inherited Members
Namespace: Oci.ApmtracesService.Models
Assembly: OCI.DotNetSDK.Apmtraces.dll
Syntax
public class AttributeUpdateNotesResponse
Properties
AttributeName
Declaration
[Required(ErrorMessage = "AttributeName is required.")]
[JsonProperty(PropertyName = "attributeName")]
public string AttributeName { get; set; }
Property Value
Type | Description |
---|---|
string | Attribute for which notes were added to or edited in this bulk operation. |
Remarks
Required
AttributeNameSpace
Declaration
[Required(ErrorMessage = "AttributeNameSpace is required.")]
[JsonProperty(PropertyName = "attributeNameSpace")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AttributeUpdateNotesResponse.AttributeNameSpaceEnum? AttributeNameSpace { get; set; }
Property Value
Type | Description |
---|---|
AttributeUpdateNotesResponse.AttributeNameSpaceEnum? | Namespace of the attribute whose notes were updated. The attributeNameSpace will default to TRACES if it is not passed in. |
Remarks
Required
AttributeStatus
Declaration
[Required(ErrorMessage = "AttributeStatus is required.")]
[JsonProperty(PropertyName = "attributeStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AttributeUpdateNotesResponse.AttributeStatusEnum? AttributeStatus { get; set; }
Property Value
Type | Description |
---|---|
AttributeUpdateNotesResponse.AttributeStatusEnum? | 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). |
Remarks
Required
Notes
Declaration
[Required(ErrorMessage = "Notes is required.")]
[JsonProperty(PropertyName = "notes")]
public string Notes { get; set; }
Property Value
Type | Description |
---|---|
string | Notes added to or edited for this attribute. |
Remarks
Required
OperationType
Declaration
[Required(ErrorMessage = "OperationType is required.")]
[JsonProperty(PropertyName = "operationType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public AttributeUpdateNotesResponse.OperationTypeEnum? OperationType { get; set; }
Property Value
Type | Description |
---|---|
AttributeUpdateNotesResponse.OperationTypeEnum? | Type of operation - UPDATE_NOTES. |
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time when the attribute's notes were updated. |
Remarks
Required