3333def lazy_import ():
3434 from bimdata_api_client .model .marketplace_app_image import MarketplaceAppImage
3535 from bimdata_api_client .model .public_organization import PublicOrganization
36- from bimdata_api_client .model .user import User
3736 globals ()['MarketplaceAppImage' ] = MarketplaceAppImage
3837 globals ()['PublicOrganization' ] = PublicOrganization
39- globals ()['User' ] = User
4038
4139
42- class MarketplaceApp (ModelNormal ):
40+ class MarketplaceAppLight (ModelNormal ):
4341 """NOTE: This class is auto generated by OpenAPI Generator.
4442 Ref: https://openapi-generator.tech
4543
@@ -70,18 +68,6 @@ class MarketplaceApp(ModelNormal):
7068 ('name' ,): {
7169 'max_length' : 256 ,
7270 },
73- ('short_description' ,): {
74- 'max_length' : 130 ,
75- },
76- ('activation_webhook_url' ,): {
77- 'max_length' : 1024 ,
78- },
79- ('post_activation_redirect_uri' ,): {
80- 'max_length' : 1024 ,
81- },
82- ('settings_url' ,): {
83- 'max_length' : 1024 ,
84- },
8571 }
8672
8773 @cached_property
@@ -109,19 +95,9 @@ def openapi_types():
10995 return {
11096 'id' : (int ,), # noqa: E501
11197 'name' : (str ,), # noqa: E501
112- 'short_description' : (str ,), # noqa: E501
113- 'long_description' : (str ,), # noqa: E501
114- 'creator' : (bool , date , datetime , dict , float , int , list , str , none_type ,), # noqa: E501
115- 'scopes' : ([str ],), # noqa: E501
116- 'is_public' : (bool ,), # noqa: E501
117- 'images' : ([MarketplaceAppImage ],), # noqa: E501
11898 'organization' : (bool , date , datetime , dict , float , int , list , str , none_type ,), # noqa: E501
119- 'activation_webhook_url' : (str , none_type ,), # noqa: E501
120- 'post_activation_redirect_uri' : (str , none_type ,), # noqa: E501
99+ 'images' : ([MarketplaceAppImage ],), # noqa: E501
121100 'viewer_plugins_urls' : ([str ], none_type ,), # noqa: E501
122- 'settings_url' : (str , none_type ,), # noqa: E501
123- 'tags' : ([str ],), # noqa: E501
124- 'logo' : (str , none_type ,), # noqa: E501
125101 'file' : (str , none_type ,), # noqa: E501
126102 }
127103
@@ -133,48 +109,30 @@ def discriminator():
133109 attribute_map = {
134110 'id' : 'id' , # noqa: E501
135111 'name' : 'name' , # noqa: E501
136- 'short_description' : 'short_description' , # noqa: E501
137- 'long_description' : 'long_description' , # noqa: E501
138- 'creator' : 'creator' , # noqa: E501
139- 'scopes' : 'scopes' , # noqa: E501
140- 'is_public' : 'is_public' , # noqa: E501
141- 'images' : 'images' , # noqa: E501
142112 'organization' : 'organization' , # noqa: E501
143- 'activation_webhook_url' : 'activation_webhook_url' , # noqa: E501
144- 'post_activation_redirect_uri' : 'post_activation_redirect_uri' , # noqa: E501
113+ 'images' : 'images' , # noqa: E501
145114 'viewer_plugins_urls' : 'viewer_plugins_urls' , # noqa: E501
146- 'settings_url' : 'settings_url' , # noqa: E501
147- 'tags' : 'tags' , # noqa: E501
148- 'logo' : 'logo' , # noqa: E501
149115 'file' : 'file' , # noqa: E501
150116 }
151117
152118 read_only_vars = {
153119 'id' , # noqa: E501
154- 'creator' , # noqa: E501
155- 'scopes' , # noqa: E501
156- 'is_public' , # noqa: E501
157- 'images' , # noqa: E501
158120 'organization' , # noqa: E501
121+ 'images' , # noqa: E501
159122 }
160123
161124 _composed_schemas = {}
162125
163126 @classmethod
164127 @convert_js_args_to_python_args
165- def _from_openapi_data (cls , id , name , short_description , long_description , creator , scopes , is_public , images , organization , * args , ** kwargs ): # noqa: E501
166- """MarketplaceApp - a model defined in OpenAPI
128+ def _from_openapi_data (cls , id , name , organization , images , * args , ** kwargs ): # noqa: E501
129+ """MarketplaceAppLight - a model defined in OpenAPI
167130
168131 Args:
169132 id (int):
170133 name (str):
171- short_description (str):
172- long_description (str):
173- creator (bool, date, datetime, dict, float, int, list, str, none_type):
174- scopes ([str]):
175- is_public (bool):
176- images ([MarketplaceAppImage]):
177134 organization (bool, date, datetime, dict, float, int, list, str, none_type):
135+ images ([MarketplaceAppImage]):
178136
179137 Keyword Args:
180138 _check_type (bool): if True, values for parameters in openapi_types
@@ -207,12 +165,7 @@ def _from_openapi_data(cls, id, name, short_description, long_description, creat
207165 Animal class but this time we won't travel
208166 through its discriminator because we passed in
209167 _visited_composed_classes = (Animal,)
210- activation_webhook_url (str, none_type): [optional] # noqa: E501
211- post_activation_redirect_uri (str, none_type): [optional] # noqa: E501
212168 viewer_plugins_urls ([str], none_type): [optional] # noqa: E501
213- settings_url (str, none_type): this URL will be called with query params ?cloud_id=. [optional] # noqa: E501
214- tags ([str]): [optional] # noqa: E501
215- logo (str, none_type): [optional] # noqa: E501
216169 file (str, none_type): [optional] # noqa: E501
217170 """
218171
@@ -243,13 +196,8 @@ def _from_openapi_data(cls, id, name, short_description, long_description, creat
243196
244197 self .id = id
245198 self .name = name
246- self .short_description = short_description
247- self .long_description = long_description
248- self .creator = creator
249- self .scopes = scopes
250- self .is_public = is_public
251- self .images = images
252199 self .organization = organization
200+ self .images = images
253201 for var_name , var_value in kwargs .items ():
254202 if var_name not in self .attribute_map and \
255203 self ._configuration is not None and \
@@ -270,12 +218,10 @@ def _from_openapi_data(cls, id, name, short_description, long_description, creat
270218 ])
271219
272220 @convert_js_args_to_python_args
273- def __init__ (self , name , short_description , long_description , * args , ** kwargs ): # noqa: E501
274- """MarketplaceApp - a model defined in OpenAPI
221+ def __init__ (self , name , * args , ** kwargs ): # noqa: E501
222+ """MarketplaceAppLight - a model defined in OpenAPI
275223
276224 name (str):
277- short_description (str):
278- long_description (str):
279225 Keyword Args:
280226 _check_type (bool): if True, values for parameters in openapi_types
281227 will be type checked and a TypeError will be
@@ -307,12 +253,7 @@ def __init__(self, name, short_description, long_description, *args, **kwargs):
307253 Animal class but this time we won't travel
308254 through its discriminator because we passed in
309255 _visited_composed_classes = (Animal,)
310- activation_webhook_url (str, none_type): [optional] # noqa: E501
311- post_activation_redirect_uri (str, none_type): [optional] # noqa: E501
312256 viewer_plugins_urls ([str], none_type): [optional] # noqa: E501
313- settings_url (str, none_type): this URL will be called with query params ?cloud_id=. [optional] # noqa: E501
314- tags ([str]): [optional] # noqa: E501
315- logo (str, none_type): [optional] # noqa: E501
316257 file (str, none_type): [optional] # noqa: E501
317258 """
318259
@@ -340,8 +281,6 @@ def __init__(self, name, short_description, long_description, *args, **kwargs):
340281 self ._visited_composed_classes = _visited_composed_classes + (self .__class__ ,)
341282
342283 self .name = name
343- self .short_description = short_description
344- self .long_description = long_description
345284 for var_name , var_value in kwargs .items ():
346285 if var_name not in self .attribute_map and \
347286 self ._configuration is not None and \
0 commit comments