Class Deployment

java.lang.Object
com.datadog.api.client.v2.model.Deployment

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Deployment extends Object
The version of the app that was published.
  • Field Details

  • Constructor Details

    • Deployment

      public Deployment()
  • Method Details

    • attributes

      public Deployment attributes(DeploymentAttributes attributes)
    • getAttributes

      @Nullable public DeploymentAttributes getAttributes()
      The attributes object containing the version ID of the published app.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(DeploymentAttributes attributes)
    • id

      public Deployment id(UUID id)
    • getId

      @Nullable public UUID getId()
      The deployment ID.
      Returns:
      id
    • setId

      public void setId(UUID id)
    • meta

      public Deployment meta(DeploymentMetadata meta)
    • getMeta

      @Nullable public DeploymentMetadata getMeta()
      Metadata object containing the publication creation information.
      Returns:
      meta
    • setMeta

      public void setMeta(DeploymentMetadata meta)
    • type

      public Deployment type(AppDeploymentType type)
    • getType

      @Nullable public AppDeploymentType getType()
      The deployment type.
      Returns:
      type
    • setType

      public void setType(AppDeploymentType type)
    • putAdditionalProperty

      public Deployment putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      Deployment
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this Deployment object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object