nodeum_sdk 1.86.0 → 1.87.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.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -4
  3. data/docs/ByDateFacet.md +4 -4
  4. data/docs/ByMetadataBucket.md +17 -0
  5. data/docs/ByMetadataBucketAllOf.md +17 -0
  6. data/docs/ByMetadataFacet.md +17 -0
  7. data/docs/ByMetadataFacetAllOf.md +17 -0
  8. data/docs/ByMetadataKeyBucket.md +17 -0
  9. data/docs/ByMetadataKeyBucketAllOf.md +17 -0
  10. data/docs/ByMetadataKeyBuckets.md +17 -0
  11. data/docs/ByMetadataValueBuckets.md +17 -0
  12. data/docs/ByPrimaryStorageFacet.md +4 -4
  13. data/docs/ByPrimaryTypeFacet.md +4 -4
  14. data/docs/BySecondaryStorageFacet.md +4 -4
  15. data/docs/BySizeFacet.md +4 -4
  16. data/docs/ByTaskMetadataFacet.md +17 -0
  17. data/docs/ByTaskMetadataFacetAllOf.md +17 -0
  18. data/docs/ByTypeFacetBucket.md +1 -1
  19. data/docs/CloudBucket.md +3 -1
  20. data/docs/CloudBucketsApi.md +61 -0
  21. data/docs/CloudConnector.md +3 -1
  22. data/docs/DefaultFacet.md +1 -1
  23. data/docs/FileFacet.md +3 -3
  24. data/docs/FileFacetAllOf.md +3 -3
  25. data/docs/FileMetadataDefinition.md +16 -0
  26. data/docs/FileMetadataDefinitionCollection.md +19 -0
  27. data/docs/MetadataApi.md +252 -0
  28. data/docs/MetadataDefinition.md +27 -0
  29. data/docs/StatisticsApi.md +136 -0
  30. data/docs/StorageCloudBucketFacets.md +1 -1
  31. data/docs/StorageFacet.md +1 -1
  32. data/docs/StorageNasShareFacets.md +1 -1
  33. data/docs/StoragePoolFacets.md +1 -1
  34. data/docs/StorageTapeFacets.md +1 -1
  35. data/docs/SystemGroup.md +3 -3
  36. data/docs/SystemUser.md +4 -4
  37. data/docs/TaskFacet.md +11 -7
  38. data/docs/TaskFacetAllOf.md +11 -7
  39. data/docs/TaskFacetBucket.md +12 -8
  40. data/docs/TaskFacetMetadataBucket.md +35 -0
  41. data/docs/TaskFacetMetadataKeyBucket.md +17 -0
  42. data/docs/TaskFacetMetadataKeyBucketAllOf.md +17 -0
  43. data/docs/TaskFacetMetadataKeyBuckets.md +17 -0
  44. data/docs/TaskFacetMetadataValueBuckets.md +17 -0
  45. data/docs/TaskMetadataDefinition.md +25 -0
  46. data/docs/TaskMetadataDefinitionAllOf.md +25 -0
  47. data/docs/TaskMetadataDefinitionCollection.md +19 -0
  48. data/lib/nodeum_sdk.rb +22 -0
  49. data/lib/nodeum_sdk/api/cloud_buckets_api.rb +71 -0
  50. data/lib/nodeum_sdk/api/metadata_api.rb +270 -0
  51. data/lib/nodeum_sdk/api/statistics_api.rb +151 -0
  52. data/lib/nodeum_sdk/models/by_metadata_bucket.rb +218 -0
  53. data/lib/nodeum_sdk/models/by_metadata_bucket_all_of.rb +206 -0
  54. data/lib/nodeum_sdk/models/by_metadata_facet.rb +218 -0
  55. data/lib/nodeum_sdk/models/by_metadata_facet_all_of.rb +206 -0
  56. data/lib/nodeum_sdk/models/by_metadata_key_bucket.rb +218 -0
  57. data/lib/nodeum_sdk/models/by_metadata_key_bucket_all_of.rb +206 -0
  58. data/lib/nodeum_sdk/models/by_metadata_key_buckets.rb +208 -0
  59. data/lib/nodeum_sdk/models/by_metadata_value_buckets.rb +208 -0
  60. data/lib/nodeum_sdk/models/by_task_metadata_facet.rb +218 -0
  61. data/lib/nodeum_sdk/models/by_task_metadata_facet_all_of.rb +206 -0
  62. data/lib/nodeum_sdk/models/cloud_bucket.rb +14 -4
  63. data/lib/nodeum_sdk/models/cloud_connector.rb +16 -6
  64. data/lib/nodeum_sdk/models/file_metadata_definition.rb +230 -0
  65. data/lib/nodeum_sdk/models/file_metadata_definition_collection.rb +217 -0
  66. data/lib/nodeum_sdk/models/metadata_definition.rb +285 -0
  67. data/lib/nodeum_sdk/models/task_facet.rb +22 -4
  68. data/lib/nodeum_sdk/models/task_facet_all_of.rb +22 -4
  69. data/lib/nodeum_sdk/models/task_facet_bucket.rb +22 -4
  70. data/lib/nodeum_sdk/models/task_facet_metadata_bucket.rb +295 -0
  71. data/lib/nodeum_sdk/models/task_facet_metadata_key_bucket.rb +218 -0
  72. data/lib/nodeum_sdk/models/task_facet_metadata_key_bucket_all_of.rb +206 -0
  73. data/lib/nodeum_sdk/models/task_facet_metadata_key_buckets.rb +208 -0
  74. data/lib/nodeum_sdk/models/task_facet_metadata_value_buckets.rb +208 -0
  75. data/lib/nodeum_sdk/models/task_metadata_definition.rb +288 -0
  76. data/lib/nodeum_sdk/models/task_metadata_definition_all_of.rb +276 -0
  77. data/lib/nodeum_sdk/models/task_metadata_definition_collection.rb +217 -0
  78. data/lib/nodeum_sdk/version.rb +1 -1
  79. data/spec/api/metadata_api_spec.rb +85 -0
  80. data/spec/models/by_metadata_bucket_all_of_spec.rb +41 -0
  81. data/spec/models/by_metadata_bucket_spec.rb +41 -0
  82. data/spec/models/by_metadata_facet_all_of_spec.rb +41 -0
  83. data/spec/models/by_metadata_facet_spec.rb +41 -0
  84. data/spec/models/by_metadata_key_bucket_all_of_spec.rb +41 -0
  85. data/spec/models/by_metadata_key_bucket_spec.rb +41 -0
  86. data/spec/models/by_metadata_key_buckets_spec.rb +41 -0
  87. data/spec/models/by_metadata_value_buckets_spec.rb +41 -0
  88. data/spec/models/by_task_metadata_facet_all_of_spec.rb +41 -0
  89. data/spec/models/by_task_metadata_facet_spec.rb +41 -0
  90. data/spec/models/file_metadata_definition_collection_spec.rb +47 -0
  91. data/spec/models/file_metadata_definition_spec.rb +35 -0
  92. data/spec/models/metadata_definition_spec.rb +75 -0
  93. data/spec/models/task_facet_metadata_bucket_spec.rb +95 -0
  94. data/spec/models/task_facet_metadata_key_bucket_all_of_spec.rb +41 -0
  95. data/spec/models/task_facet_metadata_key_bucket_spec.rb +41 -0
  96. data/spec/models/task_facet_metadata_key_buckets_spec.rb +41 -0
  97. data/spec/models/task_facet_metadata_value_buckets_spec.rb +41 -0
  98. data/spec/models/task_metadata_definition_all_of_spec.rb +69 -0
  99. data/spec/models/task_metadata_definition_collection_spec.rb +47 -0
  100. data/spec/models/task_metadata_definition_spec.rb +69 -0
  101. metadata +245 -157
@@ -0,0 +1,217 @@
1
+ =begin
2
+ #Nodeum API
3
+
4
+ #The Nodeum API makes it easy to tap into the digital data mesh that runs across your organisation. Make requests to our API endpoints and we’ll give you everything you need to interconnect your business workflows with your storage. All production API requests are made to: http://nodeumhostname/api/ The current production version of the API is v1. **REST** The Nodeum API is a RESTful API. This means that the API is designed to allow you to get, create, update, & delete objects with the HTTP verbs GET, POST, PUT, PATCH, & DELETE. **JSON** The Nodeum API speaks exclusively in JSON. This means that you should always set the Content-Type header to application/json to ensure that your requests are properly accepted and processed by the API. **Authentication** All API calls require user-password authentication. **Cross-Origin Resource Sharing** The Nodeum API supports CORS for communicating from Javascript for these endpoints. You will need to specify an Origin URI when creating your application to allow for CORS to be whitelisted for your domain. **Pagination** Some endpoints such as File Listing return a potentially lengthy array of objects. In order to keep the response sizes manageable the API will take advantage of pagination. Pagination is a mechanism for returning a subset of the results for a request and allowing for subsequent requests to “page” through the rest of the results until the end is reached. Paginated endpoints follow a standard interface that accepts two query parameters, limit and offset, and return a payload that follows a standard form. These parameters names and their behavior are borrowed from SQL LIMIT and OFFSET keywords. **Versioning** The Nodeum API is constantly being worked on to add features, make improvements, and fix bugs. This means that you should expect changes to be introduced and documented. However, there are some changes or additions that are considered backwards-compatible and your applications should be flexible enough to handle them. These include: - Adding new endpoints to the API - Adding new attributes to the response of an existing endpoint - Changing the order of attributes of responses (JSON by definition is an object of unordered key/value pairs) **Filter parameters** When browsing a list of items, multiple filter parameters may be applied. Some operators can be added to the value as a prefix: - `=` value is equal. Default operator, may be omitted - `!=` value is different - `>` greater than - `>=` greater than or equal - `<` lower than - `>=` lower than or equal - `><` included in list, items should be separated by `|` - `!><` not included in list, items should be separated by `|` - `~` pattern matching, may include `%` (any characters) and `_` (one character) - `!~` pattern not matching, may include `%` (any characters) and `_` (one character)
5
+
6
+ The version of the OpenAPI document: 2.1.0
7
+ Contact: info@nodeum.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module Nodeum
16
+ class TaskMetadataDefinitionCollection
17
+ attr_accessor :count
18
+
19
+ attr_accessor :task_metadata_definitions
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'count' => :'count',
25
+ :'task_metadata_definitions' => :'task_metadata_definitions'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.openapi_types
31
+ {
32
+ :'count' => :'Integer',
33
+ :'task_metadata_definitions' => :'Array<TaskMetadataDefinition>'
34
+ }
35
+ end
36
+
37
+ # List of attributes with nullable: true
38
+ def self.openapi_nullable
39
+ Set.new([
40
+ ])
41
+ end
42
+
43
+ # Initializes the object
44
+ # @param [Hash] attributes Model attributes in the form of hash
45
+ def initialize(attributes = {})
46
+ if (!attributes.is_a?(Hash))
47
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Nodeum::TaskMetadataDefinitionCollection` initialize method"
48
+ end
49
+
50
+ # check to see if the attribute exists and convert string to symbol for hash key
51
+ attributes = attributes.each_with_object({}) { |(k, v), h|
52
+ if (!self.class.attribute_map.key?(k.to_sym))
53
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Nodeum::TaskMetadataDefinitionCollection`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
54
+ end
55
+ h[k.to_sym] = v
56
+ }
57
+
58
+ if attributes.key?(:'count')
59
+ self.count = attributes[:'count']
60
+ end
61
+
62
+ if attributes.key?(:'task_metadata_definitions')
63
+ if (value = attributes[:'task_metadata_definitions']).is_a?(Array)
64
+ self.task_metadata_definitions = value
65
+ end
66
+ end
67
+ end
68
+
69
+ # Show invalid properties with the reasons. Usually used together with valid?
70
+ # @return Array for valid properties with the reasons
71
+ def list_invalid_properties
72
+ invalid_properties = Array.new
73
+ invalid_properties
74
+ end
75
+
76
+ # Check to see if the all the properties in the model are valid
77
+ # @return true if the model is valid
78
+ def valid?
79
+ true
80
+ end
81
+
82
+ # Checks equality by comparing each attribute.
83
+ # @param [Object] Object to be compared
84
+ def ==(o)
85
+ return true if self.equal?(o)
86
+ self.class == o.class &&
87
+ count == o.count &&
88
+ task_metadata_definitions == o.task_metadata_definitions
89
+ end
90
+
91
+ # @see the `==` method
92
+ # @param [Object] Object to be compared
93
+ def eql?(o)
94
+ self == o
95
+ end
96
+
97
+ # Calculates hash code according to all attributes.
98
+ # @return [Integer] Hash code
99
+ def hash
100
+ [count, task_metadata_definitions].hash
101
+ end
102
+
103
+ # Builds the object from hash
104
+ # @param [Hash] attributes Model attributes in the form of hash
105
+ # @return [Object] Returns the model itself
106
+ def self.build_from_hash(attributes)
107
+ new.build_from_hash(attributes)
108
+ end
109
+
110
+ # Builds the object from hash
111
+ # @param [Hash] attributes Model attributes in the form of hash
112
+ # @return [Object] Returns the model itself
113
+ def build_from_hash(attributes)
114
+ return nil unless attributes.is_a?(Hash)
115
+ self.class.openapi_types.each_pair do |key, type|
116
+ if type =~ /\AArray<(.*)>/i
117
+ # check to ensure the input is an array given that the attribute
118
+ # is documented as an array but the input is not
119
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
120
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
121
+ end
122
+ elsif !attributes[self.class.attribute_map[key]].nil?
123
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
124
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
125
+ end
126
+
127
+ self
128
+ end
129
+
130
+ # Deserializes the data based on type
131
+ # @param string type Data type
132
+ # @param string value Value to be deserialized
133
+ # @return [Object] Deserialized data
134
+ def _deserialize(type, value)
135
+ case type.to_sym
136
+ when :DateTime
137
+ DateTime.parse(value)
138
+ when :Date
139
+ Date.parse(value)
140
+ when :String
141
+ value.to_s
142
+ when :Integer
143
+ value.to_i
144
+ when :Float
145
+ value.to_f
146
+ when :Boolean
147
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
148
+ true
149
+ else
150
+ false
151
+ end
152
+ when :Object
153
+ # generic object (usually a Hash), return directly
154
+ value
155
+ when /\AArray<(?<inner_type>.+)>\z/
156
+ inner_type = Regexp.last_match[:inner_type]
157
+ value.map { |v| _deserialize(inner_type, v) }
158
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
159
+ k_type = Regexp.last_match[:k_type]
160
+ v_type = Regexp.last_match[:v_type]
161
+ {}.tap do |hash|
162
+ value.each do |k, v|
163
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
164
+ end
165
+ end
166
+ else # model
167
+ Nodeum.const_get(type).build_from_hash(value)
168
+ end
169
+ end
170
+
171
+ # Returns the string representation of the object
172
+ # @return [String] String presentation of the object
173
+ def to_s
174
+ to_hash.to_s
175
+ end
176
+
177
+ # to_body is an alias to to_hash (backward compatibility)
178
+ # @return [Hash] Returns the object in the form of hash
179
+ def to_body
180
+ to_hash
181
+ end
182
+
183
+ # Returns the object in the form of hash
184
+ # @return [Hash] Returns the object in the form of hash
185
+ def to_hash
186
+ hash = {}
187
+ self.class.attribute_map.each_pair do |attr, param|
188
+ value = self.send(attr)
189
+ if value.nil?
190
+ is_nullable = self.class.openapi_nullable.include?(attr)
191
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
192
+ end
193
+
194
+ hash[param] = _to_hash(value)
195
+ end
196
+ hash
197
+ end
198
+
199
+ # Outputs non-array value in the form of hash
200
+ # For object, use to_hash. Otherwise, just return the value
201
+ # @param [Object] value Any valid value
202
+ # @return [Hash] Returns the value in the form of hash
203
+ def _to_hash(value)
204
+ if value.is_a?(Array)
205
+ value.compact.map { |v| _to_hash(v) }
206
+ elsif value.is_a?(Hash)
207
+ {}.tap do |hash|
208
+ value.each { |k, v| hash[k] = _to_hash(v) }
209
+ end
210
+ elsif value.respond_to? :to_hash
211
+ value.to_hash
212
+ else
213
+ value
214
+ end
215
+ end
216
+ end
217
+ end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.0
11
11
  =end
12
12
 
13
13
  module Nodeum
14
- VERSION = '1.86.0'
14
+ VERSION = '1.87.0'
15
15
  end
@@ -0,0 +1,85 @@
1
+ =begin
2
+ #Nodeum API
3
+
4
+ #The Nodeum API makes it easy to tap into the digital data mesh that runs across your organisation. Make requests to our API endpoints and we’ll give you everything you need to interconnect your business workflows with your storage. All production API requests are made to: http://nodeumhostname/api/ The current production version of the API is v1. **REST** The Nodeum API is a RESTful API. This means that the API is designed to allow you to get, create, update, & delete objects with the HTTP verbs GET, POST, PUT, PATCH, & DELETE. **JSON** The Nodeum API speaks exclusively in JSON. This means that you should always set the Content-Type header to application/json to ensure that your requests are properly accepted and processed by the API. **Authentication** All API calls require user-password authentication. **Cross-Origin Resource Sharing** The Nodeum API supports CORS for communicating from Javascript for these endpoints. You will need to specify an Origin URI when creating your application to allow for CORS to be whitelisted for your domain. **Pagination** Some endpoints such as File Listing return a potentially lengthy array of objects. In order to keep the response sizes manageable the API will take advantage of pagination. Pagination is a mechanism for returning a subset of the results for a request and allowing for subsequent requests to “page” through the rest of the results until the end is reached. Paginated endpoints follow a standard interface that accepts two query parameters, limit and offset, and return a payload that follows a standard form. These parameters names and their behavior are borrowed from SQL LIMIT and OFFSET keywords. **Versioning** The Nodeum API is constantly being worked on to add features, make improvements, and fix bugs. This means that you should expect changes to be introduced and documented. However, there are some changes or additions that are considered backwards-compatible and your applications should be flexible enough to handle them. These include: - Adding new endpoints to the API - Adding new attributes to the response of an existing endpoint - Changing the order of attributes of responses (JSON by definition is an object of unordered key/value pairs) **Filter parameters** When browsing a list of items, multiple filter parameters may be applied. Some operators can be added to the value as a prefix: - `=` value is equal. Default operator, may be omitted - `!=` value is different - `>` greater than - `>=` greater than or equal - `<` lower than - `>=` lower than or equal - `><` included in list, items should be separated by `|` - `!><` not included in list, items should be separated by `|` - `~` pattern matching, may include `%` (any characters) and `_` (one character) - `!~` pattern not matching, may include `%` (any characters) and `_` (one character)
5
+
6
+ The version of the OpenAPI document: 2.1.0
7
+ Contact: info@nodeum.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Nodeum::MetadataApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'MetadataApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = Nodeum::MetadataApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of MetadataApi' do
30
+ it 'should create an instance of MetadataApi' do
31
+ expect(@api_instance).to be_instance_of(Nodeum::MetadataApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for index_file_metadata_definitions
36
+ # List file metadata definitions
37
+ # **API Key Scope**: file_metadata_definitions / index
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Integer] :limit The number of items to display for pagination.
40
+ # @option opts [Integer] :offset The number of items to skip for pagination.
41
+ # @return [FileMetadataDefinitionCollection]
42
+ describe 'index_file_metadata_definitions test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for index_task_metadata_definitions
49
+ # List task metadata definitions
50
+ # **API Key Scope**: task_metadata_definitions / index
51
+ # @param [Hash] opts the optional parameters
52
+ # @option opts [Integer] :limit The number of items to display for pagination.
53
+ # @option opts [Integer] :offset The number of items to skip for pagination.
54
+ # @return [TaskMetadataDefinitionCollection]
55
+ describe 'index_task_metadata_definitions test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
+ end
59
+ end
60
+
61
+ # unit tests for show_file_metadata_definition
62
+ # Displays a specific task metadata definition.
63
+ # **API Key Scope**: file_metadata_definitions / show
64
+ # @param metadata_definition_id Numeric ID or key of a metadata definition
65
+ # @param [Hash] opts the optional parameters
66
+ # @return [FileMetadataDefinition]
67
+ describe 'show_file_metadata_definition test' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ end
71
+ end
72
+
73
+ # unit tests for show_task_metadata_definition
74
+ # Displays a specific task metadata definition.
75
+ # **API Key Scope**: task_metadata_definitions / show
76
+ # @param metadata_definition_id Numeric ID or key of a metadata definition
77
+ # @param [Hash] opts the optional parameters
78
+ # @return [TaskMetadataDefinition]
79
+ describe 'show_task_metadata_definition test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
+ end
83
+ end
84
+
85
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Nodeum API
3
+
4
+ #The Nodeum API makes it easy to tap into the digital data mesh that runs across your organisation. Make requests to our API endpoints and we’ll give you everything you need to interconnect your business workflows with your storage. All production API requests are made to: http://nodeumhostname/api/ The current production version of the API is v1. **REST** The Nodeum API is a RESTful API. This means that the API is designed to allow you to get, create, update, & delete objects with the HTTP verbs GET, POST, PUT, PATCH, & DELETE. **JSON** The Nodeum API speaks exclusively in JSON. This means that you should always set the Content-Type header to application/json to ensure that your requests are properly accepted and processed by the API. **Authentication** All API calls require user-password authentication. **Cross-Origin Resource Sharing** The Nodeum API supports CORS for communicating from Javascript for these endpoints. You will need to specify an Origin URI when creating your application to allow for CORS to be whitelisted for your domain. **Pagination** Some endpoints such as File Listing return a potentially lengthy array of objects. In order to keep the response sizes manageable the API will take advantage of pagination. Pagination is a mechanism for returning a subset of the results for a request and allowing for subsequent requests to “page” through the rest of the results until the end is reached. Paginated endpoints follow a standard interface that accepts two query parameters, limit and offset, and return a payload that follows a standard form. These parameters names and their behavior are borrowed from SQL LIMIT and OFFSET keywords. **Versioning** The Nodeum API is constantly being worked on to add features, make improvements, and fix bugs. This means that you should expect changes to be introduced and documented. However, there are some changes or additions that are considered backwards-compatible and your applications should be flexible enough to handle them. These include: - Adding new endpoints to the API - Adding new attributes to the response of an existing endpoint - Changing the order of attributes of responses (JSON by definition is an object of unordered key/value pairs) **Filter parameters** When browsing a list of items, multiple filter parameters may be applied. Some operators can be added to the value as a prefix: - `=` value is equal. Default operator, may be omitted - `!=` value is different - `>` greater than - `>=` greater than or equal - `<` lower than - `>=` lower than or equal - `><` included in list, items should be separated by `|` - `!><` not included in list, items should be separated by `|` - `~` pattern matching, may include `%` (any characters) and `_` (one character) - `!~` pattern not matching, may include `%` (any characters) and `_` (one character)
5
+
6
+ The version of the OpenAPI document: 2.1.0
7
+ Contact: info@nodeum.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Nodeum::ByMetadataBucketAllOf
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ByMetadataBucketAllOf' do
21
+ before do
22
+ # run before each test
23
+ @instance = Nodeum::ByMetadataBucketAllOf.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ByMetadataBucketAllOf' do
31
+ it 'should create an instance of ByMetadataBucketAllOf' do
32
+ expect(@instance).to be_instance_of(Nodeum::ByMetadataBucketAllOf)
33
+ end
34
+ end
35
+ describe 'test attribute "val"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Nodeum API
3
+
4
+ #The Nodeum API makes it easy to tap into the digital data mesh that runs across your organisation. Make requests to our API endpoints and we’ll give you everything you need to interconnect your business workflows with your storage. All production API requests are made to: http://nodeumhostname/api/ The current production version of the API is v1. **REST** The Nodeum API is a RESTful API. This means that the API is designed to allow you to get, create, update, & delete objects with the HTTP verbs GET, POST, PUT, PATCH, & DELETE. **JSON** The Nodeum API speaks exclusively in JSON. This means that you should always set the Content-Type header to application/json to ensure that your requests are properly accepted and processed by the API. **Authentication** All API calls require user-password authentication. **Cross-Origin Resource Sharing** The Nodeum API supports CORS for communicating from Javascript for these endpoints. You will need to specify an Origin URI when creating your application to allow for CORS to be whitelisted for your domain. **Pagination** Some endpoints such as File Listing return a potentially lengthy array of objects. In order to keep the response sizes manageable the API will take advantage of pagination. Pagination is a mechanism for returning a subset of the results for a request and allowing for subsequent requests to “page” through the rest of the results until the end is reached. Paginated endpoints follow a standard interface that accepts two query parameters, limit and offset, and return a payload that follows a standard form. These parameters names and their behavior are borrowed from SQL LIMIT and OFFSET keywords. **Versioning** The Nodeum API is constantly being worked on to add features, make improvements, and fix bugs. This means that you should expect changes to be introduced and documented. However, there are some changes or additions that are considered backwards-compatible and your applications should be flexible enough to handle them. These include: - Adding new endpoints to the API - Adding new attributes to the response of an existing endpoint - Changing the order of attributes of responses (JSON by definition is an object of unordered key/value pairs) **Filter parameters** When browsing a list of items, multiple filter parameters may be applied. Some operators can be added to the value as a prefix: - `=` value is equal. Default operator, may be omitted - `!=` value is different - `>` greater than - `>=` greater than or equal - `<` lower than - `>=` lower than or equal - `><` included in list, items should be separated by `|` - `!><` not included in list, items should be separated by `|` - `~` pattern matching, may include `%` (any characters) and `_` (one character) - `!~` pattern not matching, may include `%` (any characters) and `_` (one character)
5
+
6
+ The version of the OpenAPI document: 2.1.0
7
+ Contact: info@nodeum.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Nodeum::ByMetadataBucket
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ByMetadataBucket' do
21
+ before do
22
+ # run before each test
23
+ @instance = Nodeum::ByMetadataBucket.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ByMetadataBucket' do
31
+ it 'should create an instance of ByMetadataBucket' do
32
+ expect(@instance).to be_instance_of(Nodeum::ByMetadataBucket)
33
+ end
34
+ end
35
+ describe 'test attribute "val"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Nodeum API
3
+
4
+ #The Nodeum API makes it easy to tap into the digital data mesh that runs across your organisation. Make requests to our API endpoints and we’ll give you everything you need to interconnect your business workflows with your storage. All production API requests are made to: http://nodeumhostname/api/ The current production version of the API is v1. **REST** The Nodeum API is a RESTful API. This means that the API is designed to allow you to get, create, update, & delete objects with the HTTP verbs GET, POST, PUT, PATCH, & DELETE. **JSON** The Nodeum API speaks exclusively in JSON. This means that you should always set the Content-Type header to application/json to ensure that your requests are properly accepted and processed by the API. **Authentication** All API calls require user-password authentication. **Cross-Origin Resource Sharing** The Nodeum API supports CORS for communicating from Javascript for these endpoints. You will need to specify an Origin URI when creating your application to allow for CORS to be whitelisted for your domain. **Pagination** Some endpoints such as File Listing return a potentially lengthy array of objects. In order to keep the response sizes manageable the API will take advantage of pagination. Pagination is a mechanism for returning a subset of the results for a request and allowing for subsequent requests to “page” through the rest of the results until the end is reached. Paginated endpoints follow a standard interface that accepts two query parameters, limit and offset, and return a payload that follows a standard form. These parameters names and their behavior are borrowed from SQL LIMIT and OFFSET keywords. **Versioning** The Nodeum API is constantly being worked on to add features, make improvements, and fix bugs. This means that you should expect changes to be introduced and documented. However, there are some changes or additions that are considered backwards-compatible and your applications should be flexible enough to handle them. These include: - Adding new endpoints to the API - Adding new attributes to the response of an existing endpoint - Changing the order of attributes of responses (JSON by definition is an object of unordered key/value pairs) **Filter parameters** When browsing a list of items, multiple filter parameters may be applied. Some operators can be added to the value as a prefix: - `=` value is equal. Default operator, may be omitted - `!=` value is different - `>` greater than - `>=` greater than or equal - `<` lower than - `>=` lower than or equal - `><` included in list, items should be separated by `|` - `!><` not included in list, items should be separated by `|` - `~` pattern matching, may include `%` (any characters) and `_` (one character) - `!~` pattern not matching, may include `%` (any characters) and `_` (one character)
5
+
6
+ The version of the OpenAPI document: 2.1.0
7
+ Contact: info@nodeum.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Nodeum::ByMetadataFacetAllOf
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ByMetadataFacetAllOf' do
21
+ before do
22
+ # run before each test
23
+ @instance = Nodeum::ByMetadataFacetAllOf.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ByMetadataFacetAllOf' do
31
+ it 'should create an instance of ByMetadataFacetAllOf' do
32
+ expect(@instance).to be_instance_of(Nodeum::ByMetadataFacetAllOf)
33
+ end
34
+ end
35
+ describe 'test attribute "meta_key_s"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Nodeum API
3
+
4
+ #The Nodeum API makes it easy to tap into the digital data mesh that runs across your organisation. Make requests to our API endpoints and we’ll give you everything you need to interconnect your business workflows with your storage. All production API requests are made to: http://nodeumhostname/api/ The current production version of the API is v1. **REST** The Nodeum API is a RESTful API. This means that the API is designed to allow you to get, create, update, & delete objects with the HTTP verbs GET, POST, PUT, PATCH, & DELETE. **JSON** The Nodeum API speaks exclusively in JSON. This means that you should always set the Content-Type header to application/json to ensure that your requests are properly accepted and processed by the API. **Authentication** All API calls require user-password authentication. **Cross-Origin Resource Sharing** The Nodeum API supports CORS for communicating from Javascript for these endpoints. You will need to specify an Origin URI when creating your application to allow for CORS to be whitelisted for your domain. **Pagination** Some endpoints such as File Listing return a potentially lengthy array of objects. In order to keep the response sizes manageable the API will take advantage of pagination. Pagination is a mechanism for returning a subset of the results for a request and allowing for subsequent requests to “page” through the rest of the results until the end is reached. Paginated endpoints follow a standard interface that accepts two query parameters, limit and offset, and return a payload that follows a standard form. These parameters names and their behavior are borrowed from SQL LIMIT and OFFSET keywords. **Versioning** The Nodeum API is constantly being worked on to add features, make improvements, and fix bugs. This means that you should expect changes to be introduced and documented. However, there are some changes or additions that are considered backwards-compatible and your applications should be flexible enough to handle them. These include: - Adding new endpoints to the API - Adding new attributes to the response of an existing endpoint - Changing the order of attributes of responses (JSON by definition is an object of unordered key/value pairs) **Filter parameters** When browsing a list of items, multiple filter parameters may be applied. Some operators can be added to the value as a prefix: - `=` value is equal. Default operator, may be omitted - `!=` value is different - `>` greater than - `>=` greater than or equal - `<` lower than - `>=` lower than or equal - `><` included in list, items should be separated by `|` - `!><` not included in list, items should be separated by `|` - `~` pattern matching, may include `%` (any characters) and `_` (one character) - `!~` pattern not matching, may include `%` (any characters) and `_` (one character)
5
+
6
+ The version of the OpenAPI document: 2.1.0
7
+ Contact: info@nodeum.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Nodeum::ByMetadataFacet
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ByMetadataFacet' do
21
+ before do
22
+ # run before each test
23
+ @instance = Nodeum::ByMetadataFacet.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ByMetadataFacet' do
31
+ it 'should create an instance of ByMetadataFacet' do
32
+ expect(@instance).to be_instance_of(Nodeum::ByMetadataFacet)
33
+ end
34
+ end
35
+ describe 'test attribute "meta_key_s"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end