@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class CreateFolderDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Properties used in folder create operations.
Note: Objects should always be created or deserialized using the CreateFolderDetails.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 CreateFolderDetails.Builder
, which maintain a
set of all explicitly set fields called CreateFolderDetails.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 |
CreateFolderDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateFolderDetails(String displayName,
String businessName,
String description,
List<CustomPropertySetUsage> customPropertyMembers,
Map<String,Map<String,String>> properties,
String parentFolderKey,
Date timeExternal,
String lastJobKey,
HarvestStatus harvestStatus,
String typeKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateFolderDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getBusinessName()
Optional user friendly business name of the folder.
|
List<CustomPropertySetUsage> |
getCustomPropertyMembers()
The list of customized properties along with the values for this object
|
String |
getDescription()
Detailed description of a folder.
|
String |
getDisplayName()
A user-friendly display name.
|
HarvestStatus |
getHarvestStatus()
Folder harvesting status.
|
String |
getLastJobKey()
The job key of the harvest process that updated the folder definition from the source system.
|
String |
getParentFolderKey()
The key of the containing folder or null if there isn’t a parent folder.
|
Map<String,Map<String,String>> |
getProperties()
A map of maps that contains the properties which are specific to the folder type.
|
Date |
getTimeExternal()
Last modified timestamp of this object in the external system.
|
String |
getTypeKey()
Type key of the object.
|
int |
hashCode() |
CreateFolderDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","businessName","description","customPropertyMembers","properties","parentFolderKey","timeExternal","lastJobKey","harvestStatus","typeKey"}) public CreateFolderDetails(String displayName, String businessName, String description, List<CustomPropertySetUsage> customPropertyMembers, Map<String,Map<String,String>> properties, String parentFolderKey, Date timeExternal, String lastJobKey, HarvestStatus harvestStatus, String typeKey)
public static CreateFolderDetails.Builder builder()
Create a new builder.
public CreateFolderDetails.Builder toBuilder()
public String getDisplayName()
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
public String getBusinessName()
Optional user friendly business name of the folder. If set, this supplements the harvested display name of the object.
public String getDescription()
Detailed description of a folder.
public List<CustomPropertySetUsage> getCustomPropertyMembers()
The list of customized properties along with the values for this object
public Map<String,Map<String,String>> getProperties()
A map of maps that contains the properties which are specific to the folder type. Each folder
type definition defines it’s set of required and optional properties. The map keys are
category names and the values are maps of property name to property value. Every property is
contained inside of a category. Most folders have required properties within the “default”
category. To determine the set of optional and required properties for a folder type, a query
can be done on ‘/types?type=folder’ that returns a collection of all folder types. The
appropriate folder type, which includes definitions of all of it’s properties, can be
identified from this collection. Example: {"properties": { "default": { "key1":
"value1"}}}
public String getParentFolderKey()
The key of the containing folder or null if there isn’t a parent folder.
public Date getTimeExternal()
Last modified timestamp of this object in the external system.
public String getLastJobKey()
The job key of the harvest process that updated the folder definition from the source system.
public HarvestStatus getHarvestStatus()
Folder harvesting status.
public String getTypeKey()
Type key of the object. Type keys can be found via the ‘/types’ endpoint.
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.