@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class UpsertFormVersionUpsertParams extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ETAG |
static String |
JSON_PROPERTY_INSERT_ONLY |
static String |
JSON_PROPERTY_MATCH_POLICY |
boolean |
unparsed |
| Constructor and Description |
|---|
UpsertFormVersionUpsertParams() |
UpsertFormVersionUpsertParams(LatestVersionMatchPolicy matchPolicy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this UpsertFormVersionUpsertParams object is equal to o.
|
UpsertFormVersionUpsertParams |
etag(String etag) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getEtag_JsonNullable() |
String |
getEtag()
The ETag of the latest version.
|
Boolean |
getInsertOnly()
If true, only a new version may be inserted; updating the current draft is not allowed.
|
LatestVersionMatchPolicy |
getMatchPolicy()
The policy for matching the latest form version during an upsert operation.
|
int |
hashCode() |
UpsertFormVersionUpsertParams |
insertOnly(Boolean insertOnly) |
UpsertFormVersionUpsertParams |
matchPolicy(LatestVersionMatchPolicy matchPolicy) |
UpsertFormVersionUpsertParams |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setEtag_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> etag) |
void |
setEtag(String etag) |
void |
setInsertOnly(Boolean insertOnly) |
void |
setMatchPolicy(LatestVersionMatchPolicy matchPolicy) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ETAG
public static final String JSON_PROPERTY_INSERT_ONLY
public static final String JSON_PROPERTY_MATCH_POLICY
public UpsertFormVersionUpsertParams()
public UpsertFormVersionUpsertParams(LatestVersionMatchPolicy matchPolicy)
public UpsertFormVersionUpsertParams etag(String etag)
@Nullable public String getEtag()
match_policy is if_etag_match
.public org.openapitools.jackson.nullable.JsonNullable<String> getEtag_JsonNullable()
public void setEtag_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> etag)
public void setEtag(String etag)
public UpsertFormVersionUpsertParams insertOnly(Boolean insertOnly)
@Nullable public Boolean getInsertOnly()
public void setInsertOnly(Boolean insertOnly)
public UpsertFormVersionUpsertParams matchPolicy(LatestVersionMatchPolicy matchPolicy)
public LatestVersionMatchPolicy getMatchPolicy()
public void setMatchPolicy(LatestVersionMatchPolicy matchPolicy)
public UpsertFormVersionUpsertParams 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 © 2026. All rights reserved.