Package com.datadog.api.client.v2.model
Class OpsgenieServiceCreateAttributes
java.lang.Object
com.datadog.api.client.v2.model.OpsgenieServiceCreateAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OpsgenieServiceCreateAttributes
extends Object
The Opsgenie service attributes for a create request.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOpsgenieServiceCreateAttributes(String name, String opsgenieApiKey, OpsgenieServiceRegionType region) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this OpsgenieServiceCreateAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The custom URL for a custom region.getName()The name for the Opsgenie service.The Opsgenie API key for your Opsgenie service.The region for the Opsgenie service.inthashCode()opsgenieApiKey(String opsgenieApiKey) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.region(OpsgenieServiceRegionType region) voidsetCustomUrl(String customUrl) voidvoidsetOpsgenieApiKey(String opsgenieApiKey) voidsetRegion(OpsgenieServiceRegionType region) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CUSTOM_URL
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPSGENIE_API_KEY
- See Also:
-
JSON_PROPERTY_REGION
- See Also:
-
-
Constructor Details
-
OpsgenieServiceCreateAttributes
public OpsgenieServiceCreateAttributes() -
OpsgenieServiceCreateAttributes
public OpsgenieServiceCreateAttributes(String name, String opsgenieApiKey, OpsgenieServiceRegionType region)
-
-
Method Details
-
customUrl
-
getCustomUrl
The custom URL for a custom region.- Returns:
- customUrl
-
setCustomUrl
-
name
-
getName
The name for the Opsgenie service.- Returns:
- name
-
setName
-
opsgenieApiKey
-
getOpsgenieApiKey
The Opsgenie API key for your Opsgenie service.- Returns:
- opsgenieApiKey
-
setOpsgenieApiKey
-
region
-
getRegion
The region for the Opsgenie service.- Returns:
- region
-
setRegion
-
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:
- OpsgenieServiceCreateAttributes
-
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 OpsgenieServiceCreateAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-