Class: SignwellSDK::Models::V1::DocumentCreateFromTemplateResponse::Field

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/signwell_sdk/models/v1/document_create_from_template_response.rb

Defined Under Namespace

Modules: Value Classes: Option, Recipient

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(email:, name:, role: nil) ⇒ Object

Parameters:

  • email (String)
  • name (String)
  • role (String) (defaults to: nil)


# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 413

Instance Attribute Details

#allow_otherBoolean?

Whether “Other” option is allowed

Returns:

  • (Boolean, nil)


247
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 247

optional :allow_other, SignwellSDK::Internal::Type::Boolean

#api_idString?

Returns:

  • (String, nil)


252
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 252

optional :api_id, String

#date_formatSymbol, ...

Date format for date fields. Valid values: MM/DD/YYYY, DD/MM/YYYY, YYYY/MM/DD, Month DD, YYYY, MM/DD/YYYY hh:mm:ss a. Default: MM/DD/YYYY

Returns:



259
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 259

optional :date_format, enum: -> { SignwellSDK::DateFormat }

#default_optionString?

Default selected option

Returns:

  • (String, nil)


265
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 265

optional :default_option, String

#fixed_widthBoolean?

Returns:

  • (Boolean, nil)


270
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 270

optional :fixed_width, SignwellSDK::Internal::Type::Boolean

#heightString?

Returns:

  • (String, nil)


275
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 275

optional :height, String

#labelString?

Returns:

  • (String, nil)


280
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 280

optional :label, String

#lock_sign_dateBoolean?

Returns:

  • (Boolean, nil)


285
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 285

optional :lock_sign_date, SignwellSDK::Internal::Type::Boolean

#nameString?

Returns:

  • (String, nil)


290
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 290

optional :name, String, nil?: true

#optionsArray<SignwellSDK::Models::V1::DocumentCreateFromTemplateResponse::Field::Option>?

Dropdown options (for dropdown/select fields)



296
297
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 296

optional :options,
-> { SignwellSDK::Internal::Type::ArrayOf[SignwellSDK::Models::V1::DocumentCreateFromTemplateResponse::Field::Option] }

#pageInteger

Returns:

  • (Integer)


231
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 231

required :page, Integer

#placeholder_nameString?

Returns:

  • (String, nil)


302
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 302

optional :placeholder_name, String

#recipientSignwellSDK::Models::V1::DocumentCreateFromTemplateResponse::Field::Recipient?



307
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 307

optional :recipient, -> { SignwellSDK::Models::V1::DocumentCreateFromTemplateResponse::Field::Recipient }

#recipient_idString?

Returns:

  • (String, nil)


312
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 312

optional :recipient_id, String, nil?: true

#requiredBoolean?

Returns:

  • (Boolean, nil)


317
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 317

optional :required, SignwellSDK::Internal::Type::Boolean

#signing_elements_group_idString?

Returns:

  • (String, nil)


322
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 322

optional :signing_elements_group_id, String

#typeSymbol, ...

Type of signing field

Returns:



328
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 328

optional :type, enum: -> { SignwellSDK::FieldType }

#validationSymbol, ...

Validation rule for text fields

Returns:



334
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 334

optional :validation, enum: -> { SignwellSDK::TextValidation }

#valueString, ...

Returns:

  • (String, Boolean, Float, nil)


339
340
341
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 339

optional :value,
union: -> { SignwellSDK::Models::V1::DocumentCreateFromTemplateResponse::Field::Value },
nil?: true

#widthString?

Returns:

  • (String, nil)


346
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 346

optional :width, String

#xFloat

Returns:

  • (Float)


236
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 236

required :x, Float

#y_Float

Returns:

  • (Float)


241
# File 'lib/signwell_sdk/models/v1/document_create_from_template_response.rb', line 241

required :y_, Float, api_name: :y