Class: SignwellSDK::Models::V1::Document::Field
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- SignwellSDK::Models::V1::Document::Field
- Defined in:
- lib/signwell_sdk/models/v1/document.rb
Defined Under Namespace
Modules: Value Classes: Option, Recipient
Instance Attribute Summary collapse
-
#allow_other ⇒ Boolean?
Whether “Other” option is allowed.
- #api_id ⇒ String?
-
#date_format ⇒ Symbol, ...
Date format for date fields.
-
#default_option ⇒ String?
Default selected option.
- #fixed_width ⇒ Boolean?
- #height ⇒ String?
- #label ⇒ String?
- #lock_sign_date ⇒ Boolean?
- #name ⇒ String?
-
#options ⇒ Array<SignwellSDK::Models::V1::Document::Field::Option>?
Dropdown options (for dropdown/select fields).
- #page ⇒ Integer
- #placeholder_name ⇒ String?
- #recipient ⇒ SignwellSDK::Models::V1::Document::Field::Recipient?
- #recipient_id ⇒ String?
- #required ⇒ Boolean?
- #signing_elements_group_id ⇒ String?
-
#type ⇒ Symbol, ...
Type of signing field.
-
#validation ⇒ Symbol, ...
Validation rule for text fields.
- #value ⇒ String, ...
- #width ⇒ String?
- #x ⇒ Float
- #y_ ⇒ Float
Instance Method Summary collapse
- #initialize(email:, name:) ⇒ Object constructor
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:) ⇒ Object
|
|
# File 'lib/signwell_sdk/models/v1/document.rb', line 408
|
Instance Attribute Details
#allow_other ⇒ Boolean?
Whether “Other” option is allowed
246 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 246 optional :allow_other, SignwellSDK::Internal::Type::Boolean |
#api_id ⇒ String?
251 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 251 optional :api_id, String |
#date_format ⇒ Symbol, ...
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
258 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 258 optional :date_format, enum: -> { SignwellSDK::DateFormat } |
#default_option ⇒ String?
Default selected option
264 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 264 optional :default_option, String |
#fixed_width ⇒ Boolean?
269 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 269 optional :fixed_width, SignwellSDK::Internal::Type::Boolean |
#height ⇒ String?
274 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 274 optional :height, String |
#label ⇒ String?
279 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 279 optional :label, String |
#lock_sign_date ⇒ Boolean?
284 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 284 optional :lock_sign_date, SignwellSDK::Internal::Type::Boolean |
#name ⇒ String?
289 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 289 optional :name, String, nil?: true |
#options ⇒ Array<SignwellSDK::Models::V1::Document::Field::Option>?
Dropdown options (for dropdown/select fields)
295 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 295 optional :options, -> { SignwellSDK::Internal::Type::ArrayOf[SignwellSDK::V1::Document::Field::Option] } |
#page ⇒ Integer
230 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 230 required :page, Integer |
#placeholder_name ⇒ String?
300 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 300 optional :placeholder_name, String |
#recipient ⇒ SignwellSDK::Models::V1::Document::Field::Recipient?
305 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 305 optional :recipient, -> { SignwellSDK::V1::Document::Field::Recipient } |
#recipient_id ⇒ String?
310 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 310 optional :recipient_id, String, nil?: true |
#required ⇒ Boolean?
315 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 315 optional :required, SignwellSDK::Internal::Type::Boolean |
#signing_elements_group_id ⇒ String?
320 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 320 optional :signing_elements_group_id, String |
#type ⇒ Symbol, ...
Type of signing field
326 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 326 optional :type, enum: -> { SignwellSDK::FieldType } |
#validation ⇒ Symbol, ...
Validation rule for text fields
332 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 332 optional :validation, enum: -> { SignwellSDK::TextValidation } |
#value ⇒ String, ...
337 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 337 optional :value, union: -> { SignwellSDK::V1::Document::Field::Value }, nil?: true |
#width ⇒ String?
342 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 342 optional :width, String |
#x ⇒ Float
235 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 235 required :x, Float |
#y_ ⇒ Float
240 |
# File 'lib/signwell_sdk/models/v1/document.rb', line 240 required :y_, Float, api_name: :y |