Class: Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignStateResult

Inherits:
CampaignState
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_state_result.rb

Overview

Model object.

Direct Known Subclasses

CampaignListResult

Instance Attribute Summary collapse

Attributes inherited from CampaignState

#state

Class Method Summary collapse

Instance Attribute Details

#idInteger

Returns Campaign identifier.

Returns:

  • (Integer)

    Campaign identifier.



17
18
19
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_state_result.rb', line 17

def id
  @id
end

Class Method Details

.mapperObject

Mapper for CampaignStateResult class as Ruby Hash. This will be used for serialization/deserialization.



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_state_result.rb', line 24

def self.mapper()
  {
    required: false,
    serialized_name: 'CampaignStateResult',
    type: {
      name: 'Composite',
      class_name: 'CampaignStateResult',
      model_properties: {
        state: {
          required: false,
          serialized_name: 'state',
          type: {
            name: 'String'
          }
        },
        id: {
          required: true,
          serialized_name: 'id',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end