Package com.datadog.api.client.v2.model
Class ServiceDefinitionV2Dot2Contact
java.lang.Object
com.datadog.api.client.v2.model.ServiceDefinitionV2Dot2Contact
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ServiceDefinitionV2Dot2Contact
extends Object
Service owner's contacts information.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ServiceDefinitionV2Dot2Contact object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Contact value.getName()Contact Name.getType()Contact type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetContact(String contact) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONTACT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ServiceDefinitionV2Dot2Contact
public ServiceDefinitionV2Dot2Contact() -
ServiceDefinitionV2Dot2Contact
-
-
Method Details
-
contact
-
getContact
Contact value.- Returns:
- contact
-
setContact
-
name
-
getName
Contact Name.- Returns:
- name
-
setName
-
type
-
getType
Contact type. Datadog recognizes the following types:email,slack, andmicrosoft-teams.- 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:
- ServiceDefinitionV2Dot2Contact
-
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 ServiceDefinitionV2Dot2Contact object is equal to o. -
hashCode
public int hashCode() -
toString
-