Package com.datadog.api.client.v2.model
Class UserResponseRelationships
java.lang.Object
com.datadog.api.client.v2.model.UserResponseRelationships
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UserResponseRelationships
extends Object
Relationships of the user object returned by the API.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this UserResponseRelationships object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getOrg()Relationship to an organization.Relationship to organizations.Relationship to users.getRoles()Relationship to roles.inthashCode()otherOrgs(RelationshipToOrganizations otherOrgs) otherUsers(RelationshipToUsers otherUsers) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.roles(RelationshipToRoles roles) voidvoidsetOtherOrgs(RelationshipToOrganizations otherOrgs) voidsetOtherUsers(RelationshipToUsers otherUsers) voidsetRoles(RelationshipToRoles roles) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ORG
- See Also:
-
JSON_PROPERTY_OTHER_ORGS
- See Also:
-
JSON_PROPERTY_OTHER_USERS
- See Also:
-
JSON_PROPERTY_ROLES
- See Also:
-
-
Constructor Details
-
UserResponseRelationships
public UserResponseRelationships()
-
-
Method Details
-
org
-
getOrg
Relationship to an organization.- Returns:
- org
-
setOrg
-
otherOrgs
-
getOtherOrgs
Relationship to organizations.- Returns:
- otherOrgs
-
setOtherOrgs
-
otherUsers
-
getOtherUsers
Relationship to users.- Returns:
- otherUsers
-
setOtherUsers
-
roles
-
getRoles
Relationship to roles.- Returns:
- roles
-
setRoles
-
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:
- UserResponseRelationships
-
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 UserResponseRelationships object is equal to o. -
hashCode
public int hashCode() -
toString
-