java.lang.Object
de.hybris.platform.b2ctelcotmfresources.v4.dto.TimePeriod

@Validated @Generated(value="de.hybris.platform.b2ctelcotmfresources.swagger.TelcoCodegen", date="2022-10-21T20:34:37.643Z") public class TimePeriod extends Object
A period of time, either as a deadline (endDateTime only) a startDateTime only, or both
  • Constructor Details

    • TimePeriod

      public TimePeriod()
  • Method Details

    • endDateTime

      public TimePeriod endDateTime(Date endDateTime)
    • getEndDateTime

      @Valid public @Valid Date getEndDateTime()
      End of the time period, using IETC-RFC-3339 format
      Returns:
      endDateTime
    • setEndDateTime

      public void setEndDateTime(Date endDateTime)
    • startDateTime

      public TimePeriod startDateTime(Date startDateTime)
    • getStartDateTime

      @Valid public @Valid Date getStartDateTime()
      Start of the time period, using IETC-RFC-3339 format
      Returns:
      startDateTime
    • setStartDateTime

      public void setStartDateTime(Date startDateTime)
    • atbaseType

      public TimePeriod atbaseType(String atbaseType)
    • getAtbaseType

      public String getAtbaseType()
      When sub-classing, this defines the super-class
      Returns:
      atbaseType
    • setAtbaseType

      public void setAtbaseType(String atbaseType)
    • atschemaLocation

      public TimePeriod atschemaLocation(String atschemaLocation)
    • getAtschemaLocation

      public String getAtschemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atschemaLocation
    • setAtschemaLocation

      public void setAtschemaLocation(String atschemaLocation)
    • attype

      public TimePeriod attype(String attype)
    • getAttype

      public String getAttype()
      When sub-classing, this defines the sub-class entity name
      Returns:
      attype
    • setAttype

      public void setAttype(String attype)
    • 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