Class AddAssetTypeRequest
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AddAssetTypeRequest.Builderbuilder()protected booleanbooleanA code representing the acronym that should be shown.getColor()The color of the symbol in hex format (starting with '#' followed by either 3 or 6 hex digits).The description of the new Asset Type.booleanDeprecated.This method will be removed in the future.The icon code, a code representing the icon that should be shown.getId()The UUID that will be assigned to the new Asset Type.getName()Required. The name of the new Asset Type.The ID of the parent for the new Asset Type.The public id that will be assigned to the new Asset Type.booleanDeprecated.This method will be removed in the future.Required. The symbol type.inthashCode()booleanWhether the display name should be enabled for all Assets of the type being created.booleanWhether ratings should be enabled for all Assets of the type being created.voidsetAcronymCode(String acronymCode) A code representing the acronym that should be shown.voidThe color of the symbol in hex format (starting with '#' followed by either 3 or 6 hex digits).voidsetDescription(String description) The description of the new Asset Type.voidsetDisplayNameEnabled(boolean displayNameEnabled) Required. Whether the display name should be enabled for all Assets of the type being created.voidsetIconCode(String iconCode) The icon code, a code representing the icon that should be shown.voidThe UUID that will be assigned to the new Asset Type.voidRequired. The name of the new Asset Type.voidsetParentId(UUID parentId) The ID of the parent for the new Asset Type.voidsetPublicId(String publicId) The public id that will be assigned to the new Asset Type.voidsetRatingEnabled(boolean ratingEnabled) Required. Whether ratings should be enabled for all Assets of the type being created.voidsetSymbolType(AssetTypeSymbolType symbolType) Required. The symbol type.toString()
-
Constructor Details
-
AddAssetTypeRequest
public AddAssetTypeRequest()
-
-
Method Details
-
isDisplayNameEnabled
public boolean isDisplayNameEnabled()Whether the display name should be enabled for all Assets of the type being created. -
getDisplayNameEnabled
Deprecated.This method will be removed in the future. Please useisDisplayNameEnabled() -
isRatingEnabled
public boolean isRatingEnabled()Whether ratings should be enabled for all Assets of the type being created. -
getRatingEnabled
Deprecated.This method will be removed in the future. Please useisRatingEnabled() -
builder
-
getId
The UUID that will be assigned to the new Asset Type.The UUID should be unique within all Asset Types, and should not start with
00000000-0000-0000-which is a reserved prefix. -
getPublicId
The public id that will be assigned to the new Asset Type.It must be unique within all Asset Types, Complex Relation Types, Domain Types and Scopes. It should contain only ASCII letters and digits. It must start with an uppercase ASCII character. It must end with "_C". If no public id is provided, a valid public id will be generated.
-
getName
Required. The name of the new Asset Type. Should be unique within all Asset Types. -
getDescription
The description of the new Asset Type. -
getColor
The color of the symbol in hex format (starting with '#' followed by either 3 or 6 hex digits). -
getSymbolType
Required. The symbol type. -
getIconCode
The icon code, a code representing the icon that should be shown. -
getAcronymCode
A code representing the acronym that should be shown. Must have at least 1 and at most 4 alphanumeric characters. -
getParentId
The ID of the parent for the new Asset Type. -
setId
The UUID that will be assigned to the new Asset Type.The UUID should be unique within all Asset Types, and should not start with
00000000-0000-0000-which is a reserved prefix. -
setPublicId
The public id that will be assigned to the new Asset Type.It must be unique within all Asset Types, Complex Relation Types, Domain Types and Scopes. It should contain only ASCII letters and digits. It must start with an uppercase ASCII character. It must end with "_C". If no public id is provided, a valid public id will be generated.
-
setName
Required. The name of the new Asset Type. Should be unique within all Asset Types. -
setDescription
The description of the new Asset Type. -
setColor
The color of the symbol in hex format (starting with '#' followed by either 3 or 6 hex digits). -
setSymbolType
Required. The symbol type. -
setIconCode
The icon code, a code representing the icon that should be shown. -
setAcronymCode
A code representing the acronym that should be shown. Must have at least 1 and at most 4 alphanumeric characters. -
setParentId
The ID of the parent for the new Asset Type. -
setDisplayNameEnabled
public void setDisplayNameEnabled(boolean displayNameEnabled) Required. Whether the display name should be enabled for all Assets of the type being created. -
setRatingEnabled
public void setRatingEnabled(boolean ratingEnabled) Required. Whether ratings should be enabled for all Assets of the type being created. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-