Sha256: a494152374cbe4428d2a34f6494265d4002a152a539c98d9abfc5594123cbc7f

Contents?: true

Size: 1.33 KB

Versions: 2

Compression:

Stored size: 1.33 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 CampaignStateResult < CampaignState

      include MsRestAzure

      # @return [Integer] Campaign identifier.
      attr_accessor :id


      #
      # Mapper for CampaignStateResult class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CampaignStateResult',
          type: {
            name: 'Composite',
            class_name: 'CampaignStateResult',
            model_properties: {
              state: {
                client_side_validation: true,
                required: false,
                serialized_name: 'state',
                type: {
                  name: 'String'
                }
              },
              id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'id',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      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/campaign_state_result.rb
azure_mgmt_mobile_engagement-0.15.2 lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_state_result.rb