xbim_comms 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +210 -0
- data/Rakefile +10 -0
- data/lib/xbim_comms/api/contacts_api.rb +206 -0
- data/lib/xbim_comms/api/conversations_api.rb +2670 -0
- data/lib/xbim_comms/api/files_api.rb +107 -0
- data/lib/xbim_comms/api/snapshots_api.rb +100 -0
- data/lib/xbim_comms/api_client.rb +390 -0
- data/lib/xbim_comms/api_error.rb +57 -0
- data/lib/xbim_comms/configuration.rb +278 -0
- data/lib/xbim_comms/models/aggregate.rb +227 -0
- data/lib/xbim_comms/models/aggregate_list_value.rb +220 -0
- data/lib/xbim_comms/models/analytical_result.rb +270 -0
- data/lib/xbim_comms/models/analytical_result_all_of.rb +258 -0
- data/lib/xbim_comms/models/animation.rb +232 -0
- data/lib/xbim_comms/models/animation_all_of.rb +220 -0
- data/lib/xbim_comms/models/bitmap.rb +303 -0
- data/lib/xbim_comms/models/blob.rb +245 -0
- data/lib/xbim_comms/models/boolean_value.rb +218 -0
- data/lib/xbim_comms/models/clipping_plane.rb +231 -0
- data/lib/xbim_comms/models/coloring.rb +229 -0
- data/lib/xbim_comms/models/column_request.rb +279 -0
- data/lib/xbim_comms/models/component.rb +236 -0
- data/lib/xbim_comms/models/components.rb +240 -0
- data/lib/xbim_comms/models/contact.rb +227 -0
- data/lib/xbim_comms/models/contact_list.rb +238 -0
- data/lib/xbim_comms/models/conversation.rb +392 -0
- data/lib/xbim_comms/models/conversation_create.rb +273 -0
- data/lib/xbim_comms/models/conversation_list.rb +238 -0
- data/lib/xbim_comms/models/conversation_tenant.rb +254 -0
- data/lib/xbim_comms/models/conversation_update.rb +302 -0
- data/lib/xbim_comms/models/entity_key.rb +227 -0
- data/lib/xbim_comms/models/exception_message.rb +245 -0
- data/lib/xbim_comms/models/file.rb +266 -0
- data/lib/xbim_comms/models/file_all_of.rb +254 -0
- data/lib/xbim_comms/models/int32_value.rb +218 -0
- data/lib/xbim_comms/models/key_frame.rb +236 -0
- data/lib/xbim_comms/models/line.rb +231 -0
- data/lib/xbim_comms/models/message.rb +416 -0
- data/lib/xbim_comms/models/message_content.rb +220 -0
- data/lib/xbim_comms/models/message_create.rb +273 -0
- data/lib/xbim_comms/models/message_list.rb +238 -0
- data/lib/xbim_comms/models/message_part.rb +246 -0
- data/lib/xbim_comms/models/message_update.rb +297 -0
- data/lib/xbim_comms/models/orthogonal_camera.rb +269 -0
- data/lib/xbim_comms/models/participant.rb +232 -0
- data/lib/xbim_comms/models/participant_with_role.rb +293 -0
- data/lib/xbim_comms/models/participant_with_role_create.rb +266 -0
- data/lib/xbim_comms/models/participant_with_role_list.rb +238 -0
- data/lib/xbim_comms/models/participant_with_role_update.rb +261 -0
- data/lib/xbim_comms/models/perspective_camera.rb +269 -0
- data/lib/xbim_comms/models/pie_chart.rb +257 -0
- data/lib/xbim_comms/models/pie_chart_all_of.rb +245 -0
- data/lib/xbim_comms/models/point.rb +227 -0
- data/lib/xbim_comms/models/preview_row.rb +220 -0
- data/lib/xbim_comms/models/schedule.rb +270 -0
- data/lib/xbim_comms/models/schedule_all_of.rb +258 -0
- data/lib/xbim_comms/models/schedule_column.rb +384 -0
- data/lib/xbim_comms/models/schedule_request.rb +252 -0
- data/lib/xbim_comms/models/schedule_request_all_of.rb +240 -0
- data/lib/xbim_comms/models/section_box.rb +274 -0
- data/lib/xbim_comms/models/sheet.rb +268 -0
- data/lib/xbim_comms/models/sheet_all_of.rb +256 -0
- data/lib/xbim_comms/models/sheet_part.rb +254 -0
- data/lib/xbim_comms/models/snapshot.rb +270 -0
- data/lib/xbim_comms/models/text.rb +220 -0
- data/lib/xbim_comms/models/view.rb +239 -0
- data/lib/xbim_comms/models/view_all_of.rb +227 -0
- data/lib/xbim_comms/models/view_setup_hints.rb +236 -0
- data/lib/xbim_comms/models/viewpoint.rb +296 -0
- data/lib/xbim_comms/models/visibility.rb +238 -0
- data/lib/xbim_comms/version.rb +15 -0
- data/lib/xbim_comms.rb +104 -0
- data/spec/api/contacts_api_spec.rb +74 -0
- data/spec/api/conversations_api_spec.rb +521 -0
- data/spec/api/files_api_spec.rb +50 -0
- data/spec/api/snapshots_api_spec.rb +49 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/aggregate_list_value_spec.rb +34 -0
- data/spec/models/aggregate_spec.rb +40 -0
- data/spec/models/analytical_result_all_of_spec.rb +58 -0
- data/spec/models/analytical_result_spec.rb +58 -0
- data/spec/models/animation_all_of_spec.rb +34 -0
- data/spec/models/animation_spec.rb +34 -0
- data/spec/models/bitmap_spec.rb +68 -0
- data/spec/models/blob_spec.rb +52 -0
- data/spec/models/boolean_value_spec.rb +34 -0
- data/spec/models/clipping_plane_spec.rb +40 -0
- data/spec/models/coloring_spec.rb +40 -0
- data/spec/models/column_request_spec.rb +56 -0
- data/spec/models/component_spec.rb +46 -0
- data/spec/models/components_spec.rb +46 -0
- data/spec/models/contact_list_spec.rb +46 -0
- data/spec/models/contact_spec.rb +40 -0
- data/spec/models/conversation_create_spec.rb +64 -0
- data/spec/models/conversation_list_spec.rb +46 -0
- data/spec/models/conversation_spec.rb +122 -0
- data/spec/models/conversation_tenant_spec.rb +58 -0
- data/spec/models/conversation_update_spec.rb +68 -0
- data/spec/models/entity_key_spec.rb +40 -0
- data/spec/models/exception_message_spec.rb +52 -0
- data/spec/models/file_all_of_spec.rb +58 -0
- data/spec/models/file_spec.rb +58 -0
- data/spec/models/int32_value_spec.rb +34 -0
- data/spec/models/key_frame_spec.rb +46 -0
- data/spec/models/line_spec.rb +40 -0
- data/spec/models/message_content_spec.rb +34 -0
- data/spec/models/message_create_spec.rb +64 -0
- data/spec/models/message_list_spec.rb +46 -0
- data/spec/models/message_part_spec.rb +46 -0
- data/spec/models/message_spec.rb +146 -0
- data/spec/models/message_update_spec.rb +68 -0
- data/spec/models/orthogonal_camera_spec.rb +64 -0
- data/spec/models/participant_spec.rb +40 -0
- data/spec/models/participant_with_role_create_spec.rb +44 -0
- data/spec/models/participant_with_role_list_spec.rb +46 -0
- data/spec/models/participant_with_role_spec.rb +62 -0
- data/spec/models/participant_with_role_update_spec.rb +44 -0
- data/spec/models/perspective_camera_spec.rb +64 -0
- data/spec/models/pie_chart_all_of_spec.rb +52 -0
- data/spec/models/pie_chart_spec.rb +52 -0
- data/spec/models/point_spec.rb +40 -0
- data/spec/models/preview_row_spec.rb +34 -0
- data/spec/models/schedule_all_of_spec.rb +58 -0
- data/spec/models/schedule_column_spec.rb +118 -0
- data/spec/models/schedule_request_all_of_spec.rb +46 -0
- data/spec/models/schedule_request_spec.rb +46 -0
- data/spec/models/schedule_spec.rb +58 -0
- data/spec/models/section_box_spec.rb +70 -0
- data/spec/models/sheet_all_of_spec.rb +58 -0
- data/spec/models/sheet_part_spec.rb +58 -0
- data/spec/models/sheet_spec.rb +58 -0
- data/spec/models/snapshot_spec.rb +50 -0
- data/spec/models/text_spec.rb +28 -0
- data/spec/models/view_all_of_spec.rb +40 -0
- data/spec/models/view_setup_hints_spec.rb +46 -0
- data/spec/models/view_spec.rb +40 -0
- data/spec/models/viewpoint_spec.rb +82 -0
- data/spec/models/visibility_spec.rb +46 -0
- data/spec/spec_helper.rb +111 -0
- data/xbim_comms-1.0.0.gem +0 -0
- data/xbim_comms.gemspec +38 -0
- metadata +226 -0
|
@@ -0,0 +1,146 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for XbimComms::Message
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe XbimComms::Message do
|
|
21
|
+
let(:instance) { XbimComms::Message.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Message' do
|
|
24
|
+
it 'should create an instance of Message' do
|
|
25
|
+
expect(instance).to be_instance_of(XbimComms::Message)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "id"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "conversation_id"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "is_draft"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "content"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "author_name"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "author_email"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "date_created"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "model_id"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "asset_id"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
describe 'test attribute "trailer"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
describe 'test attribute "state_changed_time"' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
describe 'test attribute "state"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
97
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["NotRead", "Read", "Dismissed"])
|
|
98
|
+
# validator.allowable_values.each do |value|
|
|
99
|
+
# expect { instance.state = value }.not_to raise_error
|
|
100
|
+
# end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
describe 'test attribute "files"' do
|
|
105
|
+
it 'should work' do
|
|
106
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
describe 'test attribute "default_view"' do
|
|
111
|
+
it 'should work' do
|
|
112
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
describe 'test attribute "section_box"' do
|
|
117
|
+
it 'should work' do
|
|
118
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
describe 'test attribute "true_north_angle"' do
|
|
123
|
+
it 'should work' do
|
|
124
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
describe 'test attribute "html_footer"' do
|
|
129
|
+
it 'should work' do
|
|
130
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
describe 'test attribute "conversation"' do
|
|
135
|
+
it 'should work' do
|
|
136
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
describe 'test attribute "author"' do
|
|
141
|
+
it 'should work' do
|
|
142
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
end
|
|
@@ -0,0 +1,68 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for XbimComms::MessageUpdate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe XbimComms::MessageUpdate do
|
|
21
|
+
let(:instance) { XbimComms::MessageUpdate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of MessageUpdate' do
|
|
24
|
+
it 'should create an instance of MessageUpdate' do
|
|
25
|
+
expect(instance).to be_instance_of(XbimComms::MessageUpdate)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "id"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "state"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["NotRead", "Read", "Dismissed"])
|
|
38
|
+
# validator.allowable_values.each do |value|
|
|
39
|
+
# expect { instance.state = value }.not_to raise_error
|
|
40
|
+
# end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
describe 'test attribute "true_north_angle"' do
|
|
45
|
+
it 'should work' do
|
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
describe 'test attribute "content"' do
|
|
51
|
+
it 'should work' do
|
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
describe 'test attribute "default_view"' do
|
|
57
|
+
it 'should work' do
|
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
describe 'test attribute "section_box"' do
|
|
63
|
+
it 'should work' do
|
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
end
|
|
@@ -0,0 +1,64 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for XbimComms::OrthogonalCamera
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe XbimComms::OrthogonalCamera do
|
|
21
|
+
let(:instance) { XbimComms::OrthogonalCamera.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of OrthogonalCamera' do
|
|
24
|
+
it 'should create an instance of OrthogonalCamera' do
|
|
25
|
+
expect(instance).to be_instance_of(XbimComms::OrthogonalCamera)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "camera_view_point"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "camera_direction"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "camera_up_vector"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "view_to_world_scale"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "width"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "height"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for XbimComms::Participant
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe XbimComms::Participant do
|
|
21
|
+
let(:instance) { XbimComms::Participant.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Participant' do
|
|
24
|
+
it 'should create an instance of Participant' do
|
|
25
|
+
expect(instance).to be_instance_of(XbimComms::Participant)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "email"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "name"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for XbimComms::ParticipantWithRoleCreate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe XbimComms::ParticipantWithRoleCreate do
|
|
21
|
+
let(:instance) { XbimComms::ParticipantWithRoleCreate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ParticipantWithRoleCreate' do
|
|
24
|
+
it 'should create an instance of ParticipantWithRoleCreate' do
|
|
25
|
+
expect(instance).to be_instance_of(XbimComms::ParticipantWithRoleCreate)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "email"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "role"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Reader", "Contributor", "Owner"])
|
|
38
|
+
# validator.allowable_values.each do |value|
|
|
39
|
+
# expect { instance.role = value }.not_to raise_error
|
|
40
|
+
# end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for XbimComms::ParticipantWithRoleList
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe XbimComms::ParticipantWithRoleList do
|
|
21
|
+
let(:instance) { XbimComms::ParticipantWithRoleList.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ParticipantWithRoleList' do
|
|
24
|
+
it 'should create an instance of ParticipantWithRoleList' do
|
|
25
|
+
expect(instance).to be_instance_of(XbimComms::ParticipantWithRoleList)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "odata_context"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "odata_count"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "value"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,62 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for XbimComms::ParticipantWithRole
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe XbimComms::ParticipantWithRole do
|
|
21
|
+
let(:instance) { XbimComms::ParticipantWithRole.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ParticipantWithRole' do
|
|
24
|
+
it 'should create an instance of ParticipantWithRole' do
|
|
25
|
+
expect(instance).to be_instance_of(XbimComms::ParticipantWithRole)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "id"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "email"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "name"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "role"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Reader", "Contributor", "Owner"])
|
|
50
|
+
# validator.allowable_values.each do |value|
|
|
51
|
+
# expect { instance.role = value }.not_to raise_error
|
|
52
|
+
# end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
describe 'test attribute "identity"' do
|
|
57
|
+
it 'should work' do
|
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for XbimComms::ParticipantWithRoleUpdate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe XbimComms::ParticipantWithRoleUpdate do
|
|
21
|
+
let(:instance) { XbimComms::ParticipantWithRoleUpdate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ParticipantWithRoleUpdate' do
|
|
24
|
+
it 'should create an instance of ParticipantWithRoleUpdate' do
|
|
25
|
+
expect(instance).to be_instance_of(XbimComms::ParticipantWithRoleUpdate)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "id"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "role"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Reader", "Contributor", "Owner"])
|
|
38
|
+
# validator.allowable_values.each do |value|
|
|
39
|
+
# expect { instance.role = value }.not_to raise_error
|
|
40
|
+
# end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
end
|
|
@@ -0,0 +1,64 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for XbimComms::PerspectiveCamera
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe XbimComms::PerspectiveCamera do
|
|
21
|
+
let(:instance) { XbimComms::PerspectiveCamera.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PerspectiveCamera' do
|
|
24
|
+
it 'should create an instance of PerspectiveCamera' do
|
|
25
|
+
expect(instance).to be_instance_of(XbimComms::PerspectiveCamera)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "camera_view_point"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "camera_direction"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "camera_up_vector"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "field_of_view"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "width"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "height"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for XbimComms::PieChartAllOf
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe XbimComms::PieChartAllOf do
|
|
21
|
+
let(:instance) { XbimComms::PieChartAllOf.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PieChartAllOf' do
|
|
24
|
+
it 'should create an instance of PieChartAllOf' do
|
|
25
|
+
expect(instance).to be_instance_of(XbimComms::PieChartAllOf)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "asset_model_id"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "attribute_group_name"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "grouping_attribute_name"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "reporting_attribute_name"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
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 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for XbimComms::PieChart
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe XbimComms::PieChart do
|
|
21
|
+
let(:instance) { XbimComms::PieChart.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PieChart' do
|
|
24
|
+
it 'should create an instance of PieChart' do
|
|
25
|
+
expect(instance).to be_instance_of(XbimComms::PieChart)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "asset_model_id"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
describe 'test attribute "attribute_group_name"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "grouping_attribute_name"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "reporting_attribute_name"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|