Package com.veeroute.lss.monitor.model
Class Folder
java.lang.Object
com.veeroute.lss.monitor.model.Folder
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:38.388455705+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class Folder
extends Object
Folder is an element of a virtual file system.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) attributes(Set<Attribute> attributes) counters(FolderCounters counters) creationDate(OffsetDateTime creationDate) booleanexpirationDate(OffsetDateTime expirationDate) static FolderCreate an instance of Folder given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes.getColor()Folder color.Folder comment.Get countersCreation date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.Date and time of automatic deletion in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.getKey()Key, unique identifier.getName()Folder name.Unique company key.Unique username for login.Parent folder key, `null` if the folder is root.getType()Get typeinthashCode()ownerCompanyKey(String ownerCompanyKey) ownerUsername(String ownerUsername) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(Set<Attribute> attributes) voidvoidsetComment(String comment) voidsetCounters(FolderCounters counters) voidsetCreationDate(OffsetDateTime creationDate) voidsetExpirationDate(OffsetDateTime expirationDate) voidvoidvoidsetOwnerCompanyKey(String ownerCompanyKey) voidsetOwnerUsername(String ownerUsername) voidsetParentKey(UUID parentKey) voidsetType(FolderType type) toJson()Convert an instance of Folder to an JSON stringtoString()type(FolderType type) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_KEY
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_PARENT_KEY
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_COMMENT
- See Also:
-
SERIALIZED_NAME_COLOR
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
SERIALIZED_NAME_OWNER_COMPANY_KEY
- See Also:
-
SERIALIZED_NAME_OWNER_USERNAME
- See Also:
-
SERIALIZED_NAME_CREATION_DATE
- See Also:
-
SERIALIZED_NAME_EXPIRATION_DATE
- See Also:
-
SERIALIZED_NAME_COUNTERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Folder
public Folder()
-
-
Method Details
-
key
-
getKey
Key, unique identifier.- Returns:
- key
-
setKey
-
type
-
getType
Get type- Returns:
- type
-
setType
-
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
-
attributes
-
addAttributesItem
-
getAttributes
Attributes. Used to add service information.- Returns:
- attributes
-
setAttributes
-
ownerCompanyKey
-
getOwnerCompanyKey
Unique company key.- Returns:
- ownerCompanyKey
-
setOwnerCompanyKey
-
ownerUsername
-
getOwnerUsername
Unique username for login.- Returns:
- ownerUsername
-
setOwnerUsername
-
creationDate
-
getCreationDate
Creation date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.- Returns:
- creationDate
-
setCreationDate
-
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
-
counters
-
getCounters
Get counters- Returns:
- counters
-
setCounters
-
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 Folder 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 Folder
-
fromJson
Create an instance of Folder given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Folder
- Throws:
IOException- if the JSON string is invalid with respect to Folder
-
toJson
Convert an instance of Folder to an JSON string- Returns:
- JSON string
-