Package com.launchdarkly.api.model
Class Team
- java.lang.Object
-
- com.launchdarkly.api.model.Team
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-05T10:45:26.516033Z[Etc/UTC]", comments="Generator version: 7.18.0") public class Team extends java.lang.ObjectTeam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTeam.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_ACCESSstatic java.lang.StringSERIALIZED_NAME_CREATION_DATEstatic java.lang.StringSERIALIZED_NAME_DESCRIPTIONstatic java.lang.StringSERIALIZED_NAME_IDP_SYNCEDstatic java.lang.StringSERIALIZED_NAME_KEYstatic java.lang.StringSERIALIZED_NAME_LAST_MODIFIEDstatic java.lang.StringSERIALIZED_NAME_LINKSstatic java.lang.StringSERIALIZED_NAME_MAINTAINERSstatic java.lang.StringSERIALIZED_NAME_MEMBERSstatic java.lang.StringSERIALIZED_NAME_NAMEstatic java.lang.StringSERIALIZED_NAME_PROJECTSstatic java.lang.StringSERIALIZED_NAME_ROLE_ATTRIBUTESstatic java.lang.StringSERIALIZED_NAME_ROLESstatic java.lang.StringSERIALIZED_NAME_VERSION
-
Constructor Summary
Constructors Constructor Description Team()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Teamaccess(Access access)TeamcreationDate(java.lang.Long creationDate)Teamdescription(java.lang.String description)booleanequals(java.lang.Object o)static TeamfromJson(java.lang.String jsonString)Create an instance of Team given an JSON stringAccessgetAccess()Get accessjava.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.LonggetCreationDate()Get creationDatejava.lang.StringgetDescription()A description of the teamjava.lang.BooleangetIdpSynced()Whether the team has been synced with an external identity provider (IdP).java.lang.StringgetKey()The team keyjava.lang.LonggetLastModified()Get lastModifiedjava.util.Map<java.lang.String,Link>getLinks()The location and content type of related resourcesTeamMaintainersgetMaintainers()Get maintainersTeamMembersgetMembers()Get membersjava.lang.StringgetName()A human-friendly name for the teamTeamProjectsgetProjects()Get projectsjava.util.Map<java.lang.String,java.util.List<java.lang.String>>getRoleAttributes()Get roleAttributesTeamCustomRolesgetRoles()Get rolesjava.lang.IntegergetVersion()The team versioninthashCode()TeamidpSynced(java.lang.Boolean idpSynced)Teamkey(java.lang.String key)TeamlastModified(java.lang.Long lastModified)Teamlinks(java.util.Map<java.lang.String,Link> links)Teammaintainers(TeamMaintainers maintainers)Teammembers(TeamMembers members)Teamname(java.lang.String name)Teamprojects(TeamProjects projects)TeamputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.TeamputLinksItem(java.lang.String key, Link linksItem)TeamputRoleAttributesItem(java.lang.String key, java.util.List<java.lang.String> roleAttributesItem)TeamroleAttributes(java.util.Map<java.lang.String,java.util.List<java.lang.String>> roleAttributes)Teamroles(TeamCustomRoles roles)voidsetAccess(Access access)voidsetCreationDate(java.lang.Long creationDate)voidsetDescription(java.lang.String description)voidsetIdpSynced(java.lang.Boolean idpSynced)voidsetKey(java.lang.String key)voidsetLastModified(java.lang.Long lastModified)voidsetLinks(java.util.Map<java.lang.String,Link> links)voidsetMaintainers(TeamMaintainers maintainers)voidsetMembers(TeamMembers members)voidsetName(java.lang.String name)voidsetProjects(TeamProjects projects)voidsetRoleAttributes(java.util.Map<java.lang.String,java.util.List<java.lang.String>> roleAttributes)voidsetRoles(TeamCustomRoles roles)voidsetVersion(java.lang.Integer version)java.lang.StringtoJson()Convert an instance of Team to an JSON stringjava.lang.StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundTeamversion(java.lang.Integer version)
-
-
-
Field Detail
-
SERIALIZED_NAME_DESCRIPTION
public static final java.lang.String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
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_ACCESS
public static final java.lang.String SERIALIZED_NAME_ACCESS
- 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_LINKS
public static final java.lang.String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_MODIFIED
public static final java.lang.String SERIALIZED_NAME_LAST_MODIFIED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERSION
public static final java.lang.String SERIALIZED_NAME_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IDP_SYNCED
public static final java.lang.String SERIALIZED_NAME_IDP_SYNCED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ROLE_ATTRIBUTES
public static final java.lang.String SERIALIZED_NAME_ROLE_ATTRIBUTES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ROLES
public static final java.lang.String SERIALIZED_NAME_ROLES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MEMBERS
public static final java.lang.String SERIALIZED_NAME_MEMBERS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROJECTS
public static final java.lang.String SERIALIZED_NAME_PROJECTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAINTAINERS
public static final java.lang.String SERIALIZED_NAME_MAINTAINERS
- 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
-
description
public Team description(@Nullable java.lang.String description)
-
getDescription
@Nullable public java.lang.String getDescription()
A description of the team- Returns:
- description
-
setDescription
public void setDescription(@Nullable java.lang.String description)
-
key
public Team key(@Nullable java.lang.String key)
-
getKey
@Nullable public java.lang.String getKey()
The team key- Returns:
- key
-
setKey
public void setKey(@Nullable java.lang.String key)
-
name
public Team name(@Nullable java.lang.String name)
-
getName
@Nullable public java.lang.String getName()
A human-friendly name for the team- Returns:
- name
-
setName
public void setName(@Nullable java.lang.String name)
-
getAccess
@Nullable public Access getAccess()
Get access- Returns:
- access
-
setAccess
public void setAccess(@Nullable Access access)
-
creationDate
public Team creationDate(@Nullable java.lang.Long creationDate)
-
getCreationDate
@Nullable public java.lang.Long getCreationDate()
Get creationDate- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(@Nullable java.lang.Long creationDate)
-
getLinks
@Nullable public java.util.Map<java.lang.String,Link> getLinks()
The location and content type of related resources- Returns:
- links
-
setLinks
public void setLinks(@Nullable java.util.Map<java.lang.String,Link> links)
-
lastModified
public Team lastModified(@Nullable java.lang.Long lastModified)
-
getLastModified
@Nullable public java.lang.Long getLastModified()
Get lastModified- Returns:
- lastModified
-
setLastModified
public void setLastModified(@Nullable java.lang.Long lastModified)
-
version
public Team version(@Nullable java.lang.Integer version)
-
getVersion
@Nullable public java.lang.Integer getVersion()
The team version- Returns:
- version
-
setVersion
public void setVersion(@Nullable java.lang.Integer version)
-
idpSynced
public Team idpSynced(@Nullable java.lang.Boolean idpSynced)
-
getIdpSynced
@Nullable public java.lang.Boolean getIdpSynced()
Whether the team has been synced with an external identity provider (IdP). Team sync is available to customers on an Enterprise plan.- Returns:
- idpSynced
-
setIdpSynced
public void setIdpSynced(@Nullable java.lang.Boolean idpSynced)
-
roleAttributes
public Team roleAttributes(@Nullable java.util.Map<java.lang.String,java.util.List<java.lang.String>> roleAttributes)
-
putRoleAttributesItem
public Team putRoleAttributesItem(java.lang.String key, java.util.List<java.lang.String> roleAttributesItem)
-
getRoleAttributes
@Nullable public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getRoleAttributes()
Get roleAttributes- Returns:
- roleAttributes
-
setRoleAttributes
public void setRoleAttributes(@Nullable java.util.Map<java.lang.String,java.util.List<java.lang.String>> roleAttributes)
-
roles
public Team roles(@Nullable TeamCustomRoles roles)
-
getRoles
@Nullable public TeamCustomRoles getRoles()
Get roles- Returns:
- roles
-
setRoles
public void setRoles(@Nullable TeamCustomRoles roles)
-
members
public Team members(@Nullable TeamMembers members)
-
getMembers
@Nullable public TeamMembers getMembers()
Get members- Returns:
- members
-
setMembers
public void setMembers(@Nullable TeamMembers members)
-
projects
public Team projects(@Nullable TeamProjects projects)
-
getProjects
@Nullable public TeamProjects getProjects()
Get projects- Returns:
- projects
-
setProjects
public void setProjects(@Nullable TeamProjects projects)
-
maintainers
public Team maintainers(@Nullable TeamMaintainers maintainers)
-
getMaintainers
@Nullable public TeamMaintainers getMaintainers()
Get maintainers- Returns:
- maintainers
-
setMaintainers
public void setMaintainers(@Nullable TeamMaintainers maintainers)
-
putAdditionalProperty
public Team 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 Team 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 Team
-
fromJson
public static Team fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of Team given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Team
- Throws:
java.io.IOException- if the JSON string is invalid with respect to Team
-
toJson
public java.lang.String toJson()
Convert an instance of Team to an JSON string- Returns:
- JSON string
-
-