Class AnimatedGifAllOf


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class AnimatedGifAllOf
    extends Object
    AnimatedGifAllOf
    • Constructor Detail

      • AnimatedGifAllOf

        public AnimatedGifAllOf()
    • Method Detail

      • getPreviewImageUrl

        @Nullable
        public URL getPreviewImageUrl()
        Get previewImageUrl
        Returns:
        previewImageUrl
      • setPreviewImageUrl

        public void setPreviewImageUrl​(URL previewImageUrl)
      • getVariants

        @Nullable
        public List<Variant> getVariants()
        An array of all available variants of the media.
        Returns:
        variants
      • setVariants

        public void setVariants​(List<Variant> variants)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to AnimatedGifAllOf
      • fromJson

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

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