Class ChangeAssetTypeRequest
Object
ChangeAssetTypeRequest
- All Implemented Interfaces:
Serializable
The properties of the Asset Type to be changed.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe acronym code, a code representing the acronym that should be shown.getColor()The color of the symbol, in a hex format e.g.The new description for the Asset Type.Whether display name should be enabled for all Assets of changed type.The icon code, a code representing the icon that should be shown.getId()Required. The ID of the Asset Type to be changed.getName()The new name for the Asset Type.The ID of the new parent for the Asset Type.The new public id for the Asset Type.Whether rating should be enabled for all Assets of given type.The symbol type.inthashCode()voidsetAcronymCode(String acronymCode) The acronym code, a code representing the acronym that should be shown.voidThe color of the symbol, in a hex format e.g.voidsetDescription(String description) The new description for the Asset Type.voidsetDisplayNameEnabled(Boolean displayNameEnabled) Whether display name should be enabled for all Assets of changed type.voidsetIconCode(String iconCode) The icon code, a code representing the icon that should be shown.voidRequired. The ID of the Asset Type to be changed.voidThe new name for the Asset Type.voidsetParentId(UUID parentId) The ID of the new parent for the Asset Type.voidsetPublicId(String publicId) The new public id for the Asset Type.voidsetRatingEnabled(Boolean ratingEnabled) Whether rating should be enabled for all Assets of given type.voidsetSymbolType(AssetTypeSymbolType symbolType) The symbol type.voidsetTraitIds(List<UUID> traitIds) toString()
-
Constructor Details
-
ChangeAssetTypeRequest
public ChangeAssetTypeRequest()
-
-
Method Details
-
builder
-
getId
Required. The ID of the Asset Type to be changed. -
getPublicId
The new public id for the 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".
WARNING : The public id should only be changed with extreme caution, since it can break existing customizations. The only valid use case is to change it after creation of the type, if no public id was specified, and the generated proposal is not acceptable. -
getName
The new name for the Asset Type. -
getDescription
The new description for the Asset Type. -
getParentId
The ID of the new parent for the Asset Type. -
getColor
The color of the symbol, in a hex format e.g. '#000000'. This format always includes the '#' and has a size of 7. -
getSymbolType
The symbol type. -
getIconCode
The icon code, a code representing the icon that should be shown. -
getAcronymCode
The acronym code, a code representing the acronym that should be shown. -
getDisplayNameEnabled
Whether display name should be enabled for all Assets of changed type. -
getRatingEnabled
Whether rating should be enabled for all Assets of given type. -
getTraitIds
-
setId
Required. The ID of the Asset Type to be changed. -
setPublicId
The new public id for the 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".
WARNING : The public id should only be changed with extreme caution, since it can break existing customizations. The only valid use case is to change it after creation of the type, if no public id was specified, and the generated proposal is not acceptable. -
setName
The new name for the Asset Type. -
setDescription
The new description for the Asset Type. -
setParentId
The ID of the new parent for the Asset Type. -
setColor
The color of the symbol, in a hex format e.g. '#000000'. This format always includes the '#' and has a size of 7. -
setSymbolType
The symbol type. -
setIconCode
The icon code, a code representing the icon that should be shown. -
setAcronymCode
The acronym code, a code representing the acronym that should be shown. -
setDisplayNameEnabled
Whether display name should be enabled for all Assets of changed type. -
setRatingEnabled
Whether rating should be enabled for all Assets of given type. -
setTraitIds
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-