|
54 | 54 | from bimdata_api_client.model.stage import Stage |
55 | 55 | from bimdata_api_client.model.stage_request import StageRequest |
56 | 56 | from bimdata_api_client.model.topic import Topic |
| 57 | +from bimdata_api_client.model.topic_pin import TopicPin |
57 | 58 | from bimdata_api_client.model.topic_request import TopicRequest |
58 | 59 | from bimdata_api_client.model.topic_status import TopicStatus |
59 | 60 | from bimdata_api_client.model.topic_status_request import TopicStatusRequest |
@@ -2991,6 +2992,82 @@ def __init__(self, api_client=None): |
2991 | 2992 | }, |
2992 | 2993 | api_client=api_client |
2993 | 2994 | ) |
| 2995 | + self.get_topics_pins_endpoint = _Endpoint( |
| 2996 | + settings={ |
| 2997 | + 'response_type': ([TopicPin],), |
| 2998 | + 'auth': [ |
| 2999 | + 'ApiKey', |
| 3000 | + 'BIMData_Connect', |
| 3001 | + 'BIMData_Connect', |
| 3002 | + 'Bearer' |
| 3003 | + ], |
| 3004 | + 'endpoint_path': '/bcf/2.1/projects/{projects_pk}/topics/pins', |
| 3005 | + 'operation_id': 'get_topics_pins', |
| 3006 | + 'http_method': 'GET', |
| 3007 | + 'servers': None, |
| 3008 | + }, |
| 3009 | + params_map={ |
| 3010 | + 'all': [ |
| 3011 | + 'projects_pk', |
| 3012 | + 'format', |
| 3013 | + 'ifcs', |
| 3014 | + 'models', |
| 3015 | + 'topics', |
| 3016 | + ], |
| 3017 | + 'required': [ |
| 3018 | + 'projects_pk', |
| 3019 | + ], |
| 3020 | + 'nullable': [ |
| 3021 | + ], |
| 3022 | + 'enum': [ |
| 3023 | + ], |
| 3024 | + 'validation': [ |
| 3025 | + ] |
| 3026 | + }, |
| 3027 | + root_map={ |
| 3028 | + 'validations': { |
| 3029 | + }, |
| 3030 | + 'allowed_values': { |
| 3031 | + }, |
| 3032 | + 'openapi_types': { |
| 3033 | + 'projects_pk': |
| 3034 | + (int,), |
| 3035 | + 'format': |
| 3036 | + (str,), |
| 3037 | + 'ifcs': |
| 3038 | + ([int],), |
| 3039 | + 'models': |
| 3040 | + ([int],), |
| 3041 | + 'topics': |
| 3042 | + (str,), |
| 3043 | + }, |
| 3044 | + 'attribute_map': { |
| 3045 | + 'projects_pk': 'projects_pk', |
| 3046 | + 'format': 'format', |
| 3047 | + 'ifcs': 'ifcs', |
| 3048 | + 'models': 'models', |
| 3049 | + 'topics': 'topics', |
| 3050 | + }, |
| 3051 | + 'location_map': { |
| 3052 | + 'projects_pk': 'path', |
| 3053 | + 'format': 'query', |
| 3054 | + 'ifcs': 'query', |
| 3055 | + 'models': 'query', |
| 3056 | + 'topics': 'query', |
| 3057 | + }, |
| 3058 | + 'collection_format_map': { |
| 3059 | + 'ifcs': 'multi', |
| 3060 | + 'models': 'multi', |
| 3061 | + } |
| 3062 | + }, |
| 3063 | + headers_map={ |
| 3064 | + 'accept': [ |
| 3065 | + 'application/json' |
| 3066 | + ], |
| 3067 | + 'content_type': [], |
| 3068 | + }, |
| 3069 | + api_client=api_client |
| 3070 | + ) |
2994 | 3071 | self.get_user_endpoint = _Endpoint( |
2995 | 3072 | settings={ |
2996 | 3073 | 'response_type': (SelfBcfUser,), |
@@ -7885,6 +7962,88 @@ def get_topics( |
7885 | 7962 | projects_pk |
7886 | 7963 | return self.get_topics_endpoint.call_with_http_info(**kwargs) |
7887 | 7964 |
|
| 7965 | + def get_topics_pins( |
| 7966 | + self, |
| 7967 | + projects_pk, |
| 7968 | + **kwargs |
| 7969 | + ): |
| 7970 | + """Get pins of all or many topics # noqa: E501 |
| 7971 | +
|
| 7972 | + This is not a standard route. Get pins of all or many topics Required scopes: bcf:read # noqa: E501 |
| 7973 | + This method makes a synchronous HTTP request by default. To make an |
| 7974 | + asynchronous HTTP request, please pass async_req=True |
| 7975 | +
|
| 7976 | + >>> thread = api.get_topics_pins(projects_pk, async_req=True) |
| 7977 | + >>> result = thread.get() |
| 7978 | +
|
| 7979 | + Args: |
| 7980 | + projects_pk (int): |
| 7981 | +
|
| 7982 | + Keyword Args: |
| 7983 | + format (str): [optional] |
| 7984 | + ifcs ([int]): [optional] |
| 7985 | + models ([int]): [optional] |
| 7986 | + topics (str): topic guids to include, comma separated. Default = all. [optional] |
| 7987 | + _return_http_data_only (bool): response data without head status |
| 7988 | + code and headers. Default is True. |
| 7989 | + _preload_content (bool): if False, the urllib3.HTTPResponse object |
| 7990 | + will be returned without reading/decoding response data. |
| 7991 | + Default is True. |
| 7992 | + _request_timeout (int/float/tuple): timeout setting for this request. If |
| 7993 | + one number provided, it will be total request timeout. It can also |
| 7994 | + be a pair (tuple) of (connection, read) timeouts. |
| 7995 | + Default is None. |
| 7996 | + _check_input_type (bool): specifies if type checking |
| 7997 | + should be done one the data sent to the server. |
| 7998 | + Default is True. |
| 7999 | + _check_return_type (bool): specifies if type checking |
| 8000 | + should be done one the data received from the server. |
| 8001 | + Default is True. |
| 8002 | + _spec_property_naming (bool): True if the variable names in the input data |
| 8003 | + are serialized names, as specified in the OpenAPI document. |
| 8004 | + False if the variable names in the input data |
| 8005 | + are pythonic names, e.g. snake case (default) |
| 8006 | + _content_type (str/None): force body content-type. |
| 8007 | + Default is None and content-type will be predicted by allowed |
| 8008 | + content-types and body. |
| 8009 | + _host_index (int/None): specifies the index of the server |
| 8010 | + that we want to use. |
| 8011 | + Default is read from the configuration. |
| 8012 | + async_req (bool): execute request asynchronously |
| 8013 | +
|
| 8014 | + Returns: |
| 8015 | + [TopicPin] |
| 8016 | + If the method is called asynchronously, returns the request |
| 8017 | + thread. |
| 8018 | + """ |
| 8019 | + kwargs['async_req'] = kwargs.get( |
| 8020 | + 'async_req', False |
| 8021 | + ) |
| 8022 | + kwargs['_return_http_data_only'] = kwargs.get( |
| 8023 | + '_return_http_data_only', True |
| 8024 | + ) |
| 8025 | + kwargs['_preload_content'] = kwargs.get( |
| 8026 | + '_preload_content', True |
| 8027 | + ) |
| 8028 | + kwargs['_request_timeout'] = kwargs.get( |
| 8029 | + '_request_timeout', None |
| 8030 | + ) |
| 8031 | + kwargs['_check_input_type'] = kwargs.get( |
| 8032 | + '_check_input_type', True |
| 8033 | + ) |
| 8034 | + kwargs['_check_return_type'] = kwargs.get( |
| 8035 | + '_check_return_type', True |
| 8036 | + ) |
| 8037 | + kwargs['_spec_property_naming'] = kwargs.get( |
| 8038 | + '_spec_property_naming', False |
| 8039 | + ) |
| 8040 | + kwargs['_content_type'] = kwargs.get( |
| 8041 | + '_content_type') |
| 8042 | + kwargs['_host_index'] = kwargs.get('_host_index') |
| 8043 | + kwargs['projects_pk'] = \ |
| 8044 | + projects_pk |
| 8045 | + return self.get_topics_pins_endpoint.call_with_http_info(**kwargs) |
| 8046 | + |
7888 | 8047 | def get_user( |
7889 | 8048 | self, |
7890 | 8049 | **kwargs |
|
0 commit comments