Class: Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignState

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

Overview

Model object.

Direct Known Subclasses

CampaignStateResult

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#stateCampaignStates

testing a campaign. Possible values include: ‘draft’, ‘scheduled’, ‘in-progress’, ‘finished’, ‘queued’

Returns:



19
20
21
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_state.rb', line 19

def state
  @state
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_state.rb', line 26

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