blueprint_ruby_client 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3ecc2e00660942c6cbcae756042cb7e190dd961
4
- data.tar.gz: 0d914e081bd68253b72afab0496a8ff08ff1b338
3
+ metadata.gz: 356d850858d04c2b38d91842225b122dfa80530d
4
+ data.tar.gz: 8fa9b7ef19f2e3e3548542ef30bc5ebe51188e68
5
5
  SHA512:
6
- metadata.gz: c76c98f1c6743a584d04c07526400ed30cf1d8560199d1293b05aefcb4cf687fe24f3e9c37999c2cdca05f040af4566c11aa5f71e85034b7461d7d4fd4e4ad2f
7
- data.tar.gz: 8ca12a1f09bda926520511e0f1b4f4cbeaacc2674fc3583e27423385a4b6ebd7ebc9cd7c2bfdad30577ad1d270bb81de21f7159e9cce9b77a373aeda29059471
6
+ metadata.gz: 5977564f83f6e69c64f7db896566b1218aca7d90ec17494a5dc332811f3ff7139c8587b660f7713f0a89ed5358b259f838d357b881470cba96b9a9b192210c2c
7
+ data.tar.gz: c7642904d78cf13c13b6d20ecb1c1bc55f1750f91d7e8ace142f90fbf646a771039a20776467e0f1521c266ef7f021b9cbaffaa9e4e4e1be09e577da99517e28
data/README.md CHANGED
@@ -7,8 +7,8 @@ This is the API documentation for [Blueprint](https://github.com/talis/blueprint
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 1.0.0
10
- - Package version: 0.1.0
11
- - Build date: 2016-05-03T09:58:50.059+01:00
10
+ - Package version: 0.2.0
11
+ - Build date: 2016-05-13T09:15:28.794+01:00
12
12
  - Build package: class io.swagger.codegen.languages.RubyClientCodegen
13
13
 
14
14
  ## Installation
@@ -34,15 +34,15 @@ gem build blueprint_ruby_client.gemspec
34
34
  Then either install the gem locally:
35
35
 
36
36
  ```shell
37
- gem install ./blueprint_ruby_client-0.1.0.gem
37
+ gem install ./blueprint_ruby_client-0.2.0.gem
38
38
  ```
39
- (for development, run `gem install --dev ./blueprint_ruby_client-0.1.0.gem` to install the development dependencies)
39
+ (for development, run `gem install --dev ./blueprint_ruby_client-0.2.0.gem` to install the development dependencies)
40
40
 
41
41
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
42
42
 
43
43
  Finally add this to the Gemfile:
44
44
 
45
- gem 'blueprint_ruby_client', '~> 0.1.0'
45
+ gem 'blueprint_ruby_client', '~> 0.2.0'
46
46
 
47
47
  ### Install from Git
48
48
 
@@ -122,12 +122,14 @@ Class | Method | HTTP request | Description
122
122
  ## Documentation for Models
123
123
 
124
124
  - [BlueprintClient::Asset](docs/Asset.md)
125
+ - [BlueprintClient::AssetAttributes](docs/AssetAttributes.md)
125
126
  - [BlueprintClient::AssetBody](docs/AssetBody.md)
126
127
  - [BlueprintClient::AssetResultSet](docs/AssetResultSet.md)
127
128
  - [BlueprintClient::Error](docs/Error.md)
128
129
  - [BlueprintClient::Errors](docs/Errors.md)
129
130
  - [BlueprintClient::Links](docs/Links.md)
130
131
  - [BlueprintClient::Meta](docs/Meta.md)
132
+ - [BlueprintClient::MixedResourceResultSet](docs/MixedResourceResultSet.md)
131
133
  - [BlueprintClient::Namespace](docs/Namespace.md)
132
134
  - [BlueprintClient::NamespaceRelationship](docs/NamespaceRelationship.md)
133
135
  - [BlueprintClient::Node](docs/Node.md)
@@ -136,6 +138,7 @@ Class | Method | HTTP request | Description
136
138
  - [BlueprintClient::NodeRelationship](docs/NodeRelationship.md)
137
139
  - [BlueprintClient::NodeRelationships](docs/NodeRelationships.md)
138
140
  - [BlueprintClient::NodeResultSet](docs/NodeResultSet.md)
141
+ - [BlueprintClient::Resource](docs/Resource.md)
139
142
 
140
143
 
141
144
  ## Documentation for Authorization
data/config.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "gemName": "blueprint_ruby_client",
3
3
  "moduleName": "BlueprintClient",
4
- "gemVersion": "0.1.0",
4
+ "gemVersion": "0.2.0",
5
5
  "gemLicense": "Copyright Talis Education Ltd",
6
6
  "gemHomepage": "https://github.com/talis/blueprint_rb",
7
7
  "gemSummary": "A ruby API wrapper for Blueprint",
data/docs/Asset.md CHANGED
@@ -3,7 +3,8 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **id** | **String** | |
6
+ **id** | **String** | the unique id of the resource of a given type. |
7
7
  **type** | **String** | |
8
+ **attributes** | **Object** | | [optional]
8
9
 
9
10
 
@@ -0,0 +1,8 @@
1
+ # BlueprintClient::AssetAttributes
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **attributes** | **Object** | | [optional]
7
+
8
+
@@ -5,5 +5,6 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **meta** | [**Meta**](Meta.md) | | [optional]
7
7
  **data** | [**Array<Asset>**](Asset.md) | | [optional]
8
+ **included** | [**Array<MixedResourceResultSet>**](MixedResourceResultSet.md) | | [optional]
8
9
 
9
10
 
data/docs/AssetsApi.md CHANGED
@@ -215,7 +215,7 @@ type = "type_example" # String | Plural form of node type (adds an 's' to the en
215
215
  id = "id_example" # String | id identifying a domain model
216
216
 
217
217
  opts = {
218
- filter_asset_type: "filter_asset_type_example", # String | type of asset to return
218
+ filter_asset_type: ["filter_asset_type_example"], # Array<String> | type of asset to return
219
219
  offset: 3.4, # Float | index to start result set from
220
220
  limit: 3.4 # Float | number of records to return
221
221
  }
@@ -235,7 +235,7 @@ Name | Type | Description | Notes
235
235
  **namespace** | **String**| identifier namespacing the blueprint. |
236
236
  **type** | **String**| Plural form of node type (adds an &#39;s&#39; to the end of the type) todo - allow configuration of plurals |
237
237
  **id** | **String**| id identifying a domain model |
238
- **filter_asset_type** | **String**| type of asset to return | [optional]
238
+ **filter_asset_type** | [**Array&lt;String&gt;**](String.md)| type of asset to return | [optional]
239
239
  **offset** | [**Float**](.md)| index to start result set from | [optional]
240
240
  **limit** | [**Float**](.md)| number of records to return | [optional]
241
241
 
@@ -317,7 +317,7 @@ nil (empty response body)
317
317
 
318
318
 
319
319
  # **replace_asset**
320
- > AssetBody replace_asset(namespace, asset_idasset_type, )
320
+ > AssetBody replace_asset(namespace, asset_idasset_type, , opts)
321
321
 
322
322
  Replaces the Asset with the data sent in the body
323
323
 
@@ -341,10 +341,13 @@ asset_id = "asset_id_example" # String | id of an asset
341
341
 
342
342
  asset_type = "asset_type_example" # String | Plural form of asset type (adds an 's' to the end of the type) todo - allow configuration of plurals
343
343
 
344
+ opts = {
345
+ body: BlueprintClient::AssetBody.new # AssetBody | asset
346
+ }
344
347
 
345
348
  begin
346
349
  #Replaces the Asset with the data sent in the body
347
- result = api_instance.replace_asset(namespace, asset_idasset_type, )
350
+ result = api_instance.replace_asset(namespace, asset_idasset_type, , opts)
348
351
  p result
349
352
  rescue BlueprintClient::ApiError => e
350
353
  puts "Exception when calling AssetsApi->replace_asset: #{e}"
@@ -358,6 +361,7 @@ Name | Type | Description | Notes
358
361
  **namespace** | **String**| identifier namespacing the blueprint. |
359
362
  **asset_id** | **String**| id of an asset |
360
363
  **asset_type** | **String**| Plural form of asset type (adds an &#39;s&#39; to the end of the type) todo - allow configuration of plurals |
364
+ **body** | [**AssetBody**](AssetBody.md)| asset | [optional]
361
365
 
362
366
  ### Return type
363
367
 
data/docs/HierarchyApi.md CHANGED
@@ -446,7 +446,7 @@ id = "id_example" # String | id identifying a domain model
446
446
  type = "type_example" # String | Plural form of node type (adds an 's' to the end of the type) todo - allow configuration of plurals
447
447
 
448
448
  opts = {
449
- includes: "includes_example" # String | comma separated list of elements to hydrate. Can include children, ancestors or both
449
+ include: ["include_example"] # Array<String> | comma separated list of elements to hydrate. Can include children, parents, and/or assets
450
450
  }
451
451
 
452
452
  begin
@@ -465,7 +465,7 @@ Name | Type | Description | Notes
465
465
  **namespace** | **String**| identifier namespacing the blueprint. |
466
466
  **id** | **String**| id identifying a domain model |
467
467
  **type** | **String**| Plural form of node type (adds an &#39;s&#39; to the end of the type) todo - allow configuration of plurals |
468
- **includes** | **String**| comma separated list of elements to hydrate. Can include children, ancestors or both | [optional]
468
+ **include** | [**Array&lt;String&gt;**](String.md)| comma separated list of elements to hydrate. Can include children, parents, and/or assets | [optional]
469
469
 
470
470
  ### Return type
471
471
 
@@ -631,13 +631,14 @@ namespace_inc_global = "namespace_inc_global_example" # String | identifier name
631
631
  opts = {
632
632
  offset: 3.4, # Float | index to start result set from
633
633
  limit: 3.4 # Float | number of records to return
634
- filter_node_type: "filter_node_type_example", # String | type of nodes to return
635
- filter_child: "filter_child_example", # String | limit to nodes with children matching code
636
- filter_parent: "filter_parent_example", # String | limit to nodes with parent matching code
637
- filter_ancestor: "filter_ancestor_example", # String | limit to nodes with ancestor matching code
638
- filter_descendant: "filter_descendant_example", # String | limit to nodes with descendant matching code
634
+ include: ["include_example"] # Array<String> | comma separated list of elements to hydrate. Can include children, parents, and/or assets
635
+ filter_node_type: ["filter_node_type_example"], # Array<String> | type of nodes to return
636
+ filter_child: ["filter_child_example"], # Array<String> | limit to nodes with children matching type/code
637
+ filter_parent: ["filter_parent_example"], # Array<String> | limit to nodes with parent matching type/code
638
+ filter_ancestor: ["filter_ancestor_example"], # Array<String> | limit to nodes with ancestor matching type/code
639
+ filter_descendant: ["filter_descendant_example"], # Array<String> | limit to nodes with descendant matching type/code
639
640
  filter_has_assets: true, # BOOLEAN | limit to either nodes that have assets (true) nodes that have no assets (false) or omit to consider both nodes with and without assets
640
- filter_asset_type: "filter_asset_type_example", # String | type of asset to return
641
+ filter_asset_type: ["filter_asset_type_example"], # Array<String> | type of asset to return
641
642
  filter_from: Date.parse("2013-10-20"), # Date | limit to results valid after this date, format is ISO8601 date
642
643
  filter_to: Date.parse("2013-10-20") # Date | limit to results valid before this date, format is ISO8601
643
644
  }
@@ -658,13 +659,14 @@ Name | Type | Description | Notes
658
659
  **namespace_inc_global** | **String**| identifier namespacing the blueprint. `global` is a special namespace which references data from all blueprints in the call. |
659
660
  **offset** | [**Float**](.md)| index to start result set from | [optional]
660
661
  **limit** | [**Float**](.md)| number of records to return | [optional]
661
- **filter_node_type** | **String**| type of nodes to return | [optional]
662
- **filter_child** | **String**| limit to nodes with children matching code | [optional]
663
- **filter_parent** | **String**| limit to nodes with parent matching code | [optional]
664
- **filter_ancestor** | **String**| limit to nodes with ancestor matching code | [optional]
665
- **filter_descendant** | **String**| limit to nodes with descendant matching code | [optional]
662
+ **include** | [**Array&lt;String&gt;**](String.md)| comma separated list of elements to hydrate. Can include children, parents, and/or assets | [optional]
663
+ **filter_node_type** | [**Array&lt;String&gt;**](String.md)| type of nodes to return | [optional]
664
+ **filter_child** | [**Array&lt;String&gt;**](String.md)| limit to nodes with children matching type/code | [optional]
665
+ **filter_parent** | [**Array&lt;String&gt;**](String.md)| limit to nodes with parent matching type/code | [optional]
666
+ **filter_ancestor** | [**Array&lt;String&gt;**](String.md)| limit to nodes with ancestor matching type/code | [optional]
667
+ **filter_descendant** | [**Array&lt;String&gt;**](String.md)| limit to nodes with descendant matching type/code | [optional]
666
668
  **filter_has_assets** | **BOOLEAN**| limit to either nodes that have assets (true) nodes that have no assets (false) or omit to consider both nodes with and without assets | [optional]
667
- **filter_asset_type** | **String**| type of asset to return | [optional]
669
+ **filter_asset_type** | [**Array&lt;String&gt;**](String.md)| type of asset to return | [optional]
668
670
  **filter_from** | **Date**| limit to results valid after this date, format is ISO8601 date | [optional]
669
671
  **filter_to** | **Date**| limit to results valid before this date, format is ISO8601 | [optional]
670
672
 
@@ -0,0 +1,7 @@
1
+ # BlueprintClient::MixedResourceResultSet
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+
7
+
data/docs/Node.md CHANGED
@@ -3,7 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **id** | **String** | the unique id of the node of a given type. |
6
+ **id** | **String** | the unique id of the resource of a given type. |
7
7
  **type** | **String** | |
8
8
  **attributes** | [**NodeAttributes**](NodeAttributes.md) | | [optional]
9
9
  **relationships** | [**NodeRelationships**](NodeRelationships.md) | | [optional]
@@ -5,6 +5,6 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **meta** | [**Meta**](Meta.md) | | [optional]
7
7
  **data** | [**Array&lt;Node&gt;**](Node.md) | | [optional]
8
- **included** | [**Array&lt;Node&gt;**](Node.md) | | [optional]
8
+ **included** | [**Array&lt;MixedResourceResultSet&gt;**](MixedResourceResultSet.md) | | [optional]
9
9
 
10
10
 
data/docs/Resource.md ADDED
@@ -0,0 +1,9 @@
1
+ # BlueprintClient::Resource
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | the unique id of the resource of a given type. |
7
+ **type** | **String** | |
8
+
9
+
@@ -18,12 +18,14 @@ require 'blueprint_ruby_client/configuration'
18
18
 
19
19
  # Models
20
20
  require 'blueprint_ruby_client/models/asset'
21
+ require 'blueprint_ruby_client/models/asset_attributes'
21
22
  require 'blueprint_ruby_client/models/asset_body'
22
23
  require 'blueprint_ruby_client/models/asset_result_set'
23
24
  require 'blueprint_ruby_client/models/error'
24
25
  require 'blueprint_ruby_client/models/errors'
25
26
  require 'blueprint_ruby_client/models/links'
26
27
  require 'blueprint_ruby_client/models/meta'
28
+ require 'blueprint_ruby_client/models/mixed_resource_result_set'
27
29
  require 'blueprint_ruby_client/models/namespace'
28
30
  require 'blueprint_ruby_client/models/namespace_relationship'
29
31
  require 'blueprint_ruby_client/models/node'
@@ -32,6 +34,7 @@ require 'blueprint_ruby_client/models/node_body'
32
34
  require 'blueprint_ruby_client/models/node_relationship'
33
35
  require 'blueprint_ruby_client/models/node_relationships'
34
36
  require 'blueprint_ruby_client/models/node_result_set'
37
+ require 'blueprint_ruby_client/models/resource'
35
38
 
36
39
  # APIs
37
40
  require 'blueprint_ruby_client/api/assets_api'
@@ -300,7 +300,7 @@ module BlueprintClient
300
300
  # @param type Plural form of node type (adds an &#39;s&#39; to the end of the type) todo - allow configuration of plurals
301
301
  # @param id id identifying a domain model
302
302
  # @param [Hash] opts the optional parameters
303
- # @option opts [String] :filter_asset_type type of asset to return
303
+ # @option opts [Array<String>] :filter_asset_type type of asset to return
304
304
  # @option opts [Float] :offset index to start result set from
305
305
  # @option opts [Float] :limit number of records to return
306
306
  # @return [AssetResultSet]
@@ -315,7 +315,7 @@ module BlueprintClient
315
315
  # @param type Plural form of node type (adds an &#39;s&#39; to the end of the type) todo - allow configuration of plurals
316
316
  # @param id id identifying a domain model
317
317
  # @param [Hash] opts the optional parameters
318
- # @option opts [String] :filter_asset_type type of asset to return
318
+ # @option opts [Array<String>] :filter_asset_type type of asset to return
319
319
  # @option opts [Float] :offset index to start result set from
320
320
  # @option opts [Float] :limit number of records to return
321
321
  # @return [Array<(AssetResultSet, Fixnum, Hash)>] AssetResultSet data, response status code and response headers
@@ -371,7 +371,7 @@ module BlueprintClient
371
371
 
372
372
  # query parameters
373
373
  query_params = {}
374
- query_params[:'filter[assetType]'] = opts[:'filter_asset_type'] if opts[:'filter_asset_type']
374
+ query_params[:'filter[assetType]'] = @api_client.build_collection_param(opts[:'filter_asset_type'], :csv) if opts[:'filter_asset_type']
375
375
  query_params[:'offset'] = opts[:'offset'] if opts[:'offset']
376
376
  query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
377
377
 
@@ -516,6 +516,7 @@ module BlueprintClient
516
516
  # @param asset_id id of an asset
517
517
  # @param asset_type Plural form of asset type (adds an &#39;s&#39; to the end of the type) todo - allow configuration of plurals
518
518
  # @param [Hash] opts the optional parameters
519
+ # @option opts [AssetBody] :body asset
519
520
  # @return [AssetBody]
520
521
  def replace_asset(namespace, asset_id, asset_type, opts = {})
521
522
  data, _status_code, _headers = replace_asset_with_http_info(namespace, asset_id, asset_type, opts)
@@ -528,6 +529,7 @@ module BlueprintClient
528
529
  # @param asset_id id of an asset
529
530
  # @param asset_type Plural form of asset type (adds an &#39;s&#39; to the end of the type) todo - allow configuration of plurals
530
531
  # @param [Hash] opts the optional parameters
532
+ # @option opts [AssetBody] :body asset
531
533
  # @return [Array<(AssetBody, Fixnum, Hash)>] AssetBody data, response status code and response headers
532
534
  def replace_asset_with_http_info(namespace, asset_id, asset_type, opts = {})
533
535
  if @api_client.config.debugging
@@ -558,6 +560,12 @@ module BlueprintClient
558
560
 
559
561
 
560
562
 
563
+
564
+
565
+
566
+
567
+
568
+
561
569
  # resource path
562
570
  local_var_path = "/{namespace}/assets/{assetType}/{assetId}".sub('{format}','json').sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'assetId' + '}', asset_id.to_s).sub('{' + 'assetType' + '}', asset_type.to_s)
563
571
 
@@ -579,7 +587,7 @@ module BlueprintClient
579
587
  form_params = {}
580
588
 
581
589
  # http body (model)
582
- post_body = nil
590
+ post_body = @api_client.object_to_http_body(opts[:'body'])
583
591
 
584
592
  auth_names = ['oauth2']
585
593
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
@@ -622,7 +622,7 @@ module BlueprintClient
622
622
  # @param id id identifying a domain model
623
623
  # @param type Plural form of node type (adds an &#39;s&#39; to the end of the type) todo - allow configuration of plurals
624
624
  # @param [Hash] opts the optional parameters
625
- # @option opts [String] :includes comma separated list of elements to hydrate. Can include children, ancestors or both
625
+ # @option opts [Array<String>] :include comma separated list of elements to hydrate. Can include children, parents, and/or assets
626
626
  # @return [NodeBody]
627
627
  def get_node(namespace, id, type, opts = {})
628
628
  data, _status_code, _headers = get_node_with_http_info(namespace, id, type, opts)
@@ -635,7 +635,7 @@ module BlueprintClient
635
635
  # @param id id identifying a domain model
636
636
  # @param type Plural form of node type (adds an &#39;s&#39; to the end of the type) todo - allow configuration of plurals
637
637
  # @param [Hash] opts the optional parameters
638
- # @option opts [String] :includes comma separated list of elements to hydrate. Can include children, ancestors or both
638
+ # @option opts [Array<String>] :include comma separated list of elements to hydrate. Can include children, parents, and/or assets
639
639
  # @return [Array<(NodeBody, Fixnum, Hash)>] NodeBody data, response status code and response headers
640
640
  def get_node_with_http_info(namespace, id, type, opts = {})
641
641
  if @api_client.config.debugging
@@ -669,10 +669,6 @@ module BlueprintClient
669
669
 
670
670
 
671
671
 
672
- if opts[:'includes'] && !['children', 'ancestors', 'children,ancestors', 'ancestors,children'].include?(opts[:'includes'])
673
- fail ArgumentError, 'invalid value for "includes", must be one of children, ancestors, children,ancestors, ancestors,children'
674
- end
675
-
676
672
 
677
673
 
678
674
 
@@ -681,7 +677,7 @@ module BlueprintClient
681
677
 
682
678
  # query parameters
683
679
  query_params = {}
684
- query_params[:'includes'] = opts[:'includes'] if opts[:'includes']
680
+ query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if opts[:'include']
685
681
 
686
682
  # header parameters
687
683
  header_params = {}
@@ -918,13 +914,14 @@ module BlueprintClient
918
914
  # @param [Hash] opts the optional parameters
919
915
  # @option opts [Float] :offset index to start result set from
920
916
  # @option opts [Float] :limit number of records to return
921
- # @option opts [String] :filter_node_type type of nodes to return
922
- # @option opts [String] :filter_child limit to nodes with children matching code
923
- # @option opts [String] :filter_parent limit to nodes with parent matching code
924
- # @option opts [String] :filter_ancestor limit to nodes with ancestor matching code
925
- # @option opts [String] :filter_descendant limit to nodes with descendant matching code
917
+ # @option opts [Array<String>] :include comma separated list of elements to hydrate. Can include children, parents, and/or assets
918
+ # @option opts [Array<String>] :filter_node_type type of nodes to return
919
+ # @option opts [Array<String>] :filter_child limit to nodes with children matching type/code
920
+ # @option opts [Array<String>] :filter_parent limit to nodes with parent matching type/code
921
+ # @option opts [Array<String>] :filter_ancestor limit to nodes with ancestor matching type/code
922
+ # @option opts [Array<String>] :filter_descendant limit to nodes with descendant matching type/code
926
923
  # @option opts [BOOLEAN] :filter_has_assets limit to either nodes that have assets (true) nodes that have no assets (false) or omit to consider both nodes with and without assets
927
- # @option opts [String] :filter_asset_type type of asset to return
924
+ # @option opts [Array<String>] :filter_asset_type type of asset to return
928
925
  # @option opts [Date] :filter_from limit to results valid after this date, format is ISO8601 date
929
926
  # @option opts [Date] :filter_to limit to results valid before this date, format is ISO8601
930
927
  # @return [NodeResultSet]
@@ -939,13 +936,14 @@ module BlueprintClient
939
936
  # @param [Hash] opts the optional parameters
940
937
  # @option opts [Float] :offset index to start result set from
941
938
  # @option opts [Float] :limit number of records to return
942
- # @option opts [String] :filter_node_type type of nodes to return
943
- # @option opts [String] :filter_child limit to nodes with children matching code
944
- # @option opts [String] :filter_parent limit to nodes with parent matching code
945
- # @option opts [String] :filter_ancestor limit to nodes with ancestor matching code
946
- # @option opts [String] :filter_descendant limit to nodes with descendant matching code
939
+ # @option opts [Array<String>] :include comma separated list of elements to hydrate. Can include children, parents, and/or assets
940
+ # @option opts [Array<String>] :filter_node_type type of nodes to return
941
+ # @option opts [Array<String>] :filter_child limit to nodes with children matching type/code
942
+ # @option opts [Array<String>] :filter_parent limit to nodes with parent matching type/code
943
+ # @option opts [Array<String>] :filter_ancestor limit to nodes with ancestor matching type/code
944
+ # @option opts [Array<String>] :filter_descendant limit to nodes with descendant matching type/code
947
945
  # @option opts [BOOLEAN] :filter_has_assets limit to either nodes that have assets (true) nodes that have no assets (false) or omit to consider both nodes with and without assets
948
- # @option opts [String] :filter_asset_type type of asset to return
946
+ # @option opts [Array<String>] :filter_asset_type type of asset to return
949
947
  # @option opts [Date] :filter_from limit to results valid after this date, format is ISO8601 date
950
948
  # @option opts [Date] :filter_to limit to results valid before this date, format is ISO8601
951
949
  # @return [Array<(NodeResultSet, Fixnum, Hash)>] NodeResultSet data, response status code and response headers
@@ -1021,6 +1019,12 @@ module BlueprintClient
1021
1019
 
1022
1020
 
1023
1021
 
1022
+
1023
+
1024
+
1025
+
1026
+
1027
+
1024
1028
 
1025
1029
 
1026
1030
 
@@ -1035,13 +1039,14 @@ module BlueprintClient
1035
1039
  query_params = {}
1036
1040
  query_params[:'offset'] = opts[:'offset'] if opts[:'offset']
1037
1041
  query_params[:'limit'] = opts[:'limit'] if opts[:'limit']
1038
- query_params[:'filter[nodeType]'] = opts[:'filter_node_type'] if opts[:'filter_node_type']
1039
- query_params[:'filter[child]'] = opts[:'filter_child'] if opts[:'filter_child']
1040
- query_params[:'filter[parent]'] = opts[:'filter_parent'] if opts[:'filter_parent']
1041
- query_params[:'filter[ancestor]'] = opts[:'filter_ancestor'] if opts[:'filter_ancestor']
1042
- query_params[:'filter[descendant]'] = opts[:'filter_descendant'] if opts[:'filter_descendant']
1042
+ query_params[:'include'] = @api_client.build_collection_param(opts[:'include'], :csv) if opts[:'include']
1043
+ query_params[:'filter[nodeType]'] = @api_client.build_collection_param(opts[:'filter_node_type'], :csv) if opts[:'filter_node_type']
1044
+ query_params[:'filter[child]'] = @api_client.build_collection_param(opts[:'filter_child'], :csv) if opts[:'filter_child']
1045
+ query_params[:'filter[parent]'] = @api_client.build_collection_param(opts[:'filter_parent'], :csv) if opts[:'filter_parent']
1046
+ query_params[:'filter[ancestor]'] = @api_client.build_collection_param(opts[:'filter_ancestor'], :csv) if opts[:'filter_ancestor']
1047
+ query_params[:'filter[descendant]'] = @api_client.build_collection_param(opts[:'filter_descendant'], :csv) if opts[:'filter_descendant']
1043
1048
  query_params[:'filter[hasAssets]'] = opts[:'filter_has_assets'] if opts[:'filter_has_assets']
1044
- query_params[:'filter[assetType]'] = opts[:'filter_asset_type'] if opts[:'filter_asset_type']
1049
+ query_params[:'filter[assetType]'] = @api_client.build_collection_param(opts[:'filter_asset_type'], :csv) if opts[:'filter_asset_type']
1045
1050
  query_params[:'filter[from]'] = opts[:'filter_from'] if opts[:'filter_from']
1046
1051
  query_params[:'filter[to]'] = opts[:'filter_to'] if opts[:'filter_to']
1047
1052