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 Details

  • Constructor Details

  • Method Details

    • active

      public FormDataAttributes active(Boolean active)
    • getActive

      public Boolean getActive()
      Whether the form is currently active.
      Returns:
      active
    • setActive

      public void setActive(Boolean active)
    • anonymous

      public FormDataAttributes anonymous(Boolean anonymous)
    • getAnonymous

      public Boolean getAnonymous()
      Whether the form accepts anonymous submissions.
      Returns:
      anonymous
    • setAnonymous

      public void setAnonymous(Boolean anonymous)
    • createdAt

      public FormDataAttributes createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      public OffsetDateTime getCreatedAt()
      The time at which the form was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • datastoreConfig

      public FormDataAttributes datastoreConfig(FormDatastoreConfigAttributes datastoreConfig)
    • getDatastoreConfig

      public FormDatastoreConfigAttributes getDatastoreConfig()
      The datastore configuration for a form.
      Returns:
      datastoreConfig
    • setDatastoreConfig

      public void setDatastoreConfig(FormDatastoreConfigAttributes datastoreConfig)
    • description

      public FormDataAttributes description(String description)
    • getDescription

      public String getDescription()
      The description of the form.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • endDate

      public FormDataAttributes endDate(OffsetDateTime endDate)
    • getEndDate

      @Nullable public OffsetDateTime getEndDate()
      The date and time at which the form stops accepting responses.
      Returns:
      endDate
    • getEndDate_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getEndDate_JsonNullable()
    • setEndDate_JsonNullable

      public void setEndDate_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> endDate)
    • setEndDate

      public void setEndDate(OffsetDateTime endDate)
    • hasSubmitted

      public FormDataAttributes hasSubmitted(Boolean hasSubmitted)
    • getHasSubmitted

      @Nullable public Boolean getHasSubmitted()
      Whether the current user has already submitted this form. Only present for forms with single_response set to true.
      Returns:
      hasSubmitted
    • getHasSubmitted_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getHasSubmitted_JsonNullable()
    • setHasSubmitted_JsonNullable

      public void setHasSubmitted_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> hasSubmitted)
    • setHasSubmitted

      public void setHasSubmitted(Boolean hasSubmitted)
    • idpSurvey

      public FormDataAttributes idpSurvey(Boolean idpSurvey)
    • getIdpSurvey

      public Boolean getIdpSurvey()
      Whether the form is an IDP survey.
      Returns:
      idpSurvey
    • setIdpSurvey

      public void setIdpSurvey(Boolean idpSurvey)
    • modifiedAt

      public FormDataAttributes modifiedAt(OffsetDateTime modifiedAt)
    • getModifiedAt

      public OffsetDateTime getModifiedAt()
      The time at which the form was last modified.
      Returns:
      modifiedAt
    • setModifiedAt

      public void setModifiedAt(OffsetDateTime modifiedAt)
    • name

      public FormDataAttributes name(String name)
    • getName

      public String getName()
      The name of the form.
      Returns:
      name
    • setName

      public void setName(String name)
    • orgId

      public FormDataAttributes orgId(Long orgId)
    • getOrgId

      public Long getOrgId()
      The ID of the organization that owns this form.
      Returns:
      orgId
    • setOrgId

      public void setOrgId(Long orgId)
    • publication

      public FormDataAttributes publication(FormPublicationAttributes publication)
    • getPublication

      @Nullable public FormPublicationAttributes getPublication()
      The attributes of a form publication.
      Returns:
      publication
    • setPublication

      public void setPublication(FormPublicationAttributes publication)
    • selfService

      public FormDataAttributes selfService(Boolean selfService)
    • getSelfService

      public Boolean getSelfService()
      Whether the form is available in the self-service catalog.
      Returns:
      selfService
    • setSelfService

      public void setSelfService(Boolean selfService)
    • singleResponse

      public FormDataAttributes singleResponse(Boolean singleResponse)
    • getSingleResponse

      public Boolean getSingleResponse()
      Whether each user can only submit one response.
      Returns:
      singleResponse
    • setSingleResponse

      public void setSingleResponse(Boolean singleResponse)
    • userId

      public FormDataAttributes userId(Long userId)
    • getUserId

      public Long getUserId()
      The ID of the user who created this form.
      Returns:
      userId
    • setUserId

      public void setUserId(Long userId)
    • userUuid

      public FormDataAttributes userUuid(UUID userUuid)
    • getUserUuid

      public UUID getUserUuid()
      The UUID of the user who created this form.
      Returns:
      userUuid
    • setUserUuid

      public void setUserUuid(UUID userUuid)
    • version

      public FormDataAttributes version(FormVersionAttributes version)
    • getVersion

      @Nullable public FormVersionAttributes getVersion()
      The attributes of a form version.
      Returns:
      version
    • setVersion

      public void setVersion(FormVersionAttributes version)
    • putAdditionalProperty

      public FormDataAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      FormDataAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this FormDataAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object