Package com.datadog.api.client.v2.model
Class CreateServiceNowTicketRequestData
java.lang.Object
com.datadog.api.client.v2.model.CreateServiceNowTicketRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateServiceNowTicketRequestData
extends Object
Data of the ServiceNow ticket to create.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateServiceNowTicketRequestData(CreateServiceNowTicketRequestDataRelationships relationships, ServiceNowTicketsDataType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CreateServiceNowTicketRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes of the ServiceNow ticket to create.Relationships of the ServiceNow ticket to create.getType()ServiceNow tickets resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(CreateServiceNowTicketRequestDataRelationships relationships) voidvoidsetRelationships(CreateServiceNowTicketRequestDataRelationships relationships) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CreateServiceNowTicketRequestData
public CreateServiceNowTicketRequestData() -
CreateServiceNowTicketRequestData
public CreateServiceNowTicketRequestData(CreateServiceNowTicketRequestDataRelationships relationships, ServiceNowTicketsDataType type)
-
-
Method Details
-
attributes
public CreateServiceNowTicketRequestData attributes(CreateServiceNowTicketRequestDataAttributes attributes) -
getAttributes
Attributes of the ServiceNow ticket to create.- Returns:
- attributes
-
setAttributes
-
relationships
public CreateServiceNowTicketRequestData relationships(CreateServiceNowTicketRequestDataRelationships relationships) -
getRelationships
Relationships of the ServiceNow ticket to create.- Returns:
- relationships
-
setRelationships
-
type
-
getType
ServiceNow tickets 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:
- CreateServiceNowTicketRequestData
-
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 CreateServiceNowTicketRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-