Class DTODirectoryUpdate

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.docshare.documents.rs1.directory.DTODirectoryUpdate
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class DTODirectoryUpdate extends DynO
DTO used to update the given directory.
Since:
14.0
See Also:
GCApi:
dto
  • Constructor Details

    • DTODirectoryUpdate

      public DTODirectoryUpdate()
  • Method Details

    • getName

      public final Optional<String> getName()
      Gets the name.
      Returns:
      the name
    • setName

      public final void setName(Optional<String> name)
      Sets the name.
      Parameters:
      name - the new name
    • getStartValidityDate

      public final Optional<ZonedDateTime> getStartValidityDate()
      Gets the start validity date.
      Returns:
      the start validity date
    • setStartValidityDate

      public final void setStartValidityDate(Optional<ZonedDateTime> startValidityDate)
      Sets the start validity date.
      Parameters:
      startValidityDate - the new start validity date
    • getEndValidityDate

      public final Optional<ZonedDateTime> getEndValidityDate()
      Gets the end validity date.
      Returns:
      the end validity date
    • setEndValidityDate

      public final void setEndValidityDate(Optional<ZonedDateTime> endValidityDate)
      Sets the end validity date.
      Parameters:
      endValidityDate - the new end validity date
    • getDraft

      public final Optional<Boolean> getDraft()
      Checks if the directory is draft.
      Returns:
      true if the directory is draft, false otherwise
    • setDraft

      public final void setDraft(Optional<Boolean> draft)
      Sets the directory to draft.
      Parameters:
      draft - true if the directory must be draft, false otherwise