Package com.datadog.api.client.v2.model
Class ServiceListDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.ServiceListDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ServiceListDataAttributes
extends Object
Attributes of a service list entry, containing metadata and a list of service names.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMetadataItem(ServiceListDataAttributesMetadataItems metadataItem) addServicesItem(String servicesItem) booleanReturn true if this ServiceListDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of metadata items associated with the service.A list of service names.inthashCode()metadata(List<ServiceListDataAttributesMetadataItems> metadata) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetServices(List<String> services) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_SERVICES
- See Also:
-
-
Constructor Details
-
ServiceListDataAttributes
public ServiceListDataAttributes()
-
-
Method Details
-
metadata
-
addMetadataItem
public ServiceListDataAttributes addMetadataItem(ServiceListDataAttributesMetadataItems metadataItem) -
getMetadata
A list of metadata items associated with the service.- Returns:
- metadata
-
setMetadata
-
services
-
addServicesItem
-
getServices
A list of service names.- Returns:
- services
-
setServices
-
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:
- ServiceListDataAttributes
-
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 ServiceListDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-