Class: Humidifier::Pinpoint::Campaign

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::Pinpoint::Campaign resource

AWS Resource:

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#additional_treatmentsObject

returns the AdditionalTreatments property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def additional_treatments
  properties['additional_treatments']
end

#additional_treatments=(value) ⇒ Object

sets the AdditionalTreatments property (List)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def additional_treatments=(value)
  update_property('additional_treatments', value)
end

#application_idObject

returns the ApplicationId property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def application_id
  properties['application_id']
end

#application_id=(value) ⇒ Object

sets the ApplicationId property (String)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def application_id=(value)
  update_property('application_id', value)
end

#campaign_hookObject

returns the CampaignHook property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def campaign_hook
  properties['campaign_hook']
end

#campaign_hook=(value) ⇒ Object

sets the CampaignHook property (Structure)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def campaign_hook=(value)
  update_property('campaign_hook', value)
end

#custom_delivery_configurationObject

returns the CustomDeliveryConfiguration property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def custom_delivery_configuration
  properties['custom_delivery_configuration']
end

#custom_delivery_configuration=(value) ⇒ Object

sets the CustomDeliveryConfiguration property (Structure)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def custom_delivery_configuration=(value)
  update_property('custom_delivery_configuration', value)
end

#descriptionObject

returns the Description property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def description
  properties['description']
end

#description=(value) ⇒ Object

sets the Description property (String)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def description=(value)
  update_property('description', value)
end

#holdout_percentObject

returns the HoldoutPercent property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def holdout_percent
  properties['holdout_percent']
end

#holdout_percent=(value) ⇒ Object

sets the HoldoutPercent property (Integer)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def holdout_percent=(value)
  update_property('holdout_percent', value)
end

#is_pausedObject

returns the IsPaused property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def is_paused
  properties['is_paused']
end

#is_paused=(value) ⇒ Object

sets the IsPaused property (Boolean)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def is_paused=(value)
  update_property('is_paused', value)
end

#limitsObject

returns the Limits property



80
81
82
# File 'lib/humidifier/magic.rb', line 80

def limits
  properties['limits']
end

#limits=(value) ⇒ Object

sets the Limits property (Structure)



85
86
87
# File 'lib/humidifier/magic.rb', line 85

def limits=(value)
  update_property('limits', value)
end

#message_configurationObject

returns the MessageConfiguration property



90
91
92
# File 'lib/humidifier/magic.rb', line 90

def message_configuration
  properties['message_configuration']
end

#message_configuration=(value) ⇒ Object

sets the MessageConfiguration property (Structure)



95
96
97
# File 'lib/humidifier/magic.rb', line 95

def message_configuration=(value)
  update_property('message_configuration', value)
end

#nameObject

returns the Name property



100
101
102
# File 'lib/humidifier/magic.rb', line 100

def name
  properties['name']
end

#name=(value) ⇒ Object

sets the Name property (String)



105
106
107
# File 'lib/humidifier/magic.rb', line 105

def name=(value)
  update_property('name', value)
end

#priorityObject

returns the Priority property



110
111
112
# File 'lib/humidifier/magic.rb', line 110

def priority
  properties['priority']
end

#priority=(value) ⇒ Object

sets the Priority property (Integer)



115
116
117
# File 'lib/humidifier/magic.rb', line 115

def priority=(value)
  update_property('priority', value)
end

#scheduleObject

returns the Schedule property



120
121
122
# File 'lib/humidifier/magic.rb', line 120

def schedule
  properties['schedule']
end

#schedule=(value) ⇒ Object

sets the Schedule property (Structure)



125
126
127
# File 'lib/humidifier/magic.rb', line 125

def schedule=(value)
  update_property('schedule', value)
end

#segment_idObject

returns the SegmentId property



130
131
132
# File 'lib/humidifier/magic.rb', line 130

def segment_id
  properties['segment_id']
end

#segment_id=(value) ⇒ Object

sets the SegmentId property (String)



135
136
137
# File 'lib/humidifier/magic.rb', line 135

def segment_id=(value)
  update_property('segment_id', value)
end

#segment_versionObject

returns the SegmentVersion property



140
141
142
# File 'lib/humidifier/magic.rb', line 140

def segment_version
  properties['segment_version']
end

#segment_version=(value) ⇒ Object

sets the SegmentVersion property (Integer)



145
146
147
# File 'lib/humidifier/magic.rb', line 145

def segment_version=(value)
  update_property('segment_version', value)
end

#tagsObject

returns the Tags property



150
151
152
# File 'lib/humidifier/magic.rb', line 150

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (Json)



155
156
157
# File 'lib/humidifier/magic.rb', line 155

def tags=(value)
  update_property('tags', value)
end

#template_configurationObject

returns the TemplateConfiguration property



160
161
162
# File 'lib/humidifier/magic.rb', line 160

def template_configuration
  properties['template_configuration']
end

#template_configuration=(value) ⇒ Object

sets the TemplateConfiguration property (Structure)



165
166
167
# File 'lib/humidifier/magic.rb', line 165

def template_configuration=(value)
  update_property('template_configuration', value)
end

#treatment_descriptionObject

returns the TreatmentDescription property



170
171
172
# File 'lib/humidifier/magic.rb', line 170

def treatment_description
  properties['treatment_description']
end

#treatment_description=(value) ⇒ Object

sets the TreatmentDescription property (String)



175
176
177
# File 'lib/humidifier/magic.rb', line 175

def treatment_description=(value)
  update_property('treatment_description', value)
end

#treatment_nameObject

returns the TreatmentName property



180
181
182
# File 'lib/humidifier/magic.rb', line 180

def treatment_name
  properties['treatment_name']
end

#treatment_name=(value) ⇒ Object

sets the TreatmentName property (String)



185
186
187
# File 'lib/humidifier/magic.rb', line 185

def treatment_name=(value)
  update_property('treatment_name', value)
end