emass_client 3.10.1 → 3.22.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 +4 -4
- data/README.md +174 -131
- data/lib/emass_client/api/artifacts_api.rb +47 -52
- data/lib/emass_client/api/artifacts_export_api.rb +5 -5
- data/lib/emass_client/api/cac_api.rb +12 -12
- data/lib/emass_client/api/cloud_resource_results_api.rb +83 -9
- data/lib/emass_client/api/cmmc_assessment_dashboards_api.rb +314 -0
- data/lib/emass_client/api/cmmc_assessments_api.rb +5 -5
- data/lib/emass_client/api/coast_guard_system_fisma_metrics_dashboard_api.rb +95 -0
- data/lib/emass_client/api/container_scan_results_api.rb +83 -9
- data/lib/emass_client/api/controls_api.rb +17 -17
- data/lib/emass_client/api/device_scan_results_api.rb +112 -0
- data/lib/emass_client/api/hardware_baseline_api.rb +313 -0
- data/lib/emass_client/api/milestones_api.rb +18 -18
- data/lib/emass_client/api/organization_migration_status_dashboard_api.rb +95 -0
- data/lib/emass_client/api/pac_api.rb +16 -16
- data/lib/emass_client/api/poam_api.rb +47 -44
- data/lib/emass_client/api/registration_api.rb +5 -5
- data/lib/emass_client/api/software_baseline_api.rb +313 -0
- data/lib/emass_client/api/static_code_scans_api.rb +9 -9
- data/lib/emass_client/api/system_application_findings_dashboards_api.rb +168 -0
- data/lib/emass_client/api/system_artifacts_dashboards_api.rb +168 -0
- data/lib/emass_client/api/system_associations_dashboard_api.rb +95 -0
- data/lib/emass_client/api/system_atciatc_dashboard_api.rb +95 -0
- data/lib/emass_client/api/system_conmon_integration_status_dashboard_api.rb +95 -0
- data/lib/emass_client/api/system_connectivity_ccsd_dashboards_api.rb +168 -0
- data/lib/emass_client/api/system_critical_assets_dashboard_api.rb +95 -0
- data/lib/emass_client/api/system_device_findings_dashboards_api.rb +168 -0
- data/lib/emass_client/api/system_fisma_metrics_dashboard_api.rb +95 -0
- data/lib/emass_client/api/system_hardware_dashboards_api.rb +168 -0
- data/lib/emass_client/api/system_migration_status_dashboard_api.rb +95 -0
- data/lib/emass_client/api/system_poam_dashboards_api.rb +168 -0
- data/lib/emass_client/api/system_ports_protocols_dashboards_api.rb +168 -0
- data/lib/emass_client/api/system_privacy_dashboard_api.rb +95 -0
- data/lib/emass_client/api/system_questionnaire_dashboards_api.rb +168 -0
- data/lib/emass_client/api/system_roles_api.rb +8 -16
- data/lib/emass_client/api/system_security_controls_dashboards_api.rb +241 -0
- data/lib/emass_client/api/system_sensor_hardware_dashboards_api.rb +168 -0
- data/lib/emass_client/api/system_sensor_software_dashboards_api.rb +241 -0
- data/lib/emass_client/api/system_software_dashboards_api.rb +168 -0
- data/lib/emass_client/api/system_status_dashboard_api.rb +95 -0
- data/lib/emass_client/api/system_terms_conditions_dashboards_api.rb +168 -0
- data/lib/emass_client/api/system_vulnerability_dashboard_api.rb +95 -0
- data/lib/emass_client/api/system_workflows_dashboards_api.rb +241 -0
- data/lib/emass_client/api/systems_api.rb +22 -28
- data/lib/emass_client/api/test_api.rb +5 -5
- data/lib/emass_client/api/test_results_api.rb +19 -16
- data/lib/emass_client/api/user_system_assignments_dashboard_api.rb +95 -0
- data/lib/emass_client/api/va_system_dashboards_api.rb +679 -0
- data/lib/emass_client/api/vaombfisma_dashboard_api.rb +95 -0
- data/lib/emass_client/api/workflow_definitions_api.rb +9 -9
- data/lib/emass_client/api/workflow_instances_api.rb +17 -14
- data/lib/emass_client/api_client.rb +46 -32
- data/lib/emass_client/api_error.rb +4 -4
- data/lib/emass_client/configuration.rb +42 -12
- data/lib/emass_client/models/{response201.rb → api_rule_failed.rb} +29 -28
- data/lib/emass_client/models/{response490_meta.rb → api_rule_failed_meta.rb} +34 -29
- data/lib/emass_client/models/artifacts_ids.rb +221 -0
- data/lib/emass_client/models/artifacts_optional_fields.rb +298 -0
- data/lib/emass_client/models/artifacts_read_only_fields.rb +255 -0
- data/lib/emass_client/models/artifacts_request_delete_body_inner.rb +26 -25
- data/lib/emass_client/models/artifacts_required_fields.rb +252 -0
- data/lib/emass_client/models/artifacts_response_del.rb +26 -25
- data/lib/emass_client/models/artifacts_response_del_data_inner.rb +26 -25
- data/lib/emass_client/models/artifacts_response_get.rb +27 -26
- data/lib/emass_client/models/{artifacts_get.rb → artifacts_response_get_data_inner.rb} +91 -70
- data/lib/emass_client/models/artifacts_response_put_post.rb +26 -25
- data/lib/emass_client/models/artifacts_response_put_post_data_inner.rb +40 -30
- data/lib/emass_client/models/{response403.rb → bad_request.rb} +29 -28
- data/lib/emass_client/models/{response400_meta.rb → bad_request_meta.rb} +34 -29
- data/lib/emass_client/models/cac_get.rb +26 -25
- data/lib/emass_client/models/cac_response_get.rb +26 -25
- data/lib/emass_client/models/cac_response_post.rb +26 -25
- data/lib/emass_client/models/cac_response_post_data_inner.rb +40 -30
- data/lib/emass_client/models/{poam_response_post.rb → cloud_resources_delete.rb} +29 -28
- data/lib/emass_client/models/cloud_resources_delete_body_inner.rb +221 -0
- data/lib/emass_client/models/{cloud_resources_post.rb → cloud_resources_post_delete.rb} +42 -32
- data/lib/emass_client/models/cloud_resources_response_post.rb +27 -26
- data/lib/emass_client/models/cmmc_get.rb +96 -140
- data/lib/emass_client/models/cmmc_response_get.rb +26 -25
- data/lib/emass_client/models/connectivity_ccsd.rb +26 -25
- data/lib/emass_client/models/container_resources_delete_body_inner.rb +221 -0
- data/lib/emass_client/models/{containers_resources_post.rb → containers_resources_post_delete.rb} +42 -32
- data/lib/emass_client/models/{poam_response_delete.rb → containers_response_delete.rb} +29 -28
- data/lib/emass_client/models/containers_response_post.rb +27 -26
- data/lib/emass_client/models/controls_conditional_fields.rb +357 -0
- data/lib/emass_client/models/controls_ids.rb +221 -0
- data/lib/emass_client/models/controls_optional_fields.rb +471 -0
- data/lib/emass_client/models/controls_put.rb +40 -30
- data/lib/emass_client/models/controls_read_only_fields.rb +277 -0
- data/lib/emass_client/models/controls_required_fields.rb +295 -0
- data/lib/emass_client/models/controls_response_get.rb +27 -26
- data/lib/emass_client/models/{controls_get.rb → controls_response_get_data_inner.rb} +210 -166
- data/lib/emass_client/models/controls_response_put.rb +26 -25
- data/lib/emass_client/models/{response400.rb → created.rb} +29 -28
- data/lib/emass_client/models/{response201_meta.rb → created_meta.rb} +34 -29
- data/lib/emass_client/models/definition_transitions.rb +26 -25
- data/lib/emass_client/models/{success200_response.rb → device_scan_results_response_post.rb} +29 -28
- data/lib/emass_client/models/{success200_response_data_inner.rb → device_scan_results_response_post_data_inner.rb} +72 -33
- data/lib/emass_client/models/{response401.rb → forbidden.rb} +29 -28
- data/lib/emass_client/models/{response403_meta.rb → forbidden_meta.rb} +34 -29
- data/lib/emass_client/models/get_system_status_details200_response.rb +240 -0
- data/lib/emass_client/models/hw_baseline_conditional_fields.rb +244 -0
- data/lib/emass_client/models/hw_baseline_ids.rb +221 -0
- data/lib/emass_client/models/hw_baseline_optional_fields.rb +354 -0
- data/lib/emass_client/models/hw_baseline_read_only_fields.rb +222 -0
- data/lib/emass_client/models/hw_baseline_request_delete_body_inner.rb +220 -0
- data/lib/emass_client/models/hw_baseline_required_fields.rb +221 -0
- data/lib/emass_client/models/hw_baseline_response_delete.rb +231 -0
- data/lib/emass_client/models/hw_baseline_response_delete_data_inner.rb +274 -0
- data/lib/emass_client/models/{dashboard_mock_response.rb → hw_baseline_response_get.rb} +30 -29
- data/lib/emass_client/models/hw_baseline_response_get_data_inner.rb +429 -0
- data/lib/emass_client/models/hw_baseline_response_post_put.rb +231 -0
- data/lib/emass_client/models/hw_baseline_response_post_put_data_inner.rb +274 -0
- data/lib/emass_client/models/{instances_transitions.rb → instance_transitions.rb} +28 -27
- data/lib/emass_client/models/internal_server_error.rb +220 -0
- data/lib/emass_client/models/{response500_meta.rb → internal_server_error_meta.rb} +34 -29
- data/lib/emass_client/models/length_required.rb +220 -0
- data/lib/emass_client/models/{response411_meta.rb → length_required_meta.rb} +34 -29
- data/lib/emass_client/models/method_not_allowed.rb +220 -0
- data/lib/emass_client/models/{response405_meta.rb → method_not_allowed_meta.rb} +34 -29
- data/lib/emass_client/models/milestone_response_delete.rb +231 -0
- data/lib/emass_client/models/milestone_response_get.rb +26 -25
- data/lib/emass_client/models/milestone_response_get_milestone.rb +26 -25
- data/lib/emass_client/models/milestone_response_post.rb +26 -25
- data/lib/emass_client/models/milestone_response_put.rb +26 -25
- data/lib/emass_client/models/milestones_fields.rb +222 -0
- data/lib/emass_client/models/milestones_get.rb +55 -32
- data/lib/emass_client/models/milestones_put_post_delete.rb +40 -30
- data/lib/emass_client/models/milestones_request_delete_body_inner.rb +26 -25
- data/lib/emass_client/models/milestones_required_post.rb +35 -53
- data/lib/emass_client/models/milestones_required_post_milestones_inner.rb +265 -0
- data/lib/emass_client/models/milestones_required_put.rb +35 -68
- data/lib/emass_client/models/{ssps.rb → milestones_required_put_milestones_inner.rb} +101 -52
- data/lib/emass_client/models/{response404.rb → not_found.rb} +34 -29
- data/lib/emass_client/models/pac_get.rb +29 -37
- data/lib/emass_client/models/pac_post.rb +40 -30
- data/lib/emass_client/models/pac_response_get.rb +26 -25
- data/lib/emass_client/models/pac_response_post.rb +26 -25
- data/lib/emass_client/models/{dashboard_mock_response_pagination.rb → pagination.rb} +47 -46
- data/lib/emass_client/models/poam_conditional_fields.rb +402 -0
- data/lib/emass_client/models/poam_ids.rb +241 -0
- data/lib/emass_client/models/poam_optional_fields.rb +409 -0
- data/lib/emass_client/models/poam_post_put_del.rb +40 -30
- data/lib/emass_client/models/poam_read_only_fields.rb +332 -0
- data/lib/emass_client/models/poam_request_delete_body_inner.rb +26 -25
- data/lib/emass_client/models/poam_required_fields.rb +305 -0
- data/lib/emass_client/models/poam_response_get_poams.rb +27 -26
- data/lib/emass_client/models/poam_response_get_poams_data.rb +824 -0
- data/lib/emass_client/models/poam_response_get_systems.rb +27 -26
- data/lib/emass_client/models/poam_response_get_systems_data_inner.rb +824 -0
- data/lib/emass_client/models/{poam_response_put.rb → poam_response_post_put_delete.rb} +28 -27
- data/lib/emass_client/models/register.rb +26 -25
- data/lib/emass_client/models/register_data.rb +26 -25
- data/lib/emass_client/models/register_user_request_post_body.rb +38 -25
- data/lib/emass_client/models/response200.rb +32 -27
- data/lib/emass_client/models/role_category.rb +26 -25
- data/lib/emass_client/models/roles.rb +26 -25
- data/lib/emass_client/models/stage.rb +26 -25
- data/lib/emass_client/models/{static_code_application.rb → static_code_application_post.rb} +28 -27
- data/lib/emass_client/models/static_code_post.rb +40 -30
- data/lib/emass_client/models/static_code_request_post_body.rb +27 -26
- data/lib/emass_client/models/static_code_request_post_body_application.rb +26 -25
- data/lib/emass_client/models/static_code_response_post.rb +26 -25
- data/lib/emass_client/models/sw_baseline_conditional_fields.rb +222 -0
- data/lib/emass_client/models/sw_baseline_ids.rb +221 -0
- data/lib/emass_client/models/sw_baseline_optional_fields.rb +563 -0
- data/lib/emass_client/models/sw_baseline_read_only_fields.rb +222 -0
- data/lib/emass_client/models/sw_baseline_request_delete_body_inner.rb +220 -0
- data/lib/emass_client/models/sw_baseline_required_fields.rb +241 -0
- data/lib/emass_client/models/sw_baseline_response_delete.rb +231 -0
- data/lib/emass_client/models/sw_baseline_response_delete_data_inner.rb +274 -0
- data/lib/emass_client/models/sw_baseline_response_get.rb +240 -0
- data/lib/emass_client/models/sw_baseline_response_get_data_inner.rb +624 -0
- data/lib/emass_client/models/sw_baseline_response_post_put.rb +231 -0
- data/lib/emass_client/models/sw_baseline_response_post_put_data_inner.rb +274 -0
- data/lib/emass_client/models/system_response.rb +26 -25
- data/lib/emass_client/models/system_roles_category_response.rb +26 -25
- data/lib/emass_client/models/system_roles_response.rb +26 -25
- data/lib/emass_client/models/system_roles_response_data_inner.rb +26 -25
- data/lib/emass_client/models/systems.rb +950 -113
- data/lib/emass_client/models/systems_response.rb +26 -25
- data/lib/emass_client/models/test.rb +26 -25
- data/lib/emass_client/models/test_data.rb +26 -25
- data/lib/emass_client/models/test_results_get.rb +37 -26
- data/lib/emass_client/models/test_results_post.rb +40 -30
- data/lib/emass_client/models/test_results_response_get.rb +26 -25
- data/lib/emass_client/models/test_results_response_post.rb +26 -25
- data/lib/emass_client/models/unauthorized.rb +220 -0
- data/lib/emass_client/models/{response401_meta.rb → unauthorized_meta.rb} +34 -29
- data/lib/emass_client/models/users.rb +26 -25
- data/lib/emass_client/models/workflow_definition_get.rb +26 -25
- data/lib/emass_client/models/workflow_definition_response_get.rb +26 -25
- data/lib/emass_client/models/workflow_instance_get.rb +40 -28
- data/lib/emass_client/models/workflow_instance_response_get.rb +26 -25
- data/lib/emass_client/models/workflow_instances_response_get.rb +27 -26
- data/lib/emass_client/models/workflow_instances_response_get_pagination.rb +26 -25
- data/lib/emass_client/version.rb +5 -5
- data/lib/emass_client.rb +112 -39
- metadata +116 -43
- data/lib/emass_client/api/dashboards_api.rb +0 -2139
- data/lib/emass_client/models/mock_object.rb +0 -343
- data/lib/emass_client/models/poam_get.rb +0 -683
- data/lib/emass_client/models/response405.rb +0 -219
- data/lib/emass_client/models/response411.rb +0 -219
- data/lib/emass_client/models/response490.rb +0 -219
- data/lib/emass_client/models/response500.rb +0 -219
- data/lib/emass_client/models/workflow_instances_get.rb +0 -342
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Enterprise Mission Assurance Support Service (eMASS)
|
3
3
|
|
4
|
-
#The
|
4
|
+
#The eMASS Representational State Transfer (REST) Application Programming Interface (API) enables users to perform assessments and complete actions associated with system records. The eMASS API provides an interface for application to communicate eMASS Services. For information on how to register and use the eMASS API reference the [eMASS API Getting Started](eMASSGettingStarted.md). Additional information about eMASS can be obtain by contacting the National Industrial Security Program (NISP). Points of Contact are:
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v3.
|
7
|
-
Contact: disa.
|
6
|
+
The version of the OpenAPI document: v3.22
|
7
|
+
Contact: disa.global.servicedesk.mbx.ma-ticket-request@mail.mil
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.12.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -24,9 +24,14 @@ module EmassClient
|
|
24
24
|
}
|
25
25
|
end
|
26
26
|
|
27
|
+
# Returns attribute mapping this model knows about
|
28
|
+
def self.acceptable_attribute_map
|
29
|
+
attribute_map
|
30
|
+
end
|
31
|
+
|
27
32
|
# Returns all the JSON keys this model knows about
|
28
33
|
def self.acceptable_attributes
|
29
|
-
|
34
|
+
acceptable_attribute_map.values
|
30
35
|
end
|
31
36
|
|
32
37
|
# Attribute type mapping.
|
@@ -50,9 +55,10 @@ module EmassClient
|
|
50
55
|
end
|
51
56
|
|
52
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
58
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
53
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
|
-
if (!
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `EmassClient::Response200`. Please check the name to make sure it's valid. List of attributes: " +
|
60
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EmassClient::Response200`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
56
62
|
end
|
57
63
|
h[k.to_sym] = v
|
58
64
|
}
|
@@ -67,6 +73,7 @@ module EmassClient
|
|
67
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
68
74
|
# @return Array for valid properties with the reasons
|
69
75
|
def list_invalid_properties
|
76
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
70
77
|
invalid_properties = Array.new
|
71
78
|
if !@code.nil? && @code > 200
|
72
79
|
invalid_properties.push('invalid value for "code", must be smaller than or equal to 200.')
|
@@ -82,6 +89,7 @@ module EmassClient
|
|
82
89
|
# Check to see if the all the properties in the model are valid
|
83
90
|
# @return true if the model is valid
|
84
91
|
def valid?
|
92
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
85
93
|
return false if !@code.nil? && @code > 200
|
86
94
|
return false if !@code.nil? && @code < 200
|
87
95
|
true
|
@@ -90,11 +98,15 @@ module EmassClient
|
|
90
98
|
# Custom attribute writer method with validation
|
91
99
|
# @param [Object] code Value to be assigned
|
92
100
|
def code=(code)
|
93
|
-
if
|
101
|
+
if code.nil?
|
102
|
+
fail ArgumentError, 'code cannot be nil'
|
103
|
+
end
|
104
|
+
|
105
|
+
if code > 200
|
94
106
|
fail ArgumentError, 'invalid value for "code", must be smaller than or equal to 200.'
|
95
107
|
end
|
96
108
|
|
97
|
-
if
|
109
|
+
if code < 200
|
98
110
|
fail ArgumentError, 'invalid value for "code", must be greater than or equal to 200.'
|
99
111
|
end
|
100
112
|
|
@@ -125,37 +137,30 @@ module EmassClient
|
|
125
137
|
# @param [Hash] attributes Model attributes in the form of hash
|
126
138
|
# @return [Object] Returns the model itself
|
127
139
|
def self.build_from_hash(attributes)
|
128
|
-
new.build_from_hash(attributes)
|
129
|
-
end
|
130
|
-
|
131
|
-
# Builds the object from hash
|
132
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
133
|
-
# @return [Object] Returns the model itself
|
134
|
-
def build_from_hash(attributes)
|
135
140
|
return nil unless attributes.is_a?(Hash)
|
136
141
|
attributes = attributes.transform_keys(&:to_sym)
|
137
|
-
|
138
|
-
|
139
|
-
|
142
|
+
transformed_hash = {}
|
143
|
+
openapi_types.each_pair do |key, type|
|
144
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
145
|
+
transformed_hash["#{key}"] = nil
|
140
146
|
elsif type =~ /\AArray<(.*)>/i
|
141
147
|
# check to ensure the input is an array given that the attribute
|
142
148
|
# is documented as an array but the input is not
|
143
|
-
if attributes[
|
144
|
-
|
149
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
150
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
145
151
|
end
|
146
|
-
elsif !attributes[
|
147
|
-
|
152
|
+
elsif !attributes[attribute_map[key]].nil?
|
153
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
148
154
|
end
|
149
155
|
end
|
150
|
-
|
151
|
-
self
|
156
|
+
new(transformed_hash)
|
152
157
|
end
|
153
158
|
|
154
159
|
# Deserializes the data based on type
|
155
160
|
# @param string type Data type
|
156
161
|
# @param string value Value to be deserialized
|
157
162
|
# @return [Object] Deserialized data
|
158
|
-
def _deserialize(type, value)
|
163
|
+
def self._deserialize(type, value)
|
159
164
|
case type.to_sym
|
160
165
|
when :Time
|
161
166
|
Time.parse(value)
|
@@ -190,7 +195,7 @@ module EmassClient
|
|
190
195
|
else # model
|
191
196
|
# models (e.g. Pet) or oneOf
|
192
197
|
klass = EmassClient.const_get(type)
|
193
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
198
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
194
199
|
end
|
195
200
|
end
|
196
201
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Enterprise Mission Assurance Support Service (eMASS)
|
3
3
|
|
4
|
-
#The
|
4
|
+
#The eMASS Representational State Transfer (REST) Application Programming Interface (API) enables users to perform assessments and complete actions associated with system records. The eMASS API provides an interface for application to communicate eMASS Services. For information on how to register and use the eMASS API reference the [eMASS API Getting Started](eMASSGettingStarted.md). Additional information about eMASS can be obtain by contacting the National Industrial Security Program (NISP). Points of Contact are:
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v3.
|
7
|
-
Contact: disa.
|
6
|
+
The version of the OpenAPI document: v3.22
|
7
|
+
Contact: disa.global.servicedesk.mbx.ma-ticket-request@mail.mil
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.12.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -36,9 +36,14 @@ module EmassClient
|
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
39
|
+
# Returns attribute mapping this model knows about
|
40
|
+
def self.acceptable_attribute_map
|
41
|
+
attribute_map
|
42
|
+
end
|
43
|
+
|
39
44
|
# Returns all the JSON keys this model knows about
|
40
45
|
def self.acceptable_attributes
|
41
|
-
|
46
|
+
acceptable_attribute_map.values
|
42
47
|
end
|
43
48
|
|
44
49
|
# Attribute type mapping.
|
@@ -68,9 +73,10 @@ module EmassClient
|
|
68
73
|
end
|
69
74
|
|
70
75
|
# check to see if the attribute exists and convert string to symbol for hash key
|
76
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
71
77
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
72
|
-
if (!
|
73
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `EmassClient::RoleCategory`. Please check the name to make sure it's valid. List of attributes: " +
|
78
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
79
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EmassClient::RoleCategory`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
74
80
|
end
|
75
81
|
h[k.to_sym] = v
|
76
82
|
}
|
@@ -97,6 +103,7 @@ module EmassClient
|
|
97
103
|
# Show invalid properties with the reasons. Usually used together with valid?
|
98
104
|
# @return Array for valid properties with the reasons
|
99
105
|
def list_invalid_properties
|
106
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
100
107
|
invalid_properties = Array.new
|
101
108
|
invalid_properties
|
102
109
|
end
|
@@ -104,6 +111,7 @@ module EmassClient
|
|
104
111
|
# Check to see if the all the properties in the model are valid
|
105
112
|
# @return true if the model is valid
|
106
113
|
def valid?
|
114
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
107
115
|
true
|
108
116
|
end
|
109
117
|
|
@@ -134,37 +142,30 @@ module EmassClient
|
|
134
142
|
# @param [Hash] attributes Model attributes in the form of hash
|
135
143
|
# @return [Object] Returns the model itself
|
136
144
|
def self.build_from_hash(attributes)
|
137
|
-
new.build_from_hash(attributes)
|
138
|
-
end
|
139
|
-
|
140
|
-
# Builds the object from hash
|
141
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
142
|
-
# @return [Object] Returns the model itself
|
143
|
-
def build_from_hash(attributes)
|
144
145
|
return nil unless attributes.is_a?(Hash)
|
145
146
|
attributes = attributes.transform_keys(&:to_sym)
|
146
|
-
|
147
|
-
|
148
|
-
|
147
|
+
transformed_hash = {}
|
148
|
+
openapi_types.each_pair do |key, type|
|
149
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
150
|
+
transformed_hash["#{key}"] = nil
|
149
151
|
elsif type =~ /\AArray<(.*)>/i
|
150
152
|
# check to ensure the input is an array given that the attribute
|
151
153
|
# is documented as an array but the input is not
|
152
|
-
if attributes[
|
153
|
-
|
154
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
155
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
154
156
|
end
|
155
|
-
elsif !attributes[
|
156
|
-
|
157
|
+
elsif !attributes[attribute_map[key]].nil?
|
158
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
157
159
|
end
|
158
160
|
end
|
159
|
-
|
160
|
-
self
|
161
|
+
new(transformed_hash)
|
161
162
|
end
|
162
163
|
|
163
164
|
# Deserializes the data based on type
|
164
165
|
# @param string type Data type
|
165
166
|
# @param string value Value to be deserialized
|
166
167
|
# @return [Object] Deserialized data
|
167
|
-
def _deserialize(type, value)
|
168
|
+
def self._deserialize(type, value)
|
168
169
|
case type.to_sym
|
169
170
|
when :Time
|
170
171
|
Time.parse(value)
|
@@ -199,7 +200,7 @@ module EmassClient
|
|
199
200
|
else # model
|
200
201
|
# models (e.g. Pet) or oneOf
|
201
202
|
klass = EmassClient.const_get(type)
|
202
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
203
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
203
204
|
end
|
204
205
|
end
|
205
206
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Enterprise Mission Assurance Support Service (eMASS)
|
3
3
|
|
4
|
-
#The
|
4
|
+
#The eMASS Representational State Transfer (REST) Application Programming Interface (API) enables users to perform assessments and complete actions associated with system records. The eMASS API provides an interface for application to communicate eMASS Services. For information on how to register and use the eMASS API reference the [eMASS API Getting Started](eMASSGettingStarted.md). Additional information about eMASS can be obtain by contacting the National Industrial Security Program (NISP). Points of Contact are:
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v3.
|
7
|
-
Contact: disa.
|
6
|
+
The version of the OpenAPI document: v3.22
|
7
|
+
Contact: disa.global.servicedesk.mbx.ma-ticket-request@mail.mil
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.12.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,9 +32,14 @@ module EmassClient
|
|
32
32
|
}
|
33
33
|
end
|
34
34
|
|
35
|
+
# Returns attribute mapping this model knows about
|
36
|
+
def self.acceptable_attribute_map
|
37
|
+
attribute_map
|
38
|
+
end
|
39
|
+
|
35
40
|
# Returns all the JSON keys this model knows about
|
36
41
|
def self.acceptable_attributes
|
37
|
-
|
42
|
+
acceptable_attribute_map.values
|
38
43
|
end
|
39
44
|
|
40
45
|
# Attribute type mapping.
|
@@ -61,9 +66,10 @@ module EmassClient
|
|
61
66
|
end
|
62
67
|
|
63
68
|
# check to see if the attribute exists and convert string to symbol for hash key
|
69
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
64
70
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
65
|
-
if (!
|
66
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `EmassClient::Roles`. Please check the name to make sure it's valid. List of attributes: " +
|
71
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
72
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EmassClient::Roles`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
67
73
|
end
|
68
74
|
h[k.to_sym] = v
|
69
75
|
}
|
@@ -86,6 +92,7 @@ module EmassClient
|
|
86
92
|
# Show invalid properties with the reasons. Usually used together with valid?
|
87
93
|
# @return Array for valid properties with the reasons
|
88
94
|
def list_invalid_properties
|
95
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
89
96
|
invalid_properties = Array.new
|
90
97
|
invalid_properties
|
91
98
|
end
|
@@ -93,6 +100,7 @@ module EmassClient
|
|
93
100
|
# Check to see if the all the properties in the model are valid
|
94
101
|
# @return true if the model is valid
|
95
102
|
def valid?
|
103
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
96
104
|
true
|
97
105
|
end
|
98
106
|
|
@@ -122,37 +130,30 @@ module EmassClient
|
|
122
130
|
# @param [Hash] attributes Model attributes in the form of hash
|
123
131
|
# @return [Object] Returns the model itself
|
124
132
|
def self.build_from_hash(attributes)
|
125
|
-
new.build_from_hash(attributes)
|
126
|
-
end
|
127
|
-
|
128
|
-
# Builds the object from hash
|
129
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
130
|
-
# @return [Object] Returns the model itself
|
131
|
-
def build_from_hash(attributes)
|
132
133
|
return nil unless attributes.is_a?(Hash)
|
133
134
|
attributes = attributes.transform_keys(&:to_sym)
|
134
|
-
|
135
|
-
|
136
|
-
|
135
|
+
transformed_hash = {}
|
136
|
+
openapi_types.each_pair do |key, type|
|
137
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
138
|
+
transformed_hash["#{key}"] = nil
|
137
139
|
elsif type =~ /\AArray<(.*)>/i
|
138
140
|
# check to ensure the input is an array given that the attribute
|
139
141
|
# is documented as an array but the input is not
|
140
|
-
if attributes[
|
141
|
-
|
142
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
143
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
142
144
|
end
|
143
|
-
elsif !attributes[
|
144
|
-
|
145
|
+
elsif !attributes[attribute_map[key]].nil?
|
146
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
145
147
|
end
|
146
148
|
end
|
147
|
-
|
148
|
-
self
|
149
|
+
new(transformed_hash)
|
149
150
|
end
|
150
151
|
|
151
152
|
# Deserializes the data based on type
|
152
153
|
# @param string type Data type
|
153
154
|
# @param string value Value to be deserialized
|
154
155
|
# @return [Object] Deserialized data
|
155
|
-
def _deserialize(type, value)
|
156
|
+
def self._deserialize(type, value)
|
156
157
|
case type.to_sym
|
157
158
|
when :Time
|
158
159
|
Time.parse(value)
|
@@ -187,7 +188,7 @@ module EmassClient
|
|
187
188
|
else # model
|
188
189
|
# models (e.g. Pet) or oneOf
|
189
190
|
klass = EmassClient.const_get(type)
|
190
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
191
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
191
192
|
end
|
192
193
|
end
|
193
194
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Enterprise Mission Assurance Support Service (eMASS)
|
3
3
|
|
4
|
-
#The
|
4
|
+
#The eMASS Representational State Transfer (REST) Application Programming Interface (API) enables users to perform assessments and complete actions associated with system records. The eMASS API provides an interface for application to communicate eMASS Services. For information on how to register and use the eMASS API reference the [eMASS API Getting Started](eMASSGettingStarted.md). Additional information about eMASS can be obtain by contacting the National Industrial Security Program (NISP). Points of Contact are:
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v3.
|
7
|
-
Contact: disa.
|
6
|
+
The version of the OpenAPI document: v3.22
|
7
|
+
Contact: disa.global.servicedesk.mbx.ma-ticket-request@mail.mil
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.12.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -28,9 +28,14 @@ module EmassClient
|
|
28
28
|
}
|
29
29
|
end
|
30
30
|
|
31
|
+
# Returns attribute mapping this model knows about
|
32
|
+
def self.acceptable_attribute_map
|
33
|
+
attribute_map
|
34
|
+
end
|
35
|
+
|
31
36
|
# Returns all the JSON keys this model knows about
|
32
37
|
def self.acceptable_attributes
|
33
|
-
|
38
|
+
acceptable_attribute_map.values
|
34
39
|
end
|
35
40
|
|
36
41
|
# Attribute type mapping.
|
@@ -57,9 +62,10 @@ module EmassClient
|
|
57
62
|
end
|
58
63
|
|
59
64
|
# check to see if the attribute exists and convert string to symbol for hash key
|
65
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
60
66
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
61
|
-
if (!
|
62
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `EmassClient::Stage`. Please check the name to make sure it's valid. List of attributes: " +
|
67
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
68
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EmassClient::Stage`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
63
69
|
end
|
64
70
|
h[k.to_sym] = v
|
65
71
|
}
|
@@ -78,6 +84,7 @@ module EmassClient
|
|
78
84
|
# Show invalid properties with the reasons. Usually used together with valid?
|
79
85
|
# @return Array for valid properties with the reasons
|
80
86
|
def list_invalid_properties
|
87
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
81
88
|
invalid_properties = Array.new
|
82
89
|
invalid_properties
|
83
90
|
end
|
@@ -85,6 +92,7 @@ module EmassClient
|
|
85
92
|
# Check to see if the all the properties in the model are valid
|
86
93
|
# @return true if the model is valid
|
87
94
|
def valid?
|
95
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
88
96
|
true
|
89
97
|
end
|
90
98
|
|
@@ -113,37 +121,30 @@ module EmassClient
|
|
113
121
|
# @param [Hash] attributes Model attributes in the form of hash
|
114
122
|
# @return [Object] Returns the model itself
|
115
123
|
def self.build_from_hash(attributes)
|
116
|
-
new.build_from_hash(attributes)
|
117
|
-
end
|
118
|
-
|
119
|
-
# Builds the object from hash
|
120
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
121
|
-
# @return [Object] Returns the model itself
|
122
|
-
def build_from_hash(attributes)
|
123
124
|
return nil unless attributes.is_a?(Hash)
|
124
125
|
attributes = attributes.transform_keys(&:to_sym)
|
125
|
-
|
126
|
-
|
127
|
-
|
126
|
+
transformed_hash = {}
|
127
|
+
openapi_types.each_pair do |key, type|
|
128
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
129
|
+
transformed_hash["#{key}"] = nil
|
128
130
|
elsif type =~ /\AArray<(.*)>/i
|
129
131
|
# check to ensure the input is an array given that the attribute
|
130
132
|
# is documented as an array but the input is not
|
131
|
-
if attributes[
|
132
|
-
|
133
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
134
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
133
135
|
end
|
134
|
-
elsif !attributes[
|
135
|
-
|
136
|
+
elsif !attributes[attribute_map[key]].nil?
|
137
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
136
138
|
end
|
137
139
|
end
|
138
|
-
|
139
|
-
self
|
140
|
+
new(transformed_hash)
|
140
141
|
end
|
141
142
|
|
142
143
|
# Deserializes the data based on type
|
143
144
|
# @param string type Data type
|
144
145
|
# @param string value Value to be deserialized
|
145
146
|
# @return [Object] Deserialized data
|
146
|
-
def _deserialize(type, value)
|
147
|
+
def self._deserialize(type, value)
|
147
148
|
case type.to_sym
|
148
149
|
when :Time
|
149
150
|
Time.parse(value)
|
@@ -178,7 +179,7 @@ module EmassClient
|
|
178
179
|
else # model
|
179
180
|
# models (e.g. Pet) or oneOf
|
180
181
|
klass = EmassClient.const_get(type)
|
181
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
182
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
182
183
|
end
|
183
184
|
end
|
184
185
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#Enterprise Mission Assurance Support Service (eMASS)
|
3
3
|
|
4
|
-
#The
|
4
|
+
#The eMASS Representational State Transfer (REST) Application Programming Interface (API) enables users to perform assessments and complete actions associated with system records. The eMASS API provides an interface for application to communicate eMASS Services. For information on how to register and use the eMASS API reference the [eMASS API Getting Started](eMASSGettingStarted.md). Additional information about eMASS can be obtain by contacting the National Industrial Security Program (NISP). Points of Contact are:
|
5
5
|
|
6
|
-
The version of the OpenAPI document: v3.
|
7
|
-
Contact: disa.
|
6
|
+
The version of the OpenAPI document: v3.22
|
7
|
+
Contact: disa.global.servicedesk.mbx.ma-ticket-request@mail.mil
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.12.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module EmassClient
|
17
|
-
class
|
17
|
+
class StaticCodeApplicationPost
|
18
18
|
# [Optional] Scan vulnerability ratting
|
19
19
|
attr_accessor :raw_severity
|
20
20
|
|
@@ -67,9 +67,14 @@ module EmassClient
|
|
67
67
|
}
|
68
68
|
end
|
69
69
|
|
70
|
+
# Returns attribute mapping this model knows about
|
71
|
+
def self.acceptable_attribute_map
|
72
|
+
attribute_map
|
73
|
+
end
|
74
|
+
|
70
75
|
# Returns all the JSON keys this model knows about
|
71
76
|
def self.acceptable_attributes
|
72
|
-
|
77
|
+
acceptable_attribute_map.values
|
73
78
|
end
|
74
79
|
|
75
80
|
# Attribute type mapping.
|
@@ -94,13 +99,14 @@ module EmassClient
|
|
94
99
|
# @param [Hash] attributes Model attributes in the form of hash
|
95
100
|
def initialize(attributes = {})
|
96
101
|
if (!attributes.is_a?(Hash))
|
97
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `EmassClient::
|
102
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `EmassClient::StaticCodeApplicationPost` initialize method"
|
98
103
|
end
|
99
104
|
|
100
105
|
# check to see if the attribute exists and convert string to symbol for hash key
|
106
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
101
107
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
102
|
-
if (!
|
103
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `EmassClient::
|
108
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
109
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `EmassClient::StaticCodeApplicationPost`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
104
110
|
end
|
105
111
|
h[k.to_sym] = v
|
106
112
|
}
|
@@ -133,6 +139,7 @@ module EmassClient
|
|
133
139
|
# Show invalid properties with the reasons. Usually used together with valid?
|
134
140
|
# @return Array for valid properties with the reasons
|
135
141
|
def list_invalid_properties
|
142
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
136
143
|
invalid_properties = Array.new
|
137
144
|
invalid_properties
|
138
145
|
end
|
@@ -140,6 +147,7 @@ module EmassClient
|
|
140
147
|
# Check to see if the all the properties in the model are valid
|
141
148
|
# @return true if the model is valid
|
142
149
|
def valid?
|
150
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
143
151
|
raw_severity_validator = EnumAttributeValidator.new('String', ["Low", "Medium", "Moderate", "High", "Critical", "unknown_default_open_api"])
|
144
152
|
return false unless raw_severity_validator.valid?(@raw_severity)
|
145
153
|
true
|
@@ -184,37 +192,30 @@ module EmassClient
|
|
184
192
|
# @param [Hash] attributes Model attributes in the form of hash
|
185
193
|
# @return [Object] Returns the model itself
|
186
194
|
def self.build_from_hash(attributes)
|
187
|
-
new.build_from_hash(attributes)
|
188
|
-
end
|
189
|
-
|
190
|
-
# Builds the object from hash
|
191
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
192
|
-
# @return [Object] Returns the model itself
|
193
|
-
def build_from_hash(attributes)
|
194
195
|
return nil unless attributes.is_a?(Hash)
|
195
196
|
attributes = attributes.transform_keys(&:to_sym)
|
196
|
-
|
197
|
-
|
198
|
-
|
197
|
+
transformed_hash = {}
|
198
|
+
openapi_types.each_pair do |key, type|
|
199
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
200
|
+
transformed_hash["#{key}"] = nil
|
199
201
|
elsif type =~ /\AArray<(.*)>/i
|
200
202
|
# check to ensure the input is an array given that the attribute
|
201
203
|
# is documented as an array but the input is not
|
202
|
-
if attributes[
|
203
|
-
|
204
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
205
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
204
206
|
end
|
205
|
-
elsif !attributes[
|
206
|
-
|
207
|
+
elsif !attributes[attribute_map[key]].nil?
|
208
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
207
209
|
end
|
208
210
|
end
|
209
|
-
|
210
|
-
self
|
211
|
+
new(transformed_hash)
|
211
212
|
end
|
212
213
|
|
213
214
|
# Deserializes the data based on type
|
214
215
|
# @param string type Data type
|
215
216
|
# @param string value Value to be deserialized
|
216
217
|
# @return [Object] Deserialized data
|
217
|
-
def _deserialize(type, value)
|
218
|
+
def self._deserialize(type, value)
|
218
219
|
case type.to_sym
|
219
220
|
when :Time
|
220
221
|
Time.parse(value)
|
@@ -249,7 +250,7 @@ module EmassClient
|
|
249
250
|
else # model
|
250
251
|
# models (e.g. Pet) or oneOf
|
251
252
|
klass = EmassClient.const_get(type)
|
252
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
253
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
253
254
|
end
|
254
255
|
end
|
255
256
|
|