Class ExtensionOCITags
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.identitydomains.model.ExtensionOCITags
-
@Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class ExtensionOCITags extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
OCI Tags.
Note: Objects should always be created or deserialized using theExtensionOCITags.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 theExtensionOCITags.Builder
, which maintain a set of all explicitly set fields calledExtensionOCITags.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExtensionOCITags.Builder
-
Constructor Summary
Constructors Constructor Description ExtensionOCITags(List<FreeformTags> freeformTags, List<DefinedTags> definedTags, Object tagSlug)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExtensionOCITags.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<DefinedTags>
getDefinedTags()
OCI Defined TagsList<FreeformTags>
getFreeformTags()
OCI Freeform TagsObject
getTagSlug()
OCI Tag slugint
hashCode()
ExtensionOCITags.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ExtensionOCITags
@Deprecated @ConstructorProperties({"freeformTags","definedTags","tagSlug"}) public ExtensionOCITags(List<FreeformTags> freeformTags, List<DefinedTags> definedTags, Object tagSlug)
Deprecated.
-
-
Method Detail
-
builder
public static ExtensionOCITags.Builder builder()
Create a new builder.
-
toBuilder
public ExtensionOCITags.Builder toBuilder()
-
getFreeformTags
public List<FreeformTags> getFreeformTags()
OCI Freeform Tags*Added In:** 2011192329
*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - type: complex - required: false - mutability: readWrite - returned: default - multiValued: true
- Returns:
- the value
-
getDefinedTags
public List<DefinedTags> getDefinedTags()
OCI Defined Tags*Added In:** 2011192329
*SCIM++ Properties:** - idcsCompositeKey: [namespace, key, value] - type: complex - idcsSearchable: true - required: false - mutability: readWrite - multiValued: true - returned: default
- Returns:
- the value
-
getTagSlug
public Object getTagSlug()
OCI Tag slug*Added In:** 2011192329
*SCIM++ Properties:** - type: binary - mutability: readOnly - returned: request
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-