Class UpsertFormVersionUpsertParams

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UpsertFormVersionUpsertParams extends Object
Concurrency control parameters for the form version upsert operation.
  • Field Details

  • Constructor Details

    • UpsertFormVersionUpsertParams

      public UpsertFormVersionUpsertParams()
    • UpsertFormVersionUpsertParams

      public UpsertFormVersionUpsertParams(LatestVersionMatchPolicy matchPolicy)
  • Method Details

    • etag

    • getEtag

      @Nullable public String getEtag()
      The ETag of the latest version. Required when match_policy is if_etag_match .
      Returns:
      etag
    • getEtag_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getEtag_JsonNullable()
    • setEtag_JsonNullable

      public void setEtag_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> etag)
    • setEtag

      public void setEtag(String etag)
    • insertOnly

      public UpsertFormVersionUpsertParams insertOnly(Boolean insertOnly)
    • getInsertOnly

      @Nullable public Boolean getInsertOnly()
      If true, only a new version may be inserted; updating the current draft is not allowed.
      Returns:
      insertOnly
    • setInsertOnly

      public void setInsertOnly(Boolean insertOnly)
    • matchPolicy

      public UpsertFormVersionUpsertParams matchPolicy(LatestVersionMatchPolicy matchPolicy)
    • getMatchPolicy

      public LatestVersionMatchPolicy getMatchPolicy()
      The policy for matching the latest form version during an upsert operation.
      Returns:
      matchPolicy
    • setMatchPolicy

      public void setMatchPolicy(LatestVersionMatchPolicy matchPolicy)
    • putAdditionalProperty

      public UpsertFormVersionUpsertParams 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:
      UpsertFormVersionUpsertParams
    • 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 UpsertFormVersionUpsertParams 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