Skip to content

Commit aa161f1

Browse files
committed
Upgrade Python SDK to spec 1.20.10.dev22
1 parent d1d19d8 commit aa161f1

8 files changed

Lines changed: 90 additions & 10 deletions

File tree

‎docs/APIConfig.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Name | Type | Description | Notes
7676
**download_link_windows** | **str** | Download link for game on the Oculus Rift website. |
7777
**download_urls** | [**APIConfigDownloadURLList**](APIConfigDownloadURLList.md) | |
7878
**dynamic_world_rows** | [**list[DynamicContentRow]**](DynamicContentRow.md) | Array of DynamicWorldRow objects, used by the game to display the list of world rows |
79-
**economy_ledger_backfill** | **bool** | Unknown |
79+
**economy_ledger_backfill** | **bool** | Unknown | [optional]
8080
**economy_ledger_migration_stop** | **str** | Unknown | [optional]
8181
**economy_ledger_mode** | **str** | Unknown |
8282
**economy_pause_end** | **datetime** | Unknown |

‎docs/DynamicContentRow.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**banners_tag** | **str** | | [optional]
1111
**categories** | **list[str]** | | [optional]
1212
**featured_results** | **str** | | [optional]
13+
**group_pool** | **str** | | [optional]
1314
**index** | **int** | | [optional]
1415
**marketplace** | **str** | | [optional]
1516
**max_price** | **int** | | [optional]
@@ -36,6 +37,7 @@ Name | Type | Description | Notes
3637
**tags** | **list[str]** | | [optional]
3738
**type** | **str** | Type is not present if it is a world. | [optional]
3839
**upcoming_offset_minutes** | **int** | | [optional]
40+
**world_pool** | **str** | | [optional]
3941

4042
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
4143

‎docs/InfoPushData.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
1717
**domain_list** | [**list[InfoPushDataDomainListInner]**](InfoPushDataDomainListInner.md) | | [optional]
1818
**featured_avatar_category_id** | **str** | | [optional]
1919
**final_name** | **str** | | [optional]
20+
**hover_to_join** | **bool** | | [optional]
2021
**icon_image_url** | **str** | | [optional]
2122
**image_url** | **str** | | [optional]
2223
**ips_query** | [**InfoPushIpsQuery**](InfoPushIpsQuery.md) | | [optional]

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
from setuptools import setup, find_packages # noqa: H301
9393

9494
NAME = "vrchatapi"
95-
VERSION = "1.20.10.dev16"
95+
VERSION = "1.20.10.dev22"
9696
# To install the library, run the following
9797
#
9898
# python setup.py install

‎vrchatapi/models/api_config.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,8 @@ def __init__(self, campaign_status=None, disable_background_preloads=True, locat
565565
self.download_link_windows = download_link_windows
566566
self.download_urls = download_urls
567567
self.dynamic_world_rows = dynamic_world_rows
568-
self.economy_ledger_backfill = economy_ledger_backfill
568+
if economy_ledger_backfill is not None:
569+
self.economy_ledger_backfill = economy_ledger_backfill
569570
if economy_ledger_migration_stop is not None:
570571
self.economy_ledger_migration_stop = economy_ledger_migration_stop
571572
self.economy_ledger_mode = economy_ledger_mode
@@ -2426,8 +2427,6 @@ def economy_ledger_backfill(self, economy_ledger_backfill):
24262427
:param economy_ledger_backfill: The economy_ledger_backfill of this APIConfig. # noqa: E501
24272428
:type economy_ledger_backfill: bool
24282429
"""
2429-
if self.local_vars_configuration.client_side_validation and economy_ledger_backfill is None: # noqa: E501
2430-
raise ValueError("Invalid value for `economy_ledger_backfill`, must not be `None`") # noqa: E501
24312430

24322431
self._economy_ledger_backfill = economy_ledger_backfill
24332432

‎vrchatapi/models/dynamic_content_row.py‎

Lines changed: 55 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class DynamicContentRow(object):
4242
'banners_tag': 'str',
4343
'categories': 'list[str]',
4444
'featured_results': 'str',
45+
'group_pool': 'str',
4546
'index': 'int',
4647
'marketplace': 'str',
4748
'max_price': 'int',
@@ -67,7 +68,8 @@ class DynamicContentRow(object):
6768
'tag': 'str',
6869
'tags': 'list[str]',
6970
'type': 'str',
70-
'upcoming_offset_minutes': 'int'
71+
'upcoming_offset_minutes': 'int',
72+
'world_pool': 'str'
7173
}
7274

7375
attribute_map = {
@@ -77,6 +79,7 @@ class DynamicContentRow(object):
7779
'banners_tag': 'bannersTag',
7880
'categories': 'categories',
7981
'featured_results': 'featuredResults',
82+
'group_pool': 'groupPool',
8083
'index': 'index',
8184
'marketplace': 'marketplace',
8285
'max_price': 'maxPrice',
@@ -102,10 +105,11 @@ class DynamicContentRow(object):
102105
'tag': 'tag',
103106
'tags': 'tags',
104107
'type': 'type',
105-
'upcoming_offset_minutes': 'upcomingOffsetMinutes'
108+
'upcoming_offset_minutes': 'upcomingOffsetMinutes',
109+
'world_pool': 'worldPool'
106110
}
107111

108-
def __init__(self, any_style=None, any_tag=None, avatar_specific=None, banners_tag=None, categories=None, featured_results=None, index=None, marketplace=None, max_price=None, min_occupants=None, min_price=None, minimum_interest_count=None, minimum_remaining_minutes=None, mode=None, n=None, name=None, non_featured_results=None, notag=None, params=None, personalized_results=None, platform=None, region=None, scope=None, short_name=None, sort_heading=None, sort_order=None, sort_ownership=None, style=None, tag=None, tags=None, type=None, upcoming_offset_minutes=None, local_vars_configuration=None): # noqa: E501
112+
def __init__(self, any_style=None, any_tag=None, avatar_specific=None, banners_tag=None, categories=None, featured_results=None, group_pool=None, index=None, marketplace=None, max_price=None, min_occupants=None, min_price=None, minimum_interest_count=None, minimum_remaining_minutes=None, mode=None, n=None, name=None, non_featured_results=None, notag=None, params=None, personalized_results=None, platform=None, region=None, scope=None, short_name=None, sort_heading=None, sort_order=None, sort_ownership=None, style=None, tag=None, tags=None, type=None, upcoming_offset_minutes=None, world_pool=None, local_vars_configuration=None): # noqa: E501
109113
"""DynamicContentRow - a model defined in OpenAPI""" # noqa: E501
110114
if local_vars_configuration is None:
111115
local_vars_configuration = Configuration.get_default_copy()
@@ -117,6 +121,7 @@ def __init__(self, any_style=None, any_tag=None, avatar_specific=None, banners_t
117121
self._banners_tag = None
118122
self._categories = None
119123
self._featured_results = None
124+
self._group_pool = None
120125
self._index = None
121126
self._marketplace = None
122127
self._max_price = None
@@ -143,6 +148,7 @@ def __init__(self, any_style=None, any_tag=None, avatar_specific=None, banners_t
143148
self._tags = None
144149
self._type = None
145150
self._upcoming_offset_minutes = None
151+
self._world_pool = None
146152
self.discriminator = None
147153

148154
self.any_style = any_style
@@ -155,6 +161,8 @@ def __init__(self, any_style=None, any_tag=None, avatar_specific=None, banners_t
155161
self.categories = categories
156162
if featured_results is not None:
157163
self.featured_results = featured_results
164+
if group_pool is not None:
165+
self.group_pool = group_pool
158166
if index is not None:
159167
self.index = index
160168
if marketplace is not None:
@@ -199,6 +207,8 @@ def __init__(self, any_style=None, any_tag=None, avatar_specific=None, banners_t
199207
self.type = type
200208
if upcoming_offset_minutes is not None:
201209
self.upcoming_offset_minutes = upcoming_offset_minutes
210+
if world_pool is not None:
211+
self.world_pool = world_pool
202212

203213
@property
204214
def any_style(self):
@@ -326,6 +336,27 @@ def featured_results(self, featured_results):
326336

327337
self._featured_results = featured_results
328338

339+
@property
340+
def group_pool(self):
341+
"""Gets the group_pool of this DynamicContentRow. # noqa: E501
342+
343+
344+
:return: The group_pool of this DynamicContentRow. # noqa: E501
345+
:rtype: str
346+
"""
347+
return self._group_pool
348+
349+
@group_pool.setter
350+
def group_pool(self, group_pool):
351+
"""Sets the group_pool of this DynamicContentRow.
352+
353+
354+
:param group_pool: The group_pool of this DynamicContentRow. # noqa: E501
355+
:type group_pool: str
356+
"""
357+
358+
self._group_pool = group_pool
359+
329360
@property
330361
def index(self):
331362
"""Gets the index of this DynamicContentRow. # noqa: E501
@@ -897,6 +928,27 @@ def upcoming_offset_minutes(self, upcoming_offset_minutes):
897928

898929
self._upcoming_offset_minutes = upcoming_offset_minutes
899930

931+
@property
932+
def world_pool(self):
933+
"""Gets the world_pool of this DynamicContentRow. # noqa: E501
934+
935+
936+
:return: The world_pool of this DynamicContentRow. # noqa: E501
937+
:rtype: str
938+
"""
939+
return self._world_pool
940+
941+
@world_pool.setter
942+
def world_pool(self, world_pool):
943+
"""Sets the world_pool of this DynamicContentRow.
944+
945+
946+
:param world_pool: The world_pool of this DynamicContentRow. # noqa: E501
947+
:type world_pool: str
948+
"""
949+
950+
self._world_pool = world_pool
951+
900952
def to_dict(self, serialize=False):
901953
"""Returns the model properties as a dict"""
902954
result = {}

‎vrchatapi/models/info_push_data.py‎

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class InfoPushData(object):
4848
'domain_list': 'list[InfoPushDataDomainListInner]',
4949
'featured_avatar_category_id': 'str',
5050
'final_name': 'str',
51+
'hover_to_join': 'bool',
5152
'icon_image_url': 'str',
5253
'image_url': 'str',
5354
'ips_query': 'InfoPushIpsQuery',
@@ -80,6 +81,7 @@ class InfoPushData(object):
8081
'domain_list': 'domainList',
8182
'featured_avatar_category_id': 'featuredAvatarCategoryId',
8283
'final_name': 'finalName',
84+
'hover_to_join': 'hoverToJoin',
8385
'icon_image_url': 'iconImageUrl',
8486
'image_url': 'imageUrl',
8587
'ips_query': 'ipsQuery',
@@ -99,7 +101,7 @@ class InfoPushData(object):
99101
'world_tag': 'worldTag'
100102
}
101103

102-
def __init__(self, article=None, author_name=None, avatar_id=None, banner_image_url=None, categories=None, category=None, content_list=None, description=None, disclaimer_text=None, domain_list=None, featured_avatar_category_id=None, final_name=None, icon_image_url=None, image_url=None, ips_query=None, is_new=None, listing_ids=None, name=None, on_pressed=None, override_name=None, rows=None, search=None, short_name=None, template=None, thumbnail_image_url=None, tooltip_description=None, version=None, weight=None, world_tag=None, local_vars_configuration=None): # noqa: E501
104+
def __init__(self, article=None, author_name=None, avatar_id=None, banner_image_url=None, categories=None, category=None, content_list=None, description=None, disclaimer_text=None, domain_list=None, featured_avatar_category_id=None, final_name=None, hover_to_join=None, icon_image_url=None, image_url=None, ips_query=None, is_new=None, listing_ids=None, name=None, on_pressed=None, override_name=None, rows=None, search=None, short_name=None, template=None, thumbnail_image_url=None, tooltip_description=None, version=None, weight=None, world_tag=None, local_vars_configuration=None): # noqa: E501
103105
"""InfoPushData - a model defined in OpenAPI""" # noqa: E501
104106
if local_vars_configuration is None:
105107
local_vars_configuration = Configuration.get_default_copy()
@@ -117,6 +119,7 @@ def __init__(self, article=None, author_name=None, avatar_id=None, banner_image_
117119
self._domain_list = None
118120
self._featured_avatar_category_id = None
119121
self._final_name = None
122+
self._hover_to_join = None
120123
self._icon_image_url = None
121124
self._image_url = None
122125
self._ips_query = None
@@ -160,6 +163,8 @@ def __init__(self, article=None, author_name=None, avatar_id=None, banner_image_
160163
self.featured_avatar_category_id = featured_avatar_category_id
161164
if final_name is not None:
162165
self.final_name = final_name
166+
if hover_to_join is not None:
167+
self.hover_to_join = hover_to_join
163168
if icon_image_url is not None:
164169
self.icon_image_url = icon_image_url
165170
self.image_url = image_url
@@ -442,6 +447,27 @@ def final_name(self, final_name):
442447

443448
self._final_name = final_name
444449

450+
@property
451+
def hover_to_join(self):
452+
"""Gets the hover_to_join of this InfoPushData. # noqa: E501
453+
454+
455+
:return: The hover_to_join of this InfoPushData. # noqa: E501
456+
:rtype: bool
457+
"""
458+
return self._hover_to_join
459+
460+
@hover_to_join.setter
461+
def hover_to_join(self, hover_to_join):
462+
"""Sets the hover_to_join of this InfoPushData.
463+
464+
465+
:param hover_to_join: The hover_to_join of this InfoPushData. # noqa: E501
466+
:type hover_to_join: bool
467+
"""
468+
469+
self._hover_to_join = hover_to_join
470+
445471
@property
446472
def icon_image_url(self):
447473
"""Gets the icon_image_url of this InfoPushData. # noqa: E501

‎vrchatapi/models/info_push_data_clickable.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def command(self, command):
102102
"""
103103
if self.local_vars_configuration.client_side_validation and command is None: # noqa: E501
104104
raise ValueError("Invalid value for `command`, must not be `None`") # noqa: E501
105-
allowed_values = ["CannedWorldSearch", "OpenAccountUpgrade", "OpenAvatarsMenu", "OpenHelpArticle", "OpenListingDetails", "OpenSafetyMenu", "OpenURL", "OpenVRCPlusMenu", "OpenVRChatStore", "OpenWorldDetails"] # noqa: E501
105+
allowed_values = ["CannedWorldSearch", "OpenAccountUpgrade", "OpenAvatarsMenu", "OpenHelpArticle", "OpenListingDetails", "OpenSafetyMenu", "OpenURL", "OpenVRCPlusMenu", "OpenVRChatStore", "OpenWorldDetails", "OpenWorldsMenu", "scrollToShelf"] # noqa: E501
106106
if self.local_vars_configuration.client_side_validation and command not in allowed_values: # noqa: E501
107107
raise ValueError(
108108
"Invalid value for `command` ({0}), must be one of {1}" # noqa: E501

0 commit comments

Comments
 (0)