ddr_client 2.0.0.d9f2bd2b

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +168 -0
  4. data/Rakefile +8 -0
  5. data/ddr_client.gemspec +46 -0
  6. data/docs/BatchObjectsApi.md +125 -0
  7. data/docs/BatchesApi.md +305 -0
  8. data/docs/DdrAPIBatchEntity.md +24 -0
  9. data/docs/DdrAPIBatchEntityLogfile.md +11 -0
  10. data/docs/DdrAPIBatchObjectAttributeEntity.md +16 -0
  11. data/docs/DdrAPIBatchObjectDatastreamEntity.md +17 -0
  12. data/docs/DdrAPIBatchObjectEntity.md +26 -0
  13. data/docs/DdrAPIBatchObjectMessageEntity.md +13 -0
  14. data/docs/DdrAPIBatchObjectRelationshipEntity.md +15 -0
  15. data/docs/DdrAPIBatchObjectRoleEntity.md +15 -0
  16. data/docs/DdrAPIEventEntity.md +17 -0
  17. data/docs/DdrAPIFileEntity.md +11 -0
  18. data/docs/DdrAPIGroupEntity.md +10 -0
  19. data/docs/DdrAPIGroupMemberEntity.md +10 -0
  20. data/docs/DdrAPILinkEntity.md +9 -0
  21. data/docs/DdrAPIResourceEntity.md +17 -0
  22. data/docs/DdrAPIResourceEntityFiles.md +17 -0
  23. data/docs/DdrAPIResourceEntityMetadata.md +62 -0
  24. data/docs/DdrAPIResourceEntityRelated.md +11 -0
  25. data/docs/DdrAPIRoleEntity.md +10 -0
  26. data/docs/DdrAPITechnicalMetadataEntity.md +24 -0
  27. data/docs/DdrAPIUserEntity.md +19 -0
  28. data/docs/EventsApi.md +131 -0
  29. data/docs/GroupsApi.md +63 -0
  30. data/docs/IndexApi.md +161 -0
  31. data/docs/PatchResources.md +11 -0
  32. data/docs/PatchResourcesMetadata.md +62 -0
  33. data/docs/PatchResourcesRelated.md +11 -0
  34. data/docs/PatchResourcesRoles.md +10 -0
  35. data/docs/PostResources.md +12 -0
  36. data/docs/QueuesApi.md +102 -0
  37. data/docs/ReportsApi.md +177 -0
  38. data/docs/ResourcesApi.md +1003 -0
  39. data/docs/SchemaApi.md +128 -0
  40. data/docs/UsersApi.md +131 -0
  41. data/git_push.sh +55 -0
  42. data/lib/ddr_client/api/batch_objects_api.rb +138 -0
  43. data/lib/ddr_client/api/batches_api.rb +306 -0
  44. data/lib/ddr_client/api/events_api.rb +147 -0
  45. data/lib/ddr_client/api/groups_api.rb +70 -0
  46. data/lib/ddr_client/api/index_api.rb +164 -0
  47. data/lib/ddr_client/api/queues_api.rb +109 -0
  48. data/lib/ddr_client/api/reports_api.rb +179 -0
  49. data/lib/ddr_client/api/resources_api.rb +1098 -0
  50. data/lib/ddr_client/api/schema_api.rb +152 -0
  51. data/lib/ddr_client/api/users_api.rb +141 -0
  52. data/lib/ddr_client/api_client.rb +391 -0
  53. data/lib/ddr_client/api_error.rb +38 -0
  54. data/lib/ddr_client/configuration.rb +209 -0
  55. data/lib/ddr_client/models/ddr_api_batch_entity.rb +333 -0
  56. data/lib/ddr_client/models/ddr_api_batch_entity_logfile.rb +211 -0
  57. data/lib/ddr_client/models/ddr_api_batch_object_attribute_entity.rb +256 -0
  58. data/lib/ddr_client/models/ddr_api_batch_object_datastream_entity.rb +265 -0
  59. data/lib/ddr_client/models/ddr_api_batch_object_entity.rb +349 -0
  60. data/lib/ddr_client/models/ddr_api_batch_object_message_entity.rb +230 -0
  61. data/lib/ddr_client/models/ddr_api_batch_object_relationship_entity.rb +247 -0
  62. data/lib/ddr_client/models/ddr_api_batch_object_role_entity.rb +247 -0
  63. data/lib/ddr_client/models/ddr_api_event_entity.rb +325 -0
  64. data/lib/ddr_client/models/ddr_api_file_entity.rb +215 -0
  65. data/lib/ddr_client/models/ddr_api_group_entity.rb +203 -0
  66. data/lib/ddr_client/models/ddr_api_group_member_entity.rb +202 -0
  67. data/lib/ddr_client/models/ddr_api_link_entity.rb +193 -0
  68. data/lib/ddr_client/models/ddr_api_resource_entity.rb +310 -0
  69. data/lib/ddr_client/models/ddr_api_resource_entity_files.rb +276 -0
  70. data/lib/ddr_client/models/ddr_api_resource_entity_metadata.rb +874 -0
  71. data/lib/ddr_client/models/ddr_api_resource_entity_related.rb +216 -0
  72. data/lib/ddr_client/models/ddr_api_role_entity.rb +251 -0
  73. data/lib/ddr_client/models/ddr_api_technical_metadata_entity.rb +329 -0
  74. data/lib/ddr_client/models/ddr_api_user_entity.rb +296 -0
  75. data/lib/ddr_client/models/patch_resources.rb +221 -0
  76. data/lib/ddr_client/models/patch_resources_metadata.rb +726 -0
  77. data/lib/ddr_client/models/patch_resources_related.rb +216 -0
  78. data/lib/ddr_client/models/patch_resources_roles.rb +220 -0
  79. data/lib/ddr_client/models/post_resources.rb +265 -0
  80. data/lib/ddr_client/version.rb +15 -0
  81. data/lib/ddr_client.rb +74 -0
  82. data/spec/api/batch_objects_api_spec.rb +61 -0
  83. data/spec/api/batches_api_spec.rb +100 -0
  84. data/spec/api/events_api_spec.rb +64 -0
  85. data/spec/api/groups_api_spec.rb +46 -0
  86. data/spec/api/index_api_spec.rb +67 -0
  87. data/spec/api/queues_api_spec.rb +55 -0
  88. data/spec/api/reports_api_spec.rb +70 -0
  89. data/spec/api/resources_api_spec.rb +271 -0
  90. data/spec/api/schema_api_spec.rb +65 -0
  91. data/spec/api/users_api_spec.rb +64 -0
  92. data/spec/api_client_spec.rb +243 -0
  93. data/spec/configuration_spec.rb +42 -0
  94. data/spec/models/ddr_api_batch_entity_logfile_spec.rb +59 -0
  95. data/spec/models/ddr_api_batch_entity_spec.rb +137 -0
  96. data/spec/models/ddr_api_batch_object_attribute_entity_spec.rb +89 -0
  97. data/spec/models/ddr_api_batch_object_datastream_entity_spec.rb +95 -0
  98. data/spec/models/ddr_api_batch_object_entity_spec.rb +149 -0
  99. data/spec/models/ddr_api_batch_object_message_entity_spec.rb +71 -0
  100. data/spec/models/ddr_api_batch_object_relationship_entity_spec.rb +83 -0
  101. data/spec/models/ddr_api_batch_object_role_entity_spec.rb +83 -0
  102. data/spec/models/ddr_api_event_entity_spec.rb +103 -0
  103. data/spec/models/ddr_api_file_entity_spec.rb +59 -0
  104. data/spec/models/ddr_api_group_entity_spec.rb +53 -0
  105. data/spec/models/ddr_api_group_member_entity_spec.rb +53 -0
  106. data/spec/models/ddr_api_link_entity_spec.rb +47 -0
  107. data/spec/models/ddr_api_resource_entity_files_spec.rb +95 -0
  108. data/spec/models/ddr_api_resource_entity_metadata_spec.rb +389 -0
  109. data/spec/models/ddr_api_resource_entity_related_spec.rb +59 -0
  110. data/spec/models/ddr_api_resource_entity_spec.rb +99 -0
  111. data/spec/models/ddr_api_role_entity_spec.rb +61 -0
  112. data/spec/models/ddr_api_technical_metadata_entity_spec.rb +137 -0
  113. data/spec/models/ddr_api_user_entity_spec.rb +107 -0
  114. data/spec/models/patch_resources_metadata_spec.rb +365 -0
  115. data/spec/models/patch_resources_related_spec.rb +59 -0
  116. data/spec/models/patch_resources_roles_spec.rb +53 -0
  117. data/spec/models/patch_resources_spec.rb +59 -0
  118. data/spec/models/post_resources_spec.rb +69 -0
  119. data/spec/spec_helper.rb +111 -0
  120. metadata +399 -0
data/docs/SchemaApi.md ADDED
@@ -0,0 +1,128 @@
1
+ # DdrClient::SchemaApi
2
+
3
+ All URIs are relative to *https://example.org/api*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_schema_event**](SchemaApi.md#get_schema_event) | **GET** /schema/event |
8
+ [**get_schema_resource**](SchemaApi.md#get_schema_resource) | **GET** /schema/resource |
9
+ [**get_schema_user**](SchemaApi.md#get_schema_user) | **GET** /schema/user |
10
+
11
+
12
+ # **get_schema_event**
13
+ > get_schema_event
14
+
15
+
16
+
17
+ Event schema
18
+
19
+ ### Example
20
+ ```ruby
21
+ # load the gem
22
+ require 'ddr_client'
23
+
24
+ api_instance = DdrClient::SchemaApi.new
25
+
26
+ begin
27
+ api_instance.get_schema_event
28
+ rescue DdrClient::ApiError => e
29
+ puts "Exception when calling SchemaApi->get_schema_event: #{e}"
30
+ end
31
+ ```
32
+
33
+ ### Parameters
34
+ This endpoint does not need any parameter.
35
+
36
+ ### Return type
37
+
38
+ nil (empty response body)
39
+
40
+ ### Authorization
41
+
42
+ No authorization required
43
+
44
+ ### HTTP request headers
45
+
46
+ - **Content-Type**: Not defined
47
+ - **Accept**: application/schema+json
48
+
49
+
50
+
51
+ # **get_schema_resource**
52
+ > get_schema_resource
53
+
54
+
55
+
56
+ Resource schema
57
+
58
+ ### Example
59
+ ```ruby
60
+ # load the gem
61
+ require 'ddr_client'
62
+
63
+ api_instance = DdrClient::SchemaApi.new
64
+
65
+ begin
66
+ api_instance.get_schema_resource
67
+ rescue DdrClient::ApiError => e
68
+ puts "Exception when calling SchemaApi->get_schema_resource: #{e}"
69
+ end
70
+ ```
71
+
72
+ ### Parameters
73
+ This endpoint does not need any parameter.
74
+
75
+ ### Return type
76
+
77
+ nil (empty response body)
78
+
79
+ ### Authorization
80
+
81
+ No authorization required
82
+
83
+ ### HTTP request headers
84
+
85
+ - **Content-Type**: Not defined
86
+ - **Accept**: application/schema+json
87
+
88
+
89
+
90
+ # **get_schema_user**
91
+ > get_schema_user
92
+
93
+
94
+
95
+ User schema
96
+
97
+ ### Example
98
+ ```ruby
99
+ # load the gem
100
+ require 'ddr_client'
101
+
102
+ api_instance = DdrClient::SchemaApi.new
103
+
104
+ begin
105
+ api_instance.get_schema_user
106
+ rescue DdrClient::ApiError => e
107
+ puts "Exception when calling SchemaApi->get_schema_user: #{e}"
108
+ end
109
+ ```
110
+
111
+ ### Parameters
112
+ This endpoint does not need any parameter.
113
+
114
+ ### Return type
115
+
116
+ nil (empty response body)
117
+
118
+ ### Authorization
119
+
120
+ No authorization required
121
+
122
+ ### HTTP request headers
123
+
124
+ - **Content-Type**: Not defined
125
+ - **Accept**: application/schema+json
126
+
127
+
128
+
data/docs/UsersApi.md ADDED
@@ -0,0 +1,131 @@
1
+ # DdrClient::UsersApi
2
+
3
+ All URIs are relative to *https://example.org/api*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_users**](UsersApi.md#get_users) | **GET** /users |
8
+ [**get_users_id**](UsersApi.md#get_users_id) | **GET** /users/{id} |
9
+
10
+
11
+ # **get_users**
12
+ > Array<DdrAPIUserEntity> get_users(opts)
13
+
14
+
15
+
16
+ List users
17
+
18
+ ### Example
19
+ ```ruby
20
+ # load the gem
21
+ require 'ddr_client'
22
+ # setup authorization
23
+ DdrClient.configure do |config|
24
+ # Configure API key authorization: oauth
25
+ config.api_key['Authorization'] = 'YOUR API KEY'
26
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
+ #config.api_key_prefix['Authorization'] = 'Bearer'
28
+ end
29
+
30
+ api_instance = DdrClient::UsersApi.new
31
+
32
+ opts = {
33
+ username: 'username_example', # String | User Name
34
+ netid: 'netid_example', # String | Duke NetID
35
+ duid: 'duid_example', # String | Duke Unique ID
36
+ email: 'email_example', # String | Email Address
37
+ first_name: 'first_name_example', # String | First Name
38
+ last_name: 'last_name_example', # String | Last Name
39
+ per_page: nil, # Object | JSON only: Number of records to return per page (default: 20)
40
+ page: nil # Object | JSON only: Page number of results to return (default: 1)
41
+ }
42
+
43
+ begin
44
+ result = api_instance.get_users(opts)
45
+ p result
46
+ rescue DdrClient::ApiError => e
47
+ puts "Exception when calling UsersApi->get_users: #{e}"
48
+ end
49
+ ```
50
+
51
+ ### Parameters
52
+
53
+ Name | Type | Description | Notes
54
+ ------------- | ------------- | ------------- | -------------
55
+ **username** | **String**| User Name | [optional]
56
+ **netid** | **String**| Duke NetID | [optional]
57
+ **duid** | **String**| Duke Unique ID | [optional]
58
+ **email** | **String**| Email Address | [optional]
59
+ **first_name** | **String**| First Name | [optional]
60
+ **last_name** | **String**| Last Name | [optional]
61
+ **per_page** | [**Object**](.md)| JSON only: Number of records to return per page (default: 20) | [optional]
62
+ **page** | [**Object**](.md)| JSON only: Page number of results to return (default: 1) | [optional]
63
+
64
+ ### Return type
65
+
66
+ [**Array<DdrAPIUserEntity>**](DdrAPIUserEntity.md)
67
+
68
+ ### Authorization
69
+
70
+ [oauth](../README.md#oauth)
71
+
72
+ ### HTTP request headers
73
+
74
+ - **Content-Type**: Not defined
75
+ - **Accept**: application/json, text/csv
76
+
77
+
78
+
79
+ # **get_users_id**
80
+ > DdrAPIUserEntity get_users_id(id)
81
+
82
+
83
+
84
+ Retrieve a user record
85
+
86
+ ### Example
87
+ ```ruby
88
+ # load the gem
89
+ require 'ddr_client'
90
+ # setup authorization
91
+ DdrClient.configure do |config|
92
+ # Configure API key authorization: oauth
93
+ config.api_key['Authorization'] = 'YOUR API KEY'
94
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
95
+ #config.api_key_prefix['Authorization'] = 'Bearer'
96
+ end
97
+
98
+ api_instance = DdrClient::UsersApi.new
99
+
100
+ id = 56 # Integer |
101
+
102
+
103
+ begin
104
+ result = api_instance.get_users_id(id)
105
+ p result
106
+ rescue DdrClient::ApiError => e
107
+ puts "Exception when calling UsersApi->get_users_id: #{e}"
108
+ end
109
+ ```
110
+
111
+ ### Parameters
112
+
113
+ Name | Type | Description | Notes
114
+ ------------- | ------------- | ------------- | -------------
115
+ **id** | **Integer**| |
116
+
117
+ ### Return type
118
+
119
+ [**DdrAPIUserEntity**](DdrAPIUserEntity.md)
120
+
121
+ ### Authorization
122
+
123
+ [oauth](../README.md#oauth)
124
+
125
+ ### HTTP request headers
126
+
127
+ - **Content-Type**: Not defined
128
+ - **Accept**: application/json
129
+
130
+
131
+
data/git_push.sh ADDED
@@ -0,0 +1,55 @@
1
+ #!/bin/sh
2
+ #
3
+ # Generated by: https://github.com/swagger-api/swagger-codegen.git
4
+ #
5
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
6
+ #
7
+ # Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
8
+
9
+ git_user_id=$1
10
+ git_repo_id=$2
11
+ release_note=$3
12
+
13
+ if [ "$git_user_id" = "" ]; then
14
+ git_user_id="GIT_USER_ID"
15
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
16
+ fi
17
+
18
+ if [ "$git_repo_id" = "" ]; then
19
+ git_repo_id="GIT_REPO_ID"
20
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
21
+ fi
22
+
23
+ if [ "$release_note" = "" ]; then
24
+ release_note="Minor update"
25
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
26
+ fi
27
+
28
+ # Initialize the local directory as a Git repository
29
+ git init
30
+
31
+ # Adds the files in the local repository and stages them for commit.
32
+ git add .
33
+
34
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
35
+ git commit -m "$release_note"
36
+
37
+ # Sets the new remote
38
+ git_remote=`git remote`
39
+ if [ "$git_remote" = "" ]; then # git remote not defined
40
+
41
+ if [ "$GIT_TOKEN" = "" ]; then
42
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
43
+ git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
44
+ else
45
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
46
+ fi
47
+
48
+ fi
49
+
50
+ git pull origin master
51
+
52
+ # Pushes (Forces) the changes in the local repository up to the remote repository
53
+ echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
54
+ git push origin master 2>&1 | grep -v 'To https'
55
+
@@ -0,0 +1,138 @@
1
+ =begin
2
+ #Duke Digital Repository API
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.36
10
+
11
+ =end
12
+
13
+ require 'uri'
14
+
15
+ module DdrClient
16
+ class BatchObjectsApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Retrieve batch object records
23
+ # @param [Hash] opts the optional parameters
24
+ # @option opts [String] :resource_id Filter by resource ID
25
+ # @option opts [String] :type Filter by batch object type
26
+ # @option opts [Array<String>] :model Filter by models(s)
27
+ # @option opts [Object] :per_page JSON only: Number of records to return per page (default: 20)
28
+ # @option opts [Object] :page JSON only: Page number of results to return (default: 1)
29
+ # @return [Array<DdrAPIBatchObjectEntity>]
30
+ def get_batch_objects(opts = {})
31
+ data, _status_code, _headers = get_batch_objects_with_http_info(opts)
32
+ data
33
+ end
34
+
35
+ # Retrieve batch object records
36
+ # @param [Hash] opts the optional parameters
37
+ # @option opts [String] :resource_id Filter by resource ID
38
+ # @option opts [String] :type Filter by batch object type
39
+ # @option opts [Array<String>] :model Filter by models(s)
40
+ # @option opts [Object] :per_page JSON only: Number of records to return per page (default: 20)
41
+ # @option opts [Object] :page JSON only: Page number of results to return (default: 1)
42
+ # @return [Array<(Array<DdrAPIBatchObjectEntity>, Fixnum, Hash)>] Array<DdrAPIBatchObjectEntity> data, response status code and response headers
43
+ def get_batch_objects_with_http_info(opts = {})
44
+ if @api_client.config.debugging
45
+ @api_client.config.logger.debug 'Calling API: BatchObjectsApi.get_batch_objects ...'
46
+ end
47
+ if @api_client.config.client_side_validation && opts[:'type'] && !['Ingest', 'Update'].include?(opts[:'type'])
48
+ fail ArgumentError, 'invalid value for "type", must be one of Ingest, Update'
49
+ end
50
+ if @api_client.config.client_side_validation && opts[:'model'] && !opts[:'model'].all? { |item| ['Collection', 'Item', 'Component', 'Target', 'Attachment'].include?(item) }
51
+ fail ArgumentError, 'invalid value for "model", must include one of Collection, Item, Component, Target, Attachment'
52
+ end
53
+ # resource path
54
+ local_var_path = '/batch_objects'
55
+
56
+ # query parameters
57
+ query_params = {}
58
+ query_params[:'resource_id'] = opts[:'resource_id'] if !opts[:'resource_id'].nil?
59
+ query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
60
+ query_params[:'model'] = @api_client.build_collection_param(opts[:'model'], :csv) if !opts[:'model'].nil?
61
+ query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
62
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
63
+
64
+ # header parameters
65
+ header_params = {}
66
+ # HTTP header 'Accept' (if needed)
67
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/csv'])
68
+
69
+ # form parameters
70
+ form_params = {}
71
+
72
+ # http body (model)
73
+ post_body = nil
74
+ auth_names = ['oauth']
75
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
76
+ :header_params => header_params,
77
+ :query_params => query_params,
78
+ :form_params => form_params,
79
+ :body => post_body,
80
+ :auth_names => auth_names,
81
+ :return_type => 'Array<DdrAPIBatchObjectEntity>')
82
+ if @api_client.config.debugging
83
+ @api_client.config.logger.debug "API called: BatchObjectsApi#get_batch_objects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
84
+ end
85
+ return data, status_code, headers
86
+ end
87
+ # Retrieve a batch object record with details (attributes, files, messages, relationships, roles)
88
+ # @param id
89
+ # @param [Hash] opts the optional parameters
90
+ # @return [DdrAPIBatchObjectEntity]
91
+ def get_batch_objects_id(id, opts = {})
92
+ data, _status_code, _headers = get_batch_objects_id_with_http_info(id, opts)
93
+ data
94
+ end
95
+
96
+ # Retrieve a batch object record with details (attributes, files, messages, relationships, roles)
97
+ # @param id
98
+ # @param [Hash] opts the optional parameters
99
+ # @return [Array<(DdrAPIBatchObjectEntity, Fixnum, Hash)>] DdrAPIBatchObjectEntity data, response status code and response headers
100
+ def get_batch_objects_id_with_http_info(id, opts = {})
101
+ if @api_client.config.debugging
102
+ @api_client.config.logger.debug 'Calling API: BatchObjectsApi.get_batch_objects_id ...'
103
+ end
104
+ # verify the required parameter 'id' is set
105
+ if @api_client.config.client_side_validation && id.nil?
106
+ fail ArgumentError, "Missing the required parameter 'id' when calling BatchObjectsApi.get_batch_objects_id"
107
+ end
108
+ # resource path
109
+ local_var_path = '/batch_objects/{id}'.sub('{' + 'id' + '}', id.to_s)
110
+
111
+ # query parameters
112
+ query_params = {}
113
+
114
+ # header parameters
115
+ header_params = {}
116
+ # HTTP header 'Accept' (if needed)
117
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
118
+
119
+ # form parameters
120
+ form_params = {}
121
+
122
+ # http body (model)
123
+ post_body = nil
124
+ auth_names = ['oauth']
125
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
126
+ :header_params => header_params,
127
+ :query_params => query_params,
128
+ :form_params => form_params,
129
+ :body => post_body,
130
+ :auth_names => auth_names,
131
+ :return_type => 'DdrAPIBatchObjectEntity')
132
+ if @api_client.config.debugging
133
+ @api_client.config.logger.debug "API called: BatchObjectsApi#get_batch_objects_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
134
+ end
135
+ return data, status_code, headers
136
+ end
137
+ end
138
+ end