Class BulkUpdateNotesMetadata


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200630")
    public final class BulkUpdateNotesMetadata
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Metadata about the bulk update notes operation.

    The bulk update notes operation is atomic and binary. If the processing of any of the attributes in the bulk update notes request results in a processing or validation error, then none of the notes in the update notes request are updated.
    Note: Objects should always be created or deserialized using the BulkUpdateNotesMetadata.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the BulkUpdateNotesMetadata.Builder, which maintain a set of all explicitly set fields called BulkUpdateNotesMetadata.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Method Detail

      • getOperationStatus

        public BulkUpdateNotesMetadata.OperationStatus getOperationStatus()
        Operation status of the bulk update notes operation.

        SUCCESS - The bulk updates notes request has succeeded and all the attributes in the bulk update notes request have been updated with the provided notes. The following are error statuses for the bulk update notes operation. EMPTY_ATTRIBUTE_LIST - The bulk update notes request object was empty and did not contain any attributes for which notes had to be updated. INVALID_BULK_REQUEST - The bulk request contains invalid attribute(s), or attribute(s) that resulted in a validation error, or an attribute that resulted in a processing error.

        Returns:
        the value
      • getAttributesNotesUpdated

        public Integer getAttributesNotesUpdated()
        Total number attributes (both string and numeric) in TRACES namespace for which notes were updated.
        Returns:
        the value
      • getSyntheticAttributesPinned

        public Integer getSyntheticAttributesPinned()
        Total number attributes (both string and numeric) in SYNTHETIC namespace that were pinned.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel