Class: Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignState
- Inherits:
-
Object
- Object
- Azure::MobileEngagement::Mgmt::V2014_12_01::Models::CampaignState
- Includes:
- MsRestAzure
- Defined in:
- lib/2014-12-01/generated/azure_mgmt_mobile_engagement/models/campaign_state.rb
Overview
Model object.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#state ⇒ CampaignStates
testing a campaign.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CampaignState class as Ruby Hash.
Instance Attribute Details
#state ⇒ CampaignStates
testing a campaign. Possible values include: ‘draft’, ‘scheduled’, ‘in-progress’, ‘finished’, ‘queued’
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
.mapper ⇒ Object
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 |