@@ -32,6 +32,8 @@ class Feature(object):
3232 'key' : 'str' ,
3333 'type' : 'str' ,
3434 'variation' : 'str' ,
35+ 'variationKey' : 'str' ,
36+ 'variationName' : 'str' ,
3537 'eval_reason' : 'str'
3638 }
3739
@@ -40,21 +42,28 @@ class Feature(object):
4042 'key' : 'key' ,
4143 'type' : 'type' ,
4244 'variation' : '_variation' ,
45+ 'variationKey' : 'variationKey' ,
46+ 'variationName' : 'variationName' ,
4347 'eval_reason' : 'evalReason'
4448 }
4549
46- def __init__ (self , id = None , key = None , type = None , variation = None , eval_reason = None ): # noqa: E501
50+ def __init__ (self , id = None , key = None , type = None , variation = None , variationKey = None , variationName = None , eval_reason = None ): # noqa: E501
4751 """Feature - a model defined in Swagger""" # noqa: E501
52+ print ("Feature.__init__" , variation , variationKey , variationName )
4853 self ._id = None
4954 self ._key = None
5055 self ._type = None
5156 self ._variation = None
57+ self ._variationKey = None
58+ self ._variationName = None
5259 self ._eval_reason = None
5360 self .discriminator = None
5461 self .id = id
5562 self .key = key
5663 self .type = type
5764 self .variation = variation
65+ self .variationKey = variationKey
66+ self .variationName = variationName
5867 if eval_reason is not None :
5968 self .eval_reason = eval_reason
6069
@@ -141,29 +150,80 @@ def type(self, type):
141150
142151 @property
143152 def variation (self ):
144- """Gets the variation of this Feature. # noqa: E501
153+ """Gets the variation ID of this Feature. # noqa: E501
145154
146- Bucketed feature variation # noqa: E501
155+ Bucketed feature variation ID # noqa: E501
147156
148- :return: The variation of this Feature. # noqa: E501
157+ :return: The variation ID of this Feature. # noqa: E501
149158 :rtype: str
150159 """
151160 return self ._variation
152161
153162 @variation .setter
154163 def variation (self , variation ):
155- """Sets the variation of this Feature.
164+ """Sets the variation ID of this Feature.
156165
157- Bucketed feature variation # noqa: E501
166+ Bucketed feature variation ID # noqa: E501
158167
159- :param variation: The variation of this Feature. # noqa: E501
168+ :param variation: The variation ID of this Feature. # noqa: E501
160169 :type: str
161170 """
162171 if variation is None :
163172 raise ValueError ("Invalid value for `variation`, must not be `None`" ) # noqa: E501
164173
165174 self ._variation = variation
166175
176+ @property
177+ def variationKey (self ):
178+ """Gets the variation key of this Feature.
179+
180+ Bucketed feature variation key # noqa: E501
181+
182+ :return: The variation key of this Feature. # noqa: E501
183+ :rtype: str
184+ """
185+ return self ._variationKey
186+
187+ @variationKey .setter
188+ def variationKey (self , variationKey ):
189+ """Sets the variation key of this Feature.
190+
191+ Bucketed feature variation key
192+
193+ :param variationKey: The variation key of this Feature. # noqa: E501
194+ :type: str
195+ """
196+ if variationKey is None :
197+ raise ValueError ("Invalid value for `variationKey`, must not be `None`" ) # noqa: E501
198+
199+ self ._variationKey = variationKey
200+
201+
202+ @property
203+ def variationName (self ):
204+ """Gets the variation name of this Feature.
205+
206+ Bucketed feature variation name # noqa: E501
207+
208+ :return: The variation name of this Feature. # noqa: E501
209+ :rtype: str
210+ """
211+ return self ._variationName
212+
213+ @variationName .setter
214+ def variationName (self , variationName ):
215+ """Sets the variation name of this Feature.
216+
217+ Bucketed feature variation name
218+
219+ :param variationName: The variation name of this Feature. # noqa: E501
220+ :type: str
221+ """
222+ if variationName is None :
223+ raise ValueError ("Invalid value for `variationName`, must not be `None`" ) # noqa: E501
224+
225+ self ._variationName = variationName
226+
167227 @property
168228 def eval_reason (self ):
169229 """Gets the eval_reason of this Feature. # noqa: E501
0 commit comments