Skip to content

Commit f298403

Browse files
author
BitsAdmin
committed
Merge branch 'livesaas-Python-2020-06-01-online-1723-2025_10_20_10_45_11' into 'integration_2025-10-23_1072456537858'
feat: [development task] livesaas-1723-Python (1759266) See merge request iaasng/volcengine-python-sdk!870
2 parents 473e740 + 76d442b commit f298403

8 files changed

+690
-3
lines changed

volcenginesdklivesaas/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
from volcenginesdklivesaas.models.analysis_user_behavior_people_response import AnalysisUserBehaviorPeopleResponse
4141
from volcenginesdklivesaas.models.analysis_user_behavior_people_v2_request import AnalysisUserBehaviorPeopleV2Request
4242
from volcenginesdklivesaas.models.analysis_user_behavior_people_v2_response import AnalysisUserBehaviorPeopleV2Response
43+
from volcenginesdklivesaas.models.auto_start_config_for_create_activity_apiv2_input import AutoStartConfigForCreateActivityAPIV2Input
44+
from volcenginesdklivesaas.models.auto_start_config_for_get_activity_basic_config_api_output import AutoStartConfigForGetActivityBasicConfigAPIOutput
45+
from volcenginesdklivesaas.models.auto_start_config_for_update_activity_basic_config_api_input import AutoStartConfigForUpdateActivityBasicConfigAPIInput
4346
from volcenginesdklivesaas.models.award_condition_for_get_award_config_list_api_output import AwardConditionForGetAwardConfigListAPIOutput
4447
from volcenginesdklivesaas.models.award_statistics_list_for_get_award_record_statistics_api_output import AwardStatisticsListForGetAwardRecordStatisticsAPIOutput
4548
from volcenginesdklivesaas.models.back_push_info_for_get_custom_act_msg_api_output import BackPushInfoForGetCustomActMsgAPIOutput

volcenginesdklivesaas/models/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
from volcenginesdklivesaas.models.analysis_user_behavior_people_response import AnalysisUserBehaviorPeopleResponse
3737
from volcenginesdklivesaas.models.analysis_user_behavior_people_v2_request import AnalysisUserBehaviorPeopleV2Request
3838
from volcenginesdklivesaas.models.analysis_user_behavior_people_v2_response import AnalysisUserBehaviorPeopleV2Response
39+
from volcenginesdklivesaas.models.auto_start_config_for_create_activity_apiv2_input import AutoStartConfigForCreateActivityAPIV2Input
40+
from volcenginesdklivesaas.models.auto_start_config_for_get_activity_basic_config_api_output import AutoStartConfigForGetActivityBasicConfigAPIOutput
41+
from volcenginesdklivesaas.models.auto_start_config_for_update_activity_basic_config_api_input import AutoStartConfigForUpdateActivityBasicConfigAPIInput
3942
from volcenginesdklivesaas.models.award_condition_for_get_award_config_list_api_output import AwardConditionForGetAwardConfigListAPIOutput
4043
from volcenginesdklivesaas.models.award_statistics_list_for_get_award_record_statistics_api_output import AwardStatisticsListForGetAwardRecordStatisticsAPIOutput
4144
from volcenginesdklivesaas.models.back_push_info_for_get_custom_act_msg_api_output import BackPushInfoForGetCustomActMsgAPIOutput
Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
# coding: utf-8
2+
3+
"""
4+
livesaas
5+
6+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7+
8+
OpenAPI spec version: common-version
9+
10+
Generated by: https://github.com/swagger-api/swagger-codegen.git
11+
"""
12+
13+
14+
import pprint
15+
import re # noqa: F401
16+
17+
import six
18+
19+
from volcenginesdkcore.configuration import Configuration
20+
21+
22+
class AutoStartConfigForCreateActivityAPIV2Input(object):
23+
"""NOTE: This class is auto generated by the swagger code generator program.
24+
25+
Do not edit the class manually.
26+
"""
27+
28+
"""
29+
Attributes:
30+
swagger_types (dict): The key is attribute name
31+
and the value is attribute type.
32+
attribute_map (dict): The key is attribute name
33+
and the value is json key in definition.
34+
"""
35+
swagger_types = {
36+
'recurrence_rule': 'str',
37+
'repeat_deadline': 'int',
38+
'repeat_type': 'int'
39+
}
40+
41+
attribute_map = {
42+
'recurrence_rule': 'RecurrenceRule',
43+
'repeat_deadline': 'RepeatDeadline',
44+
'repeat_type': 'RepeatType'
45+
}
46+
47+
def __init__(self, recurrence_rule=None, repeat_deadline=None, repeat_type=None, _configuration=None): # noqa: E501
48+
"""AutoStartConfigForCreateActivityAPIV2Input - a model defined in Swagger""" # noqa: E501
49+
if _configuration is None:
50+
_configuration = Configuration()
51+
self._configuration = _configuration
52+
53+
self._recurrence_rule = None
54+
self._repeat_deadline = None
55+
self._repeat_type = None
56+
self.discriminator = None
57+
58+
if recurrence_rule is not None:
59+
self.recurrence_rule = recurrence_rule
60+
if repeat_deadline is not None:
61+
self.repeat_deadline = repeat_deadline
62+
if repeat_type is not None:
63+
self.repeat_type = repeat_type
64+
65+
@property
66+
def recurrence_rule(self):
67+
"""Gets the recurrence_rule of this AutoStartConfigForCreateActivityAPIV2Input. # noqa: E501
68+
69+
70+
:return: The recurrence_rule of this AutoStartConfigForCreateActivityAPIV2Input. # noqa: E501
71+
:rtype: str
72+
"""
73+
return self._recurrence_rule
74+
75+
@recurrence_rule.setter
76+
def recurrence_rule(self, recurrence_rule):
77+
"""Sets the recurrence_rule of this AutoStartConfigForCreateActivityAPIV2Input.
78+
79+
80+
:param recurrence_rule: The recurrence_rule of this AutoStartConfigForCreateActivityAPIV2Input. # noqa: E501
81+
:type: str
82+
"""
83+
84+
self._recurrence_rule = recurrence_rule
85+
86+
@property
87+
def repeat_deadline(self):
88+
"""Gets the repeat_deadline of this AutoStartConfigForCreateActivityAPIV2Input. # noqa: E501
89+
90+
91+
:return: The repeat_deadline of this AutoStartConfigForCreateActivityAPIV2Input. # noqa: E501
92+
:rtype: int
93+
"""
94+
return self._repeat_deadline
95+
96+
@repeat_deadline.setter
97+
def repeat_deadline(self, repeat_deadline):
98+
"""Sets the repeat_deadline of this AutoStartConfigForCreateActivityAPIV2Input.
99+
100+
101+
:param repeat_deadline: The repeat_deadline of this AutoStartConfigForCreateActivityAPIV2Input. # noqa: E501
102+
:type: int
103+
"""
104+
105+
self._repeat_deadline = repeat_deadline
106+
107+
@property
108+
def repeat_type(self):
109+
"""Gets the repeat_type of this AutoStartConfigForCreateActivityAPIV2Input. # noqa: E501
110+
111+
112+
:return: The repeat_type of this AutoStartConfigForCreateActivityAPIV2Input. # noqa: E501
113+
:rtype: int
114+
"""
115+
return self._repeat_type
116+
117+
@repeat_type.setter
118+
def repeat_type(self, repeat_type):
119+
"""Sets the repeat_type of this AutoStartConfigForCreateActivityAPIV2Input.
120+
121+
122+
:param repeat_type: The repeat_type of this AutoStartConfigForCreateActivityAPIV2Input. # noqa: E501
123+
:type: int
124+
"""
125+
126+
self._repeat_type = repeat_type
127+
128+
def to_dict(self):
129+
"""Returns the model properties as a dict"""
130+
result = {}
131+
132+
for attr, _ in six.iteritems(self.swagger_types):
133+
value = getattr(self, attr)
134+
if isinstance(value, list):
135+
result[attr] = list(map(
136+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
137+
value
138+
))
139+
elif hasattr(value, "to_dict"):
140+
result[attr] = value.to_dict()
141+
elif isinstance(value, dict):
142+
result[attr] = dict(map(
143+
lambda item: (item[0], item[1].to_dict())
144+
if hasattr(item[1], "to_dict") else item,
145+
value.items()
146+
))
147+
else:
148+
result[attr] = value
149+
if issubclass(AutoStartConfigForCreateActivityAPIV2Input, dict):
150+
for key, value in self.items():
151+
result[key] = value
152+
153+
return result
154+
155+
def to_str(self):
156+
"""Returns the string representation of the model"""
157+
return pprint.pformat(self.to_dict())
158+
159+
def __repr__(self):
160+
"""For `print` and `pprint`"""
161+
return self.to_str()
162+
163+
def __eq__(self, other):
164+
"""Returns true if both objects are equal"""
165+
if not isinstance(other, AutoStartConfigForCreateActivityAPIV2Input):
166+
return False
167+
168+
return self.to_dict() == other.to_dict()
169+
170+
def __ne__(self, other):
171+
"""Returns true if both objects are not equal"""
172+
if not isinstance(other, AutoStartConfigForCreateActivityAPIV2Input):
173+
return True
174+
175+
return self.to_dict() != other.to_dict()
Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
# coding: utf-8
2+
3+
"""
4+
livesaas
5+
6+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
7+
8+
OpenAPI spec version: common-version
9+
10+
Generated by: https://github.com/swagger-api/swagger-codegen.git
11+
"""
12+
13+
14+
import pprint
15+
import re # noqa: F401
16+
17+
import six
18+
19+
from volcenginesdkcore.configuration import Configuration
20+
21+
22+
class AutoStartConfigForGetActivityBasicConfigAPIOutput(object):
23+
"""NOTE: This class is auto generated by the swagger code generator program.
24+
25+
Do not edit the class manually.
26+
"""
27+
28+
"""
29+
Attributes:
30+
swagger_types (dict): The key is attribute name
31+
and the value is attribute type.
32+
attribute_map (dict): The key is attribute name
33+
and the value is json key in definition.
34+
"""
35+
swagger_types = {
36+
'recurrence_rule': 'str',
37+
'repeat_deadline': 'int',
38+
'repeat_type': 'int'
39+
}
40+
41+
attribute_map = {
42+
'recurrence_rule': 'RecurrenceRule',
43+
'repeat_deadline': 'RepeatDeadline',
44+
'repeat_type': 'RepeatType'
45+
}
46+
47+
def __init__(self, recurrence_rule=None, repeat_deadline=None, repeat_type=None, _configuration=None): # noqa: E501
48+
"""AutoStartConfigForGetActivityBasicConfigAPIOutput - a model defined in Swagger""" # noqa: E501
49+
if _configuration is None:
50+
_configuration = Configuration()
51+
self._configuration = _configuration
52+
53+
self._recurrence_rule = None
54+
self._repeat_deadline = None
55+
self._repeat_type = None
56+
self.discriminator = None
57+
58+
if recurrence_rule is not None:
59+
self.recurrence_rule = recurrence_rule
60+
if repeat_deadline is not None:
61+
self.repeat_deadline = repeat_deadline
62+
if repeat_type is not None:
63+
self.repeat_type = repeat_type
64+
65+
@property
66+
def recurrence_rule(self):
67+
"""Gets the recurrence_rule of this AutoStartConfigForGetActivityBasicConfigAPIOutput. # noqa: E501
68+
69+
70+
:return: The recurrence_rule of this AutoStartConfigForGetActivityBasicConfigAPIOutput. # noqa: E501
71+
:rtype: str
72+
"""
73+
return self._recurrence_rule
74+
75+
@recurrence_rule.setter
76+
def recurrence_rule(self, recurrence_rule):
77+
"""Sets the recurrence_rule of this AutoStartConfigForGetActivityBasicConfigAPIOutput.
78+
79+
80+
:param recurrence_rule: The recurrence_rule of this AutoStartConfigForGetActivityBasicConfigAPIOutput. # noqa: E501
81+
:type: str
82+
"""
83+
84+
self._recurrence_rule = recurrence_rule
85+
86+
@property
87+
def repeat_deadline(self):
88+
"""Gets the repeat_deadline of this AutoStartConfigForGetActivityBasicConfigAPIOutput. # noqa: E501
89+
90+
91+
:return: The repeat_deadline of this AutoStartConfigForGetActivityBasicConfigAPIOutput. # noqa: E501
92+
:rtype: int
93+
"""
94+
return self._repeat_deadline
95+
96+
@repeat_deadline.setter
97+
def repeat_deadline(self, repeat_deadline):
98+
"""Sets the repeat_deadline of this AutoStartConfigForGetActivityBasicConfigAPIOutput.
99+
100+
101+
:param repeat_deadline: The repeat_deadline of this AutoStartConfigForGetActivityBasicConfigAPIOutput. # noqa: E501
102+
:type: int
103+
"""
104+
105+
self._repeat_deadline = repeat_deadline
106+
107+
@property
108+
def repeat_type(self):
109+
"""Gets the repeat_type of this AutoStartConfigForGetActivityBasicConfigAPIOutput. # noqa: E501
110+
111+
112+
:return: The repeat_type of this AutoStartConfigForGetActivityBasicConfigAPIOutput. # noqa: E501
113+
:rtype: int
114+
"""
115+
return self._repeat_type
116+
117+
@repeat_type.setter
118+
def repeat_type(self, repeat_type):
119+
"""Sets the repeat_type of this AutoStartConfigForGetActivityBasicConfigAPIOutput.
120+
121+
122+
:param repeat_type: The repeat_type of this AutoStartConfigForGetActivityBasicConfigAPIOutput. # noqa: E501
123+
:type: int
124+
"""
125+
126+
self._repeat_type = repeat_type
127+
128+
def to_dict(self):
129+
"""Returns the model properties as a dict"""
130+
result = {}
131+
132+
for attr, _ in six.iteritems(self.swagger_types):
133+
value = getattr(self, attr)
134+
if isinstance(value, list):
135+
result[attr] = list(map(
136+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
137+
value
138+
))
139+
elif hasattr(value, "to_dict"):
140+
result[attr] = value.to_dict()
141+
elif isinstance(value, dict):
142+
result[attr] = dict(map(
143+
lambda item: (item[0], item[1].to_dict())
144+
if hasattr(item[1], "to_dict") else item,
145+
value.items()
146+
))
147+
else:
148+
result[attr] = value
149+
if issubclass(AutoStartConfigForGetActivityBasicConfigAPIOutput, dict):
150+
for key, value in self.items():
151+
result[key] = value
152+
153+
return result
154+
155+
def to_str(self):
156+
"""Returns the string representation of the model"""
157+
return pprint.pformat(self.to_dict())
158+
159+
def __repr__(self):
160+
"""For `print` and `pprint`"""
161+
return self.to_str()
162+
163+
def __eq__(self, other):
164+
"""Returns true if both objects are equal"""
165+
if not isinstance(other, AutoStartConfigForGetActivityBasicConfigAPIOutput):
166+
return False
167+
168+
return self.to_dict() == other.to_dict()
169+
170+
def __ne__(self, other):
171+
"""Returns true if both objects are not equal"""
172+
if not isinstance(other, AutoStartConfigForGetActivityBasicConfigAPIOutput):
173+
return True
174+
175+
return self.to_dict() != other.to_dict()

0 commit comments

Comments
 (0)