xbim_comms 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +6 -148
- data/Gemfile +0 -9
- data/README.md +0 -210
- data/Rakefile +0 -10
- data/lib/xbim_comms/api/contacts_api.rb +0 -206
- data/lib/xbim_comms/api/conversations_api.rb +0 -2670
- data/lib/xbim_comms/api/files_api.rb +0 -107
- data/lib/xbim_comms/api/snapshots_api.rb +0 -100
- data/lib/xbim_comms/api_client.rb +0 -390
- data/lib/xbim_comms/api_error.rb +0 -57
- data/lib/xbim_comms/configuration.rb +0 -278
- data/lib/xbim_comms/models/aggregate.rb +0 -227
- data/lib/xbim_comms/models/aggregate_list_value.rb +0 -220
- data/lib/xbim_comms/models/analytical_result.rb +0 -270
- data/lib/xbim_comms/models/analytical_result_all_of.rb +0 -258
- data/lib/xbim_comms/models/animation.rb +0 -232
- data/lib/xbim_comms/models/animation_all_of.rb +0 -220
- data/lib/xbim_comms/models/bitmap.rb +0 -303
- data/lib/xbim_comms/models/blob.rb +0 -245
- data/lib/xbim_comms/models/boolean_value.rb +0 -218
- data/lib/xbim_comms/models/clipping_plane.rb +0 -231
- data/lib/xbim_comms/models/coloring.rb +0 -229
- data/lib/xbim_comms/models/column_request.rb +0 -279
- data/lib/xbim_comms/models/component.rb +0 -236
- data/lib/xbim_comms/models/components.rb +0 -240
- data/lib/xbim_comms/models/contact.rb +0 -227
- data/lib/xbim_comms/models/contact_list.rb +0 -238
- data/lib/xbim_comms/models/conversation.rb +0 -392
- data/lib/xbim_comms/models/conversation_create.rb +0 -273
- data/lib/xbim_comms/models/conversation_list.rb +0 -238
- data/lib/xbim_comms/models/conversation_tenant.rb +0 -254
- data/lib/xbim_comms/models/conversation_update.rb +0 -302
- data/lib/xbim_comms/models/entity_key.rb +0 -227
- data/lib/xbim_comms/models/exception_message.rb +0 -245
- data/lib/xbim_comms/models/file.rb +0 -266
- data/lib/xbim_comms/models/file_all_of.rb +0 -254
- data/lib/xbim_comms/models/int32_value.rb +0 -218
- data/lib/xbim_comms/models/key_frame.rb +0 -236
- data/lib/xbim_comms/models/line.rb +0 -231
- data/lib/xbim_comms/models/message.rb +0 -416
- data/lib/xbim_comms/models/message_content.rb +0 -220
- data/lib/xbim_comms/models/message_create.rb +0 -273
- data/lib/xbim_comms/models/message_list.rb +0 -238
- data/lib/xbim_comms/models/message_part.rb +0 -246
- data/lib/xbim_comms/models/message_update.rb +0 -297
- data/lib/xbim_comms/models/orthogonal_camera.rb +0 -269
- data/lib/xbim_comms/models/participant.rb +0 -232
- data/lib/xbim_comms/models/participant_with_role.rb +0 -293
- data/lib/xbim_comms/models/participant_with_role_create.rb +0 -266
- data/lib/xbim_comms/models/participant_with_role_list.rb +0 -238
- data/lib/xbim_comms/models/participant_with_role_update.rb +0 -261
- data/lib/xbim_comms/models/perspective_camera.rb +0 -269
- data/lib/xbim_comms/models/pie_chart.rb +0 -257
- data/lib/xbim_comms/models/pie_chart_all_of.rb +0 -245
- data/lib/xbim_comms/models/point.rb +0 -227
- data/lib/xbim_comms/models/preview_row.rb +0 -220
- data/lib/xbim_comms/models/schedule.rb +0 -270
- data/lib/xbim_comms/models/schedule_all_of.rb +0 -258
- data/lib/xbim_comms/models/schedule_column.rb +0 -384
- data/lib/xbim_comms/models/schedule_request.rb +0 -252
- data/lib/xbim_comms/models/schedule_request_all_of.rb +0 -240
- data/lib/xbim_comms/models/section_box.rb +0 -274
- data/lib/xbim_comms/models/sheet.rb +0 -268
- data/lib/xbim_comms/models/sheet_all_of.rb +0 -256
- data/lib/xbim_comms/models/sheet_part.rb +0 -254
- data/lib/xbim_comms/models/snapshot.rb +0 -270
- data/lib/xbim_comms/models/text.rb +0 -220
- data/lib/xbim_comms/models/view.rb +0 -239
- data/lib/xbim_comms/models/view_all_of.rb +0 -227
- data/lib/xbim_comms/models/view_setup_hints.rb +0 -236
- data/lib/xbim_comms/models/viewpoint.rb +0 -296
- data/lib/xbim_comms/models/visibility.rb +0 -238
- data/lib/xbim_comms/version.rb +0 -15
- data/lib/xbim_comms.rb +0 -104
- data/spec/api/contacts_api_spec.rb +0 -74
- data/spec/api/conversations_api_spec.rb +0 -521
- data/spec/api/files_api_spec.rb +0 -50
- data/spec/api/snapshots_api_spec.rb +0 -49
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/aggregate_list_value_spec.rb +0 -34
- data/spec/models/aggregate_spec.rb +0 -40
- data/spec/models/analytical_result_all_of_spec.rb +0 -58
- data/spec/models/analytical_result_spec.rb +0 -58
- data/spec/models/animation_all_of_spec.rb +0 -34
- data/spec/models/animation_spec.rb +0 -34
- data/spec/models/bitmap_spec.rb +0 -68
- data/spec/models/blob_spec.rb +0 -52
- data/spec/models/boolean_value_spec.rb +0 -34
- data/spec/models/clipping_plane_spec.rb +0 -40
- data/spec/models/coloring_spec.rb +0 -40
- data/spec/models/column_request_spec.rb +0 -56
- data/spec/models/component_spec.rb +0 -46
- data/spec/models/components_spec.rb +0 -46
- data/spec/models/contact_list_spec.rb +0 -46
- data/spec/models/contact_spec.rb +0 -40
- data/spec/models/conversation_create_spec.rb +0 -64
- data/spec/models/conversation_list_spec.rb +0 -46
- data/spec/models/conversation_spec.rb +0 -122
- data/spec/models/conversation_tenant_spec.rb +0 -58
- data/spec/models/conversation_update_spec.rb +0 -68
- data/spec/models/entity_key_spec.rb +0 -40
- data/spec/models/exception_message_spec.rb +0 -52
- data/spec/models/file_all_of_spec.rb +0 -58
- data/spec/models/file_spec.rb +0 -58
- data/spec/models/int32_value_spec.rb +0 -34
- data/spec/models/key_frame_spec.rb +0 -46
- data/spec/models/line_spec.rb +0 -40
- data/spec/models/message_content_spec.rb +0 -34
- data/spec/models/message_create_spec.rb +0 -64
- data/spec/models/message_list_spec.rb +0 -46
- data/spec/models/message_part_spec.rb +0 -46
- data/spec/models/message_spec.rb +0 -146
- data/spec/models/message_update_spec.rb +0 -68
- data/spec/models/orthogonal_camera_spec.rb +0 -64
- data/spec/models/participant_spec.rb +0 -40
- data/spec/models/participant_with_role_create_spec.rb +0 -44
- data/spec/models/participant_with_role_list_spec.rb +0 -46
- data/spec/models/participant_with_role_spec.rb +0 -62
- data/spec/models/participant_with_role_update_spec.rb +0 -44
- data/spec/models/perspective_camera_spec.rb +0 -64
- data/spec/models/pie_chart_all_of_spec.rb +0 -52
- data/spec/models/pie_chart_spec.rb +0 -52
- data/spec/models/point_spec.rb +0 -40
- data/spec/models/preview_row_spec.rb +0 -34
- data/spec/models/schedule_all_of_spec.rb +0 -58
- data/spec/models/schedule_column_spec.rb +0 -118
- data/spec/models/schedule_request_all_of_spec.rb +0 -46
- data/spec/models/schedule_request_spec.rb +0 -46
- data/spec/models/schedule_spec.rb +0 -58
- data/spec/models/section_box_spec.rb +0 -70
- data/spec/models/sheet_all_of_spec.rb +0 -58
- data/spec/models/sheet_part_spec.rb +0 -58
- data/spec/models/sheet_spec.rb +0 -58
- data/spec/models/snapshot_spec.rb +0 -50
- data/spec/models/text_spec.rb +0 -28
- data/spec/models/view_all_of_spec.rb +0 -40
- data/spec/models/view_setup_hints_spec.rb +0 -46
- data/spec/models/view_spec.rb +0 -40
- data/spec/models/viewpoint_spec.rb +0 -82
- data/spec/models/visibility_spec.rb +0 -46
- data/spec/spec_helper.rb +0 -111
- data/xbim_comms.gemspec +0 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d049933c79bafb2475a4d25473d55a2c16ed35f806d8da84895f5bd58cd1bac
|
4
|
+
data.tar.gz: 28cd743b90ca7036b1c3537cc09c3fead19d92b2640e031cbce80d6103895fe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa5c7c559f9d9cacd70cd2b5261b82ab259611652ce71ffb4ba586ac067bda02e73118fc1fdfbf6c78d83dd814a51d377f818475d2e4b21ad3209d69b45f6312
|
7
|
+
data.tar.gz: cd084e12f3907ef4954c1b176a48bb59f1001b6ddcfe5a6af946a3dc2d47e41a19a8599be296e7202bc096a85304920435dacb442e2fbd1d9162cd13cc400fbf
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xbim_comms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -56,152 +56,10 @@ email:
|
|
56
56
|
executables: []
|
57
57
|
extensions: []
|
58
58
|
extra_rdoc_files: []
|
59
|
-
files:
|
60
|
-
-
|
61
|
-
- "./README.md"
|
62
|
-
- "./Rakefile"
|
63
|
-
- "./lib/xbim_comms.rb"
|
64
|
-
- "./lib/xbim_comms/api/contacts_api.rb"
|
65
|
-
- "./lib/xbim_comms/api/conversations_api.rb"
|
66
|
-
- "./lib/xbim_comms/api/files_api.rb"
|
67
|
-
- "./lib/xbim_comms/api/snapshots_api.rb"
|
68
|
-
- "./lib/xbim_comms/api_client.rb"
|
69
|
-
- "./lib/xbim_comms/api_error.rb"
|
70
|
-
- "./lib/xbim_comms/configuration.rb"
|
71
|
-
- "./lib/xbim_comms/models/aggregate.rb"
|
72
|
-
- "./lib/xbim_comms/models/aggregate_list_value.rb"
|
73
|
-
- "./lib/xbim_comms/models/analytical_result.rb"
|
74
|
-
- "./lib/xbim_comms/models/analytical_result_all_of.rb"
|
75
|
-
- "./lib/xbim_comms/models/animation.rb"
|
76
|
-
- "./lib/xbim_comms/models/animation_all_of.rb"
|
77
|
-
- "./lib/xbim_comms/models/bitmap.rb"
|
78
|
-
- "./lib/xbim_comms/models/blob.rb"
|
79
|
-
- "./lib/xbim_comms/models/boolean_value.rb"
|
80
|
-
- "./lib/xbim_comms/models/clipping_plane.rb"
|
81
|
-
- "./lib/xbim_comms/models/coloring.rb"
|
82
|
-
- "./lib/xbim_comms/models/column_request.rb"
|
83
|
-
- "./lib/xbim_comms/models/component.rb"
|
84
|
-
- "./lib/xbim_comms/models/components.rb"
|
85
|
-
- "./lib/xbim_comms/models/contact.rb"
|
86
|
-
- "./lib/xbim_comms/models/contact_list.rb"
|
87
|
-
- "./lib/xbim_comms/models/conversation.rb"
|
88
|
-
- "./lib/xbim_comms/models/conversation_create.rb"
|
89
|
-
- "./lib/xbim_comms/models/conversation_list.rb"
|
90
|
-
- "./lib/xbim_comms/models/conversation_tenant.rb"
|
91
|
-
- "./lib/xbim_comms/models/conversation_update.rb"
|
92
|
-
- "./lib/xbim_comms/models/entity_key.rb"
|
93
|
-
- "./lib/xbim_comms/models/exception_message.rb"
|
94
|
-
- "./lib/xbim_comms/models/file.rb"
|
95
|
-
- "./lib/xbim_comms/models/file_all_of.rb"
|
96
|
-
- "./lib/xbim_comms/models/int32_value.rb"
|
97
|
-
- "./lib/xbim_comms/models/key_frame.rb"
|
98
|
-
- "./lib/xbim_comms/models/line.rb"
|
99
|
-
- "./lib/xbim_comms/models/message.rb"
|
100
|
-
- "./lib/xbim_comms/models/message_content.rb"
|
101
|
-
- "./lib/xbim_comms/models/message_create.rb"
|
102
|
-
- "./lib/xbim_comms/models/message_list.rb"
|
103
|
-
- "./lib/xbim_comms/models/message_part.rb"
|
104
|
-
- "./lib/xbim_comms/models/message_update.rb"
|
105
|
-
- "./lib/xbim_comms/models/orthogonal_camera.rb"
|
106
|
-
- "./lib/xbim_comms/models/participant.rb"
|
107
|
-
- "./lib/xbim_comms/models/participant_with_role.rb"
|
108
|
-
- "./lib/xbim_comms/models/participant_with_role_create.rb"
|
109
|
-
- "./lib/xbim_comms/models/participant_with_role_list.rb"
|
110
|
-
- "./lib/xbim_comms/models/participant_with_role_update.rb"
|
111
|
-
- "./lib/xbim_comms/models/perspective_camera.rb"
|
112
|
-
- "./lib/xbim_comms/models/pie_chart.rb"
|
113
|
-
- "./lib/xbim_comms/models/pie_chart_all_of.rb"
|
114
|
-
- "./lib/xbim_comms/models/point.rb"
|
115
|
-
- "./lib/xbim_comms/models/preview_row.rb"
|
116
|
-
- "./lib/xbim_comms/models/schedule.rb"
|
117
|
-
- "./lib/xbim_comms/models/schedule_all_of.rb"
|
118
|
-
- "./lib/xbim_comms/models/schedule_column.rb"
|
119
|
-
- "./lib/xbim_comms/models/schedule_request.rb"
|
120
|
-
- "./lib/xbim_comms/models/schedule_request_all_of.rb"
|
121
|
-
- "./lib/xbim_comms/models/section_box.rb"
|
122
|
-
- "./lib/xbim_comms/models/sheet.rb"
|
123
|
-
- "./lib/xbim_comms/models/sheet_all_of.rb"
|
124
|
-
- "./lib/xbim_comms/models/sheet_part.rb"
|
125
|
-
- "./lib/xbim_comms/models/snapshot.rb"
|
126
|
-
- "./lib/xbim_comms/models/text.rb"
|
127
|
-
- "./lib/xbim_comms/models/view.rb"
|
128
|
-
- "./lib/xbim_comms/models/view_all_of.rb"
|
129
|
-
- "./lib/xbim_comms/models/view_setup_hints.rb"
|
130
|
-
- "./lib/xbim_comms/models/viewpoint.rb"
|
131
|
-
- "./lib/xbim_comms/models/visibility.rb"
|
132
|
-
- "./lib/xbim_comms/version.rb"
|
133
|
-
- "./spec/api/contacts_api_spec.rb"
|
134
|
-
- "./spec/api/conversations_api_spec.rb"
|
135
|
-
- "./spec/api/files_api_spec.rb"
|
136
|
-
- "./spec/api/snapshots_api_spec.rb"
|
137
|
-
- "./spec/api_client_spec.rb"
|
138
|
-
- "./spec/configuration_spec.rb"
|
139
|
-
- "./spec/models/aggregate_list_value_spec.rb"
|
140
|
-
- "./spec/models/aggregate_spec.rb"
|
141
|
-
- "./spec/models/analytical_result_all_of_spec.rb"
|
142
|
-
- "./spec/models/analytical_result_spec.rb"
|
143
|
-
- "./spec/models/animation_all_of_spec.rb"
|
144
|
-
- "./spec/models/animation_spec.rb"
|
145
|
-
- "./spec/models/bitmap_spec.rb"
|
146
|
-
- "./spec/models/blob_spec.rb"
|
147
|
-
- "./spec/models/boolean_value_spec.rb"
|
148
|
-
- "./spec/models/clipping_plane_spec.rb"
|
149
|
-
- "./spec/models/coloring_spec.rb"
|
150
|
-
- "./spec/models/column_request_spec.rb"
|
151
|
-
- "./spec/models/component_spec.rb"
|
152
|
-
- "./spec/models/components_spec.rb"
|
153
|
-
- "./spec/models/contact_list_spec.rb"
|
154
|
-
- "./spec/models/contact_spec.rb"
|
155
|
-
- "./spec/models/conversation_create_spec.rb"
|
156
|
-
- "./spec/models/conversation_list_spec.rb"
|
157
|
-
- "./spec/models/conversation_spec.rb"
|
158
|
-
- "./spec/models/conversation_tenant_spec.rb"
|
159
|
-
- "./spec/models/conversation_update_spec.rb"
|
160
|
-
- "./spec/models/entity_key_spec.rb"
|
161
|
-
- "./spec/models/exception_message_spec.rb"
|
162
|
-
- "./spec/models/file_all_of_spec.rb"
|
163
|
-
- "./spec/models/file_spec.rb"
|
164
|
-
- "./spec/models/int32_value_spec.rb"
|
165
|
-
- "./spec/models/key_frame_spec.rb"
|
166
|
-
- "./spec/models/line_spec.rb"
|
167
|
-
- "./spec/models/message_content_spec.rb"
|
168
|
-
- "./spec/models/message_create_spec.rb"
|
169
|
-
- "./spec/models/message_list_spec.rb"
|
170
|
-
- "./spec/models/message_part_spec.rb"
|
171
|
-
- "./spec/models/message_spec.rb"
|
172
|
-
- "./spec/models/message_update_spec.rb"
|
173
|
-
- "./spec/models/orthogonal_camera_spec.rb"
|
174
|
-
- "./spec/models/participant_spec.rb"
|
175
|
-
- "./spec/models/participant_with_role_create_spec.rb"
|
176
|
-
- "./spec/models/participant_with_role_list_spec.rb"
|
177
|
-
- "./spec/models/participant_with_role_spec.rb"
|
178
|
-
- "./spec/models/participant_with_role_update_spec.rb"
|
179
|
-
- "./spec/models/perspective_camera_spec.rb"
|
180
|
-
- "./spec/models/pie_chart_all_of_spec.rb"
|
181
|
-
- "./spec/models/pie_chart_spec.rb"
|
182
|
-
- "./spec/models/point_spec.rb"
|
183
|
-
- "./spec/models/preview_row_spec.rb"
|
184
|
-
- "./spec/models/schedule_all_of_spec.rb"
|
185
|
-
- "./spec/models/schedule_column_spec.rb"
|
186
|
-
- "./spec/models/schedule_request_all_of_spec.rb"
|
187
|
-
- "./spec/models/schedule_request_spec.rb"
|
188
|
-
- "./spec/models/schedule_spec.rb"
|
189
|
-
- "./spec/models/section_box_spec.rb"
|
190
|
-
- "./spec/models/sheet_all_of_spec.rb"
|
191
|
-
- "./spec/models/sheet_part_spec.rb"
|
192
|
-
- "./spec/models/sheet_spec.rb"
|
193
|
-
- "./spec/models/snapshot_spec.rb"
|
194
|
-
- "./spec/models/text_spec.rb"
|
195
|
-
- "./spec/models/view_all_of_spec.rb"
|
196
|
-
- "./spec/models/view_setup_hints_spec.rb"
|
197
|
-
- "./spec/models/view_spec.rb"
|
198
|
-
- "./spec/models/viewpoint_spec.rb"
|
199
|
-
- "./spec/models/visibility_spec.rb"
|
200
|
-
- "./spec/spec_helper.rb"
|
201
|
-
- "./xbim_comms.gemspec"
|
202
|
-
homepage: https://xbim.net
|
59
|
+
files: []
|
60
|
+
homepage: https://openapi-generator.tech
|
203
61
|
licenses:
|
204
|
-
-
|
62
|
+
- Unlicense
|
205
63
|
metadata: {}
|
206
64
|
post_install_message:
|
207
65
|
rdoc_options: []
|
data/Gemfile
DELETED
data/README.md
DELETED
@@ -1,210 +0,0 @@
|
|
1
|
-
# xbim_comms
|
2
|
-
|
3
|
-
XbimComms - the Ruby gem for the Flex Comms API 2.0
|
4
|
-
|
5
|
-
Communication centralised around construction data
|
6
|
-
|
7
|
-
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
|
-
|
9
|
-
- API version: 2.0
|
10
|
-
- Package version: 1.0.0
|
11
|
-
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
|
-
For more information, please visit [https://xbim.net](https://xbim.net)
|
13
|
-
|
14
|
-
## Installation
|
15
|
-
|
16
|
-
### Build a gem
|
17
|
-
|
18
|
-
To build the Ruby code into a gem:
|
19
|
-
|
20
|
-
```shell
|
21
|
-
gem build xbim_comms.gemspec
|
22
|
-
```
|
23
|
-
|
24
|
-
Then either install the gem locally:
|
25
|
-
|
26
|
-
```shell
|
27
|
-
gem install ./xbim_comms-1.0.0.gem
|
28
|
-
```
|
29
|
-
|
30
|
-
(for development, run `gem install --dev ./xbim_comms-1.0.0.gem` to install the development dependencies)
|
31
|
-
|
32
|
-
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
|
-
|
34
|
-
Finally add this to the Gemfile:
|
35
|
-
|
36
|
-
gem 'xbim_comms', '~> 1.0.0'
|
37
|
-
|
38
|
-
### Install from Git
|
39
|
-
|
40
|
-
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
41
|
-
|
42
|
-
gem 'xbim_comms', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
43
|
-
|
44
|
-
### Include the Ruby code directly
|
45
|
-
|
46
|
-
Include the Ruby code directly using `-I` as follows:
|
47
|
-
|
48
|
-
```shell
|
49
|
-
ruby -Ilib script.rb
|
50
|
-
```
|
51
|
-
|
52
|
-
## Getting Started
|
53
|
-
|
54
|
-
Please follow the [installation](#installation) procedure and then run the following code:
|
55
|
-
|
56
|
-
```ruby
|
57
|
-
# Load the gem
|
58
|
-
require 'xbim_comms'
|
59
|
-
|
60
|
-
# Setup authorization
|
61
|
-
XbimComms.configure do |config|
|
62
|
-
# Configure OAuth2 access token for authorization: oauth2
|
63
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
64
|
-
end
|
65
|
-
|
66
|
-
api_instance = XbimComms::ContactsApi.new
|
67
|
-
term = 'term_example' # String |
|
68
|
-
region = 'UK' # String | The data center region the data resides in
|
69
|
-
opts = {
|
70
|
-
expand: 'expand_example', # String |
|
71
|
-
filter: 'filter_example', # String |
|
72
|
-
select: 'select_example', # String |
|
73
|
-
orderby: 'orderby_example', # String |
|
74
|
-
top: 56, # Integer |
|
75
|
-
skip: 56, # Integer |
|
76
|
-
count: true # Boolean |
|
77
|
-
}
|
78
|
-
|
79
|
-
begin
|
80
|
-
#Get Contacts search
|
81
|
-
result = api_instance.contacts_search(term, region, opts)
|
82
|
-
p result
|
83
|
-
rescue XbimComms::ApiError => e
|
84
|
-
puts "Exception when calling ContactsApi->contacts_search: #{e}"
|
85
|
-
end
|
86
|
-
|
87
|
-
```
|
88
|
-
|
89
|
-
## Documentation for API Endpoints
|
90
|
-
|
91
|
-
All URIs are relative to *https://apis.xbim-dev.net*
|
92
|
-
|
93
|
-
Class | Method | HTTP request | Description
|
94
|
-
------------ | ------------- | ------------- | -------------
|
95
|
-
*XbimComms::ContactsApi* | [**contacts_search**](docs/ContactsApi.md#contacts_search) | **GET** /{region}/comms/2.0/Contacts/Search(Term={term}) | Get Contacts search
|
96
|
-
*XbimComms::ContactsApi* | [**get_contacts**](docs/ContactsApi.md#get_contacts) | **GET** /{region}/comms/2.0/Contacts | Get Contacts
|
97
|
-
*XbimComms::ConversationsApi* | [**aggregate_data**](docs/ConversationsApi.md#aggregate_data) | **GET** /{region}/comms/2.0/Conversations/Aggregate() | Aggregates conversation data efficiently for reporting purposes
|
98
|
-
*XbimComms::ConversationsApi* | [**clone_conversation**](docs/ConversationsApi.md#clone_conversation) | **GET** /{region}/comms/2.0/Conversations/{key}/Clone | Get Conversations clone conversation
|
99
|
-
*XbimComms::ConversationsApi* | [**delete_conversation**](docs/ConversationsApi.md#delete_conversation) | **DELETE** /{region}/comms/2.0/Conversations/{key} | Delete Conversations conversation
|
100
|
-
*XbimComms::ConversationsApi* | [**delete_file**](docs/ConversationsApi.md#delete_file) | **DELETE** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Files({fileId}) | Delete Conversations file
|
101
|
-
*XbimComms::ConversationsApi* | [**delete_message**](docs/ConversationsApi.md#delete_message) | **DELETE** /{region}/comms/2.0/Conversations({conversationId})/Messages({id}) | Delete Conversations message
|
102
|
-
*XbimComms::ConversationsApi* | [**delete_message_part**](docs/ConversationsApi.md#delete_message_part) | **DELETE** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Delete | Delete Conversations message part
|
103
|
-
*XbimComms::ConversationsApi* | [**delete_participant**](docs/ConversationsApi.md#delete_participant) | **DELETE** /{region}/comms/2.0/Conversations({conversationId})/Participants({id}) | Delete Conversations participant
|
104
|
-
*XbimComms::ConversationsApi* | [**get_conversations**](docs/ConversationsApi.md#get_conversations) | **GET** /{region}/comms/2.0/Conversations | Get Conversations
|
105
|
-
*XbimComms::ConversationsApi* | [**get_conversations_by_id**](docs/ConversationsApi.md#get_conversations_by_id) | **GET** /{region}/comms/2.0/Conversations/{key} | Get Conversations by id
|
106
|
-
*XbimComms::ConversationsApi* | [**get_demo_conversation**](docs/ConversationsApi.md#get_demo_conversation) | **GET** /{region}/comms/2.0/Conversations/Demo | Get Conversations demo conversation
|
107
|
-
*XbimComms::ConversationsApi* | [**get_file**](docs/ConversationsApi.md#get_file) | **GET** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Files({fileId}) | Get Conversations file
|
108
|
-
*XbimComms::ConversationsApi* | [**get_files**](docs/ConversationsApi.md#get_files) | **GET** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Files | Get Conversations files
|
109
|
-
*XbimComms::ConversationsApi* | [**get_message_by_id**](docs/ConversationsApi.md#get_message_by_id) | **GET** /{region}/comms/2.0/Conversations({conversationId})/Messages({id}) | Get Conversations message by id
|
110
|
-
*XbimComms::ConversationsApi* | [**get_messages**](docs/ConversationsApi.md#get_messages) | **GET** /{region}/comms/2.0/Conversations({conversationId})/Messages | Get Conversations messages
|
111
|
-
*XbimComms::ConversationsApi* | [**get_participiants**](docs/ConversationsApi.md#get_participiants) | **GET** /{region}/comms/2.0/Conversations({conversationId})/Participants | Get Conversations participiants
|
112
|
-
*XbimComms::ConversationsApi* | [**import_bcf_file**](docs/ConversationsApi.md#import_bcf_file) | **POST** /{region}/comms/2.0/Conversations/ImportBcf | Imports a BCF File's Topics and Markup as one or more Flex conversations
|
113
|
-
*XbimComms::ConversationsApi* | [**insert_message_part**](docs/ConversationsApi.md#insert_message_part) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Insert | Post Conversations insert message part
|
114
|
-
*XbimComms::ConversationsApi* | [**mode_message_part**](docs/ConversationsApi.md#mode_message_part) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Move | Post Conversations mode message part
|
115
|
-
*XbimComms::ConversationsApi* | [**patch_conversation**](docs/ConversationsApi.md#patch_conversation) | **PATCH** /{region}/comms/2.0/Conversations/{key} | Patch Conversations conversation
|
116
|
-
*XbimComms::ConversationsApi* | [**patch_message**](docs/ConversationsApi.md#patch_message) | **PATCH** /{region}/comms/2.0/Conversations({conversationId})/Messages({id}) | Patch Conversations message
|
117
|
-
*XbimComms::ConversationsApi* | [**patch_participant**](docs/ConversationsApi.md#patch_participant) | **PATCH** /{region}/comms/2.0/Conversations({conversationId})/Participants({id}) | Patch Conversations participant
|
118
|
-
*XbimComms::ConversationsApi* | [**post_conversation**](docs/ConversationsApi.md#post_conversation) | **POST** /{region}/comms/2.0/Conversations | Post Conversations conversation
|
119
|
-
*XbimComms::ConversationsApi* | [**post_file**](docs/ConversationsApi.md#post_file) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Files | Post Conversations file
|
120
|
-
*XbimComms::ConversationsApi* | [**post_message**](docs/ConversationsApi.md#post_message) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages | Post Conversations message
|
121
|
-
*XbimComms::ConversationsApi* | [**post_participant**](docs/ConversationsApi.md#post_participant) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Participants | Post Conversations participant
|
122
|
-
*XbimComms::ConversationsApi* | [**put_message_part**](docs/ConversationsApi.md#put_message_part) | **PUT** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Set | Put Conversations message part
|
123
|
-
*XbimComms::ConversationsApi* | [**put_participants**](docs/ConversationsApi.md#put_participants) | **PUT** /{region}/comms/2.0/Conversations({conversationId})/Participants | Put Conversations participants
|
124
|
-
*XbimComms::ConversationsApi* | [**send_clone_conversation**](docs/ConversationsApi.md#send_clone_conversation) | **GET** /{region}/comms/2.0/Conversations/{key}/SendClone | Get Conversations send clone conversation
|
125
|
-
*XbimComms::ConversationsApi* | [**send_message**](docs/ConversationsApi.md#send_message) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Send | Post Conversations send message
|
126
|
-
*XbimComms::ConversationsApi* | [**set_message_state**](docs/ConversationsApi.md#set_message_state) | **PUT** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/SetState | Put Conversations set message state
|
127
|
-
*XbimComms::ConversationsApi* | [**swap_message_parts**](docs/ConversationsApi.md#swap_message_parts) | **POST** /{region}/comms/2.0/Conversations({conversationId})/Messages({id})/Swap | Post Conversations swap message parts
|
128
|
-
*XbimComms::FilesApi* | [**files_get_file**](docs/FilesApi.md#files_get_file) | **GET** /{region}/comms/2.0/Files/{hash}/{fileId} | Gets a File Blob from a Message
|
129
|
-
*XbimComms::SnapshotsApi* | [**snapshots_get_snapshot**](docs/SnapshotsApi.md#snapshots_get_snapshot) | **GET** /{region}/comms/2.0/Snapshots/{hash}/{fileId} | Gets a File Blob from a Message
|
130
|
-
|
131
|
-
|
132
|
-
## Documentation for Models
|
133
|
-
|
134
|
-
- [XbimComms::Aggregate](docs/Aggregate.md)
|
135
|
-
- [XbimComms::AggregateListValue](docs/AggregateListValue.md)
|
136
|
-
- [XbimComms::AnalyticalResult](docs/AnalyticalResult.md)
|
137
|
-
- [XbimComms::AnalyticalResultAllOf](docs/AnalyticalResultAllOf.md)
|
138
|
-
- [XbimComms::Animation](docs/Animation.md)
|
139
|
-
- [XbimComms::AnimationAllOf](docs/AnimationAllOf.md)
|
140
|
-
- [XbimComms::Bitmap](docs/Bitmap.md)
|
141
|
-
- [XbimComms::Blob](docs/Blob.md)
|
142
|
-
- [XbimComms::BooleanValue](docs/BooleanValue.md)
|
143
|
-
- [XbimComms::ClippingPlane](docs/ClippingPlane.md)
|
144
|
-
- [XbimComms::Coloring](docs/Coloring.md)
|
145
|
-
- [XbimComms::ColumnRequest](docs/ColumnRequest.md)
|
146
|
-
- [XbimComms::Component](docs/Component.md)
|
147
|
-
- [XbimComms::Components](docs/Components.md)
|
148
|
-
- [XbimComms::Contact](docs/Contact.md)
|
149
|
-
- [XbimComms::ContactList](docs/ContactList.md)
|
150
|
-
- [XbimComms::Conversation](docs/Conversation.md)
|
151
|
-
- [XbimComms::ConversationCreate](docs/ConversationCreate.md)
|
152
|
-
- [XbimComms::ConversationList](docs/ConversationList.md)
|
153
|
-
- [XbimComms::ConversationTenant](docs/ConversationTenant.md)
|
154
|
-
- [XbimComms::ConversationUpdate](docs/ConversationUpdate.md)
|
155
|
-
- [XbimComms::EntityKey](docs/EntityKey.md)
|
156
|
-
- [XbimComms::ExceptionMessage](docs/ExceptionMessage.md)
|
157
|
-
- [XbimComms::File](docs/File.md)
|
158
|
-
- [XbimComms::FileAllOf](docs/FileAllOf.md)
|
159
|
-
- [XbimComms::Int32Value](docs/Int32Value.md)
|
160
|
-
- [XbimComms::KeyFrame](docs/KeyFrame.md)
|
161
|
-
- [XbimComms::Line](docs/Line.md)
|
162
|
-
- [XbimComms::Message](docs/Message.md)
|
163
|
-
- [XbimComms::MessageContent](docs/MessageContent.md)
|
164
|
-
- [XbimComms::MessageCreate](docs/MessageCreate.md)
|
165
|
-
- [XbimComms::MessageList](docs/MessageList.md)
|
166
|
-
- [XbimComms::MessagePart](docs/MessagePart.md)
|
167
|
-
- [XbimComms::MessageUpdate](docs/MessageUpdate.md)
|
168
|
-
- [XbimComms::OrthogonalCamera](docs/OrthogonalCamera.md)
|
169
|
-
- [XbimComms::Participant](docs/Participant.md)
|
170
|
-
- [XbimComms::ParticipantWithRole](docs/ParticipantWithRole.md)
|
171
|
-
- [XbimComms::ParticipantWithRoleCreate](docs/ParticipantWithRoleCreate.md)
|
172
|
-
- [XbimComms::ParticipantWithRoleList](docs/ParticipantWithRoleList.md)
|
173
|
-
- [XbimComms::ParticipantWithRoleUpdate](docs/ParticipantWithRoleUpdate.md)
|
174
|
-
- [XbimComms::PerspectiveCamera](docs/PerspectiveCamera.md)
|
175
|
-
- [XbimComms::PieChart](docs/PieChart.md)
|
176
|
-
- [XbimComms::PieChartAllOf](docs/PieChartAllOf.md)
|
177
|
-
- [XbimComms::Point](docs/Point.md)
|
178
|
-
- [XbimComms::PreviewRow](docs/PreviewRow.md)
|
179
|
-
- [XbimComms::Schedule](docs/Schedule.md)
|
180
|
-
- [XbimComms::ScheduleAllOf](docs/ScheduleAllOf.md)
|
181
|
-
- [XbimComms::ScheduleColumn](docs/ScheduleColumn.md)
|
182
|
-
- [XbimComms::ScheduleRequest](docs/ScheduleRequest.md)
|
183
|
-
- [XbimComms::ScheduleRequestAllOf](docs/ScheduleRequestAllOf.md)
|
184
|
-
- [XbimComms::SectionBox](docs/SectionBox.md)
|
185
|
-
- [XbimComms::Sheet](docs/Sheet.md)
|
186
|
-
- [XbimComms::SheetAllOf](docs/SheetAllOf.md)
|
187
|
-
- [XbimComms::SheetPart](docs/SheetPart.md)
|
188
|
-
- [XbimComms::Snapshot](docs/Snapshot.md)
|
189
|
-
- [XbimComms::Text](docs/Text.md)
|
190
|
-
- [XbimComms::View](docs/View.md)
|
191
|
-
- [XbimComms::ViewAllOf](docs/ViewAllOf.md)
|
192
|
-
- [XbimComms::ViewSetupHints](docs/ViewSetupHints.md)
|
193
|
-
- [XbimComms::Viewpoint](docs/Viewpoint.md)
|
194
|
-
- [XbimComms::Visibility](docs/Visibility.md)
|
195
|
-
|
196
|
-
|
197
|
-
## Documentation for Authorization
|
198
|
-
|
199
|
-
|
200
|
-
### oauth2
|
201
|
-
|
202
|
-
|
203
|
-
- **Type**: OAuth
|
204
|
-
- **Flow**: implicit
|
205
|
-
- **Authorization URL**: https://apis.xbim-dev.net/connect/authorize
|
206
|
-
- **Scopes**:
|
207
|
-
- comms.read: Reading from Comms API
|
208
|
-
- comms.write: Writing to Comms API
|
209
|
-
- api.admin: Super-user administrator
|
210
|
-
|
data/Rakefile
DELETED
@@ -1,206 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Flex Comms API 2.0
|
3
|
-
|
4
|
-
#Communication centralised around construction data
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 2.0
|
7
|
-
Contact: info@xbim.net
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.4.0
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'cgi'
|
14
|
-
|
15
|
-
module XbimComms
|
16
|
-
class ContactsApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Get Contacts search
|
23
|
-
# <span style='font-size: 17px;'>Summary:</span>Return Type: <b>ContactList</b><br/><br/>
|
24
|
-
# @param term [String]
|
25
|
-
# @param region [String] The data center region the data resides in
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @option opts [String] :expand
|
28
|
-
# @option opts [String] :filter
|
29
|
-
# @option opts [String] :select
|
30
|
-
# @option opts [String] :orderby
|
31
|
-
# @option opts [Integer] :top
|
32
|
-
# @option opts [Integer] :skip
|
33
|
-
# @option opts [Boolean] :count
|
34
|
-
# @return [ContactList]
|
35
|
-
def contacts_search(term, region, opts = {})
|
36
|
-
data, _status_code, _headers = contacts_search_with_http_info(term, region, opts)
|
37
|
-
data
|
38
|
-
end
|
39
|
-
|
40
|
-
# Get Contacts search
|
41
|
-
# <span style='font-size: 17px;'>Summary:</span>Return Type: <b>ContactList</b><br/><br/>
|
42
|
-
# @param term [String]
|
43
|
-
# @param region [String] The data center region the data resides in
|
44
|
-
# @param [Hash] opts the optional parameters
|
45
|
-
# @option opts [String] :expand
|
46
|
-
# @option opts [String] :filter
|
47
|
-
# @option opts [String] :select
|
48
|
-
# @option opts [String] :orderby
|
49
|
-
# @option opts [Integer] :top
|
50
|
-
# @option opts [Integer] :skip
|
51
|
-
# @option opts [Boolean] :count
|
52
|
-
# @return [Array<(ContactList, Integer, Hash)>] ContactList data, response status code and response headers
|
53
|
-
def contacts_search_with_http_info(term, region, opts = {})
|
54
|
-
if @api_client.config.debugging
|
55
|
-
@api_client.config.logger.debug 'Calling API: ContactsApi.contacts_search ...'
|
56
|
-
end
|
57
|
-
# verify the required parameter 'term' is set
|
58
|
-
if @api_client.config.client_side_validation && term.nil?
|
59
|
-
fail ArgumentError, "Missing the required parameter 'term' when calling ContactsApi.contacts_search"
|
60
|
-
end
|
61
|
-
# verify the required parameter 'region' is set
|
62
|
-
if @api_client.config.client_side_validation && region.nil?
|
63
|
-
fail ArgumentError, "Missing the required parameter 'region' when calling ContactsApi.contacts_search"
|
64
|
-
end
|
65
|
-
# verify enum value
|
66
|
-
allowable_values = ["UK", "WestEurope", "Sandbox"]
|
67
|
-
if @api_client.config.client_side_validation && !allowable_values.include?(region)
|
68
|
-
fail ArgumentError, "invalid value for \"region\", must be one of #{allowable_values}"
|
69
|
-
end
|
70
|
-
# resource path
|
71
|
-
local_var_path = '/{region}/comms/2.0/Contacts/Search(Term={term})'.sub('{' + 'term' + '}', CGI.escape(term.to_s)).sub('{' + 'region' + '}', CGI.escape(region.to_s))
|
72
|
-
|
73
|
-
# query parameters
|
74
|
-
query_params = opts[:query_params] || {}
|
75
|
-
query_params[:'$expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
76
|
-
query_params[:'$filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
77
|
-
query_params[:'$select'] = opts[:'select'] if !opts[:'select'].nil?
|
78
|
-
query_params[:'$orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
79
|
-
query_params[:'$top'] = opts[:'top'] if !opts[:'top'].nil?
|
80
|
-
query_params[:'$skip'] = opts[:'skip'] if !opts[:'skip'].nil?
|
81
|
-
query_params[:'$count'] = opts[:'count'] if !opts[:'count'].nil?
|
82
|
-
|
83
|
-
# header parameters
|
84
|
-
header_params = opts[:header_params] || {}
|
85
|
-
# HTTP header 'Accept' (if needed)
|
86
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/json;odata.metadata=none', 'application/json;odata.metadata=minimal', 'application/json;odata.metadata=full'])
|
87
|
-
|
88
|
-
# form parameters
|
89
|
-
form_params = opts[:form_params] || {}
|
90
|
-
|
91
|
-
# http body (model)
|
92
|
-
post_body = opts[:debug_body]
|
93
|
-
|
94
|
-
# return_type
|
95
|
-
return_type = opts[:debug_return_type] || 'ContactList'
|
96
|
-
|
97
|
-
# auth_names
|
98
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
99
|
-
|
100
|
-
new_options = opts.merge(
|
101
|
-
:operation => :"ContactsApi.contacts_search",
|
102
|
-
:header_params => header_params,
|
103
|
-
:query_params => query_params,
|
104
|
-
:form_params => form_params,
|
105
|
-
:body => post_body,
|
106
|
-
:auth_names => auth_names,
|
107
|
-
:return_type => return_type
|
108
|
-
)
|
109
|
-
|
110
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
111
|
-
if @api_client.config.debugging
|
112
|
-
@api_client.config.logger.debug "API called: ContactsApi#contacts_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
113
|
-
end
|
114
|
-
return data, status_code, headers
|
115
|
-
end
|
116
|
-
|
117
|
-
# Get Contacts
|
118
|
-
# <span style='font-size: 17px;'>Summary:</span>Return Type: <b>ContactList</b><br/><br/>
|
119
|
-
# @param region [String] The data center region the data resides in
|
120
|
-
# @param [Hash] opts the optional parameters
|
121
|
-
# @option opts [String] :expand
|
122
|
-
# @option opts [String] :filter
|
123
|
-
# @option opts [String] :select
|
124
|
-
# @option opts [String] :orderby
|
125
|
-
# @option opts [Integer] :top
|
126
|
-
# @option opts [Integer] :skip
|
127
|
-
# @option opts [Boolean] :count
|
128
|
-
# @return [ContactList]
|
129
|
-
def get_contacts(region, opts = {})
|
130
|
-
data, _status_code, _headers = get_contacts_with_http_info(region, opts)
|
131
|
-
data
|
132
|
-
end
|
133
|
-
|
134
|
-
# Get Contacts
|
135
|
-
# <span style='font-size: 17px;'>Summary:</span>Return Type: <b>ContactList</b><br/><br/>
|
136
|
-
# @param region [String] The data center region the data resides in
|
137
|
-
# @param [Hash] opts the optional parameters
|
138
|
-
# @option opts [String] :expand
|
139
|
-
# @option opts [String] :filter
|
140
|
-
# @option opts [String] :select
|
141
|
-
# @option opts [String] :orderby
|
142
|
-
# @option opts [Integer] :top
|
143
|
-
# @option opts [Integer] :skip
|
144
|
-
# @option opts [Boolean] :count
|
145
|
-
# @return [Array<(ContactList, Integer, Hash)>] ContactList data, response status code and response headers
|
146
|
-
def get_contacts_with_http_info(region, opts = {})
|
147
|
-
if @api_client.config.debugging
|
148
|
-
@api_client.config.logger.debug 'Calling API: ContactsApi.get_contacts ...'
|
149
|
-
end
|
150
|
-
# verify the required parameter 'region' is set
|
151
|
-
if @api_client.config.client_side_validation && region.nil?
|
152
|
-
fail ArgumentError, "Missing the required parameter 'region' when calling ContactsApi.get_contacts"
|
153
|
-
end
|
154
|
-
# verify enum value
|
155
|
-
allowable_values = ["UK", "WestEurope", "Sandbox"]
|
156
|
-
if @api_client.config.client_side_validation && !allowable_values.include?(region)
|
157
|
-
fail ArgumentError, "invalid value for \"region\", must be one of #{allowable_values}"
|
158
|
-
end
|
159
|
-
# resource path
|
160
|
-
local_var_path = '/{region}/comms/2.0/Contacts'.sub('{' + 'region' + '}', CGI.escape(region.to_s))
|
161
|
-
|
162
|
-
# query parameters
|
163
|
-
query_params = opts[:query_params] || {}
|
164
|
-
query_params[:'$expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
165
|
-
query_params[:'$filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
166
|
-
query_params[:'$select'] = opts[:'select'] if !opts[:'select'].nil?
|
167
|
-
query_params[:'$orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
168
|
-
query_params[:'$top'] = opts[:'top'] if !opts[:'top'].nil?
|
169
|
-
query_params[:'$skip'] = opts[:'skip'] if !opts[:'skip'].nil?
|
170
|
-
query_params[:'$count'] = opts[:'count'] if !opts[:'count'].nil?
|
171
|
-
|
172
|
-
# header parameters
|
173
|
-
header_params = opts[:header_params] || {}
|
174
|
-
# HTTP header 'Accept' (if needed)
|
175
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/json;odata.metadata=none', 'application/json;odata.metadata=minimal', 'application/json;odata.metadata=full'])
|
176
|
-
|
177
|
-
# form parameters
|
178
|
-
form_params = opts[:form_params] || {}
|
179
|
-
|
180
|
-
# http body (model)
|
181
|
-
post_body = opts[:debug_body]
|
182
|
-
|
183
|
-
# return_type
|
184
|
-
return_type = opts[:debug_return_type] || 'ContactList'
|
185
|
-
|
186
|
-
# auth_names
|
187
|
-
auth_names = opts[:debug_auth_names] || ['oauth2']
|
188
|
-
|
189
|
-
new_options = opts.merge(
|
190
|
-
:operation => :"ContactsApi.get_contacts",
|
191
|
-
:header_params => header_params,
|
192
|
-
:query_params => query_params,
|
193
|
-
:form_params => form_params,
|
194
|
-
:body => post_body,
|
195
|
-
:auth_names => auth_names,
|
196
|
-
:return_type => return_type
|
197
|
-
)
|
198
|
-
|
199
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
200
|
-
if @api_client.config.debugging
|
201
|
-
@api_client.config.logger.debug "API called: ContactsApi#get_contacts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
202
|
-
end
|
203
|
-
return data, status_code, headers
|
204
|
-
end
|
205
|
-
end
|
206
|
-
end
|