Package com.datadog.api.client.v2.model
Class UserTeam
java.lang.Object
com.datadog.api.client.v2.model.UserTeam
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UserTeam
extends Object
A user's relationship with a team
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(UserTeamAttributes attributes) booleanReturn true if this UserTeam object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Team membership attributesgetId()The ID of a user's relationship with a teamRelationship between membership and a usergetType()Team membership typeinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(UserTeamRelationships relationships) voidsetAttributes(UserTeamAttributes attributes) voidvoidsetRelationships(UserTeamRelationships relationships) voidsetType(UserTeamType type) toString()type(UserTeamType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
UserTeam
public UserTeam() -
UserTeam
-
-
Method Details
-
attributes
-
getAttributes
Team membership attributes- Returns:
- attributes
-
setAttributes
-
id
-
getId
The ID of a user's relationship with a team- Returns:
- id
-
setId
-
relationships
-
getRelationships
Relationship between membership and a user- Returns:
- relationships
-
setRelationships
-
type
-
getType
Team membership type- Returns:
- type
-
setType
-
putAdditionalProperty
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- The arbitrary key to setvalue- The associated value- Returns:
- UserTeam
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this UserTeam object is equal to o. -
hashCode
public int hashCode() -
toString
-