Package com.oracle.bmc.cims.model
Class SubCategories
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cims.model.SubCategories
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class SubCategories extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
List of subcategories under a service.
Note: Objects should always be created or deserialized using theSubCategories.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 theSubCategories.Builder
, which maintain a set of all explicitly set fields calledSubCategories.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
SubCategories.Builder
-
Constructor Summary
Constructors Constructor Description SubCategories(Map<String,String> serviceCategory, String schema, String hasSubCategory, List<SubComponents> subCategories)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubCategories.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getHasSubCategory()
Flag to identify if subComponent is presentString
getSchema()
Schema of a subcategory.Map<String,String>
getServiceCategory()
Subcategory list.List<SubComponents>
getSubCategories()
The sub component list for MOS Taxonomy.int
hashCode()
SubCategories.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
SubCategories
@Deprecated @ConstructorProperties({"serviceCategory","schema","hasSubCategory","subCategories"}) public SubCategories(Map<String,String> serviceCategory, String schema, String hasSubCategory, List<SubComponents> subCategories)
Deprecated.
-
-
Method Detail
-
builder
public static SubCategories.Builder builder()
Create a new builder.
-
toBuilder
public SubCategories.Builder toBuilder()
-
getServiceCategory
public Map<String,String> getServiceCategory()
Subcategory list.- Returns:
- the value
-
getSchema
public String getSchema()
Schema of a subcategory.- Returns:
- the value
-
getHasSubCategory
public String getHasSubCategory()
Flag to identify if subComponent is present- Returns:
- the value
-
getSubCategories
public List<SubComponents> getSubCategories()
The sub component list for MOS Taxonomy.- 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
-
-