Package com.datadog.api.client.v2.model
Class ServiceDefinitionV2
java.lang.Object
com.datadog.api.client.v2.model.ServiceDefinitionV2
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ServiceDefinitionV2
extends Object
Service definition V2 for providing service metadata and integrations.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServiceDefinitionV2(String ddService, ServiceDefinitionV2Version schemaVersion) -
Method Summary
Modifier and TypeMethodDescriptionaddContactsItem(ServiceDefinitionV2Contact contactsItem) addDocsItem(ServiceDefinitionV2Doc docsItem) addLinksItem(ServiceDefinitionV2Link linksItem) addReposItem(ServiceDefinitionV2Repo reposItem) addTagsItem(String tagsItem) contacts(List<ServiceDefinitionV2Contact> contacts) docs(List<ServiceDefinitionV2Doc> docs) booleanReturn true if this ServiceDefinitionV2 object is equal to o.extensions(Map<String, Object> extensions) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A list of contacts related to the services.Unique identifier of the service.Experimental feature.getDocs()A list of documentation related to the services.Extensions to V2 schema.Third party integrations that Datadog supports.getLinks()A list of links related to the services.getRepos()A list of code repositories related to the services.Schema version being used.getTags()A set of custom tags.getTeam()Team that owns the service.inthashCode()integrations(ServiceDefinitionV2Integrations integrations) links(List<ServiceDefinitionV2Link> links) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putExtensionsItem(String key, Object extensionsItem) repos(List<ServiceDefinitionV2Repo> repos) schemaVersion(ServiceDefinitionV2Version schemaVersion) voidsetContacts(List<ServiceDefinitionV2Contact> contacts) voidsetDdService(String ddService) voidvoidsetDocs(List<ServiceDefinitionV2Doc> docs) voidsetExtensions(Map<String, Object> extensions) voidsetIntegrations(ServiceDefinitionV2Integrations integrations) voidsetLinks(List<ServiceDefinitionV2Link> links) voidsetRepos(List<ServiceDefinitionV2Repo> repos) voidsetSchemaVersion(ServiceDefinitionV2Version schemaVersion) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONTACTS
- See Also:
-
JSON_PROPERTY_DD_SERVICE
- See Also:
-
JSON_PROPERTY_DD_TEAM
- See Also:
-
JSON_PROPERTY_DOCS
- See Also:
-
JSON_PROPERTY_EXTENSIONS
- See Also:
-
JSON_PROPERTY_INTEGRATIONS
- See Also:
-
JSON_PROPERTY_LINKS
- See Also:
-
JSON_PROPERTY_REPOS
- See Also:
-
JSON_PROPERTY_SCHEMA_VERSION
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TEAM
- See Also:
-
-
Constructor Details
-
ServiceDefinitionV2
public ServiceDefinitionV2() -
ServiceDefinitionV2
-
-
Method Details
-
contacts
-
addContactsItem
-
getContacts
A list of contacts related to the services.- Returns:
- contacts
-
setContacts
-
ddService
-
getDdService
Unique identifier of the service. Must be unique across all services and is used to match with a service in Datadog.- Returns:
- ddService
-
setDdService
-
ddTeam
-
getDdTeam
Experimental feature. A Team handle that matches a Team in the Datadog Teams product.- Returns:
- ddTeam
-
setDdTeam
-
docs
-
addDocsItem
-
getDocs
A list of documentation related to the services.- Returns:
- docs
-
setDocs
-
extensions
-
putExtensionsItem
-
getExtensions
Extensions to V2 schema.- Returns:
- extensions
-
setExtensions
-
integrations
-
getIntegrations
Third party integrations that Datadog supports.- Returns:
- integrations
-
setIntegrations
-
links
-
addLinksItem
-
getLinks
A list of links related to the services.- Returns:
- links
-
setLinks
-
repos
-
addReposItem
-
getRepos
A list of code repositories related to the services.- Returns:
- repos
-
setRepos
-
schemaVersion
-
getSchemaVersion
Schema version being used.- Returns:
- schemaVersion
-
setSchemaVersion
-
tags
-
addTagsItem
-
getTags
A set of custom tags.- Returns:
- tags
-
setTags
-
team
-
getTeam
Team that owns the service.- Returns:
- team
-
setTeam
-
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:
- ServiceDefinitionV2
-
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 ServiceDefinitionV2 object is equal to o. -
hashCode
public int hashCode() -
toString
-