Class FolderSpecification

java.lang.Object
com.veeroute.lss.monitor.model.FolderSpecification

@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 FolderSpecification extends Object
Folder specification.
  • Field Details

  • Constructor Details

    • FolderSpecification

      public FolderSpecification()
  • Method Details

    • parentKey

      public FolderSpecification parentKey(@Nullable UUID parentKey)
    • getParentKey

      @Nullable public UUID getParentKey()
      Parent folder key, `null` if the folder is root.
      Returns:
      parentKey
    • setParentKey

      public void setParentKey(@Nullable UUID parentKey)
    • name

      public FolderSpecification name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Folder name.
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • comment

      public FolderSpecification comment(@Nullable String comment)
    • getComment

      @Nullable public String getComment()
      Folder comment.
      Returns:
      comment
    • setComment

      public void setComment(@Nullable String comment)
    • color

      public FolderSpecification color(@Nullable String color)
    • getColor

      @Nullable public String getColor()
      Folder color.
      Returns:
      color
    • setColor

      public void setColor(@Nullable String color)
    • expirationDate

      public FolderSpecification expirationDate(@Nullable OffsetDateTime expirationDate)
    • getExpirationDate

      @Nullable public OffsetDateTime 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

      public void setExpirationDate(@Nullable OffsetDateTime expirationDate)
    • attributes

      public FolderSpecification attributes(@Nullable Set<Attribute> attributes)
    • addAttributesItem

      public FolderSpecification addAttributesItem(Attribute attributesItem)
    • getAttributes

      @Nullable public Set<Attribute> getAttributes()
      Attributes. Used to add service information.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(@Nullable Set<Attribute> attributes)
    • putAdditionalProperty

      public FolderSpecification putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the FolderSpecification instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static FolderSpecification fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of FolderSpecification to an JSON string
      Returns:
      JSON string