@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class CreateTermDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Properties used in term create operations.
Note: Objects should always be created or deserialized using the CreateTermDetails.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 CreateTermDetails.Builder
, which maintain a
set of all explicitly set fields called CreateTermDetails.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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateTermDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateTermDetails(String displayName,
String description,
Boolean isAllowedToHaveChildTerms,
String parentTermKey,
String owner,
TermWorkflowStatus workflowStatus,
List<CustomPropertySetUsage> customPropertyMembers)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateTermDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<CustomPropertySetUsage> |
getCustomPropertyMembers()
The list of customized properties along with the values for this object
|
String |
getDescription()
Detailed description of the term.
|
String |
getDisplayName()
A user-friendly display name.
|
Boolean |
getIsAllowedToHaveChildTerms()
Indicates whether a term may contain child terms.
|
String |
getOwner()
OCID of the user who is the owner of this business terminology.
|
String |
getParentTermKey()
The parent key of the term.
|
TermWorkflowStatus |
getWorkflowStatus()
Status of the approval process workflow for this business term in the glossary.
|
int |
hashCode() |
CreateTermDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","description","isAllowedToHaveChildTerms","parentTermKey","owner","workflowStatus","customPropertyMembers"}) public CreateTermDetails(String displayName, String description, Boolean isAllowedToHaveChildTerms, String parentTermKey, String owner, TermWorkflowStatus workflowStatus, List<CustomPropertySetUsage> customPropertyMembers)
public static CreateTermDetails.Builder builder()
Create a new builder.
public CreateTermDetails.Builder toBuilder()
public String getDisplayName()
A user-friendly display name. Is changeable. The combination of ‘displayName’ and ‘parentTermKey’ must be unique. Avoid entering confidential information.
public String getDescription()
Detailed description of the term.
public Boolean getIsAllowedToHaveChildTerms()
Indicates whether a term may contain child terms.
public String getParentTermKey()
The parent key of the term. In the case of a root-level category only, the term would have no parent and this should be left unset.
public String getOwner()
OCID of the user who is the owner of this business terminology.
public TermWorkflowStatus getWorkflowStatus()
Status of the approval process workflow for this business term in the glossary.
public List<CustomPropertySetUsage> getCustomPropertyMembers()
The list of customized properties along with the values for this object
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.