xbim_comms 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,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::Blob
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::Blob do
|
21
|
+
let(:instance) { XbimComms::Blob.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Blob' do
|
24
|
+
it 'should create an instance of Blob' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::Blob)
|
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 "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 "content_type"' 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 "length"' 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,34 @@
|
|
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::BooleanValue
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::BooleanValue do
|
21
|
+
let(:instance) { XbimComms::BooleanValue.new }
|
22
|
+
|
23
|
+
describe 'test an instance of BooleanValue' do
|
24
|
+
it 'should create an instance of BooleanValue' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::BooleanValue)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "value"' 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
|
+
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::ClippingPlane
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::ClippingPlane do
|
21
|
+
let(:instance) { XbimComms::ClippingPlane.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ClippingPlane' do
|
24
|
+
it 'should create an instance of ClippingPlane' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::ClippingPlane)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "location"' 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 "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
|
+
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::Coloring
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::Coloring do
|
21
|
+
let(:instance) { XbimComms::Coloring.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Coloring' do
|
24
|
+
it 'should create an instance of Coloring' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::Coloring)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "color"' 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 "components"' 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,56 @@
|
|
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::ColumnRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::ColumnRequest do
|
21
|
+
let(:instance) { XbimComms::ColumnRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ColumnRequest' do
|
24
|
+
it 'should create an instance of ColumnRequest' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::ColumnRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "name"' 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 "description"' 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 "units"' 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 "data_type"' 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', ["TEXT", "LOGICAL", "DATE", "INTEGER", "REAL"])
|
50
|
+
# validator.allowable_values.each do |value|
|
51
|
+
# expect { instance.data_type = value }.not_to raise_error
|
52
|
+
# end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
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::Component
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::Component do
|
21
|
+
let(:instance) { XbimComms::Component.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Component' do
|
24
|
+
it 'should create an instance of Component' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::Component)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "ifc_guid"' 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 "originating_system"' 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 "authoring_tool_id"' 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,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::Components
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::Components do
|
21
|
+
let(:instance) { XbimComms::Components.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Components' do
|
24
|
+
it 'should create an instance of Components' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::Components)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "selection"' 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 "coloring"' 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 "visibility"' 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,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::ContactList
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::ContactList do
|
21
|
+
let(:instance) { XbimComms::ContactList.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ContactList' do
|
24
|
+
it 'should create an instance of ContactList' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::ContactList)
|
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,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::Contact
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::Contact do
|
21
|
+
let(:instance) { XbimComms::Contact.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Contact' do
|
24
|
+
it 'should create an instance of Contact' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::Contact)
|
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,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::ConversationCreate
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::ConversationCreate do
|
21
|
+
let(:instance) { XbimComms::ConversationCreate.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ConversationCreate' do
|
24
|
+
it 'should create an instance of ConversationCreate' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::ConversationCreate)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "asset_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 "subject"' 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 "tenant_id"' 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 "building_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
|
+
describe 'test attribute "address"' 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 "location"' 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,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::ConversationList
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::ConversationList do
|
21
|
+
let(:instance) { XbimComms::ConversationList.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ConversationList' do
|
24
|
+
it 'should create an instance of ConversationList' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::ConversationList)
|
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,122 @@
|
|
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::Conversation
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe XbimComms::Conversation do
|
21
|
+
let(:instance) { XbimComms::Conversation.new }
|
22
|
+
|
23
|
+
describe 'test an instance of Conversation' do
|
24
|
+
it 'should create an instance of Conversation' do
|
25
|
+
expect(instance).to be_instance_of(XbimComms::Conversation)
|
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 "clone_of_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 "asset_id"' 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 "subject"' 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 "owner"' 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 "tenant_id"' 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 "messages"' 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 "messages_count"' 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 "unread_count"' 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"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Open", "Closed"])
|
92
|
+
# validator.allowable_values.each do |value|
|
93
|
+
# expect { instance.state = value }.not_to raise_error
|
94
|
+
# end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
describe 'test attribute "building_name"' do
|
99
|
+
it 'should work' do
|
100
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
describe 'test attribute "address"' 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 "location"' 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 "participants"' 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
|
+
end
|