Sha256: 390ee67b5f4c4e94a87b472c2c9afc2e6be83ccde947386a3e80e7b8e1403c94

Contents?: true

Size: 1.73 KB

Versions: 15

Compression:

Stored size: 1.73 KB

Contents

# SunshineConversationsClient::Field

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **String** | The field type. | 
**name** | **String** | The name of the field. Must be unique per form or formResponse. | 
**label** | **String** | The label of the field. What the field is displayed as on Web Messenger. | 
**placeholder** | **String** | Placeholder text for the field. Form message only. | [optional] 
**min_size** | **Integer** | The minimum allowed length for the response for a field of type text. Form message only. | [optional] [default to 1]
**max_size** | **Integer** | The maximum allowed length for the response for a field of type text. Form message only. | [optional] [default to 128]
**text** | **String** | Specifies the response for a text field. | [optional] 
**email** | **String** | Specifies the response for a email field. | [optional] 
**select** | **Array<Object>** | Array of objects representing the response for a field of type select. Form and formResponse messages only. | [optional] 
**options** | **Array<Object>** | Array of objects representing options for a field of type select. | [optional] 

## Code Sample

```ruby
require 'SunshineConversationsClient'

instance = SunshineConversationsClient::Field.new(type: null,
                                 name: null,
                                 label: null,
                                 placeholder: null,
                                 min_size: null,
                                 max_size: null,
                                 text: null,
                                 email: null,
                                 select: null,
                                 options: null)
```


Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sunshine-conversations-client-10.0.1 docs/Field.md
sunshine-conversations-client-10.0.0 docs/Field.md
sunshine-conversations-client-9.15.0 docs/Field.md
sunshine-conversations-client-9.14.1 docs/Field.md
sunshine-conversations-client-9.14.0 docs/Field.md
sunshine-conversations-client-9.13.0 docs/Field.md
sunshine-conversations-client-9.12.0 docs/Field.md
sunshine-conversations-client-9.11.0 docs/Field.md
sunshine-conversations-client-9.10.0 docs/Field.md
sunshine-conversations-client-9.9.0 docs/Field.md
sunshine-conversations-client-9.8.0 docs/Field.md
sunshine-conversations-client-9.7.0 docs/Field.md
sunshine-conversations-client-9.6.0 docs/Field.md
sunshine-conversations-client-9.5.7 docs/Field.md
sunshine-conversations-client-9.5.6 docs/Field.md