Package com.veeroute.lss.registry.model
Class FolderSpecification
java.lang.Object
com.veeroute.lss.registry.model.FolderSpecification
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:50.097229187+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class FolderSpecification
extends Object
Folder specification.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) attributes(Set<Attribute> attributes) booleanexpirationDate(OffsetDateTime expirationDate) static FolderSpecificationCreate an instance of FolderSpecification given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes.getColor()Folder color.Folder comment.Date and time of automatic deletion in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.getName()Folder name.Parent folder key, `null` if the folder is root.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(Set<Attribute> attributes) voidvoidsetComment(String comment) voidsetExpirationDate(OffsetDateTime expirationDate) voidvoidsetParentKey(UUID parentKey) toJson()Convert an instance of FolderSpecification to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_PARENT_KEY
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_COMMENT
- See Also:
-
SERIALIZED_NAME_COLOR
- See Also:
-
SERIALIZED_NAME_EXPIRATION_DATE
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FolderSpecification
public FolderSpecification()
-
-
Method Details
-
parentKey
-
getParentKey
Parent folder key, `null` if the folder is root.- Returns:
- parentKey
-
setParentKey
-
name
-
getName
Folder name.- Returns:
- name
-
setName
-
comment
-
getComment
Folder comment.- Returns:
- comment
-
setComment
-
color
-
getColor
Folder color.- Returns:
- color
-
setColor
-
expirationDate
-
getExpirationDate
Date and time of automatic deletion in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. Null means that automatic deletion does not occur.- Returns:
- expirationDate
-
setExpirationDate
-
attributes
-
addAttributesItem
-
getAttributes
Attributes. Used to add service information.- Returns:
- attributes
-
setAttributes
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the FolderSpecification instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to FolderSpecification
-
fromJson
Create an instance of FolderSpecification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FolderSpecification
- Throws:
IOException- if the JSON string is invalid with respect to FolderSpecification
-
toJson
Convert an instance of FolderSpecification to an JSON string- Returns:
- JSON string
-