Package com.launchdarkly.api.model
Class InsightsRepository
- java.lang.Object
-
- com.launchdarkly.api.model.InsightsRepository
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-05-16T11:29:12.794018Z[Etc/UTC]") public class InsightsRepository extends java.lang.ObjectInsightsRepository
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInsightsRepository.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_IDstatic java.lang.StringSERIALIZED_NAME_KEYstatic java.lang.StringSERIALIZED_NAME_MAIN_BRANCHstatic java.lang.StringSERIALIZED_NAME_PROJECTSstatic java.lang.StringSERIALIZED_NAME_TYPEstatic java.lang.StringSERIALIZED_NAME_URLstatic java.lang.StringSERIALIZED_NAME_VERSION
-
Constructor Summary
Constructors Constructor Description InsightsRepository()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static InsightsRepositoryfromJson(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.ObjectgetAdditionalProperty(java.lang.String key)Return the additional (undeclared) property with the specified name.java.util.UUIDgetId()The repository IDjava.lang.StringgetKey()The repository keyjava.lang.StringgetMainBranch()The repository main branchProjectSummaryCollectiongetProjects()Get projectsjava.lang.StringgetType()The repository typejava.lang.StringgetUrl()The repository URLjava.lang.IntegergetVersion()The repository versioninthashCode()InsightsRepositoryid(java.util.UUID id)InsightsRepositorykey(java.lang.String key)InsightsRepositorymainBranch(java.lang.String mainBranch)InsightsRepositoryprojects(ProjectSummaryCollection projects)InsightsRepositoryputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.voidsetId(java.util.UUID id)voidsetKey(java.lang.String key)voidsetMainBranch(java.lang.String mainBranch)voidsetProjects(ProjectSummaryCollection projects)voidsetType(java.lang.String type)voidsetUrl(java.lang.String url)voidsetVersion(java.lang.Integer version)java.lang.StringtoJson()Convert an instance of InsightsRepository to an JSON stringjava.lang.StringtoString()InsightsRepositorytype(java.lang.String type)InsightsRepositoryurl(java.lang.String url)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundInsightsRepositoryversion(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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOExceptionValidates 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
-
-