Package com.datadog.api.client.v2.model
Class CreateTableRequestDataAttributesSchema
java.lang.Object
com.datadog.api.client.v2.model.CreateTableRequestDataAttributesSchema
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateTableRequestDataAttributesSchema
extends Object
Schema defining the structure and columns of the reference table.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateTableRequestDataAttributesSchema(List<CreateTableRequestDataAttributesSchemaFieldsItems> fields, List<String> primaryKeys) -
Method Summary
Modifier and TypeMethodDescriptionaddPrimaryKeysItem(String primaryKeysItem) booleanReturn true if this CreateTableRequestDataAttributesSchema object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The schema fields.List of field names that serve as primary keys for the table.inthashCode()primaryKeys(List<String> primaryKeys) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetPrimaryKeys(List<String> primaryKeys) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FIELDS
- See Also:
-
JSON_PROPERTY_PRIMARY_KEYS
- See Also:
-
-
Constructor Details
-
CreateTableRequestDataAttributesSchema
public CreateTableRequestDataAttributesSchema() -
CreateTableRequestDataAttributesSchema
public CreateTableRequestDataAttributesSchema(List<CreateTableRequestDataAttributesSchemaFieldsItems> fields, List<String> primaryKeys)
-
-
Method Details
-
fields
public CreateTableRequestDataAttributesSchema fields(List<CreateTableRequestDataAttributesSchemaFieldsItems> fields) -
addFieldsItem
public CreateTableRequestDataAttributesSchema addFieldsItem(CreateTableRequestDataAttributesSchemaFieldsItems fieldsItem) -
getFields
The schema fields. Maximum of 200 columns.- Returns:
- fields
-
setFields
-
-
addPrimaryKeysItem
-
getPrimaryKeys
List of field names that serve as primary keys for the table. Only one primary key is supported, and it is used as an ID to retrieve rows.- Returns:
- primaryKeys
-
setPrimaryKeys
-
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:
- CreateTableRequestDataAttributesSchema
-
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 CreateTableRequestDataAttributesSchema object is equal to o. -
hashCode
public int hashCode() -
toString
-