xbim_aim 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24e858dedbe8cb39d2769310fde683b94a79f9594fdb77190a86bb85d2c1ec43
4
- data.tar.gz: 147b2238f46f39654a65fd23d1a2558e9a47fd7a2b0d578ee95c8aad4f84d311
3
+ metadata.gz: 5b6695c850b116a5529a786d12d802519fd85fc80c41300f6e657c194e49f73e
4
+ data.tar.gz: 7765a6a53e6c20d98e49d666aa0cb7cf085418a7b87893eba7c97a128495213a
5
5
  SHA512:
6
- metadata.gz: 797c0b4358b764905b61c26bc3ecf5f9bfe5b54a8529a9324210450772fbdf075fa0734d5e148d0b995dbbe5712d0a1510a0382e013165be311fd788e4a0ddae
7
- data.tar.gz: 99f3a89d5acebabf5a0bd6292fa36640d2481a4456d9eed425b1725010ec6ac897a5ba548065ab9ae7b3a6ace46e11b693fcc58c8cb9cc5f157153a13e81763e
6
+ metadata.gz: d3306b5d0614a82a8780318e4611caeb7d3fd4656225cab8375848d1a4dd5a140407980b1a151c650ba2b3866ffdd017ba9778304ec5290fdd9276b7b3c8d066
7
+ data.tar.gz: 512bf3d21178e8583c2a2be20c6b636b8b0ca284deea0c968df6dd835206fd1b017f0fb8bcb2f728347ffa5f1dae7572a82031439da70a7c2717effe1755c08b
data/README.md CHANGED
@@ -209,7 +209,6 @@ Class | Method | HTTP request | Description
209
209
  *XbimAim::ResourcesApi* | [**resources_get_single_entity_by_assetmodelid_and_entityid_and_tenantid**](docs/ResourcesApi.md#resources_get_single_entity_by_assetmodelid_and_entityid_and_tenantid) | **GET** /{region}/aim/2.0/{tenantId}/Resources(AssetModelId={assetModelId}, EntityId={entityId}) | Get Resources single entity by assetmodelid, entityid and tenantid
210
210
  *XbimAim::ResourcesApi* | [**resources_patch_by_assetmodelid_and_entityid_and_tenantid**](docs/ResourcesApi.md#resources_patch_by_assetmodelid_and_entityid_and_tenantid) | **PATCH** /{region}/aim/2.0/{tenantId}/Resources(AssetModelId={AssetModelId}, EntityId={EntityId}) | Patch Resources by assetmodelid, entityid and tenantid
211
211
  *XbimAim::ResourcesApi* | [**resources_post_by_tenantid**](docs/ResourcesApi.md#resources_post_by_tenantid) | **POST** /{region}/aim/2.0/{tenantId}/Resources | Post a new entity to EntitySet Resources
212
- *XbimAim::SchedulesApi* | [**schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid**](docs/SchedulesApi.md#schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid) | **GET** /{region}/aim/2.0/{tenantId}/Schedules(AssetModelId={AssetModelId},ScheduleName={ScheduleName}) | Returns the entity with the key from Schedules
213
212
  *XbimAim::SchedulesApi* | [**schedules_get_schedule_by_tenantid**](docs/SchedulesApi.md#schedules_get_schedule_by_tenantid) | **GET** /{region}/aim/2.0/{tenantId}/Schedules({AssetModelId},{ScheduleName}) | Get Schedules schedule by tenantid
214
213
  *XbimAim::SchedulesApi* | [**schedules_get_schedule_rows_by_assetmodelid_and_schedulename_and_tenantid**](docs/SchedulesApi.md#schedules_get_schedule_rows_by_assetmodelid_and_schedulename_and_tenantid) | **GET** /{region}/aim/2.0/{tenantId}/Schedules({assetModelId},'{scheduleName}')/Rows | Get Schedules schedule rows by assetmodelid, schedulename and tenantid
215
214
  *XbimAim::SchedulesApi* | [**schedules_get_schedules_by_tenantid**](docs/SchedulesApi.md#schedules_get_schedules_by_tenantid) | **GET** /{region}/aim/2.0/{tenantId}/Schedules | Returns the EntitySet Schedules
@@ -19,98 +19,6 @@ module XbimAim
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Returns the entity with the key from Schedules
23
- # <span style='font-size: 17px;'>Summary:</span>Returns the entity with the key from Schedules.<br/>Return Type: <b>Schedule</b><br/><br/>
24
- # @param asset_model_id [Integer] key: AssetModelId
25
- # @param schedule_name [String] key: ScheduleName
26
- # @param tenant_id [String] The unique Tenant ID (UUID or Identifier string)
27
- # @param region [String] The data center region the data resides in
28
- # @param [Hash] opts the optional parameters
29
- # @option opts [String] :expand Expands related entities inline.
30
- # @option opts [String] :select Selects which properties to include in the response.
31
- # @return [Schedule]
32
- def schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid(asset_model_id, schedule_name, tenant_id, region, opts = {})
33
- data, _status_code, _headers = schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid_with_http_info(asset_model_id, schedule_name, tenant_id, region, opts)
34
- data
35
- end
36
-
37
- # Returns the entity with the key from Schedules
38
- # &lt;span style&#x3D;&#39;font-size: 17px;&#39;&gt;Summary:&lt;/span&gt;Returns the entity with the key from Schedules.&lt;br/&gt;Return Type: &lt;b&gt;Schedule&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;
39
- # @param asset_model_id [Integer] key: AssetModelId
40
- # @param schedule_name [String] key: ScheduleName
41
- # @param tenant_id [String] The unique Tenant ID (UUID or Identifier string)
42
- # @param region [String] The data center region the data resides in
43
- # @param [Hash] opts the optional parameters
44
- # @option opts [String] :expand Expands related entities inline.
45
- # @option opts [String] :select Selects which properties to include in the response.
46
- # @return [Array<(Schedule, Integer, Hash)>] Schedule data, response status code and response headers
47
- def schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid_with_http_info(asset_model_id, schedule_name, tenant_id, region, opts = {})
48
- if @api_client.config.debugging
49
- @api_client.config.logger.debug 'Calling API: SchedulesApi.schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid ...'
50
- end
51
- # verify the required parameter 'asset_model_id' is set
52
- if @api_client.config.client_side_validation && asset_model_id.nil?
53
- fail ArgumentError, "Missing the required parameter 'asset_model_id' when calling SchedulesApi.schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid"
54
- end
55
- # verify the required parameter 'schedule_name' is set
56
- if @api_client.config.client_side_validation && schedule_name.nil?
57
- fail ArgumentError, "Missing the required parameter 'schedule_name' when calling SchedulesApi.schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid"
58
- end
59
- # verify the required parameter 'tenant_id' is set
60
- if @api_client.config.client_side_validation && tenant_id.nil?
61
- fail ArgumentError, "Missing the required parameter 'tenant_id' when calling SchedulesApi.schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid"
62
- end
63
- # verify the required parameter 'region' is set
64
- if @api_client.config.client_side_validation && region.nil?
65
- fail ArgumentError, "Missing the required parameter 'region' when calling SchedulesApi.schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid"
66
- end
67
- # verify enum value
68
- allowable_values = ["UK", "WestEurope", "Sandbox"]
69
- if @api_client.config.client_side_validation && !allowable_values.include?(region)
70
- fail ArgumentError, "invalid value for \"region\", must be one of #{allowable_values}"
71
- end
72
- # resource path
73
- local_var_path = '/{region}/aim/2.0/{tenantId}/Schedules(AssetModelId={AssetModelId},ScheduleName={ScheduleName})'.sub('{' + 'assetModelId' + '}', CGI.escape(asset_model_id.to_s)).sub('{' + 'scheduleName' + '}', CGI.escape(schedule_name.to_s)).sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s)).sub('{' + 'region' + '}', CGI.escape(region.to_s))
74
-
75
- # query parameters
76
- query_params = opts[:query_params] || {}
77
- query_params[:'$expand'] = opts[:'expand'] if !opts[:'expand'].nil?
78
- query_params[:'$select'] = opts[:'select'] if !opts[:'select'].nil?
79
-
80
- # header parameters
81
- header_params = opts[:header_params] || {}
82
- # HTTP header 'Accept' (if needed)
83
- 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'])
84
-
85
- # form parameters
86
- form_params = opts[:form_params] || {}
87
-
88
- # http body (model)
89
- post_body = opts[:debug_body]
90
-
91
- # return_type
92
- return_type = opts[:debug_return_type] || 'Schedule'
93
-
94
- # auth_names
95
- auth_names = opts[:debug_auth_names] || ['oauth2']
96
-
97
- new_options = opts.merge(
98
- :operation => :"SchedulesApi.schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid",
99
- :header_params => header_params,
100
- :query_params => query_params,
101
- :form_params => form_params,
102
- :body => post_body,
103
- :auth_names => auth_names,
104
- :return_type => return_type
105
- )
106
-
107
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
108
- if @api_client.config.debugging
109
- @api_client.config.logger.debug "API called: SchedulesApi#schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
110
- end
111
- return data, status_code, headers
112
- end
113
-
114
22
  # Get Schedules schedule by tenantid
115
23
  # <span style='font-size: 17px;'>Summary:</span>Return Type: <b>Schedule</b><br/><br/>
116
24
  # @param asset_model_id [Integer]
@@ -266,7 +174,7 @@ module XbimAim
266
174
  fail ArgumentError, "invalid value for \"region\", must be one of #{allowable_values}"
267
175
  end
268
176
  # resource path
269
- local_var_path = '/{region}/aim/2.0/{tenantId}/Schedules({assetModelId},{scheduleName})/Rows'.sub('{' + 'assetModelId' + '}', CGI.escape(asset_model_id.to_s)).sub('{' + 'scheduleName' + '}', CGI.escape(schedule_name.to_s)).sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s)).sub('{' + 'region' + '}', CGI.escape(region.to_s))
177
+ local_var_path = "/{region}/aim/2.0/{tenantId}/Schedules({assetModelId},'{scheduleName}')/Rows".sub('{' + 'assetModelId' + '}', CGI.escape(asset_model_id.to_s)).sub('{' + 'scheduleName' + '}', CGI.escape(schedule_name.to_s)).sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s)).sub('{' + 'region' + '}', CGI.escape(region.to_s))
270
178
 
271
179
  # query parameters
272
180
  query_params = opts[:query_params] || {}
@@ -454,7 +362,7 @@ module XbimAim
454
362
  fail ArgumentError, "invalid value for \"region\", must be one of #{allowable_values}"
455
363
  end
456
364
  # resource path
457
- local_var_path = '/{region}/aim/2.0/{tenantId}/Schedules/Import(AssetModelId={modelId},ScheduleName={schedule})'.sub('{' + 'modelId' + '}', CGI.escape(model_id.to_s)).sub('{' + 'schedule' + '}', CGI.escape(schedule.to_s)).sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s)).sub('{' + 'region' + '}', CGI.escape(region.to_s))
365
+ local_var_path = "/{region}/aim/2.0/{tenantId}/Schedules/Import(AssetModelId={modelId},ScheduleName='{schedule}')".sub('{' + 'modelId' + '}', CGI.escape(model_id.to_s)).sub('{' + 'schedule' + '}', CGI.escape(schedule.to_s)).sub('{' + 'tenantId' + '}', CGI.escape(tenant_id.to_s)).sub('{' + 'region' + '}', CGI.escape(region.to_s))
458
366
 
459
367
  # query parameters
460
368
  query_params = opts[:query_params] || {}
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.4.0
11
11
  =end
12
12
 
13
13
  module XbimAim
14
- VERSION = '2.0.0'
14
+ VERSION = '2.0.1'
15
15
  end
@@ -32,23 +32,6 @@ describe 'SchedulesApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid
36
- # Returns the entity with the key from Schedules
37
- # &lt;span style&#x3D;&#39;font-size: 17px;&#39;&gt;Summary:&lt;/span&gt;Returns the entity with the key from Schedules.&lt;br/&gt;Return Type: &lt;b&gt;Schedule&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;
38
- # @param asset_model_id key: AssetModelId
39
- # @param schedule_name key: ScheduleName
40
- # @param tenant_id The unique Tenant ID (UUID or Identifier string)
41
- # @param region The data center region the data resides in
42
- # @param [Hash] opts the optional parameters
43
- # @option opts [String] :expand Expands related entities inline.
44
- # @option opts [String] :select Selects which properties to include in the response.
45
- # @return [Schedule]
46
- describe 'schedules_get_schedule_by_assetmodelid_and_schedulename_and_tenantid test' 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
35
  # unit tests for schedules_get_schedule_by_tenantid
53
36
  # Get Schedules schedule by tenantid
54
37
  # &lt;span style&#x3D;&#39;font-size: 17px;&#39;&gt;Summary:&lt;/span&gt;Return Type: &lt;b&gt;Schedule&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;
data/xbim_aim.gemspec CHANGED
@@ -1,38 +1,37 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- =begin
4
- #XBIM Flex API v2
5
-
6
- #This is the XBIM Flex Swagger service where you can explore the REST API for the platform.
7
-
8
- The version of the OpenAPI document: 2.0
9
- Contact: info@xbim.net
10
- Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 5.4.0
12
-
13
- =end
14
-
15
- $:.push File.expand_path("../lib", __FILE__)
16
- require "xbim_aim/version"
17
-
18
- Gem::Specification.new do |s|
19
- s.name = "xbim_aim"
20
- s.version = XbimAim::VERSION
21
- s.platform = Gem::Platform::RUBY
22
- s.authors = ["XBIM.LTD"]
23
- s.email = ["info@xbim.net"]
24
- s.homepage = "https://openapi-generator.tech"
25
- s.summary = "XBIM Flex API v2 Ruby Gem"
26
- s.description = "This is the XBIM Flex Swagger service where you can explore the REST API for the platform."
27
- s.license = "MIT"
28
- s.required_ruby_version = ">= 2.4"
29
-
30
- s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
-
32
- s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
33
-
34
- s.files = Dir['./**/*']
35
- s.test_files = `find spec/*`.split("\n")
36
- s.executables = []
37
- s.require_paths = ["lib"]
38
- end
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #XBIM Flex API v2
5
+
6
+ #This is the XBIM Flex Swagger service where you can explore the REST API for the platform.
7
+
8
+ The version of the OpenAPI document: 2.0
9
+ Contact: info@xbim.net
10
+ OpenAPI Generator version: 5.4.0
11
+
12
+ =end
13
+
14
+ $:.push File.expand_path("../lib", __FILE__)
15
+ require "xbim_aim/version"
16
+
17
+ Gem::Specification.new do |s|
18
+ s.name = "xbim_aim"
19
+ s.version = XbimAim::VERSION
20
+ s.platform = Gem::Platform::RUBY
21
+ s.authors = ["XBIM.LTD"]
22
+ s.email = ["info@xbim.net"]
23
+ s.homepage = "https://xbim.net"
24
+ s.summary = "XBIM Flex API v2 Ruby Gem"
25
+ s.description = "This is the XBIM Flex Swagger service where you can explore the REST API for the platform."
26
+ s.license = "MIT"
27
+ s.required_ruby_version = ">= 2.4"
28
+
29
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
30
+
31
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
32
+
33
+ s.files = Dir['./**/*']
34
+ s.test_files = `find spec/*`.split("\n")
35
+ s.executables = []
36
+ s.require_paths = ["lib"]
37
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xbim_aim
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - XBIM.LTD
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-17 00:00:00.000000000 Z
11
+ date: 2022-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -385,9 +385,8 @@ files:
385
385
  - "./spec/models/zone_info_spec.rb"
386
386
  - "./spec/models/zone_spec.rb"
387
387
  - "./spec/spec_helper.rb"
388
- - "./xbim_aim-1.0.0.gem"
389
388
  - "./xbim_aim.gemspec"
390
- homepage: https://openapi-generator.tech
389
+ homepage: https://xbim.net
391
390
  licenses:
392
391
  - MIT
393
392
  metadata: {}
data/xbim_aim-1.0.0.gem DELETED
Binary file