Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50997,6 +50997,7 @@ components:
- $ref: '#/components/schemas/TableResultV2DataAttributesFileMetadataCloudStorage'
- $ref: '#/components/schemas/TableResultV2DataAttributesFileMetadataLocalFile'
TableResultV2DataAttributesFileMetadataCloudStorage:
additionalProperties: false
description: File metadata for reference tables created by cloud storage.
properties:
access_details:
Expand Down Expand Up @@ -51043,6 +51044,7 @@ components:
- OPERATION_ERROR
- SYSTEM_ERROR
TableResultV2DataAttributesFileMetadataLocalFile:
additionalProperties: false
description: File metadata for reference tables created by upload. Note that
upload_id is only returned in the immediate create/replace response and is
not available in subsequent GET requests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@

package com.datadog.api.client.v2.model;

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

/** File metadata for reference tables created by cloud storage. */
Expand Down Expand Up @@ -167,53 +163,6 @@ public void setSyncEnabled(Boolean syncEnabled) {
this.syncEnabled = syncEnabled;
}

/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
*/
private Map<String, Object> additionalProperties;

/**
* Set the additional (undeclared) property with the specified name and value. If the property
* does not already exist, create it otherwise replace it.
*
* @param key The arbitrary key to set
* @param value The associated value
* @return TableResultV2DataAttributesFileMetadataCloudStorage
*/
@JsonAnySetter
public TableResultV2DataAttributesFileMetadataCloudStorage putAdditionalProperty(
String key, Object value) {
if (this.additionalProperties == null) {
this.additionalProperties = new HashMap<String, Object>();
}
this.additionalProperties.put(key, value);
return this;
}

/**
* Return the additional (undeclared) property.
*
* @return The additional properties
*/
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return additionalProperties;
}

/**
* Return the additional (undeclared) property with the specified name.
*
* @param key The arbitrary key to get
* @return The specific additional property for the given key
*/
public Object getAdditionalProperty(String key) {
if (this.additionalProperties == null) {
return null;
}
return this.additionalProperties.get(key);
}

/**
* Return true if this TableResultV2DataAttributesFileMetadataCloudStorage object is equal to o.
*/
Expand All @@ -237,16 +186,12 @@ public boolean equals(Object o) {
&& Objects.equals(
this.errorType, tableResultV2DataAttributesFileMetadataCloudStorage.errorType)
&& Objects.equals(
this.syncEnabled, tableResultV2DataAttributesFileMetadataCloudStorage.syncEnabled)
&& Objects.equals(
this.additionalProperties,
tableResultV2DataAttributesFileMetadataCloudStorage.additionalProperties);
this.syncEnabled, tableResultV2DataAttributesFileMetadataCloudStorage.syncEnabled);
}

@Override
public int hashCode() {
return Objects.hash(
accessDetails, errorMessage, errorRowCount, errorType, syncEnabled, additionalProperties);
return Objects.hash(accessDetails, errorMessage, errorRowCount, errorType, syncEnabled);
}

@Override
Expand All @@ -258,9 +203,6 @@ public String toString() {
sb.append(" errorRowCount: ").append(toIndentedString(errorRowCount)).append("\n");
sb.append(" errorType: ").append(toIndentedString(errorType)).append("\n");
sb.append(" syncEnabled: ").append(toIndentedString(syncEnabled)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
sb.append('}');
return sb.toString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@

package com.datadog.api.client.v2.model;

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;

/**
Expand Down Expand Up @@ -76,53 +72,6 @@ public void setErrorRowCount(Long errorRowCount) {
this.errorRowCount = errorRowCount;
}

/**
* A container for additional, undeclared properties. This is a holder for any undeclared
* properties as specified with the 'additionalProperties' keyword in the OAS document.
*/
private Map<String, Object> additionalProperties;

/**
* Set the additional (undeclared) property with the specified name and value. If the property
* does not already exist, create it otherwise replace it.
*
* @param key The arbitrary key to set
* @param value The associated value
* @return TableResultV2DataAttributesFileMetadataLocalFile
*/
@JsonAnySetter
public TableResultV2DataAttributesFileMetadataLocalFile putAdditionalProperty(
String key, Object value) {
if (this.additionalProperties == null) {
this.additionalProperties = new HashMap<String, Object>();
}
this.additionalProperties.put(key, value);
return this;
}

/**
* Return the additional (undeclared) property.
*
* @return The additional properties
*/
@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return additionalProperties;
}

/**
* Return the additional (undeclared) property with the specified name.
*
* @param key The arbitrary key to get
* @return The specific additional property for the given key
*/
public Object getAdditionalProperty(String key) {
if (this.additionalProperties == null) {
return null;
}
return this.additionalProperties.get(key);
}

/** Return true if this TableResultV2DataAttributesFileMetadataLocalFile object is equal to o. */
@Override
public boolean equals(Object o) {
Expand All @@ -138,15 +87,12 @@ public boolean equals(Object o) {
return Objects.equals(
this.errorMessage, tableResultV2DataAttributesFileMetadataLocalFile.errorMessage)
&& Objects.equals(
this.errorRowCount, tableResultV2DataAttributesFileMetadataLocalFile.errorRowCount)
&& Objects.equals(
this.additionalProperties,
tableResultV2DataAttributesFileMetadataLocalFile.additionalProperties);
this.errorRowCount, tableResultV2DataAttributesFileMetadataLocalFile.errorRowCount);
}

@Override
public int hashCode() {
return Objects.hash(errorMessage, errorRowCount, additionalProperties);
return Objects.hash(errorMessage, errorRowCount);
}

@Override
Expand All @@ -155,9 +101,6 @@ public String toString() {
sb.append("class TableResultV2DataAttributesFileMetadataLocalFile {\n");
sb.append(" errorMessage: ").append(toIndentedString(errorMessage)).append("\n");
sb.append(" errorRowCount: ").append(toIndentedString(errorRowCount)).append("\n");
sb.append(" additionalProperties: ")
.append(toIndentedString(additionalProperties))
.append("\n");
sb.append('}');
return sb.toString();
}
Expand Down
Loading