Class Category.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.Category.Builder
-
- Enclosing class:
- Category
public static final class Category.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Category.Builderactive(boolean active)Whether the category is active and therefore available for useCategory.Builderactive(org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> active)Whether the category is active and therefore available for useCategorybuild()Category.Builderhierarchy(Hierarchy hierarchy)The hierarchal level of the categoryCategory.Builderhierarchy(org.openapitools.jackson.nullable.JsonNullable<? extends Hierarchy> hierarchy)The hierarchal level of the categoryCategory.Builderid(java.lang.String id)The ID associated with this categoryCategory.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)The ID associated with this categoryCategory.Builderlanguage(CategoryLanguage language)The language associated with this categoryCategory.Builderlanguage(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryLanguage> language)The language associated with this categoryCategory.Builderlevel(Level level)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Category.Builderlevel(org.openapitools.jackson.nullable.JsonNullable<? extends Level> level)Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Category.Buildername(java.lang.String name)The name associated with this categoryCategory.Buildername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)The name associated with this categoryCategory.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierCategory.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierCategory.BuilderunifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectCategory.BuilderunifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne project
-
-
-
Method Detail
-
id
public Category.Builder id(java.lang.String id)
The ID associated with this category
-
id
public Category.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
The ID associated with this category
-
remoteId
public Category.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public Category.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
unifiedCustomFields
public Category.Builder unifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
unifiedCustomFields
public Category.Builder unifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
name
public Category.Builder name(java.lang.String name)
The name associated with this category
-
name
public Category.Builder name(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
The name associated with this category
-
active
public Category.Builder active(boolean active)
Whether the category is active and therefore available for use
-
active
public Category.Builder active(org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> active)
Whether the category is active and therefore available for use
-
hierarchy
public Category.Builder hierarchy(Hierarchy hierarchy)
The hierarchal level of the category
-
hierarchy
public Category.Builder hierarchy(org.openapitools.jackson.nullable.JsonNullable<? extends Hierarchy> hierarchy)
The hierarchal level of the category
-
level
@Deprecated public Category.Builder level(Level level)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The hierarchal level of the category
-
level
@Deprecated public Category.Builder level(org.openapitools.jackson.nullable.JsonNullable<? extends Level> level)
Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.The hierarchal level of the category
-
language
public Category.Builder language(CategoryLanguage language)
The language associated with this category
-
language
public Category.Builder language(org.openapitools.jackson.nullable.JsonNullable<? extends CategoryLanguage> language)
The language associated with this category
-
build
public Category build()
-
-