Package com.datadog.api.client.v2.model
Class FormDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.FormDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FormDataAttributes
extends Object
The attributes of a form.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionFormDataAttributes(Boolean active, Boolean anonymous, OffsetDateTime createdAt, FormDatastoreConfigAttributes datastoreConfig, String description, Boolean idpSurvey, OffsetDateTime modifiedAt, String name, Long orgId, Boolean selfService, Boolean singleResponse, Long userId, UUID userUuid) -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) datastoreConfig(FormDatastoreConfigAttributes datastoreConfig) description(String description) endDate(OffsetDateTime endDate) booleanReturn true if this FormDataAttributes object is equal to o.Whether the form is currently active.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the form accepts anonymous submissions.The time at which the form was created.The datastore configuration for a form.The description of the form.The date and time at which the form stops accepting responses.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>Whether the current user has already submitted this form.org.openapitools.jackson.nullable.JsonNullable<Boolean>Whether the form is an IDP survey.The time at which the form was last modified.getName()The name of the form.getOrgId()The ID of the organization that owns this form.The attributes of a form publication.Whether the form is available in the self-service catalog.Whether each user can only submit one response.The ID of the user who created this form.The UUID of the user who created this form.The attributes of a form version.inthashCode()hasSubmitted(Boolean hasSubmitted) modifiedAt(OffsetDateTime modifiedAt) publication(FormPublicationAttributes publication) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.selfService(Boolean selfService) voidvoidsetAnonymous(Boolean anonymous) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDatastoreConfig(FormDatastoreConfigAttributes datastoreConfig) voidsetDescription(String description) voidsetEndDate(OffsetDateTime endDate) voidsetEndDate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> endDate) voidsetHasSubmitted(Boolean hasSubmitted) voidsetHasSubmitted_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> hasSubmitted) voidsetIdpSurvey(Boolean idpSurvey) voidsetModifiedAt(OffsetDateTime modifiedAt) voidvoidvoidsetPublication(FormPublicationAttributes publication) voidsetSelfService(Boolean selfService) voidsetSingleResponse(Boolean singleResponse) voidvoidsetUserUuid(UUID userUuid) voidsetVersion(FormVersionAttributes version) singleResponse(Boolean singleResponse) toString()version(FormVersionAttributes version)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_ANONYMOUS
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DATASTORE_CONFIG
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_HAS_SUBMITTED
- See Also:
-
JSON_PROPERTY_IDP_SURVEY
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_ORG_ID
- See Also:
-
JSON_PROPERTY_PUBLICATION
- See Also:
-
JSON_PROPERTY_SELF_SERVICE
- See Also:
-
JSON_PROPERTY_SINGLE_RESPONSE
- See Also:
-
JSON_PROPERTY_USER_ID
- See Also:
-
JSON_PROPERTY_USER_UUID
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
FormDataAttributes
public FormDataAttributes() -
FormDataAttributes
public FormDataAttributes(Boolean active, Boolean anonymous, OffsetDateTime createdAt, FormDatastoreConfigAttributes datastoreConfig, String description, Boolean idpSurvey, OffsetDateTime modifiedAt, String name, Long orgId, Boolean selfService, Boolean singleResponse, Long userId, UUID userUuid)
-
-
Method Details
-
active
-
getActive
Whether the form is currently active.- Returns:
- active
-
setActive
-
anonymous
-
getAnonymous
Whether the form accepts anonymous submissions.- Returns:
- anonymous
-
setAnonymous
-
createdAt
-
getCreatedAt
The time at which the form was created.- Returns:
- createdAt
-
setCreatedAt
-
datastoreConfig
-
getDatastoreConfig
The datastore configuration for a form.- Returns:
- datastoreConfig
-
setDatastoreConfig
-
description
-
getDescription
The description of the form.- Returns:
- description
-
setDescription
-
endDate
-
getEndDate
The date and time at which the form stops accepting responses.- Returns:
- endDate
-
getEndDate_JsonNullable
-
setEndDate_JsonNullable
public void setEndDate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> endDate) -
setEndDate
-
hasSubmitted
-
getHasSubmitted
Whether the current user has already submitted this form. Only present for forms withsingle_responseset totrue.- Returns:
- hasSubmitted
-
getHasSubmitted_JsonNullable
-
setHasSubmitted_JsonNullable
public void setHasSubmitted_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> hasSubmitted) -
setHasSubmitted
-
idpSurvey
-
getIdpSurvey
Whether the form is an IDP survey.- Returns:
- idpSurvey
-
setIdpSurvey
-
modifiedAt
-
getModifiedAt
The time at which the form was last modified.- Returns:
- modifiedAt
-
setModifiedAt
-
name
-
getName
The name of the form.- Returns:
- name
-
setName
-
orgId
-
getOrgId
The ID of the organization that owns this form.- Returns:
- orgId
-
setOrgId
-
publication
-
getPublication
The attributes of a form publication.- Returns:
- publication
-
setPublication
-
selfService
-
getSelfService
Whether the form is available in the self-service catalog.- Returns:
- selfService
-
setSelfService
-
singleResponse
-
getSingleResponse
Whether each user can only submit one response.- Returns:
- singleResponse
-
setSingleResponse
-
userId
-
getUserId
The ID of the user who created this form.- Returns:
- userId
-
setUserId
-
userUuid
-
getUserUuid
The UUID of the user who created this form.- Returns:
- userUuid
-
setUserUuid
-
version
-
getVersion
The attributes of a form version.- Returns:
- version
-
setVersion
-
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:
- FormDataAttributes
-
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 FormDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-