@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ServiceDefinitionV1Resource extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_URL |
boolean |
unparsed |
| Constructor and Description |
|---|
ServiceDefinitionV1Resource() |
ServiceDefinitionV1Resource(String name,
ServiceDefinitionV1ResourceType type,
String url) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this ServiceDefinitionV1Resource object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getName()
Link name.
|
ServiceDefinitionV1ResourceType |
getType()
Link type.
|
String |
getUrl()
Link URL.
|
int |
hashCode() |
ServiceDefinitionV1Resource |
name(String name) |
ServiceDefinitionV1Resource |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setName(String name) |
void |
setType(ServiceDefinitionV1ResourceType type) |
void |
setUrl(String url) |
String |
toString() |
ServiceDefinitionV1Resource |
type(ServiceDefinitionV1ResourceType type) |
ServiceDefinitionV1Resource |
url(String url) |
public boolean unparsed
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_URL
public ServiceDefinitionV1Resource()
public ServiceDefinitionV1Resource(String name, ServiceDefinitionV1ResourceType type, String url)
public ServiceDefinitionV1Resource name(String name)
public String getName()
public void setName(String name)
public ServiceDefinitionV1Resource type(ServiceDefinitionV1ResourceType type)
public ServiceDefinitionV1ResourceType getType()
public void setType(ServiceDefinitionV1ResourceType type)
public ServiceDefinitionV1Resource url(String url)
public String getUrl()
public void setUrl(String url)
public ServiceDefinitionV1Resource putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.