Sha256: 97dc39d67a8badb6a605e1ac875d4c9d46cc6dfc4ee3d7072454291a60fdff15

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::MobileEngagement::Mgmt::V2014_12_01
  module Models
    #
    # Model object.
    #
    #
    class PollQuestionChoiceLocalization

      include MsRestAzure

      # @return [String] Title of the choice.
      attr_accessor :title


      #
      # Mapper for PollQuestionChoiceLocalization class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'PollQuestionChoiceLocalization',
          type: {
            name: 'Composite',
            class_name: 'PollQuestionChoiceLocalization',
            model_properties: {
              title: {
                client_side_validation: true,
                required: false,
                serialized_name: 'title',
                constraints: {
                  MaxLength: 256
                },
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_mobile_engagement-0.16.0 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/poll_question_choice_localization.rb
azure_mgmt_mobile_engagement-0.15.2 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/poll_question_choice_localization.rb