Package com.datadog.api.client.v2.model
Class OrgGroupMembershipData
java.lang.Object
com.datadog.api.client.v2.model.OrgGroupMembershipData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OrgGroupMembershipData
extends Object
An org group membership resource.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOrgGroupMembershipData(OrgGroupMembershipAttributes attributes, UUID id, OrgGroupMembershipType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(OrgGroupMembershipAttributes attributes) booleanReturn true if this OrgGroupMembershipData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes of an org group membership.getId()The ID of the org group membership.Relationships of an org group membership.getType()Org group memberships resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(OrgGroupMembershipRelationships relationships) voidsetAttributes(OrgGroupMembershipAttributes attributes) voidvoidsetRelationships(OrgGroupMembershipRelationships relationships) voidtoString()type(OrgGroupMembershipType 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
-
OrgGroupMembershipData
public OrgGroupMembershipData() -
OrgGroupMembershipData
public OrgGroupMembershipData(OrgGroupMembershipAttributes attributes, UUID id, OrgGroupMembershipType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes of an org group membership.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The ID of the org group membership.- Returns:
- id
-
setId
-
relationships
-
getRelationships
Relationships of an org group membership.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Org group memberships resource 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:
- OrgGroupMembershipData
-
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 OrgGroupMembershipData object is equal to o. -
hashCode
public int hashCode() -
toString
-