Package com.datadog.api.client.v2.model
Class UserAuthorizedClientRelationships
java.lang.Object
com.datadog.api.client.v2.model.UserAuthorizedClientRelationships
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class UserAuthorizedClientRelationships
extends Object
Relationships for a user authorized client.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUserAuthorizedClientRelationships(UserAuthorizedClientRelationshipOAuth2Client oauth2Client, UserAuthorizedClientRelationshipScopes scopes, UserAuthorizedClientRelationshipUser user) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this UserAuthorizedClientRelationships object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Relationship to the OAuth2 client that was authorized.Relationship to the scopes granted to the OAuth2 client.getUser()Relationship to the user who granted this authorization.inthashCode()oauth2Client(UserAuthorizedClientRelationshipOAuth2Client oauth2Client) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetOauth2Client(UserAuthorizedClientRelationshipOAuth2Client oauth2Client) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_OAUTH2_CLIENT
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
-
Constructor Details
-
UserAuthorizedClientRelationships
public UserAuthorizedClientRelationships() -
UserAuthorizedClientRelationships
public UserAuthorizedClientRelationships(UserAuthorizedClientRelationshipOAuth2Client oauth2Client, UserAuthorizedClientRelationshipScopes scopes, UserAuthorizedClientRelationshipUser user)
-
-
Method Details
-
oauth2Client
public UserAuthorizedClientRelationships oauth2Client(UserAuthorizedClientRelationshipOAuth2Client oauth2Client) -
getOauth2Client
Relationship to the OAuth2 client that was authorized.- Returns:
- oauth2Client
-
setOauth2Client
-
scopes
-
getScopes
Relationship to the scopes granted to the OAuth2 client.- Returns:
- scopes
-
setScopes
-
user
-
getUser
Relationship to the user who granted this authorization.- Returns:
- user
-
setUser
-
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:
- UserAuthorizedClientRelationships
-
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 UserAuthorizedClientRelationships object is equal to o. -
hashCode
public int hashCode() -
toString
-