=begin #Smooch #The Smooch API is a unified interface for powering messaging in your customer experiences across every channel. Our API speeds access to new markets, reduces time to ship, eliminates complexity, and helps you build the best experiences for your customers. For more information, visit our [official documentation](https://docs.smooch.io). OpenAPI spec version: 5.29 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3-SNAPSHOT =end require 'date' module SmoochApi class FieldPost # The field type. See [**FieldTypeEnum**](Enums.md#FieldTypeEnum) for available values. attr_accessor :type # The name of the field. Each field name must be unique per form. attr_accessor :name # The label to be displayed with the field. attr_accessor :label # The placeholder text of the field that will be rendered. Only for form messages attr_accessor :placeholder # The minimum possible length of the response. Defaults to 1 if not specified. Only for text fields in form messages. attr_accessor :minSize # The maximum possible length of the response. Defaults to 128 if not specified. Only for text fields in form messages. attr_accessor :maxSize # The field options that can be selected. The array is limited to 20 options. Only for select fields in form messages. attr_accessor :options # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'type' => :'type', :'name' => :'name', :'label' => :'label', :'placeholder' => :'placeholder', :'minSize' => :'minSize', :'maxSize' => :'maxSize', :'options' => :'options' } end # Attribute type mapping. def self.swagger_types { :'type' => :'String', :'name' => :'String', :'label' => :'String', :'placeholder' => :'String', :'minSize' => :'Integer', :'maxSize' => :'Integer', :'options' => :'Array