volcengine-python-sdk 4.0.26__py2.py3-none-any.whl → 4.0.27__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of volcengine-python-sdk might be problematic. Click here for more details.

Files changed (168) hide show
  1. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/METADATA +1 -1
  2. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/RECORD +168 -44
  3. volcenginesdkacep/__init__.py +15 -0
  4. volcenginesdkacep/api/acep_api.py +485 -0
  5. volcenginesdkacep/models/__init__.py +15 -0
  6. volcenginesdkacep/models/backup_data_request.py +176 -0
  7. volcenginesdkacep/models/backup_data_response.py +149 -0
  8. volcenginesdkacep/models/delete_backup_data_request.py +150 -0
  9. volcenginesdkacep/models/delete_backup_data_response.py +123 -0
  10. volcenginesdkacep/models/detail_for_backup_data_output.py +201 -0
  11. volcenginesdkacep/models/detail_for_delete_backup_data_output.py +175 -0
  12. volcenginesdkacep/models/detail_for_restore_data_output.py +175 -0
  13. volcenginesdkacep/models/get_dc_bandwidth_daily_peak_request.py +204 -0
  14. volcenginesdkacep/models/get_dc_bandwidth_daily_peak_response.py +123 -0
  15. volcenginesdkacep/models/list_backup_data_request.py +254 -0
  16. volcenginesdkacep/models/list_backup_data_response.py +149 -0
  17. volcenginesdkacep/models/restore_data_request.py +203 -0
  18. volcenginesdkacep/models/restore_data_response.py +149 -0
  19. volcenginesdkacep/models/row_for_get_dc_bandwidth_daily_peak_output.py +253 -0
  20. volcenginesdkacep/models/row_for_list_backup_data_output.py +799 -0
  21. volcenginesdkclb/__init__.py +10 -0
  22. volcenginesdkclb/api/clb_api.py +194 -0
  23. volcenginesdkclb/models/__init__.py +10 -0
  24. volcenginesdkclb/models/access_log_for_describe_network_load_balancer_attributes_output.py +175 -0
  25. volcenginesdkclb/models/add_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
  26. volcenginesdkclb/models/convert_load_balancer_billing_type_request.py +27 -1
  27. volcenginesdkclb/models/describe_listener_attributes_response.py +27 -1
  28. volcenginesdkclb/models/describe_network_load_balancer_attributes_response.py +27 -1
  29. volcenginesdkclb/models/describe_nlb_server_groups_request.py +53 -1
  30. volcenginesdkclb/models/domain_extension_for_describe_listener_attributes_output.py +201 -0
  31. volcenginesdkclb/models/domain_extension_for_describe_listeners_output.py +201 -0
  32. volcenginesdkclb/models/listener_for_describe_listeners_output.py +27 -1
  33. volcenginesdkclb/models/modify_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
  34. volcenginesdkclb/models/modify_listener_domain_extensions_request.py +202 -0
  35. volcenginesdkclb/models/modify_listener_domain_extensions_response.py +123 -0
  36. volcenginesdkclb/models/modify_network_load_balancer_access_log_request.py +202 -0
  37. volcenginesdkclb/models/modify_network_load_balancer_access_log_response.py +123 -0
  38. volcenginesdkclb/models/remove_domain_extension_for_modify_listener_domain_extensions_input.py +123 -0
  39. volcenginesdkcore/api_client.py +1 -1
  40. volcenginesdkcore/configuration.py +1 -1
  41. volcenginesdkcore/interceptor/interceptors/build_request_interceptor.py +4 -0
  42. volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -1
  43. volcenginesdkdbw/__init__.py +18 -0
  44. volcenginesdkdbw/api/dbw_api.py +388 -0
  45. volcenginesdkdbw/models/__init__.py +18 -0
  46. volcenginesdkdbw/models/column_for_get_table_info_output.py +331 -0
  47. volcenginesdkdbw/models/execute_sql_request.py +231 -0
  48. volcenginesdkdbw/models/execute_sql_response.py +123 -0
  49. volcenginesdkdbw/models/foreign_key_for_get_table_info_output.py +279 -0
  50. volcenginesdkdbw/models/get_table_info_request.py +205 -0
  51. volcenginesdkdbw/models/get_table_info_response.py +123 -0
  52. volcenginesdkdbw/models/index_for_get_table_info_output.py +201 -0
  53. volcenginesdkdbw/models/item_for_list_databases_output.py +279 -0
  54. volcenginesdkdbw/models/list_databases_request.py +203 -0
  55. volcenginesdkdbw/models/list_databases_response.py +149 -0
  56. volcenginesdkdbw/models/list_tables_request.py +230 -0
  57. volcenginesdkdbw/models/list_tables_response.py +149 -0
  58. volcenginesdkdbw/models/partition_options_for_get_table_info_output.py +175 -0
  59. volcenginesdkdbw/models/result_for_execute_sql_output.py +305 -0
  60. volcenginesdkdbw/models/row_for_execute_sql_output.py +123 -0
  61. volcenginesdkdbw/models/running_info_for_execute_sql_output.py +201 -0
  62. volcenginesdkdbw/models/table_meta_for_get_table_info_output.py +383 -0
  63. volcenginesdkdbw/models/table_options_for_get_table_info_output.py +331 -0
  64. volcenginesdkgraph/__init__.py +48 -0
  65. volcenginesdkgraph/api/graph_api.py +951 -78
  66. volcenginesdkgraph/models/__init__.py +48 -0
  67. volcenginesdkgraph/models/availability_zone_for_list_graph_rag_service_output.py +253 -0
  68. volcenginesdkgraph/models/bg3_link_for_list_graph_rag_service_output.py +175 -0
  69. volcenginesdkgraph/models/bytestore_info_for_list_graph_rag_service_output.py +201 -0
  70. volcenginesdkgraph/models/conf_checker_for_get_conf_checker_output.py +409 -0
  71. volcenginesdkgraph/models/conf_checker_for_update_conf_checker_input.py +409 -0
  72. volcenginesdkgraph/models/conf_checker_for_validate_conf_checker_input.py +409 -0
  73. volcenginesdkgraph/models/convert_value_for_list_tablets_output.py +149 -0
  74. volcenginesdkgraph/models/create_instance_request.py +29 -3
  75. volcenginesdkgraph/models/first_for_list_tablet_task_output.py +175 -0
  76. volcenginesdkgraph/models/get_conf_checker_request.py +253 -0
  77. volcenginesdkgraph/models/get_conf_checker_response.py +123 -0
  78. volcenginesdkgraph/models/graphrag_add_knowledge_base_request.py +178 -0
  79. volcenginesdkgraph/models/graphrag_add_knowledge_base_response.py +95 -0
  80. volcenginesdkgraph/models/image_info_for_list_graph_rag_service_output.py +227 -0
  81. volcenginesdkgraph/models/info_for_list_graph_rag_service_output.py +175 -0
  82. volcenginesdkgraph/models/info_for_list_tablet_task_output.py +201 -0
  83. volcenginesdkgraph/models/ins_spec_for_list_graph_rag_service_output.py +175 -0
  84. volcenginesdkgraph/models/list_graph_rag_service_request.py +178 -0
  85. volcenginesdkgraph/models/list_graph_rag_service_response.py +149 -0
  86. volcenginesdkgraph/models/list_tablet_server_request.py +150 -0
  87. volcenginesdkgraph/models/list_tablet_server_response.py +149 -0
  88. volcenginesdkgraph/models/list_tablet_task_request.py +177 -0
  89. volcenginesdkgraph/models/list_tablet_task_response.py +123 -0
  90. volcenginesdkgraph/models/list_tablets_request.py +254 -0
  91. volcenginesdkgraph/models/list_tablets_response.py +123 -0
  92. volcenginesdkgraph/models/migrate_tablet_replica_request.py +257 -0
  93. volcenginesdkgraph/models/migrate_tablet_replica_response.py +123 -0
  94. volcenginesdkgraph/models/pending_schedule_replica_for_list_tablets_output.py +149 -0
  95. volcenginesdkgraph/models/replica_info_for_list_tablets_output.py +149 -0
  96. volcenginesdkgraph/models/replicas_to_close_for_list_tablet_task_output.py +227 -0
  97. volcenginesdkgraph/models/replicas_to_delete_for_list_tablet_task_output.py +227 -0
  98. volcenginesdkgraph/models/replicas_to_failover_by_promote_for_list_tablet_task_output.py +149 -0
  99. volcenginesdkgraph/models/replicas_to_failover_by_reopen_for_list_tablet_task_output.py +149 -0
  100. volcenginesdkgraph/models/replicas_to_open_or_add_for_list_tablet_task_output.py +227 -0
  101. volcenginesdkgraph/models/second_for_list_tablet_task_output.py +175 -0
  102. volcenginesdkgraph/models/storage_info_for_list_graph_rag_service_output.py +149 -0
  103. volcenginesdkgraph/models/tablet_info_for_list_tablets_output.py +149 -0
  104. volcenginesdkgraph/models/tablet_server_info_for_list_tablet_server_output.py +227 -0
  105. volcenginesdkgraph/models/tablet_task_info_for_list_tablet_task_output.py +435 -0
  106. volcenginesdkgraph/models/tablet_to_merge_for_list_tablet_task_output.py +149 -0
  107. volcenginesdkgraph/models/tablet_to_split_for_list_tablet_task_output.py +175 -0
  108. volcenginesdkgraph/models/tablets_to_delete_for_list_tablet_task_output.py +175 -0
  109. volcenginesdkgraph/models/tag_for_list_graph_rag_service_output.py +149 -0
  110. volcenginesdkgraph/models/update_conf_checker_request.py +123 -0
  111. volcenginesdkgraph/models/update_conf_checker_response.py +123 -0
  112. volcenginesdkgraph/models/validate_conf_checker_request.py +123 -0
  113. volcenginesdkgraph/models/validate_conf_checker_response.py +149 -0
  114. volcenginesdkgraph/models/value_for_list_tablets_output.py +201 -0
  115. volcenginesdkgraph/models/ve_graph_info_for_list_graph_rag_service_output.py +851 -0
  116. volcenginesdklivesaas/__init__.py +3 -0
  117. volcenginesdklivesaas/models/__init__.py +3 -0
  118. volcenginesdklivesaas/models/auto_start_config_for_create_activity_apiv2_input.py +175 -0
  119. volcenginesdklivesaas/models/auto_start_config_for_get_activity_basic_config_api_output.py +175 -0
  120. volcenginesdklivesaas/models/auto_start_config_for_update_activity_basic_config_api_input.py +175 -0
  121. volcenginesdklivesaas/models/create_activity_apiv2_request.py +27 -1
  122. volcenginesdklivesaas/models/get_activity_basic_config_api_response.py +79 -1
  123. volcenginesdklivesaas/models/update_activity_basic_config_api_request.py +53 -1
  124. volcenginesdkvefaas/__init__.py +4 -0
  125. volcenginesdkvefaas/api/vefaas_api.py +194 -0
  126. volcenginesdkvefaas/models/__init__.py +4 -0
  127. volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_request.py +124 -0
  128. volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_response.py +149 -0
  129. volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_request.py +124 -0
  130. volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_response.py +123 -0
  131. volcenginesdkvke/models/scheduled_instance_policy_for_create_scaling_policy_input.py +27 -1
  132. volcenginesdkvke/models/scheduled_instance_policy_for_list_scaling_policies_output.py +27 -1
  133. volcenginesdkvke/models/scheduled_instance_policy_for_update_scaling_policy_input.py +27 -1
  134. volcenginesdkvod20250101/__init__.py +26 -0
  135. volcenginesdkvod20250101/api/vod20250101_api.py +888 -112
  136. volcenginesdkvod20250101/models/__init__.py +26 -0
  137. volcenginesdkvod20250101/models/create_ai_termbase_request.py +256 -0
  138. volcenginesdkvod20250101/models/create_ai_termbase_response.py +123 -0
  139. volcenginesdkvod20250101/models/delete_ai_term_item_request.py +177 -0
  140. volcenginesdkvod20250101/models/delete_ai_term_item_response.py +95 -0
  141. volcenginesdkvod20250101/models/delete_ai_termbase_request.py +151 -0
  142. volcenginesdkvod20250101/models/delete_ai_termbase_response.py +95 -0
  143. volcenginesdkvod20250101/models/get_ai_termbase_request.py +151 -0
  144. volcenginesdkvod20250101/models/get_ai_termbase_response.py +123 -0
  145. volcenginesdkvod20250101/models/list_ai_termbase_request.py +124 -0
  146. volcenginesdkvod20250101/models/list_ai_termbase_response.py +123 -0
  147. volcenginesdkvod20250101/models/process_config_for_submit_ai_translation_workflow_input.py +53 -1
  148. volcenginesdkvod20250101/models/process_config_for_update_ai_translation_project_config_input.py +149 -0
  149. volcenginesdkvod20250101/models/scenario_for_create_ai_termbase_input.py +95 -0
  150. volcenginesdkvod20250101/models/set_ai_term_item_request.py +177 -0
  151. volcenginesdkvod20250101/models/set_ai_term_item_response.py +95 -0
  152. volcenginesdkvod20250101/models/term_item_for_create_ai_termbase_output.py +149 -0
  153. volcenginesdkvod20250101/models/term_item_for_get_ai_termbase_output.py +149 -0
  154. volcenginesdkvod20250101/models/term_item_for_list_ai_termbase_output.py +149 -0
  155. volcenginesdkvod20250101/models/term_item_for_set_ai_term_item_input.py +149 -0
  156. volcenginesdkvod20250101/models/termbase_config_for_submit_ai_translation_workflow_input.py +123 -0
  157. volcenginesdkvod20250101/models/termbase_for_create_ai_termbase_output.py +279 -0
  158. volcenginesdkvod20250101/models/termbase_for_get_ai_termbase_output.py +279 -0
  159. volcenginesdkvod20250101/models/termbase_for_list_ai_termbase_output.py +279 -0
  160. volcenginesdkvod20250101/models/translation_config_for_submit_ai_translation_workflow_input.py +27 -1
  161. volcenginesdkvod20250101/models/update_ai_termbase_request.py +203 -0
  162. volcenginesdkvod20250101/models/update_ai_termbase_response.py +95 -0
  163. volcenginesdkvod20250101/models/update_ai_translation_project_config_request.py +204 -0
  164. volcenginesdkvod20250101/models/update_ai_translation_project_config_response.py +95 -0
  165. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/WHEEL +0 -0
  166. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/LICENSE.txt +0 -0
  167. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/licenses/NOTICE.md +0 -0
  168. {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.27.dist-info}/top_level.txt +0 -0
@@ -40,6 +40,9 @@ from volcenginesdklivesaas.models.analysis_user_behavior_people_request import A
40
40
  from volcenginesdklivesaas.models.analysis_user_behavior_people_response import AnalysisUserBehaviorPeopleResponse
41
41
  from volcenginesdklivesaas.models.analysis_user_behavior_people_v2_request import AnalysisUserBehaviorPeopleV2Request
42
42
  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
43
46
  from volcenginesdklivesaas.models.award_condition_for_get_award_config_list_api_output import AwardConditionForGetAwardConfigListAPIOutput
44
47
  from volcenginesdklivesaas.models.award_statistics_list_for_get_award_record_statistics_api_output import AwardStatisticsListForGetAwardRecordStatisticsAPIOutput
45
48
  from volcenginesdklivesaas.models.back_push_info_for_get_custom_act_msg_api_output import BackPushInfoForGetCustomActMsgAPIOutput
@@ -36,6 +36,9 @@ from volcenginesdklivesaas.models.analysis_user_behavior_people_request import A
36
36
  from volcenginesdklivesaas.models.analysis_user_behavior_people_response import AnalysisUserBehaviorPeopleResponse
37
37
  from volcenginesdklivesaas.models.analysis_user_behavior_people_v2_request import AnalysisUserBehaviorPeopleV2Request
38
38
  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
39
42
  from volcenginesdklivesaas.models.award_condition_for_get_award_config_list_api_output import AwardConditionForGetAwardConfigListAPIOutput
40
43
  from volcenginesdklivesaas.models.award_statistics_list_for_get_award_record_statistics_api_output import AwardStatisticsListForGetAwardRecordStatisticsAPIOutput
41
44
  from volcenginesdklivesaas.models.back_push_info_for_get_custom_act_msg_api_output import BackPushInfoForGetCustomActMsgAPIOutput
@@ -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()
@@ -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,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 AutoStartConfigForUpdateActivityBasicConfigAPIInput(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
+ """AutoStartConfigForUpdateActivityBasicConfigAPIInput - 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 AutoStartConfigForUpdateActivityBasicConfigAPIInput. # noqa: E501
68
+
69
+
70
+ :return: The recurrence_rule of this AutoStartConfigForUpdateActivityBasicConfigAPIInput. # 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 AutoStartConfigForUpdateActivityBasicConfigAPIInput.
78
+
79
+
80
+ :param recurrence_rule: The recurrence_rule of this AutoStartConfigForUpdateActivityBasicConfigAPIInput. # 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 AutoStartConfigForUpdateActivityBasicConfigAPIInput. # noqa: E501
89
+
90
+
91
+ :return: The repeat_deadline of this AutoStartConfigForUpdateActivityBasicConfigAPIInput. # 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 AutoStartConfigForUpdateActivityBasicConfigAPIInput.
99
+
100
+
101
+ :param repeat_deadline: The repeat_deadline of this AutoStartConfigForUpdateActivityBasicConfigAPIInput. # 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 AutoStartConfigForUpdateActivityBasicConfigAPIInput. # noqa: E501
110
+
111
+
112
+ :return: The repeat_type of this AutoStartConfigForUpdateActivityBasicConfigAPIInput. # 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 AutoStartConfigForUpdateActivityBasicConfigAPIInput.
120
+
121
+
122
+ :param repeat_type: The repeat_type of this AutoStartConfigForUpdateActivityBasicConfigAPIInput. # 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(AutoStartConfigForUpdateActivityBasicConfigAPIInput, 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, AutoStartConfigForUpdateActivityBasicConfigAPIInput):
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, AutoStartConfigForUpdateActivityBasicConfigAPIInput):
173
+ return True
174
+
175
+ return self.to_dict() != other.to_dict()
@@ -34,6 +34,7 @@ class CreateActivityAPIV2Request(object):
34
34
  """
35
35
  swagger_types = {
36
36
  'activity_type': 'int',
37
+ 'auto_start_config': 'AutoStartConfigForCreateActivityAPIV2Input',
37
38
  'copy_stream': 'bool',
38
39
  'cover_image': 'str',
39
40
  'creator_name': 'str',
@@ -58,6 +59,7 @@ class CreateActivityAPIV2Request(object):
58
59
 
59
60
  attribute_map = {
60
61
  'activity_type': 'ActivityType',
62
+ 'auto_start_config': 'AutoStartConfig',
61
63
  'copy_stream': 'CopyStream',
62
64
  'cover_image': 'CoverImage',
63
65
  'creator_name': 'CreatorName',
@@ -80,13 +82,14 @@ class CreateActivityAPIV2Request(object):
80
82
  'view_url_path': 'ViewUrlPath'
81
83
  }
82
84
 
83
- def __init__(self, activity_type=None, copy_stream=None, cover_image=None, creator_name=None, end_time=None, is_answer_repetition_enable=None, is_auto_end_enable=None, is_auto_start_enable=None, is_replay_auto_online_enable=None, live_layout=None, live_mode=None, live_time=None, loop_videos=None, name=None, old_id=None, site_tags=None, template_id=None, text_site_tags=None, vertical_cover_image=None, vid=None, view_url_path=None, _configuration=None): # noqa: E501
85
+ def __init__(self, activity_type=None, auto_start_config=None, copy_stream=None, cover_image=None, creator_name=None, end_time=None, is_answer_repetition_enable=None, is_auto_end_enable=None, is_auto_start_enable=None, is_replay_auto_online_enable=None, live_layout=None, live_mode=None, live_time=None, loop_videos=None, name=None, old_id=None, site_tags=None, template_id=None, text_site_tags=None, vertical_cover_image=None, vid=None, view_url_path=None, _configuration=None): # noqa: E501
84
86
  """CreateActivityAPIV2Request - a model defined in Swagger""" # noqa: E501
85
87
  if _configuration is None:
86
88
  _configuration = Configuration()
87
89
  self._configuration = _configuration
88
90
 
89
91
  self._activity_type = None
92
+ self._auto_start_config = None
90
93
  self._copy_stream = None
91
94
  self._cover_image = None
92
95
  self._creator_name = None
@@ -111,6 +114,8 @@ class CreateActivityAPIV2Request(object):
111
114
 
112
115
  if activity_type is not None:
113
116
  self.activity_type = activity_type
117
+ if auto_start_config is not None:
118
+ self.auto_start_config = auto_start_config
114
119
  if copy_stream is not None:
115
120
  self.copy_stream = copy_stream
116
121
  if cover_image is not None:
@@ -172,6 +177,27 @@ class CreateActivityAPIV2Request(object):
172
177
 
173
178
  self._activity_type = activity_type
174
179
 
180
+ @property
181
+ def auto_start_config(self):
182
+ """Gets the auto_start_config of this CreateActivityAPIV2Request. # noqa: E501
183
+
184
+
185
+ :return: The auto_start_config of this CreateActivityAPIV2Request. # noqa: E501
186
+ :rtype: AutoStartConfigForCreateActivityAPIV2Input
187
+ """
188
+ return self._auto_start_config
189
+
190
+ @auto_start_config.setter
191
+ def auto_start_config(self, auto_start_config):
192
+ """Sets the auto_start_config of this CreateActivityAPIV2Request.
193
+
194
+
195
+ :param auto_start_config: The auto_start_config of this CreateActivityAPIV2Request. # noqa: E501
196
+ :type: AutoStartConfigForCreateActivityAPIV2Input
197
+ """
198
+
199
+ self._auto_start_config = auto_start_config
200
+
175
201
  @property
176
202
  def copy_stream(self):
177
203
  """Gets the copy_stream of this CreateActivityAPIV2Request. # noqa: E501