emass_client 1.0.6 → 3.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -5
- data/lib/emass_client/api/artifacts_api.rb +2 -2
- data/lib/emass_client/api/artifacts_export_api.rb +2 -2
- data/lib/emass_client/api/cac_api.rb +2 -2
- data/lib/emass_client/api/cloud_resources_api.rb +2 -2
- data/lib/emass_client/api/cmmc_assessments_api.rb +2 -2
- data/lib/emass_client/api/containers_api.rb +2 -2
- data/lib/emass_client/api/controls_api.rb +2 -2
- data/lib/emass_client/api/dashboards_api.rb +1142 -0
- data/lib/emass_client/api/milestones_api.rb +2 -2
- data/lib/emass_client/api/pac_api.rb +2 -2
- data/lib/emass_client/api/poam_api.rb +2 -2
- data/lib/emass_client/api/registration_api.rb +8 -19
- data/lib/emass_client/api/static_code_scans_api.rb +2 -2
- data/lib/emass_client/api/system_roles_api.rb +2 -2
- data/lib/emass_client/api/systems_api.rb +2 -2
- data/lib/emass_client/api/test_api.rb +2 -2
- data/lib/emass_client/api/test_results_api.rb +2 -2
- data/lib/emass_client/api/workflow_definitions_api.rb +2 -2
- data/lib/emass_client/api/workflow_instances_api.rb +4 -4
- data/lib/emass_client/api_client.rb +2 -2
- data/lib/emass_client/api_error.rb +2 -2
- data/lib/emass_client/configuration.rb +2 -2
- data/lib/emass_client/models/artifacts_get.rb +2 -2
- data/lib/emass_client/models/artifacts_request_delete_body_inner.rb +2 -2
- data/lib/emass_client/models/artifacts_response_del.rb +2 -2
- data/lib/emass_client/models/artifacts_response_del_data_inner.rb +2 -2
- data/lib/emass_client/models/artifacts_response_get.rb +2 -2
- data/lib/emass_client/models/artifacts_response_put_post.rb +2 -2
- data/lib/emass_client/models/artifacts_response_put_post_data_inner.rb +2 -2
- data/lib/emass_client/models/cac_get.rb +2 -2
- data/lib/emass_client/models/cac_response_get.rb +2 -2
- data/lib/emass_client/models/cac_response_post.rb +2 -2
- data/lib/emass_client/models/cac_response_post_data_inner.rb +2 -2
- data/lib/emass_client/models/cloud_resources_post.rb +2 -2
- data/lib/emass_client/models/cloud_resources_response_post.rb +2 -2
- data/lib/emass_client/models/cmmc_get.rb +2 -2
- data/lib/emass_client/models/cmmc_response_get.rb +2 -2
- data/lib/emass_client/models/connectivity_ccsd.rb +2 -2
- data/lib/emass_client/models/containers_resources_post.rb +2 -2
- data/lib/emass_client/models/containers_response_post.rb +2 -2
- data/lib/emass_client/models/controls_get.rb +2 -2
- data/lib/emass_client/models/controls_put.rb +2 -2
- data/lib/emass_client/models/controls_response_get.rb +2 -2
- data/lib/emass_client/models/controls_response_put.rb +2 -2
- data/lib/emass_client/models/definition_transitions.rb +2 -2
- data/lib/emass_client/models/instances_transitions.rb +2 -2
- data/lib/emass_client/models/milestone_response_get.rb +2 -2
- data/lib/emass_client/models/milestone_response_get_milestone.rb +2 -2
- data/lib/emass_client/models/milestone_response_post.rb +2 -2
- data/lib/emass_client/models/milestone_response_put.rb +2 -2
- data/lib/emass_client/models/milestones_get.rb +2 -2
- data/lib/emass_client/models/milestones_put_post_delete.rb +2 -2
- data/lib/emass_client/models/milestones_request_delete_body_inner.rb +2 -2
- data/lib/emass_client/models/milestones_required_post.rb +2 -2
- data/lib/emass_client/models/milestones_required_put.rb +2 -2
- data/lib/emass_client/models/pac_get.rb +2 -2
- data/lib/emass_client/models/pac_post.rb +2 -2
- data/lib/emass_client/models/pac_response_get.rb +2 -2
- data/lib/emass_client/models/pac_response_post.rb +2 -2
- data/lib/emass_client/models/poam_get.rb +2 -2
- data/lib/emass_client/models/poam_post_put_del.rb +2 -2
- data/lib/emass_client/models/poam_request_delete_body_inner.rb +2 -2
- data/lib/emass_client/models/poam_response_delete.rb +2 -2
- data/lib/emass_client/models/poam_response_get_poams.rb +2 -2
- data/lib/emass_client/models/poam_response_get_systems.rb +2 -2
- data/lib/emass_client/models/poam_response_post.rb +2 -2
- data/lib/emass_client/models/poam_response_put.rb +2 -2
- data/lib/emass_client/models/register.rb +2 -2
- data/lib/emass_client/models/register_data.rb +2 -2
- data/lib/emass_client/models/register_user_request_post_body.rb +2 -2
- data/lib/emass_client/models/response200.rb +2 -2
- data/lib/emass_client/models/response201.rb +2 -2
- data/lib/emass_client/models/response201_meta.rb +2 -2
- data/lib/emass_client/models/response400.rb +2 -2
- data/lib/emass_client/models/response400_meta.rb +2 -2
- data/lib/emass_client/models/response401.rb +2 -2
- data/lib/emass_client/models/response401_meta.rb +2 -2
- data/lib/emass_client/models/response403.rb +2 -2
- data/lib/emass_client/models/response403_meta.rb +2 -2
- data/lib/emass_client/models/response404.rb +2 -2
- data/lib/emass_client/models/response405.rb +2 -2
- data/lib/emass_client/models/response405_meta.rb +2 -2
- data/lib/emass_client/models/response411.rb +2 -2
- data/lib/emass_client/models/response411_meta.rb +2 -2
- data/lib/emass_client/models/response490.rb +2 -2
- data/lib/emass_client/models/response490_meta.rb +2 -2
- data/lib/emass_client/models/response500.rb +2 -2
- data/lib/emass_client/models/response500_meta.rb +2 -2
- data/lib/emass_client/models/role_category.rb +2 -2
- data/lib/emass_client/models/roles.rb +2 -2
- data/lib/emass_client/models/ssps.rb +2 -2
- data/lib/emass_client/models/stage.rb +2 -2
- data/lib/emass_client/models/static_code_application.rb +2 -2
- data/lib/emass_client/models/static_code_post.rb +2 -2
- data/lib/emass_client/models/static_code_request_post_body.rb +2 -2
- data/lib/emass_client/models/static_code_request_post_body_application.rb +2 -2
- data/lib/emass_client/models/static_code_response_post.rb +2 -2
- data/lib/emass_client/models/success200_response.rb +2 -2
- data/lib/emass_client/models/success200_response_data_inner.rb +2 -2
- data/lib/emass_client/models/system_response.rb +2 -2
- data/lib/emass_client/models/system_roles_category_response.rb +2 -2
- data/lib/emass_client/models/system_roles_response.rb +2 -2
- data/lib/emass_client/models/system_roles_response_data_inner.rb +2 -2
- data/lib/emass_client/models/systems.rb +2 -2
- data/lib/emass_client/models/systems_response.rb +2 -2
- data/lib/emass_client/models/test.rb +2 -2
- data/lib/emass_client/models/test_data.rb +2 -2
- data/lib/emass_client/models/test_results_get.rb +2 -2
- data/lib/emass_client/models/test_results_post.rb +2 -2
- data/lib/emass_client/models/test_results_response_get.rb +2 -2
- data/lib/emass_client/models/test_results_response_post.rb +2 -2
- data/lib/emass_client/models/users.rb +2 -2
- data/lib/emass_client/models/workflow_definition_get.rb +2 -2
- data/lib/emass_client/models/workflow_definition_response_get.rb +2 -2
- data/lib/emass_client/models/workflow_instance_get.rb +2 -2
- data/lib/emass_client/models/workflow_instance_response_get.rb +2 -2
- data/lib/emass_client/models/workflow_instances_get.rb +2 -2
- data/lib/emass_client/models/workflow_instances_response_get.rb +2 -2
- data/lib/emass_client/models/workflow_instances_response_get_pagination.rb +2 -2
- data/lib/emass_client/version.rb +3 -3
- data/lib/emass_client.rb +3 -2
- metadata +6 -28
@@ -0,0 +1,1142 @@
|
|
1
|
+
=begin
|
2
|
+
#Enterprise Mission Assurance Support Service (eMASS)
|
3
|
+
|
4
|
+
#The Enterprise Mission Assurance Support Service (eMASS) Representational State Transfer (REST) Application Programming Interface (API) enables users to perform assessments and complete actions associated with system records. <strong>Register External Application (that use the eMASS API)</strong></br> New users will need to [register](https://nisp.emass.apps.mil/Content/Help/jobaids/eMASS_OT_NewUser_Job_Aid.pdf) an API key with the eMASS development team prior to accessing the site for the first time. The eMASS REST API requires a client certificate (SSL/TLS, DoD PKI only). Use the `Registration` endpoint to register the client certificate.</br></br> Every call to the eMASS REST API will require the use of the agreed upon public key certificate and API key. The API key must be provided in the request header for all endpoint calls (api-key). If the service receives an untrusted certificate or API key, a 401 error response code will be returned along with an error message.</br></br> <strong>Available Request Headers</strong></br> <table> <tr> <th align=left>key</th> <th align=left>Example Value</th> <th align=left>Description</th> </tr> <tr> <td>`api-key`</td> <td>api-key-provided-by-emass</td> <td>This API key must be provided in the request header for all endpoint calls</td> </tr> <tr> <td>`user-uid`</td> <td>USER.UID.KEY</td> <td>This User unique identifier key must be provided in the request header for all PUT, POST, and DELETE endpoint calls</td> </tr> <tr> <td></td><td></td> <td> Note: For DoD users this is the DoD ID Number (EIDIPI) on their DoD CAC </td> </tr> </table> </br><strong>Approve API Client for Actionable Requests</strong></br> Users are required to log-in to eMASS and grant permissions for a client to update data within eMASS on their behalf. This is only required for actionable requests (PUT, POST, DELETE). The Registration Endpoint and all GET requests can be accessed without completing this process with the correct permissions. Please note that leaving a field parameter blank (for PUT/POST requests) has the potential to clear information in the active eMASS records. To establish an account with eMASS and/or acquire an api-key/user-uid, contact one of the listed POC:
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3.4
|
7
|
+
Contact: disa.meade.id.mbx.emass-tier-iii-support@mail.mil
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.2.1-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module EmassClient
|
16
|
+
class DashboardsApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Get dashboard information
|
23
|
+
# Get systems assessement procdures details dashboard information.
|
24
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
27
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
28
|
+
# @return [Object]
|
29
|
+
def get_system_assessment_procedures_details(org_id, opts = {})
|
30
|
+
data, _status_code, _headers = get_system_assessment_procedures_details_with_http_info(org_id, opts)
|
31
|
+
data
|
32
|
+
end
|
33
|
+
|
34
|
+
# Get dashboard information
|
35
|
+
# Get systems assessement procdures details dashboard information.
|
36
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
39
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
40
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
41
|
+
def get_system_assessment_procedures_details_with_http_info(org_id, opts = {})
|
42
|
+
if @api_client.config.debugging
|
43
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_assessment_procedures_details ...'
|
44
|
+
end
|
45
|
+
# verify the required parameter 'org_id' is set
|
46
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
47
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_assessment_procedures_details"
|
48
|
+
end
|
49
|
+
# resource path
|
50
|
+
local_var_path = '/api/dashboards/system-assessment-procedures-details'
|
51
|
+
|
52
|
+
# query parameters
|
53
|
+
query_params = opts[:query_params] || {}
|
54
|
+
query_params[:'orgId'] = org_id
|
55
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
56
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
57
|
+
|
58
|
+
# header parameters
|
59
|
+
header_params = opts[:header_params] || {}
|
60
|
+
# HTTP header 'Accept' (if needed)
|
61
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
62
|
+
|
63
|
+
# form parameters
|
64
|
+
form_params = opts[:form_params] || {}
|
65
|
+
|
66
|
+
# http body (model)
|
67
|
+
post_body = opts[:debug_body]
|
68
|
+
|
69
|
+
# return_type
|
70
|
+
return_type = opts[:debug_return_type] || 'Object'
|
71
|
+
|
72
|
+
# auth_names
|
73
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
74
|
+
|
75
|
+
new_options = opts.merge(
|
76
|
+
:operation => :"DashboardsApi.get_system_assessment_procedures_details",
|
77
|
+
:header_params => header_params,
|
78
|
+
:query_params => query_params,
|
79
|
+
:form_params => form_params,
|
80
|
+
:body => post_body,
|
81
|
+
:auth_names => auth_names,
|
82
|
+
:return_type => return_type
|
83
|
+
)
|
84
|
+
|
85
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
86
|
+
if @api_client.config.debugging
|
87
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_system_assessment_procedures_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
88
|
+
end
|
89
|
+
return data, status_code, headers
|
90
|
+
end
|
91
|
+
|
92
|
+
# Get dashboard information
|
93
|
+
# Get system associations details dashboard information.
|
94
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
97
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
98
|
+
# @return [Object]
|
99
|
+
def get_system_associations_details(org_id, opts = {})
|
100
|
+
data, _status_code, _headers = get_system_associations_details_with_http_info(org_id, opts)
|
101
|
+
data
|
102
|
+
end
|
103
|
+
|
104
|
+
# Get dashboard information
|
105
|
+
# Get system associations details dashboard information.
|
106
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
107
|
+
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
109
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
110
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
111
|
+
def get_system_associations_details_with_http_info(org_id, opts = {})
|
112
|
+
if @api_client.config.debugging
|
113
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_associations_details ...'
|
114
|
+
end
|
115
|
+
# verify the required parameter 'org_id' is set
|
116
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
117
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_associations_details"
|
118
|
+
end
|
119
|
+
# resource path
|
120
|
+
local_var_path = '/api/dashboards/system-associations-details'
|
121
|
+
|
122
|
+
# query parameters
|
123
|
+
query_params = opts[:query_params] || {}
|
124
|
+
query_params[:'orgId'] = org_id
|
125
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
126
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
127
|
+
|
128
|
+
# header parameters
|
129
|
+
header_params = opts[:header_params] || {}
|
130
|
+
# HTTP header 'Accept' (if needed)
|
131
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
132
|
+
|
133
|
+
# form parameters
|
134
|
+
form_params = opts[:form_params] || {}
|
135
|
+
|
136
|
+
# http body (model)
|
137
|
+
post_body = opts[:debug_body]
|
138
|
+
|
139
|
+
# return_type
|
140
|
+
return_type = opts[:debug_return_type] || 'Object'
|
141
|
+
|
142
|
+
# auth_names
|
143
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
144
|
+
|
145
|
+
new_options = opts.merge(
|
146
|
+
:operation => :"DashboardsApi.get_system_associations_details",
|
147
|
+
:header_params => header_params,
|
148
|
+
:query_params => query_params,
|
149
|
+
:form_params => form_params,
|
150
|
+
:body => post_body,
|
151
|
+
:auth_names => auth_names,
|
152
|
+
:return_type => return_type
|
153
|
+
)
|
154
|
+
|
155
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
156
|
+
if @api_client.config.debugging
|
157
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_system_associations_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
158
|
+
end
|
159
|
+
return data, status_code, headers
|
160
|
+
end
|
161
|
+
|
162
|
+
# Get dashboard information
|
163
|
+
# Get systems control compliance summary dashboard information.
|
164
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
165
|
+
# @param [Hash] opts the optional parameters
|
166
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
167
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
168
|
+
# @return [Object]
|
169
|
+
def get_system_control_compliance_summary(org_id, opts = {})
|
170
|
+
data, _status_code, _headers = get_system_control_compliance_summary_with_http_info(org_id, opts)
|
171
|
+
data
|
172
|
+
end
|
173
|
+
|
174
|
+
# Get dashboard information
|
175
|
+
# Get systems control compliance summary dashboard information.
|
176
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
177
|
+
# @param [Hash] opts the optional parameters
|
178
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
179
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
180
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
181
|
+
def get_system_control_compliance_summary_with_http_info(org_id, opts = {})
|
182
|
+
if @api_client.config.debugging
|
183
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_control_compliance_summary ...'
|
184
|
+
end
|
185
|
+
# verify the required parameter 'org_id' is set
|
186
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
187
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_control_compliance_summary"
|
188
|
+
end
|
189
|
+
# resource path
|
190
|
+
local_var_path = '/api/dashboards/system-control-compliance-summary'
|
191
|
+
|
192
|
+
# query parameters
|
193
|
+
query_params = opts[:query_params] || {}
|
194
|
+
query_params[:'orgId'] = org_id
|
195
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
196
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
197
|
+
|
198
|
+
# header parameters
|
199
|
+
header_params = opts[:header_params] || {}
|
200
|
+
# HTTP header 'Accept' (if needed)
|
201
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
202
|
+
|
203
|
+
# form parameters
|
204
|
+
form_params = opts[:form_params] || {}
|
205
|
+
|
206
|
+
# http body (model)
|
207
|
+
post_body = opts[:debug_body]
|
208
|
+
|
209
|
+
# return_type
|
210
|
+
return_type = opts[:debug_return_type] || 'Object'
|
211
|
+
|
212
|
+
# auth_names
|
213
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
214
|
+
|
215
|
+
new_options = opts.merge(
|
216
|
+
:operation => :"DashboardsApi.get_system_control_compliance_summary",
|
217
|
+
:header_params => header_params,
|
218
|
+
:query_params => query_params,
|
219
|
+
:form_params => form_params,
|
220
|
+
:body => post_body,
|
221
|
+
:auth_names => auth_names,
|
222
|
+
:return_type => return_type
|
223
|
+
)
|
224
|
+
|
225
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
226
|
+
if @api_client.config.debugging
|
227
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_system_control_compliance_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
228
|
+
end
|
229
|
+
return data, status_code, headers
|
230
|
+
end
|
231
|
+
|
232
|
+
# Get dashboard information
|
233
|
+
# Get system hardware details dashboard information.
|
234
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
235
|
+
# @param [Hash] opts the optional parameters
|
236
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
237
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
238
|
+
# @return [Object]
|
239
|
+
def get_system_hardware_details(org_id, opts = {})
|
240
|
+
data, _status_code, _headers = get_system_hardware_details_with_http_info(org_id, opts)
|
241
|
+
data
|
242
|
+
end
|
243
|
+
|
244
|
+
# Get dashboard information
|
245
|
+
# Get system hardware details dashboard information.
|
246
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
247
|
+
# @param [Hash] opts the optional parameters
|
248
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
249
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
250
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
251
|
+
def get_system_hardware_details_with_http_info(org_id, opts = {})
|
252
|
+
if @api_client.config.debugging
|
253
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_hardware_details ...'
|
254
|
+
end
|
255
|
+
# verify the required parameter 'org_id' is set
|
256
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
257
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_hardware_details"
|
258
|
+
end
|
259
|
+
# resource path
|
260
|
+
local_var_path = '/api/dashboards/system-hardware-details'
|
261
|
+
|
262
|
+
# query parameters
|
263
|
+
query_params = opts[:query_params] || {}
|
264
|
+
query_params[:'orgId'] = org_id
|
265
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
266
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
267
|
+
|
268
|
+
# header parameters
|
269
|
+
header_params = opts[:header_params] || {}
|
270
|
+
# HTTP header 'Accept' (if needed)
|
271
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
272
|
+
|
273
|
+
# form parameters
|
274
|
+
form_params = opts[:form_params] || {}
|
275
|
+
|
276
|
+
# http body (model)
|
277
|
+
post_body = opts[:debug_body]
|
278
|
+
|
279
|
+
# return_type
|
280
|
+
return_type = opts[:debug_return_type] || 'Object'
|
281
|
+
|
282
|
+
# auth_names
|
283
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
284
|
+
|
285
|
+
new_options = opts.merge(
|
286
|
+
:operation => :"DashboardsApi.get_system_hardware_details",
|
287
|
+
:header_params => header_params,
|
288
|
+
:query_params => query_params,
|
289
|
+
:form_params => form_params,
|
290
|
+
:body => post_body,
|
291
|
+
:auth_names => auth_names,
|
292
|
+
:return_type => return_type
|
293
|
+
)
|
294
|
+
|
295
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
296
|
+
if @api_client.config.debugging
|
297
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_system_hardware_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
298
|
+
end
|
299
|
+
return data, status_code, headers
|
300
|
+
end
|
301
|
+
|
302
|
+
# Get dashboard information
|
303
|
+
# Get system hardware summary dashboard information.
|
304
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
305
|
+
# @param [Hash] opts the optional parameters
|
306
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
307
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
308
|
+
# @return [Object]
|
309
|
+
def get_system_hardware_summary(org_id, opts = {})
|
310
|
+
data, _status_code, _headers = get_system_hardware_summary_with_http_info(org_id, opts)
|
311
|
+
data
|
312
|
+
end
|
313
|
+
|
314
|
+
# Get dashboard information
|
315
|
+
# Get system hardware summary dashboard information.
|
316
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
317
|
+
# @param [Hash] opts the optional parameters
|
318
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
319
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
320
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
321
|
+
def get_system_hardware_summary_with_http_info(org_id, opts = {})
|
322
|
+
if @api_client.config.debugging
|
323
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_hardware_summary ...'
|
324
|
+
end
|
325
|
+
# verify the required parameter 'org_id' is set
|
326
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
327
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_hardware_summary"
|
328
|
+
end
|
329
|
+
# resource path
|
330
|
+
local_var_path = '/api/dashboards/system-hardware-summary'
|
331
|
+
|
332
|
+
# query parameters
|
333
|
+
query_params = opts[:query_params] || {}
|
334
|
+
query_params[:'orgId'] = org_id
|
335
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
336
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
337
|
+
|
338
|
+
# header parameters
|
339
|
+
header_params = opts[:header_params] || {}
|
340
|
+
# HTTP header 'Accept' (if needed)
|
341
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
342
|
+
|
343
|
+
# form parameters
|
344
|
+
form_params = opts[:form_params] || {}
|
345
|
+
|
346
|
+
# http body (model)
|
347
|
+
post_body = opts[:debug_body]
|
348
|
+
|
349
|
+
# return_type
|
350
|
+
return_type = opts[:debug_return_type] || 'Object'
|
351
|
+
|
352
|
+
# auth_names
|
353
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
354
|
+
|
355
|
+
new_options = opts.merge(
|
356
|
+
:operation => :"DashboardsApi.get_system_hardware_summary",
|
357
|
+
:header_params => header_params,
|
358
|
+
:query_params => query_params,
|
359
|
+
:form_params => form_params,
|
360
|
+
:body => post_body,
|
361
|
+
:auth_names => auth_names,
|
362
|
+
:return_type => return_type
|
363
|
+
)
|
364
|
+
|
365
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
366
|
+
if @api_client.config.debugging
|
367
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_system_hardware_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
368
|
+
end
|
369
|
+
return data, status_code, headers
|
370
|
+
end
|
371
|
+
|
372
|
+
# Get dashboard information
|
373
|
+
# Get system POA&Ms details dashboard information.
|
374
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
375
|
+
# @param [Hash] opts the optional parameters
|
376
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
377
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
378
|
+
# @return [Object]
|
379
|
+
def get_system_poam_details(org_id, opts = {})
|
380
|
+
data, _status_code, _headers = get_system_poam_details_with_http_info(org_id, opts)
|
381
|
+
data
|
382
|
+
end
|
383
|
+
|
384
|
+
# Get dashboard information
|
385
|
+
# Get system POA&Ms details dashboard information.
|
386
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
387
|
+
# @param [Hash] opts the optional parameters
|
388
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
389
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
390
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
391
|
+
def get_system_poam_details_with_http_info(org_id, opts = {})
|
392
|
+
if @api_client.config.debugging
|
393
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_poam_details ...'
|
394
|
+
end
|
395
|
+
# verify the required parameter 'org_id' is set
|
396
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
397
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_poam_details"
|
398
|
+
end
|
399
|
+
# resource path
|
400
|
+
local_var_path = '/api/dashboards/system-poam-details'
|
401
|
+
|
402
|
+
# query parameters
|
403
|
+
query_params = opts[:query_params] || {}
|
404
|
+
query_params[:'orgId'] = org_id
|
405
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
406
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
407
|
+
|
408
|
+
# header parameters
|
409
|
+
header_params = opts[:header_params] || {}
|
410
|
+
# HTTP header 'Accept' (if needed)
|
411
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
412
|
+
|
413
|
+
# form parameters
|
414
|
+
form_params = opts[:form_params] || {}
|
415
|
+
|
416
|
+
# http body (model)
|
417
|
+
post_body = opts[:debug_body]
|
418
|
+
|
419
|
+
# return_type
|
420
|
+
return_type = opts[:debug_return_type] || 'Object'
|
421
|
+
|
422
|
+
# auth_names
|
423
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
424
|
+
|
425
|
+
new_options = opts.merge(
|
426
|
+
:operation => :"DashboardsApi.get_system_poam_details",
|
427
|
+
:header_params => header_params,
|
428
|
+
:query_params => query_params,
|
429
|
+
:form_params => form_params,
|
430
|
+
:body => post_body,
|
431
|
+
:auth_names => auth_names,
|
432
|
+
:return_type => return_type
|
433
|
+
)
|
434
|
+
|
435
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
436
|
+
if @api_client.config.debugging
|
437
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_system_poam_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
438
|
+
end
|
439
|
+
return data, status_code, headers
|
440
|
+
end
|
441
|
+
|
442
|
+
# Get dashboard information
|
443
|
+
# Get systems POA&Ms summary dashboard information.
|
444
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
445
|
+
# @param [Hash] opts the optional parameters
|
446
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
447
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
448
|
+
# @return [Object]
|
449
|
+
def get_system_poam_summary(org_id, opts = {})
|
450
|
+
data, _status_code, _headers = get_system_poam_summary_with_http_info(org_id, opts)
|
451
|
+
data
|
452
|
+
end
|
453
|
+
|
454
|
+
# Get dashboard information
|
455
|
+
# Get systems POA&Ms summary dashboard information.
|
456
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
457
|
+
# @param [Hash] opts the optional parameters
|
458
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
459
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
460
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
461
|
+
def get_system_poam_summary_with_http_info(org_id, opts = {})
|
462
|
+
if @api_client.config.debugging
|
463
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_poam_summary ...'
|
464
|
+
end
|
465
|
+
# verify the required parameter 'org_id' is set
|
466
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
467
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_poam_summary"
|
468
|
+
end
|
469
|
+
# resource path
|
470
|
+
local_var_path = '/api/dashboards/system-poam-summary'
|
471
|
+
|
472
|
+
# query parameters
|
473
|
+
query_params = opts[:query_params] || {}
|
474
|
+
query_params[:'orgId'] = org_id
|
475
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
476
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
477
|
+
|
478
|
+
# header parameters
|
479
|
+
header_params = opts[:header_params] || {}
|
480
|
+
# HTTP header 'Accept' (if needed)
|
481
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
482
|
+
|
483
|
+
# form parameters
|
484
|
+
form_params = opts[:form_params] || {}
|
485
|
+
|
486
|
+
# http body (model)
|
487
|
+
post_body = opts[:debug_body]
|
488
|
+
|
489
|
+
# return_type
|
490
|
+
return_type = opts[:debug_return_type] || 'Object'
|
491
|
+
|
492
|
+
# auth_names
|
493
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
494
|
+
|
495
|
+
new_options = opts.merge(
|
496
|
+
:operation => :"DashboardsApi.get_system_poam_summary",
|
497
|
+
:header_params => header_params,
|
498
|
+
:query_params => query_params,
|
499
|
+
:form_params => form_params,
|
500
|
+
:body => post_body,
|
501
|
+
:auth_names => auth_names,
|
502
|
+
:return_type => return_type
|
503
|
+
)
|
504
|
+
|
505
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
506
|
+
if @api_client.config.debugging
|
507
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_system_poam_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
508
|
+
end
|
509
|
+
return data, status_code, headers
|
510
|
+
end
|
511
|
+
|
512
|
+
# Get dashboard information
|
513
|
+
# Get user system privacy summary dashboard information.
|
514
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
515
|
+
# @param [Hash] opts the optional parameters
|
516
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
517
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
518
|
+
# @return [Object]
|
519
|
+
def get_system_privacy_summary(org_id, opts = {})
|
520
|
+
data, _status_code, _headers = get_system_privacy_summary_with_http_info(org_id, opts)
|
521
|
+
data
|
522
|
+
end
|
523
|
+
|
524
|
+
# Get dashboard information
|
525
|
+
# Get user system privacy summary dashboard information.
|
526
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
527
|
+
# @param [Hash] opts the optional parameters
|
528
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
529
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
530
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
531
|
+
def get_system_privacy_summary_with_http_info(org_id, opts = {})
|
532
|
+
if @api_client.config.debugging
|
533
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_privacy_summary ...'
|
534
|
+
end
|
535
|
+
# verify the required parameter 'org_id' is set
|
536
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
537
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_privacy_summary"
|
538
|
+
end
|
539
|
+
# resource path
|
540
|
+
local_var_path = '/api/dashboards/system-privacy-summary'
|
541
|
+
|
542
|
+
# query parameters
|
543
|
+
query_params = opts[:query_params] || {}
|
544
|
+
query_params[:'orgId'] = org_id
|
545
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
546
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
547
|
+
|
548
|
+
# header parameters
|
549
|
+
header_params = opts[:header_params] || {}
|
550
|
+
# HTTP header 'Accept' (if needed)
|
551
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
552
|
+
|
553
|
+
# form parameters
|
554
|
+
form_params = opts[:form_params] || {}
|
555
|
+
|
556
|
+
# http body (model)
|
557
|
+
post_body = opts[:debug_body]
|
558
|
+
|
559
|
+
# return_type
|
560
|
+
return_type = opts[:debug_return_type] || 'Object'
|
561
|
+
|
562
|
+
# auth_names
|
563
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
564
|
+
|
565
|
+
new_options = opts.merge(
|
566
|
+
:operation => :"DashboardsApi.get_system_privacy_summary",
|
567
|
+
:header_params => header_params,
|
568
|
+
:query_params => query_params,
|
569
|
+
:form_params => form_params,
|
570
|
+
:body => post_body,
|
571
|
+
:auth_names => auth_names,
|
572
|
+
:return_type => return_type
|
573
|
+
)
|
574
|
+
|
575
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
576
|
+
if @api_client.config.debugging
|
577
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_system_privacy_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
578
|
+
end
|
579
|
+
return data, status_code, headers
|
580
|
+
end
|
581
|
+
|
582
|
+
# Get dashboard information
|
583
|
+
# Get systems security control details dashboard information.
|
584
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
585
|
+
# @param [Hash] opts the optional parameters
|
586
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
587
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
588
|
+
# @return [Object]
|
589
|
+
def get_system_security_control_details(org_id, opts = {})
|
590
|
+
data, _status_code, _headers = get_system_security_control_details_with_http_info(org_id, opts)
|
591
|
+
data
|
592
|
+
end
|
593
|
+
|
594
|
+
# Get dashboard information
|
595
|
+
# Get systems security control details dashboard information.
|
596
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
597
|
+
# @param [Hash] opts the optional parameters
|
598
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
599
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
600
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
601
|
+
def get_system_security_control_details_with_http_info(org_id, opts = {})
|
602
|
+
if @api_client.config.debugging
|
603
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_security_control_details ...'
|
604
|
+
end
|
605
|
+
# verify the required parameter 'org_id' is set
|
606
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
607
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_security_control_details"
|
608
|
+
end
|
609
|
+
# resource path
|
610
|
+
local_var_path = '/api/dashboards/system-security-controls-details'
|
611
|
+
|
612
|
+
# query parameters
|
613
|
+
query_params = opts[:query_params] || {}
|
614
|
+
query_params[:'orgId'] = org_id
|
615
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
616
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
617
|
+
|
618
|
+
# header parameters
|
619
|
+
header_params = opts[:header_params] || {}
|
620
|
+
# HTTP header 'Accept' (if needed)
|
621
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
622
|
+
|
623
|
+
# form parameters
|
624
|
+
form_params = opts[:form_params] || {}
|
625
|
+
|
626
|
+
# http body (model)
|
627
|
+
post_body = opts[:debug_body]
|
628
|
+
|
629
|
+
# return_type
|
630
|
+
return_type = opts[:debug_return_type] || 'Object'
|
631
|
+
|
632
|
+
# auth_names
|
633
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
634
|
+
|
635
|
+
new_options = opts.merge(
|
636
|
+
:operation => :"DashboardsApi.get_system_security_control_details",
|
637
|
+
:header_params => header_params,
|
638
|
+
:query_params => query_params,
|
639
|
+
:form_params => form_params,
|
640
|
+
:body => post_body,
|
641
|
+
:auth_names => auth_names,
|
642
|
+
:return_type => return_type
|
643
|
+
)
|
644
|
+
|
645
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
646
|
+
if @api_client.config.debugging
|
647
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_system_security_control_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
648
|
+
end
|
649
|
+
return data, status_code, headers
|
650
|
+
end
|
651
|
+
|
652
|
+
# Get dashboard information
|
653
|
+
# Get systems status detail dashboard information.
|
654
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
655
|
+
# @param [Hash] opts the optional parameters
|
656
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
657
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
658
|
+
# @return [Object]
|
659
|
+
def get_system_status_details(org_id, opts = {})
|
660
|
+
data, _status_code, _headers = get_system_status_details_with_http_info(org_id, opts)
|
661
|
+
data
|
662
|
+
end
|
663
|
+
|
664
|
+
# Get dashboard information
|
665
|
+
# Get systems status detail dashboard information.
|
666
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
667
|
+
# @param [Hash] opts the optional parameters
|
668
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
669
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
670
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
671
|
+
def get_system_status_details_with_http_info(org_id, opts = {})
|
672
|
+
if @api_client.config.debugging
|
673
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_status_details ...'
|
674
|
+
end
|
675
|
+
# verify the required parameter 'org_id' is set
|
676
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
677
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_status_details"
|
678
|
+
end
|
679
|
+
# resource path
|
680
|
+
local_var_path = '/api/dashboards/system-status-details'
|
681
|
+
|
682
|
+
# query parameters
|
683
|
+
query_params = opts[:query_params] || {}
|
684
|
+
query_params[:'orgId'] = org_id
|
685
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
686
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
687
|
+
|
688
|
+
# header parameters
|
689
|
+
header_params = opts[:header_params] || {}
|
690
|
+
# HTTP header 'Accept' (if needed)
|
691
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
692
|
+
|
693
|
+
# form parameters
|
694
|
+
form_params = opts[:form_params] || {}
|
695
|
+
|
696
|
+
# http body (model)
|
697
|
+
post_body = opts[:debug_body]
|
698
|
+
|
699
|
+
# return_type
|
700
|
+
return_type = opts[:debug_return_type] || 'Object'
|
701
|
+
|
702
|
+
# auth_names
|
703
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
704
|
+
|
705
|
+
new_options = opts.merge(
|
706
|
+
:operation => :"DashboardsApi.get_system_status_details",
|
707
|
+
:header_params => header_params,
|
708
|
+
:query_params => query_params,
|
709
|
+
:form_params => form_params,
|
710
|
+
:body => post_body,
|
711
|
+
:auth_names => auth_names,
|
712
|
+
:return_type => return_type
|
713
|
+
)
|
714
|
+
|
715
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
716
|
+
if @api_client.config.debugging
|
717
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_system_status_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
718
|
+
end
|
719
|
+
return data, status_code, headers
|
720
|
+
end
|
721
|
+
|
722
|
+
# Get dashboard information
|
723
|
+
# Get user system assignments details dashboard information.
|
724
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
725
|
+
# @param [Hash] opts the optional parameters
|
726
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
727
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
728
|
+
# @return [Object]
|
729
|
+
def get_user_system_assignments_details(org_id, opts = {})
|
730
|
+
data, _status_code, _headers = get_user_system_assignments_details_with_http_info(org_id, opts)
|
731
|
+
data
|
732
|
+
end
|
733
|
+
|
734
|
+
# Get dashboard information
|
735
|
+
# Get user system assignments details dashboard information.
|
736
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
737
|
+
# @param [Hash] opts the optional parameters
|
738
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
739
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
740
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
741
|
+
def get_user_system_assignments_details_with_http_info(org_id, opts = {})
|
742
|
+
if @api_client.config.debugging
|
743
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_user_system_assignments_details ...'
|
744
|
+
end
|
745
|
+
# verify the required parameter 'org_id' is set
|
746
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
747
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_user_system_assignments_details"
|
748
|
+
end
|
749
|
+
# resource path
|
750
|
+
local_var_path = '/api/dashboards/user-system-assignments-details'
|
751
|
+
|
752
|
+
# query parameters
|
753
|
+
query_params = opts[:query_params] || {}
|
754
|
+
query_params[:'orgId'] = org_id
|
755
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
756
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
757
|
+
|
758
|
+
# header parameters
|
759
|
+
header_params = opts[:header_params] || {}
|
760
|
+
# HTTP header 'Accept' (if needed)
|
761
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
762
|
+
|
763
|
+
# form parameters
|
764
|
+
form_params = opts[:form_params] || {}
|
765
|
+
|
766
|
+
# http body (model)
|
767
|
+
post_body = opts[:debug_body]
|
768
|
+
|
769
|
+
# return_type
|
770
|
+
return_type = opts[:debug_return_type] || 'Object'
|
771
|
+
|
772
|
+
# auth_names
|
773
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
774
|
+
|
775
|
+
new_options = opts.merge(
|
776
|
+
:operation => :"DashboardsApi.get_user_system_assignments_details",
|
777
|
+
:header_params => header_params,
|
778
|
+
:query_params => query_params,
|
779
|
+
:form_params => form_params,
|
780
|
+
:body => post_body,
|
781
|
+
:auth_names => auth_names,
|
782
|
+
:return_type => return_type
|
783
|
+
)
|
784
|
+
|
785
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
786
|
+
if @api_client.config.debugging
|
787
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_user_system_assignments_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
788
|
+
end
|
789
|
+
return data, status_code, headers
|
790
|
+
end
|
791
|
+
|
792
|
+
# Get dashboard information
|
793
|
+
# Get VA OMB-FISMA SAOP summary dashboard information.
|
794
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
795
|
+
# @param [Hash] opts the optional parameters
|
796
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
797
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
798
|
+
# @return [Object]
|
799
|
+
def get_va_omb_fsma_saop_summary(org_id, opts = {})
|
800
|
+
data, _status_code, _headers = get_va_omb_fsma_saop_summary_with_http_info(org_id, opts)
|
801
|
+
data
|
802
|
+
end
|
803
|
+
|
804
|
+
# Get dashboard information
|
805
|
+
# Get VA OMB-FISMA SAOP summary dashboard information.
|
806
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
807
|
+
# @param [Hash] opts the optional parameters
|
808
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
809
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
810
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
811
|
+
def get_va_omb_fsma_saop_summary_with_http_info(org_id, opts = {})
|
812
|
+
if @api_client.config.debugging
|
813
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_omb_fsma_saop_summary ...'
|
814
|
+
end
|
815
|
+
# verify the required parameter 'org_id' is set
|
816
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
817
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_omb_fsma_saop_summary"
|
818
|
+
end
|
819
|
+
# resource path
|
820
|
+
local_var_path = '/api/dashboards/va-omb-fisma-saop-summary'
|
821
|
+
|
822
|
+
# query parameters
|
823
|
+
query_params = opts[:query_params] || {}
|
824
|
+
query_params[:'orgId'] = org_id
|
825
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
826
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
827
|
+
|
828
|
+
# header parameters
|
829
|
+
header_params = opts[:header_params] || {}
|
830
|
+
# HTTP header 'Accept' (if needed)
|
831
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
832
|
+
|
833
|
+
# form parameters
|
834
|
+
form_params = opts[:form_params] || {}
|
835
|
+
|
836
|
+
# http body (model)
|
837
|
+
post_body = opts[:debug_body]
|
838
|
+
|
839
|
+
# return_type
|
840
|
+
return_type = opts[:debug_return_type] || 'Object'
|
841
|
+
|
842
|
+
# auth_names
|
843
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
844
|
+
|
845
|
+
new_options = opts.merge(
|
846
|
+
:operation => :"DashboardsApi.get_va_omb_fsma_saop_summary",
|
847
|
+
:header_params => header_params,
|
848
|
+
:query_params => query_params,
|
849
|
+
:form_params => form_params,
|
850
|
+
:body => post_body,
|
851
|
+
:auth_names => auth_names,
|
852
|
+
:return_type => return_type
|
853
|
+
)
|
854
|
+
|
855
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
856
|
+
if @api_client.config.debugging
|
857
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_va_omb_fsma_saop_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
858
|
+
end
|
859
|
+
return data, status_code, headers
|
860
|
+
end
|
861
|
+
|
862
|
+
# Get dashboard information
|
863
|
+
# Get VA system A2.0 summary dashboard information.
|
864
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
865
|
+
# @param [Hash] opts the optional parameters
|
866
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
867
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
868
|
+
# @return [Object]
|
869
|
+
def get_va_system_a2_summary(org_id, opts = {})
|
870
|
+
data, _status_code, _headers = get_va_system_a2_summary_with_http_info(org_id, opts)
|
871
|
+
data
|
872
|
+
end
|
873
|
+
|
874
|
+
# Get dashboard information
|
875
|
+
# Get VA system A2.0 summary dashboard information.
|
876
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
877
|
+
# @param [Hash] opts the optional parameters
|
878
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
879
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
880
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
881
|
+
def get_va_system_a2_summary_with_http_info(org_id, opts = {})
|
882
|
+
if @api_client.config.debugging
|
883
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_a2_summary ...'
|
884
|
+
end
|
885
|
+
# verify the required parameter 'org_id' is set
|
886
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
887
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_a2_summary"
|
888
|
+
end
|
889
|
+
# resource path
|
890
|
+
local_var_path = '/api/dashboards/va-system-a2-summary'
|
891
|
+
|
892
|
+
# query parameters
|
893
|
+
query_params = opts[:query_params] || {}
|
894
|
+
query_params[:'orgId'] = org_id
|
895
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
896
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
897
|
+
|
898
|
+
# header parameters
|
899
|
+
header_params = opts[:header_params] || {}
|
900
|
+
# HTTP header 'Accept' (if needed)
|
901
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
902
|
+
|
903
|
+
# form parameters
|
904
|
+
form_params = opts[:form_params] || {}
|
905
|
+
|
906
|
+
# http body (model)
|
907
|
+
post_body = opts[:debug_body]
|
908
|
+
|
909
|
+
# return_type
|
910
|
+
return_type = opts[:debug_return_type] || 'Object'
|
911
|
+
|
912
|
+
# auth_names
|
913
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
914
|
+
|
915
|
+
new_options = opts.merge(
|
916
|
+
:operation => :"DashboardsApi.get_va_system_a2_summary",
|
917
|
+
:header_params => header_params,
|
918
|
+
:query_params => query_params,
|
919
|
+
:form_params => form_params,
|
920
|
+
:body => post_body,
|
921
|
+
:auth_names => auth_names,
|
922
|
+
:return_type => return_type
|
923
|
+
)
|
924
|
+
|
925
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
926
|
+
if @api_client.config.debugging
|
927
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_va_system_a2_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
928
|
+
end
|
929
|
+
return data, status_code, headers
|
930
|
+
end
|
931
|
+
|
932
|
+
# Get dashboard information
|
933
|
+
# Get VA system A&A summary dashboard information.
|
934
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
935
|
+
# @param [Hash] opts the optional parameters
|
936
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
937
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
938
|
+
# @return [Object]
|
939
|
+
def get_va_system_aa_summary(org_id, opts = {})
|
940
|
+
data, _status_code, _headers = get_va_system_aa_summary_with_http_info(org_id, opts)
|
941
|
+
data
|
942
|
+
end
|
943
|
+
|
944
|
+
# Get dashboard information
|
945
|
+
# Get VA system A&A summary dashboard information.
|
946
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
947
|
+
# @param [Hash] opts the optional parameters
|
948
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
949
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
950
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
951
|
+
def get_va_system_aa_summary_with_http_info(org_id, opts = {})
|
952
|
+
if @api_client.config.debugging
|
953
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_aa_summary ...'
|
954
|
+
end
|
955
|
+
# verify the required parameter 'org_id' is set
|
956
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
957
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_aa_summary"
|
958
|
+
end
|
959
|
+
# resource path
|
960
|
+
local_var_path = '/api/dashboards/va-system-aa-summary'
|
961
|
+
|
962
|
+
# query parameters
|
963
|
+
query_params = opts[:query_params] || {}
|
964
|
+
query_params[:'orgId'] = org_id
|
965
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
966
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
967
|
+
|
968
|
+
# header parameters
|
969
|
+
header_params = opts[:header_params] || {}
|
970
|
+
# HTTP header 'Accept' (if needed)
|
971
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
972
|
+
|
973
|
+
# form parameters
|
974
|
+
form_params = opts[:form_params] || {}
|
975
|
+
|
976
|
+
# http body (model)
|
977
|
+
post_body = opts[:debug_body]
|
978
|
+
|
979
|
+
# return_type
|
980
|
+
return_type = opts[:debug_return_type] || 'Object'
|
981
|
+
|
982
|
+
# auth_names
|
983
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
984
|
+
|
985
|
+
new_options = opts.merge(
|
986
|
+
:operation => :"DashboardsApi.get_va_system_aa_summary",
|
987
|
+
:header_params => header_params,
|
988
|
+
:query_params => query_params,
|
989
|
+
:form_params => form_params,
|
990
|
+
:body => post_body,
|
991
|
+
:auth_names => auth_names,
|
992
|
+
:return_type => return_type
|
993
|
+
)
|
994
|
+
|
995
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
996
|
+
if @api_client.config.debugging
|
997
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_va_system_aa_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
998
|
+
end
|
999
|
+
return data, status_code, headers
|
1000
|
+
end
|
1001
|
+
|
1002
|
+
# Get dashboard information
|
1003
|
+
# Get VA system FISMA inventory summary dashboard information.
|
1004
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
1005
|
+
# @param [Hash] opts the optional parameters
|
1006
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
1007
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
1008
|
+
# @return [Object]
|
1009
|
+
def get_va_system_fisma_invetory_summary(org_id, opts = {})
|
1010
|
+
data, _status_code, _headers = get_va_system_fisma_invetory_summary_with_http_info(org_id, opts)
|
1011
|
+
data
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
# Get dashboard information
|
1015
|
+
# Get VA system FISMA inventory summary dashboard information.
|
1016
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
1017
|
+
# @param [Hash] opts the optional parameters
|
1018
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
1019
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
1020
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
1021
|
+
def get_va_system_fisma_invetory_summary_with_http_info(org_id, opts = {})
|
1022
|
+
if @api_client.config.debugging
|
1023
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_fisma_invetory_summary ...'
|
1024
|
+
end
|
1025
|
+
# verify the required parameter 'org_id' is set
|
1026
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
1027
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_fisma_invetory_summary"
|
1028
|
+
end
|
1029
|
+
# resource path
|
1030
|
+
local_var_path = '/api/dashboards/va-system-fisma-inventory-summary'
|
1031
|
+
|
1032
|
+
# query parameters
|
1033
|
+
query_params = opts[:query_params] || {}
|
1034
|
+
query_params[:'orgId'] = org_id
|
1035
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
1036
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
1037
|
+
|
1038
|
+
# header parameters
|
1039
|
+
header_params = opts[:header_params] || {}
|
1040
|
+
# HTTP header 'Accept' (if needed)
|
1041
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1042
|
+
|
1043
|
+
# form parameters
|
1044
|
+
form_params = opts[:form_params] || {}
|
1045
|
+
|
1046
|
+
# http body (model)
|
1047
|
+
post_body = opts[:debug_body]
|
1048
|
+
|
1049
|
+
# return_type
|
1050
|
+
return_type = opts[:debug_return_type] || 'Object'
|
1051
|
+
|
1052
|
+
# auth_names
|
1053
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
1054
|
+
|
1055
|
+
new_options = opts.merge(
|
1056
|
+
:operation => :"DashboardsApi.get_va_system_fisma_invetory_summary",
|
1057
|
+
:header_params => header_params,
|
1058
|
+
:query_params => query_params,
|
1059
|
+
:form_params => form_params,
|
1060
|
+
:body => post_body,
|
1061
|
+
:auth_names => auth_names,
|
1062
|
+
:return_type => return_type
|
1063
|
+
)
|
1064
|
+
|
1065
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1066
|
+
if @api_client.config.debugging
|
1067
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_va_system_fisma_invetory_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1068
|
+
end
|
1069
|
+
return data, status_code, headers
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
# Get dashboard information
|
1073
|
+
# Get VA system P.L. 109 reporting summary dashboard information.
|
1074
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
1075
|
+
# @param [Hash] opts the optional parameters
|
1076
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
1077
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
1078
|
+
# @return [Object]
|
1079
|
+
def get_va_system_pl109_reporting_summary(org_id, opts = {})
|
1080
|
+
data, _status_code, _headers = get_va_system_pl109_reporting_summary_with_http_info(org_id, opts)
|
1081
|
+
data
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
# Get dashboard information
|
1085
|
+
# Get VA system P.L. 109 reporting summary dashboard information.
|
1086
|
+
# @param org_id [Integer] **Organization Id**: The unique organization identifier.
|
1087
|
+
# @param [Hash] opts the optional parameters
|
1088
|
+
# @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
|
1089
|
+
# @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
|
1090
|
+
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
1091
|
+
def get_va_system_pl109_reporting_summary_with_http_info(org_id, opts = {})
|
1092
|
+
if @api_client.config.debugging
|
1093
|
+
@api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_pl109_reporting_summary ...'
|
1094
|
+
end
|
1095
|
+
# verify the required parameter 'org_id' is set
|
1096
|
+
if @api_client.config.client_side_validation && org_id.nil?
|
1097
|
+
fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_pl109_reporting_summary"
|
1098
|
+
end
|
1099
|
+
# resource path
|
1100
|
+
local_var_path = '/api/dashboards/va-system-pl-109-reporting-summary'
|
1101
|
+
|
1102
|
+
# query parameters
|
1103
|
+
query_params = opts[:query_params] || {}
|
1104
|
+
query_params[:'orgId'] = org_id
|
1105
|
+
query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
|
1106
|
+
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
1107
|
+
|
1108
|
+
# header parameters
|
1109
|
+
header_params = opts[:header_params] || {}
|
1110
|
+
# HTTP header 'Accept' (if needed)
|
1111
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1112
|
+
|
1113
|
+
# form parameters
|
1114
|
+
form_params = opts[:form_params] || {}
|
1115
|
+
|
1116
|
+
# http body (model)
|
1117
|
+
post_body = opts[:debug_body]
|
1118
|
+
|
1119
|
+
# return_type
|
1120
|
+
return_type = opts[:debug_return_type] || 'Object'
|
1121
|
+
|
1122
|
+
# auth_names
|
1123
|
+
auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
|
1124
|
+
|
1125
|
+
new_options = opts.merge(
|
1126
|
+
:operation => :"DashboardsApi.get_va_system_pl109_reporting_summary",
|
1127
|
+
:header_params => header_params,
|
1128
|
+
:query_params => query_params,
|
1129
|
+
:form_params => form_params,
|
1130
|
+
:body => post_body,
|
1131
|
+
:auth_names => auth_names,
|
1132
|
+
:return_type => return_type
|
1133
|
+
)
|
1134
|
+
|
1135
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
1136
|
+
if @api_client.config.debugging
|
1137
|
+
@api_client.config.logger.debug "API called: DashboardsApi#get_va_system_pl109_reporting_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1138
|
+
end
|
1139
|
+
return data, status_code, headers
|
1140
|
+
end
|
1141
|
+
end
|
1142
|
+
end
|