Class TimestampRep


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2026-03-05T10:45:26.516033Z[Etc/UTC]",
               comments="Generator version: 7.18.0")
    public class TimestampRep
    extends java.lang.Object
    TimestampRep
    • Field Detail

      • SERIALIZED_NAME_MILLISECONDS

        public static final java.lang.String SERIALIZED_NAME_MILLISECONDS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_SECONDS

        public static final java.lang.String SERIALIZED_NAME_SECONDS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_RFC3339

        public static final java.lang.String SERIALIZED_NAME_RFC3339
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_SIMPLE

        public static final java.lang.String SERIALIZED_NAME_SIMPLE
        See Also:
        Constant Field Values
      • openapiFields

        public static java.util.HashSet<java.lang.String> openapiFields
      • openapiRequiredFields

        public static java.util.HashSet<java.lang.String> openapiRequiredFields
    • Constructor Detail

      • TimestampRep

        public TimestampRep()
    • Method Detail

      • milliseconds

        public TimestampRep milliseconds​(@Nullable
                                         java.lang.Long milliseconds)
      • getMilliseconds

        @Nullable
        public java.lang.Long getMilliseconds()
        Get milliseconds
        Returns:
        milliseconds
      • setMilliseconds

        public void setMilliseconds​(@Nullable
                                    java.lang.Long milliseconds)
      • seconds

        public TimestampRep seconds​(@Nullable
                                    java.lang.Long seconds)
      • getSeconds

        @Nullable
        public java.lang.Long getSeconds()
        Get seconds
        Returns:
        seconds
      • setSeconds

        public void setSeconds​(@Nullable
                               java.lang.Long seconds)
      • rfc3339

        public TimestampRep rfc3339​(@Nullable
                                    java.lang.String rfc3339)
      • getRfc3339

        @Nullable
        public java.lang.String getRfc3339()
        Get rfc3339
        Returns:
        rfc3339
      • setRfc3339

        public void setRfc3339​(@Nullable
                               java.lang.String rfc3339)
      • simple

        public TimestampRep simple​(@Nullable
                                   java.lang.String simple)
      • getSimple

        @Nullable
        public java.lang.String getSimple()
        Get simple
        Returns:
        simple
      • setSimple

        public void setSimple​(@Nullable
                              java.lang.String simple)
      • putAdditionalProperty

        public TimestampRep putAdditionalProperty​(java.lang.String key,
                                                  java.lang.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 TimestampRep instance itself
      • getAdditionalProperties

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws java.io.IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        java.io.IOException - if the JSON Element is invalid with respect to TimestampRep
      • fromJson

        public static TimestampRep fromJson​(java.lang.String jsonString)
                                     throws java.io.IOException
        Create an instance of TimestampRep given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of TimestampRep
        Throws:
        java.io.IOException - if the JSON string is invalid with respect to TimestampRep
      • toJson

        public java.lang.String toJson()
        Convert an instance of TimestampRep to an JSON string
        Returns:
        JSON string