@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-10T12:39:37.024419310Z[Etc/UTC]",
comments="Generator version: 7.7.0")
public class FlagReference
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FlagReference.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<java.lang.String> |
openapiFields |
static java.util.HashSet<java.lang.String> |
openapiRequiredFields |
static java.lang.String |
SERIALIZED_NAME_REFERENCES |
static java.lang.String |
SERIALIZED_NAME_SETTING_ID |
| Constructor and Description |
|---|
FlagReference() |
| Modifier and Type | Method and Description |
|---|---|
FlagReference |
addReferencesItem(ReferenceLines referencesItem) |
boolean |
equals(java.lang.Object o) |
static FlagReference |
fromJson(java.lang.String jsonString)
Create an instance of FlagReference given an JSON string
|
java.util.List<ReferenceLines> |
getReferences()
The actual references to the given Feature Flag or Setting.
|
java.lang.Integer |
getSettingId()
The identifier of the Feature Flag or Setting the code reference belongs to.
|
int |
hashCode() |
FlagReference |
references(java.util.List<ReferenceLines> references) |
void |
setReferences(java.util.List<ReferenceLines> references) |
void |
setSettingId(java.lang.Integer settingId) |
FlagReference |
settingId(java.lang.Integer settingId) |
java.lang.String |
toJson()
Convert an instance of FlagReference to an JSON string
|
java.lang.String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final java.lang.String SERIALIZED_NAME_SETTING_ID
public static final java.lang.String SERIALIZED_NAME_REFERENCES
public static java.util.HashSet<java.lang.String> openapiFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
public FlagReference settingId(java.lang.Integer settingId)
@Nonnull public java.lang.Integer getSettingId()
public void setSettingId(java.lang.Integer settingId)
public FlagReference references(java.util.List<ReferenceLines> references)
public FlagReference addReferencesItem(ReferenceLines referencesItem)
@Nonnull public java.util.List<ReferenceLines> getReferences()
public void setReferences(java.util.List<ReferenceLines> references)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws java.io.IOException
jsonElement - JSON Elementjava.io.IOException - if the JSON Element is invalid with respect to FlagReferencepublic static FlagReference fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to FlagReferencepublic java.lang.String toJson()