Class ExtendExpiry


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.8.0")
    public class ExtendExpiry
    extends Object
    ExtendExpiry
    • Constructor Detail

      • ExtendExpiry

        public ExtendExpiry()
    • Method Detail

      • getNewExpiryValue

        @Nullable
        public String getNewExpiryValue()
        Get newExpiryValue
        Returns:
        newExpiryValue
      • setNewExpiryValue

        public void setNewExpiryValue​(String newExpiryValue)
      • setNewExpiryDate

        @Deprecated
        public void setNewExpiryDate​(String newExpiryDate)
        Deprecated.
      • getWarnPrior

        @Nullable
        public Boolean getWarnPrior()
        Get warnPrior
        Returns:
        warnPrior
      • setWarnPrior

        public void setWarnPrior​(Boolean warnPrior)
      • getOnBehalfOf

        @Nullable
        public String getOnBehalfOf()
        Get onBehalfOf
        Returns:
        onBehalfOf
      • setOnBehalfOf

        public void setOnBehalfOf​(String onBehalfOf)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode 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 ExtendExpiry
      • fromJson

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

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