Package com.launchdarkly.api.model
Class InsightsRepository
- java.lang.Object
-
- com.launchdarkly.api.model.InsightsRepository
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-03T23:27:37.555894Z[Etc/UTC]") public class InsightsRepository extends java.lang.Object
InsightsRepository
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InsightsRepository.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_ID
static java.lang.String
SERIALIZED_NAME_KEY
static java.lang.String
SERIALIZED_NAME_MAIN_BRANCH
static java.lang.String
SERIALIZED_NAME_PROJECTS
static java.lang.String
SERIALIZED_NAME_TYPE
static java.lang.String
SERIALIZED_NAME_URL
static java.lang.String
SERIALIZED_NAME_VERSION
-
Constructor Summary
Constructors Constructor Description InsightsRepository()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static InsightsRepository
fromJson(java.lang.String jsonString)
Create an instance of InsightsRepository 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.util.UUID
getId()
The repository IDjava.lang.String
getKey()
The repository keyjava.lang.String
getMainBranch()
The repository main branchProjectSummaryCollection
getProjects()
Get projectsjava.lang.String
getType()
The repository typejava.lang.String
getUrl()
The repository URLjava.lang.Integer
getVersion()
The repository versionint
hashCode()
InsightsRepository
id(java.util.UUID id)
InsightsRepository
key(java.lang.String key)
InsightsRepository
mainBranch(java.lang.String mainBranch)
InsightsRepository
projects(ProjectSummaryCollection projects)
InsightsRepository
putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.void
setId(java.util.UUID id)
void
setKey(java.lang.String key)
void
setMainBranch(java.lang.String mainBranch)
void
setProjects(ProjectSummaryCollection projects)
void
setType(java.lang.String type)
void
setUrl(java.lang.String url)
void
setVersion(java.lang.Integer version)
java.lang.String
toJson()
Convert an instance of InsightsRepository to an JSON stringjava.lang.String
toString()
InsightsRepository
type(java.lang.String type)
InsightsRepository
url(java.lang.String url)
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues foundInsightsRepository
version(java.lang.Integer version)
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final java.lang.String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERSION
public static final java.lang.String SERIALIZED_NAME_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KEY
public static final java.lang.String SERIALIZED_NAME_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final java.lang.String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_URL
public static final java.lang.String SERIALIZED_NAME_URL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAIN_BRANCH
public static final java.lang.String SERIALIZED_NAME_MAIN_BRANCH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROJECTS
public static final java.lang.String SERIALIZED_NAME_PROJECTS
- 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
-
id
public InsightsRepository id(java.util.UUID id)
-
getId
@Nonnull public java.util.UUID getId()
The repository ID- Returns:
- id
-
setId
public void setId(java.util.UUID id)
-
version
public InsightsRepository version(java.lang.Integer version)
-
getVersion
@Nonnull public java.lang.Integer getVersion()
The repository version- Returns:
- version
-
setVersion
public void setVersion(java.lang.Integer version)
-
key
public InsightsRepository key(java.lang.String key)
-
getKey
@Nonnull public java.lang.String getKey()
The repository key- Returns:
- key
-
setKey
public void setKey(java.lang.String key)
-
type
public InsightsRepository type(java.lang.String type)
-
getType
@Nonnull public java.lang.String getType()
The repository type- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
url
public InsightsRepository url(java.lang.String url)
-
getUrl
@Nonnull public java.lang.String getUrl()
The repository URL- Returns:
- url
-
setUrl
public void setUrl(java.lang.String url)
-
mainBranch
public InsightsRepository mainBranch(java.lang.String mainBranch)
-
getMainBranch
@Nonnull public java.lang.String getMainBranch()
The repository main branch- Returns:
- mainBranch
-
setMainBranch
public void setMainBranch(java.lang.String mainBranch)
-
projects
public InsightsRepository projects(ProjectSummaryCollection projects)
-
getProjects
@Nullable public ProjectSummaryCollection getProjects()
Get projects- Returns:
- projects
-
setProjects
public void setProjects(ProjectSummaryCollection projects)
-
putAdditionalProperty
public InsightsRepository 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 InsightsRepository
-
fromJson
public static InsightsRepository fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of InsightsRepository given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of InsightsRepository
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to InsightsRepository
-
toJson
public java.lang.String toJson()
Convert an instance of InsightsRepository to an JSON string- Returns:
- JSON string
-
-