Sha256: 8c4887b6e3bf543f7ae560b23ee336015e1c4788d7e5ff70f5e1ff764e5343cb

Contents?: true

Size: 1.73 KB

Versions: 10

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

10 entries across 10 versions & 1 rubygems

Version Path
sunshine-conversations-client-9.4.6 docs/Field.md
sunshine-conversations-client-9.4.5 docs/Field.md
sunshine-conversations-client-9.4.4 docs/Field.md
sunshine-conversations-client-9.4.3 docs/Field.md
sunshine-conversations-client-9.4.2 docs/Field.md
sunshine-conversations-client-9.4.1 docs/Field.md
sunshine-conversations-client-9.4.0 docs/Field.md
sunshine-conversations-client-9.3.0 docs/Field.md
sunshine-conversations-client-9.2.0 docs/Field.md
sunshine-conversations-client-9.1.1 docs/Field.md