Package com.launchdarkly.api.model
Class ResolvedImage
- java.lang.Object
-
- com.launchdarkly.api.model.ResolvedImage
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-07-11T22:46:03.646077Z[Etc/UTC]") public class ResolvedImage extends java.lang.Object
ResolvedImage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResolvedImage.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>
openapiFields
static java.util.HashSet<java.lang.String>
openapiRequiredFields
static java.lang.String
SERIALIZED_NAME_IS_AVATAR
static java.lang.String
SERIALIZED_NAME_IS_ICON
static java.lang.String
SERIALIZED_NAME_SOURCE_URL
-
Constructor Summary
Constructors Constructor Description ResolvedImage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static ResolvedImage
fromJson(java.lang.String jsonString)
Create an instance of ResolvedImage given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>
getAdditionalProperties()
Return the additional (undeclared) property.java.lang.Object
getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.java.lang.Boolean
getIsAvatar()
Get isAvatarjava.lang.Boolean
getIsIcon()
Get isIconjava.lang.String
getSourceUrl()
Get sourceUrlint
hashCode()
ResolvedImage
isAvatar(java.lang.Boolean isAvatar)
ResolvedImage
isIcon(java.lang.Boolean isIcon)
ResolvedImage
putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.void
setIsAvatar(java.lang.Boolean isAvatar)
void
setIsIcon(java.lang.Boolean isIcon)
void
setSourceUrl(java.lang.String sourceUrl)
ResolvedImage
sourceUrl(java.lang.String sourceUrl)
java.lang.String
toJson()
Convert an instance of ResolvedImage to an JSON stringjava.lang.String
toString()
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_IS_AVATAR
public static final java.lang.String SERIALIZED_NAME_IS_AVATAR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_ICON
public static final java.lang.String SERIALIZED_NAME_IS_ICON
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOURCE_URL
public static final java.lang.String SERIALIZED_NAME_SOURCE_URL
- 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
-
-
Method Detail
-
isAvatar
public ResolvedImage isAvatar(java.lang.Boolean isAvatar)
-
getIsAvatar
@Nullable public java.lang.Boolean getIsAvatar()
Get isAvatar- Returns:
- isAvatar
-
setIsAvatar
public void setIsAvatar(java.lang.Boolean isAvatar)
-
isIcon
public ResolvedImage isIcon(java.lang.Boolean isIcon)
-
getIsIcon
@Nullable public java.lang.Boolean getIsIcon()
Get isIcon- Returns:
- isIcon
-
setIsIcon
public void setIsIcon(java.lang.Boolean isIcon)
-
sourceUrl
public ResolvedImage sourceUrl(java.lang.String sourceUrl)
-
getSourceUrl
@Nullable public java.lang.String getSourceUrl()
Get sourceUrl- Returns:
- sourceUrl
-
setSourceUrl
public void setSourceUrl(java.lang.String sourceUrl)
-
putAdditionalProperty
public ResolvedImage 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.
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOException
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
java.io.IOException
- if the JSON Object is invalid with respect to ResolvedImage
-
fromJson
public static ResolvedImage fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of ResolvedImage given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ResolvedImage
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to ResolvedImage
-
toJson
public java.lang.String toJson()
Convert an instance of ResolvedImage to an JSON string- Returns:
- JSON string
-
-