@@ -9,40 +9,70 @@ class Action(EcobeeObject):
99 This class has been auto generated by scraping
1010 https://www.ecobee.com/home/developer/api/documentation/v1/objects/Action.shtml
1111
12- Attribute names have been generated by converting ecobee property names from camelCase to snake_case.
12+ Attribute names have been generated by converting ecobee property
13+ names from camelCase to snake_case.
1314
1415 A getter property has been generated for each attribute.
15- A setter property has been generated for each attribute whose value of READONLY is "no".
16-
17- An __init__ argument without a default value has been generated if the value of REQUIRED is "yes".
18- An __init__ argument with a default value of None has been generated if the value of REQUIRED is "no".
19- """
20- __slots__ = ['_type' , '_send_alert' , '_send_update' , '_activation_delay' , '_deactivation_delay' ,
21- '_min_action_duration' , '_heat_adjust_temp' , '_cool_adjust_temp' , '_activate_relay' ,
22- '_activate_relay_open' ]
23-
24- attribute_name_map = {'type' : 'type' , 'send_alert' : 'sendAlert' , 'sendAlert' : 'send_alert' ,
25- 'send_update' : 'sendUpdate' , 'sendUpdate' : 'send_update' ,
26- 'activation_delay' : 'activationDelay' , 'activationDelay' : 'activation_delay' ,
27- 'deactivation_delay' : 'deactivationDelay' , 'deactivationDelay' : 'deactivation_delay' ,
28- 'min_action_duration' : 'minActionDuration' , 'minActionDuration' : 'min_action_duration' ,
29- 'heat_adjust_temp' : 'heatAdjustTemp' , 'heatAdjustTemp' : 'heat_adjust_temp' ,
30- 'cool_adjust_temp' : 'coolAdjustTemp' , 'coolAdjustTemp' : 'cool_adjust_temp' ,
31- 'activate_relay' : 'activateRelay' , 'activateRelay' : 'activate_relay' ,
32- 'activate_relay_open' : 'activateRelayOpen' , 'activateRelayOpen' : 'activate_relay_open' }
33-
34- attribute_type_map = {'type' : 'six.text_type' , 'send_alert' : 'bool' , 'send_update' : 'bool' ,
35- 'activation_delay' : 'int' , 'deactivation_delay' : 'int' , 'min_action_duration' : 'int' ,
36- 'heat_adjust_temp' : 'int' , 'cool_adjust_temp' : 'int' , 'activate_relay' : 'six.text_type' ,
37- 'activate_relay_open' : 'bool' }
38-
39- def __init__ (self , type = None , send_alert = None , send_update = None , activation_delay = None , deactivation_delay = None ,
40- min_action_duration = None , heat_adjust_temp = None , cool_adjust_temp = None , activate_relay = None ,
41- activate_relay_open = None ):
16+ A setter property has been generated for each attribute whose value
17+ of READONLY is "no".
18+
19+ An __init__ argument without a default value has been generated if
20+ the value of REQUIRED is "yes".
21+ An __init__ argument with a default value of None has been generated
22+ if the value of REQUIRED is "no".
23+ """
24+ __slots__ = [
25+ '_type' ,
26+ '_send_alert' ,
27+ '_send_update' ,
28+ '_activation_delay' ,
29+ '_deactivation_delay' ,
30+ '_min_action_duration' ,
31+ '_heat_adjust_temp' ,
32+ '_cool_adjust_temp' ,
33+ '_activate_relay' ,
34+ '_activate_relay_open' ]
35+
36+ attribute_name_map = {
37+ 'type' : 'type' ,
38+ 'send_alert' : 'sendAlert' ,
39+ 'sendAlert' : 'send_alert' ,
40+ 'send_update' : 'sendUpdate' ,
41+ 'sendUpdate' : 'send_update' ,
42+ 'activation_delay' : 'activationDelay' ,
43+ 'activationDelay' : 'activation_delay' ,
44+ 'deactivation_delay' : 'deactivationDelay' ,
45+ 'deactivationDelay' : 'deactivation_delay' ,
46+ 'min_action_duration' : 'minActionDuration' ,
47+ 'minActionDuration' : 'min_action_duration' ,
48+ 'heat_adjust_temp' : 'heatAdjustTemp' ,
49+ 'heatAdjustTemp' : 'heat_adjust_temp' ,
50+ 'cool_adjust_temp' : 'coolAdjustTemp' ,
51+ 'coolAdjustTemp' : 'cool_adjust_temp' ,
52+ 'activate_relay' : 'activateRelay' ,
53+ 'activateRelay' : 'activate_relay' ,
54+ 'activate_relay_open' : 'activateRelayOpen' ,
55+ 'activateRelayOpen' : 'activate_relay_open' }
56+
57+ attribute_type_map = {
58+ 'type' : 'six.text_type' ,
59+ 'send_alert' : 'bool' ,
60+ 'send_update' : 'bool' ,
61+ 'activation_delay' : 'int' ,
62+ 'deactivation_delay' : 'int' ,
63+ 'min_action_duration' : 'int' ,
64+ 'heat_adjust_temp' : 'int' ,
65+ 'cool_adjust_temp' : 'int' ,
66+ 'activate_relay' : 'six.text_type' ,
67+ 'activate_relay_open' : 'bool' }
68+
69+ def __init__ (self , type_ = None , send_alert = None , send_update = None , activation_delay = None ,
70+ deactivation_delay = None , min_action_duration = None , heat_adjust_temp = None ,
71+ cool_adjust_temp = None , activate_relay = None , activate_relay_open = None ):
4272 """
4373 Construct an Action instance
4474 """
45- self ._type = type
75+ self ._type = type_
4676 self ._send_alert = send_alert
4777 self ._send_update = send_update
4878 self ._activation_delay = activation_delay
@@ -58,7 +88,8 @@ def type(self):
5888 """
5989 Gets the type attribute of this Action instance.
6090
61- :return: The value of the type attribute of this Action instance.
91+ :return: The value of the type attribute of this Action
92+ instance.
6293 :rtype: six.text_type
6394 """
6495
@@ -69,7 +100,8 @@ def send_alert(self):
69100 """
70101 Gets the send_alert attribute of this Action instance.
71102
72- :return: The value of the send_alert attribute of this Action instance.
103+ :return: The value of the send_alert attribute of this Action
104+ instance.
73105 :rtype: bool
74106 """
75107
@@ -80,7 +112,8 @@ def send_update(self):
80112 """
81113 Gets the send_update attribute of this Action instance.
82114
83- :return: The value of the send_update attribute of this Action instance.
115+ :return: The value of the send_update attribute of this Action
116+ instance.
84117 :rtype: bool
85118 """
86119
@@ -91,7 +124,8 @@ def activation_delay(self):
91124 """
92125 Gets the activation_delay attribute of this Action instance.
93126
94- :return: The value of the activation_delay attribute of this Action instance.
127+ :return: The value of the activation_delay attribute of this
128+ Action instance.
95129 :rtype: int
96130 """
97131
@@ -102,7 +136,8 @@ def deactivation_delay(self):
102136 """
103137 Gets the deactivation_delay attribute of this Action instance.
104138
105- :return: The value of the deactivation_delay attribute of this Action instance.
139+ :return: The value of the deactivation_delay attribute of this
140+ Action instance.
106141 :rtype: int
107142 """
108143
@@ -113,7 +148,8 @@ def min_action_duration(self):
113148 """
114149 Gets the min_action_duration attribute of this Action instance.
115150
116- :return: The value of the min_action_duration attribute of this Action instance.
151+ :return: The value of the min_action_duration attribute of this
152+ Action instance.
117153 :rtype: int
118154 """
119155
@@ -124,7 +160,8 @@ def heat_adjust_temp(self):
124160 """
125161 Gets the heat_adjust_temp attribute of this Action instance.
126162
127- :return: The value of the heat_adjust_temp attribute of this Action instance.
163+ :return: The value of the heat_adjust_temp attribute of this
164+ Action instance.
128165 :rtype: int
129166 """
130167
@@ -135,7 +172,8 @@ def cool_adjust_temp(self):
135172 """
136173 Gets the cool_adjust_temp attribute of this Action instance.
137174
138- :return: The value of the cool_adjust_temp attribute of this Action instance.
175+ :return: The value of the cool_adjust_temp attribute of this
176+ Action instance.
139177 :rtype: int
140178 """
141179
@@ -146,7 +184,8 @@ def activate_relay(self):
146184 """
147185 Gets the activate_relay attribute of this Action instance.
148186
149- :return: The value of the activate_relay attribute of this Action instance.
187+ :return: The value of the activate_relay attribute of this
188+ Action instance.
150189 :rtype: six.text_type
151190 """
152191
@@ -157,7 +196,8 @@ def activate_relay_open(self):
157196 """
158197 Gets the activate_relay_open attribute of this Action instance.
159198
160- :return: The value of the activate_relay_open attribute of this Action instance.
199+ :return: The value of the activate_relay_open attribute of this
200+ Action instance.
161201 :rtype: bool
162202 """
163203
0 commit comments