Sha256: ec709e6d9f9215fdd5000ff86a63c3d56b5097ecc649414e569b402213029c9e

Contents?: true

Size: 872 Bytes

Versions: 3

Compression:

Stored size: 872 Bytes

Contents

# frozen_string_literal: true

module Calendly
  # Calendly's routing form question model.
  class RoutingFormQuestion
    include ModelUtils
    TIME_FIELDS = %i[created_at updated_at].freeze

    # @return [String]
    # Unique identifier for the routing form question.
    attr_accessor :uuid

    # @return [String]
    # Question name (in human-readable format).
    attr_accessor :name

    # @return [String]
    # Question type: name, text input, email, phone, textarea input, dropdown list or radio button list.
    attr_accessor :type

    # @return [Boolean]
    # true if an answer to the question is required for respondents to submit the routing form; false if not required.
    attr_accessor :required

    # @return [Array<String>]
    # The respondent’s option(s) for "select" or "radios" types of questions.
    attr_accessor :answer_choices
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
calendly-0.14.0 lib/calendly/models/routing_form_question.rb
calendly-0.13.0 lib/calendly/models/routing_form_question.rb
calendly-0.12.0 lib/calendly/models/routing_form_question.rb