Package com.launchdarkly.api.model
Class ExpandedFlag
- java.lang.Object
-
- com.launchdarkly.api.model.ExpandedFlag
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-05T10:45:26.516033Z[Etc/UTC]", comments="Generator version: 7.18.0") public class ExpandedFlag extends java.lang.ObjectFlag representation for Views API - contains only fields actually used by the Views service
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExpandedFlag.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>openapiFieldsstatic java.util.HashSet<java.lang.String>openapiRequiredFieldsstatic java.lang.StringSERIALIZED_NAME_ARCHIVEDstatic java.lang.StringSERIALIZED_NAME_CREATION_DATEstatic java.lang.StringSERIALIZED_NAME_DESCRIPTIONstatic java.lang.StringSERIALIZED_NAME_INCLUDE_IN_SNIPPETstatic java.lang.StringSERIALIZED_NAME_KEYstatic java.lang.StringSERIALIZED_NAME_LINKSstatic java.lang.StringSERIALIZED_NAME_MAINTAINERstatic java.lang.StringSERIALIZED_NAME_NAMEstatic java.lang.StringSERIALIZED_NAME_TAGSstatic java.lang.StringSERIALIZED_NAME_TEMPORARYstatic java.lang.StringSERIALIZED_NAME_VERSION
-
Constructor Summary
Constructors Constructor Description ExpandedFlag()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpandedFlagaddTagsItem(java.lang.String tagsItem)ExpandedFlagarchived(java.lang.Boolean archived)ExpandedFlagcreationDate(java.lang.Long creationDate)ExpandedFlagdescription(java.lang.String description)booleanequals(java.lang.Object o)static ExpandedFlagfromJson(java.lang.String jsonString)Create an instance of ExpandedFlag given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()Return the additional (undeclared) property.java.lang.ObjectgetAdditionalProperty(java.lang.String key)Return the additional (undeclared) property with the specified name.java.lang.BooleangetArchived()Whether the flag is archivedjava.lang.LonggetCreationDate()Creation date in millisecondsjava.lang.StringgetDescription()Description of the flagjava.lang.BooleangetIncludeInSnippet()Whether to include in snippetjava.lang.StringgetKey()A unique key used to reference the flagParentAndSelfLinksgetLinks()Get linksExpandedFlagMaintainergetMaintainer()Get maintainerjava.lang.StringgetName()A human-friendly name for the flagjava.util.List<java.lang.String>getTags()Tags for the flagjava.lang.BooleangetTemporary()Whether the flag is temporaryjava.lang.IntegergetVersion()Version of the flaginthashCode()ExpandedFlagincludeInSnippet(java.lang.Boolean includeInSnippet)ExpandedFlagkey(java.lang.String key)ExpandedFlaglinks(ParentAndSelfLinks links)ExpandedFlagmaintainer(ExpandedFlagMaintainer maintainer)ExpandedFlagname(java.lang.String name)ExpandedFlagputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.voidsetArchived(java.lang.Boolean archived)voidsetCreationDate(java.lang.Long creationDate)voidsetDescription(java.lang.String description)voidsetIncludeInSnippet(java.lang.Boolean includeInSnippet)voidsetKey(java.lang.String key)voidsetLinks(ParentAndSelfLinks links)voidsetMaintainer(ExpandedFlagMaintainer maintainer)voidsetName(java.lang.String name)voidsetTags(java.util.List<java.lang.String> tags)voidsetTemporary(java.lang.Boolean temporary)voidsetVersion(java.lang.Integer version)ExpandedFlagtags(java.util.List<java.lang.String> tags)ExpandedFlagtemporary(java.lang.Boolean temporary)java.lang.StringtoJson()Convert an instance of ExpandedFlag to an JSON stringjava.lang.StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundExpandedFlagversion(java.lang.Integer version)
-
-
-
Field Detail
-
SERIALIZED_NAME_KEY
public static final java.lang.String SERIALIZED_NAME_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final java.lang.String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATION_DATE
public static final java.lang.String SERIALIZED_NAME_CREATION_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERSION
public static final java.lang.String SERIALIZED_NAME_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ARCHIVED
public static final java.lang.String SERIALIZED_NAME_ARCHIVED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final java.lang.String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TEMPORARY
public static final java.lang.String SERIALIZED_NAME_TEMPORARY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCLUDE_IN_SNIPPET
public static final java.lang.String SERIALIZED_NAME_INCLUDE_IN_SNIPPET
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAINTAINER
public static final java.lang.String SERIALIZED_NAME_MAINTAINER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final java.lang.String SERIALIZED_NAME_LINKS
- 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
-
key
public ExpandedFlag key(@Nonnull java.lang.String key)
-
getKey
@Nonnull public java.lang.String getKey()
A unique key used to reference the flag- Returns:
- key
-
setKey
public void setKey(@Nonnull java.lang.String key)
-
name
public ExpandedFlag name(@Nonnull java.lang.String name)
-
getName
@Nonnull public java.lang.String getName()
A human-friendly name for the flag- Returns:
- name
-
setName
public void setName(@Nonnull java.lang.String name)
-
description
public ExpandedFlag description(@Nullable java.lang.String description)
-
getDescription
@Nullable public java.lang.String getDescription()
Description of the flag- Returns:
- description
-
setDescription
public void setDescription(@Nullable java.lang.String description)
-
creationDate
public ExpandedFlag creationDate(@Nullable java.lang.Long creationDate)
-
getCreationDate
@Nullable public java.lang.Long getCreationDate()
Creation date in milliseconds- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(@Nullable java.lang.Long creationDate)
-
version
public ExpandedFlag version(@Nullable java.lang.Integer version)
-
getVersion
@Nullable public java.lang.Integer getVersion()
Version of the flag- Returns:
- version
-
setVersion
public void setVersion(@Nullable java.lang.Integer version)
-
archived
public ExpandedFlag archived(@Nullable java.lang.Boolean archived)
-
getArchived
@Nullable public java.lang.Boolean getArchived()
Whether the flag is archived- Returns:
- archived
-
setArchived
public void setArchived(@Nullable java.lang.Boolean archived)
-
tags
public ExpandedFlag tags(@Nullable java.util.List<java.lang.String> tags)
-
addTagsItem
public ExpandedFlag addTagsItem(java.lang.String tagsItem)
-
getTags
@Nullable public java.util.List<java.lang.String> getTags()
Tags for the flag- Returns:
- tags
-
setTags
public void setTags(@Nullable java.util.List<java.lang.String> tags)
-
temporary
public ExpandedFlag temporary(@Nullable java.lang.Boolean temporary)
-
getTemporary
@Nullable public java.lang.Boolean getTemporary()
Whether the flag is temporary- Returns:
- temporary
-
setTemporary
public void setTemporary(@Nullable java.lang.Boolean temporary)
-
includeInSnippet
public ExpandedFlag includeInSnippet(@Nullable java.lang.Boolean includeInSnippet)
-
getIncludeInSnippet
@Nullable public java.lang.Boolean getIncludeInSnippet()
Whether to include in snippet- Returns:
- includeInSnippet
-
setIncludeInSnippet
public void setIncludeInSnippet(@Nullable java.lang.Boolean includeInSnippet)
-
maintainer
public ExpandedFlag maintainer(@Nullable ExpandedFlagMaintainer maintainer)
-
getMaintainer
@Nullable public ExpandedFlagMaintainer getMaintainer()
Get maintainer- Returns:
- maintainer
-
setMaintainer
public void setMaintainer(@Nullable ExpandedFlagMaintainer maintainer)
-
links
public ExpandedFlag links(@Nullable ParentAndSelfLinks links)
-
getLinks
@Nullable public ParentAndSelfLinks getLinks()
Get links- Returns:
- links
-
setLinks
public void setLinks(@Nullable ParentAndSelfLinks links)
-
putAdditionalProperty
public ExpandedFlag 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 propertyvalue- value of the property- Returns:
- the ExpandedFlag 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws java.io.IOExceptionValidates 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 ExpandedFlag
-
fromJson
public static ExpandedFlag fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of ExpandedFlag given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ExpandedFlag
- Throws:
java.io.IOException- if the JSON string is invalid with respect to ExpandedFlag
-
toJson
public java.lang.String toJson()
Convert an instance of ExpandedFlag to an JSON string- Returns:
- JSON string
-
-