Package com.datadog.api.client.v2.model
Class OrgGroupPolicyCreateData
java.lang.Object
com.datadog.api.client.v2.model.OrgGroupPolicyCreateData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OrgGroupPolicyCreateData
extends Object
Data for creating an org group policy.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOrgGroupPolicyCreateData(OrgGroupPolicyCreateAttributes attributes, OrgGroupPolicyCreateRelationships relationships, OrgGroupPolicyType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(OrgGroupPolicyCreateAttributes attributes) booleanReturn true if this OrgGroupPolicyCreateData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes for creating an org group policy.Relationships for creating a policy.getType()Org group policies resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(OrgGroupPolicyCreateRelationships relationships) voidsetAttributes(OrgGroupPolicyCreateAttributes attributes) voidsetRelationships(OrgGroupPolicyCreateRelationships relationships) voidsetType(OrgGroupPolicyType type) toString()type(OrgGroupPolicyType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
OrgGroupPolicyCreateData
public OrgGroupPolicyCreateData() -
OrgGroupPolicyCreateData
public OrgGroupPolicyCreateData(OrgGroupPolicyCreateAttributes attributes, OrgGroupPolicyCreateRelationships relationships, OrgGroupPolicyType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes for creating an org group policy. Ifpolicy_typeis not provided, it defaults toorg_config.enforcement_tieris optional; if not provided, the resulting value depends onpolicy_typeand is otherwise unspecified.- Returns:
- attributes
-
setAttributes
-
relationships
-
getRelationships
Relationships for creating a policy.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Org group policies 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:
- OrgGroupPolicyCreateData
-
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 OrgGroupPolicyCreateData object is equal to o. -
hashCode
public int hashCode() -
toString
-