Class PhotoAllOf


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

      • PhotoAllOf

        public PhotoAllOf()
    • Method Detail

      • getAltText

        @Nullable
        public String getAltText()
        Get altText
        Returns:
        altText
      • setAltText

        public void setAltText​(String altText)
      • getUrl

        @Nullable
        public URL getUrl()
        Get url
        Returns:
        url
      • setUrl

        public void setUrl​(URL url)
      • 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 PhotoAllOf
      • fromJson

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

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