You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param str custom_type_gid: Globally unique identifier for the custom type. (required)
46
+
:param list[str] opt_fields: This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
:param str custom_type_gid: Globally unique identifier for the custom type. (required)
69
+
:param list[str] opt_fields: This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
70
+
:return: CustomTypeResponseData
71
+
If the method is called asynchronously,
72
+
returns the request thread.
73
+
"""
74
+
all_params= []
75
+
all_params.append('async_req')
76
+
all_params.append('header_params')
77
+
all_params.append('_return_http_data_only')
78
+
all_params.append('_preload_content')
79
+
all_params.append('_request_timeout')
80
+
all_params.append('full_payload')
81
+
all_params.append('item_limit')
82
+
83
+
params=locals()
84
+
forkey, valinsix.iteritems(params['kwargs']):
85
+
ifkeynotinall_params:
86
+
raiseTypeError(
87
+
"Got an unexpected keyword argument '%s'"
88
+
" to method get_custom_type"%key
89
+
)
90
+
params[key] =val
91
+
delparams['kwargs']
92
+
# verify the required parameter 'custom_type_gid' is set
93
+
if (custom_type_gidisNone):
94
+
raiseValueError("Missing the required parameter `custom_type_gid` when calling `get_custom_type`") # noqa: E501
0 commit comments