Package com.datadog.api.client.v2.model
Class CreateFormDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateFormDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateFormDataAttributes
extends Object
The attributes for creating a form.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateFormDataAttributes(FormDataDefinition dataDefinition, String name, FormUiDefinition uiDefinition) -
Method Summary
Modifier and TypeMethodDescriptiondataDefinition(FormDataDefinition dataDefinition) description(String description) booleanReturn true if this CreateFormDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the form accepts anonymous submissions.A JSON Schema definition that describes the form's data fields.The description of the form.Whether the form is an IDP survey.getName()The name of the form.Whether each user can only submit one response.UI configuration for rendering form fields, including widget overrides, field ordering, and themes.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAnonymous(Boolean anonymous) voidsetDataDefinition(FormDataDefinition dataDefinition) voidsetDescription(String description) voidsetIdpSurvey(Boolean idpSurvey) voidvoidsetSingleResponse(Boolean singleResponse) voidsetUiDefinition(FormUiDefinition uiDefinition) singleResponse(Boolean singleResponse) toString()uiDefinition(FormUiDefinition uiDefinition)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ANONYMOUS
- See Also:
-
JSON_PROPERTY_DATA_DEFINITION
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_IDP_SURVEY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SINGLE_RESPONSE
- See Also:
-
JSON_PROPERTY_UI_DEFINITION
- See Also:
-
-
Constructor Details
-
CreateFormDataAttributes
public CreateFormDataAttributes() -
CreateFormDataAttributes
public CreateFormDataAttributes(FormDataDefinition dataDefinition, String name, FormUiDefinition uiDefinition)
-
-
Method Details
-
anonymous
-
getAnonymous
Whether the form accepts anonymous submissions.- Returns:
- anonymous
-
setAnonymous
-
dataDefinition
-
getDataDefinition
A JSON Schema definition that describes the form's data fields.- Returns:
- dataDefinition
-
setDataDefinition
-
description
-
getDescription
The description of the form.- Returns:
- description
-
setDescription
-
idpSurvey
-
getIdpSurvey
Whether the form is an IDP survey.- Returns:
- idpSurvey
-
setIdpSurvey
-
name
-
getName
The name of the form.- Returns:
- name
-
setName
-
singleResponse
-
getSingleResponse
Whether each user can only submit one response.- Returns:
- singleResponse
-
setSingleResponse
-
uiDefinition
-
getUiDefinition
UI configuration for rendering form fields, including widget overrides, field ordering, and themes.- Returns:
- uiDefinition
-
setUiDefinition
-
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:
- CreateFormDataAttributes
-
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 CreateFormDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-