Package com.datadog.api.client.v2.model
Class FormDataDefinition
java.lang.Object
com.datadog.api.client.v2.model.FormDataDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FormDataDefinition
extends Object
A JSON Schema definition that describes the form's data fields.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRequiredItem(String requiredItem) description(String description) booleanReturn true if this FormDataDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A description shown to form respondents.A map of field names to their JSON Schema definitions.List of field names that must be answered.getTitle()The title of the form schema.getType()The root schema type.inthashCode()properties(Map<String, Object> properties) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putPropertiesItem(String key, Object propertiesItem) voidsetDescription(String description) voidsetProperties(Map<String, Object> properties) voidsetRequired(List<String> required) voidvoidtoString()type(FormDataDefinitionType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_PROPERTIES
- See Also:
-
JSON_PROPERTY_REQUIRED
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
FormDataDefinition
public FormDataDefinition()
-
-
Method Details
-
description
-
getDescription
A description shown to form respondents.- Returns:
- description
-
setDescription
-
properties
-
putPropertiesItem
-
getProperties
A map of field names to their JSON Schema definitions.- Returns:
- properties
-
setProperties
-
required
-
addRequiredItem
-
getRequired
List of field names that must be answered.- Returns:
- required
-
setRequired
-
title
-
getTitle
The title of the form schema.- Returns:
- title
-
setTitle
-
type
-
getType
The root schema type.- Returns:
- type
-
setType
-
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:
- FormDataDefinition
-
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 FormDataDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-