Class: EmassClient::Systems
- Inherits:
-
Object
- Object
- EmassClient::Systems
- Defined in:
- lib/emass_client/models/systems.rb
Defined Under Namespace
Classes: EnumAttributeValidator
Instance Attribute Summary collapse
-
#acronym ⇒ Object
- Read-only
-
Acronym of the system record.
-
#applied_overlays ⇒ Object
- Read-only
-
Overlays applied to the system record.
-
#authorization_date ⇒ Object
- Read-only
-
Authorization Date of the system record.
-
#authorization_length ⇒ Object
- Read-only
-
Length of system’s Authorization.
-
#authorization_status ⇒ Object
- Read-only
-
Authorization Status of the system record.
-
#authorization_termination_date ⇒ Object
- Read-only
-
Authorization Termination Date of the system record.
-
#availability ⇒ Object
- Read-only
-
Availability of the system record.
-
#coams_id ⇒ Object
- Read-only
-
Corresponding Cyber Operational Attributes Management System (COAMS) identifier for the system record.
-
#confidentiality ⇒ Object
- Read-only
-
Confidentiality of the system record.
-
#connectivity_ccsd ⇒ Object
Returns the value of attribute connectivity_ccsd.
-
#contingency_plan_test_date ⇒ Object
- Read-only
-
Date the system record’s Contingency Plan was tested.
-
#contingency_plan_tested ⇒ Object
- Read-only
-
Has the system record’s Contingency Plan been tested?.
-
#cross_domain_ticket ⇒ Object
- Read-only
-
Cross Domain Tickets of the system record.
-
#current_rmf_lifecycle_step ⇒ Object
- Read-only
-
Displays the system’s current step within the RMF Lifecycle.
-
#description ⇒ Object
- Read-only
-
Description of the system record.
-
#ditpr_don_id ⇒ Object
- Read-Only
-
DITPR-DON identifier of the system record.
-
#ditpr_id ⇒ Object
- Read-only
-
DITPR ID of the system record.
-
#dod_confidentiality ⇒ Object
- Read-Only
-
DoD Confidentiality level of the system record.
-
#geographical_association ⇒ Object
- Read-only
-
Geographical Association of the system record (VA only).
-
#governing_mission_area ⇒ Object
- Read-only
-
Governing Mission Area of the system record.
-
#has_cui ⇒ Object
- Read-only
-
Does the system record contain and/or process Controlled Unclassified information?.
-
#has_open_poam_item ⇒ Object
- Read-Only
-
Does the system record have an Ongoing or Risk Accepted POA&M Item?.
-
#has_open_poam_item120_plus_past_scheudled_completion_date ⇒ Object
- Read-Only
-
Does the system record have an Ongoing or Risk Accepted POA&M Item 120 days past its Scheduled Completion Date?.
-
#has_open_poam_item90to120_past_scheduled_completion_date ⇒ Object
- Read-Only
-
Does the system record have an Ongoing or Risk Accepted POA&M Item 90 to 120 days past its Scheduled Completion Date?.
-
#has_phi ⇒ Object
- Read-only
-
Does the system record contain and/or process Personal Health Information?.
-
#has_pii ⇒ Object
- Read-only
-
Does the system record contain and/or process Personally Identifiable Information?.
-
#impact ⇒ Object
- Optional
-
Values include the following options (Very Low, Low, Moderate,High,Very High).
-
#integrity ⇒ Object
- Read-only
-
Integrity of the system record.
-
#interconnected_information_system_and_identifiers ⇒ Object
- Read-only
-
Identify the interconnected information systems and corresponding identifiers within control CA-3.
-
#is_nss ⇒ Object
- Read-only
-
Is the system record a National Security System?.
-
#is_pia_required ⇒ Object
- Read-only
-
Does the system require a Privacy Impact Assessment?.
-
#is_public_facing ⇒ Object
- Read-only
-
Does the system record have a public facing component/presence.
-
#is_type_authorization ⇒ Object
- Read-only
-
Identifies if system is a Type Authorization.
-
#mac ⇒ Object
- Read-Only
-
MAC level of the system record.
-
#mission_criticality ⇒ Object
- Read-only
-
Mission Criticality of the system record.
-
#name ⇒ Object
- Read-only
-
Name of the system record.
-
#organization_name ⇒ Object
- Read-only
-
Name of the top-level component that owns the system (e.g. Navy, Air Force, Army, etc..).
-
#other_information ⇒ Object
- Read-only
-
Include any additional information required by the organization.
-
#package ⇒ Object
Returns the value of attribute package.
-
#pia_date ⇒ Object
- Read-only
-
Date in which the system’s PIA took place.
-
#pia_status ⇒ Object
- Read-only
-
Status of the PIA, availability values include the following options (Not Started, In Progress, Completed).
-
#policy ⇒ Object
- Read-only
-
RMF/DIACAP Policy identifier for the system record.
-
#ppsm_registry_number ⇒ Object
- Read-only
-
Unique identifier for the DoD’s Ports, Protocols, and Services Management Registry system.
-
#primary_control_set ⇒ Object
- Read-only
-
Primary Control Set of the system record.
-
#primary_functional_area ⇒ Object
- Read-only
-
Primary functional area of the system record.
-
#registration_type ⇒ Object
- Read-Only
-
Registration types parameters (assessAndAuthorize, assessOnly, guest, regular, functional, cloudServiceProvider.).
-
#reports_for_scorecard ⇒ Object
- Read-only
-
Indicates if the system reports to the DoD Cyber Hygiene Scorecard.
-
#rmf_activity ⇒ Object
- Read-only
-
RMF Activity of the system record.
-
#secondary_functional_area ⇒ Object
- Read-only
-
Secondary functional area of the system record.
-
#secondary_organization ⇒ Object
- Read-only
-
Secondary organization that owns the system record (i.e. Sub-Organization-level..
-
#security_plan_approval_date ⇒ Object
- Read-only
-
Approval date of the system’s RMF Security Plan.
-
#security_plan_approval_status ⇒ Object
- Read-only
-
Status of the approval of the system’s RMF Security Plan.
-
#security_review_date ⇒ Object
- Read-only
-
Date the system record’s Annual Security Review was conducted.
-
#system_id ⇒ Object
- Read-only
-
Unique system record identifier.
-
#system_owner ⇒ Object
- Read-only
-
Owning organization of the system record.
-
#system_ownership ⇒ Object
- Read-only
-
Ownership of the system record (VA only).
-
#system_type ⇒ Object
- Read-only
-
Type of the system record.
-
#terms_for_auth ⇒ Object
- Read-only
-
Terms/Conditions for receiving and maintaining the system’s Authorization.
-
#user_defined_field1 ⇒ Object
- Read-only
-
User-defined field to augment Ad Hoc Reporting.
-
#user_defined_field2 ⇒ Object
- Read-only
-
User-defined field to augment Ad Hoc Reporting.
-
#user_defined_field3 ⇒ Object
- Read-only
-
User-defined field to augment Ad Hoc Reporting.
-
#user_defined_field4 ⇒ Object
- Read-only
-
User-defined field to augment Ad Hoc Reporting.
-
#user_defined_field5 ⇒ Object
- Read-only
-
User-defined field to augment Ad Hoc Reporting.
-
#version_release_no ⇒ Object
- Read-only
-
Version/Release Number of system record.
Class Method Summary collapse
-
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about.
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.build_from_hash(attributes) ⇒ Object
Builds the object from hash.
-
.openapi_nullable ⇒ Object
List of attributes with nullable: true.
-
.openapi_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Integer
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ Systems
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ Systems
Initializes the object
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 |
# File 'lib/emass_client/models/systems.rb', line 445 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `EmassClient::Systems` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `EmassClient::Systems`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'system_id') self.system_id = attributes[:'system_id'] end if attributes.key?(:'policy') self.policy = attributes[:'policy'] end if attributes.key?(:'registration_type') self.registration_type = attributes[:'registration_type'] end if attributes.key?(:'name') self.name = attributes[:'name'] end if attributes.key?(:'acronym') self.acronym = attributes[:'acronym'] end if attributes.key?(:'description') self.description = attributes[:'description'] end if attributes.key?(:'system_owner') self.system_owner = attributes[:'system_owner'] end if attributes.key?(:'organization_name') self.organization_name = attributes[:'organization_name'] end if attributes.key?(:'secondary_organization') self.secondary_organization = attributes[:'secondary_organization'] end if attributes.key?(:'version_release_no') self.version_release_no = attributes[:'version_release_no'] end if attributes.key?(:'system_type') self.system_type = attributes[:'system_type'] end if attributes.key?(:'is_nss') self.is_nss = attributes[:'is_nss'] end if attributes.key?(:'is_public_facing') self.is_public_facing = attributes[:'is_public_facing'] end if attributes.key?(:'coams_id') self.coams_id = attributes[:'coams_id'] end if attributes.key?(:'is_type_authorization') self. = attributes[:'is_type_authorization'] end if attributes.key?(:'ditpr_id') self.ditpr_id = attributes[:'ditpr_id'] end if attributes.key?(:'authorization_status') self. = attributes[:'authorization_status'] end if attributes.key?(:'authorization_date') self. = attributes[:'authorization_date'] end if attributes.key?(:'authorization_termination_date') self. = attributes[:'authorization_termination_date'] end if attributes.key?(:'authorization_length') self. = attributes[:'authorization_length'] end if attributes.key?(:'terms_for_auth') self.terms_for_auth = attributes[:'terms_for_auth'] end if attributes.key?(:'security_plan_approval_status') self.security_plan_approval_status = attributes[:'security_plan_approval_status'] end if attributes.key?(:'security_plan_approval_date') self.security_plan_approval_date = attributes[:'security_plan_approval_date'] end if attributes.key?(:'mission_criticality') self.mission_criticality = attributes[:'mission_criticality'] end if attributes.key?(:'geographical_association') self.geographical_association = attributes[:'geographical_association'] end if attributes.key?(:'system_ownership') self.system_ownership = attributes[:'system_ownership'] end if attributes.key?(:'governing_mission_area') self.governing_mission_area = attributes[:'governing_mission_area'] end if attributes.key?(:'primary_functional_area') self.primary_functional_area = attributes[:'primary_functional_area'] end if attributes.key?(:'secondary_functional_area') self.secondary_functional_area = attributes[:'secondary_functional_area'] end if attributes.key?(:'primary_control_set') self.primary_control_set = attributes[:'primary_control_set'] end if attributes.key?(:'confidentiality') self.confidentiality = attributes[:'confidentiality'] end if attributes.key?(:'integrity') self.integrity = attributes[:'integrity'] end if attributes.key?(:'availability') self.availability = attributes[:'availability'] end if attributes.key?(:'applied_overlays') self. = attributes[:'applied_overlays'] end if attributes.key?(:'rmf_activity') self.rmf_activity = attributes[:'rmf_activity'] end if attributes.key?(:'cross_domain_ticket') self.cross_domain_ticket = attributes[:'cross_domain_ticket'] end if attributes.key?(:'ditpr_don_id') self.ditpr_don_id = attributes[:'ditpr_don_id'] end if attributes.key?(:'mac') self.mac = attributes[:'mac'] end if attributes.key?(:'dod_confidentiality') self.dod_confidentiality = attributes[:'dod_confidentiality'] end if attributes.key?(:'contingency_plan_tested') self.contingency_plan_tested = attributes[:'contingency_plan_tested'] end if attributes.key?(:'contingency_plan_test_date') self.contingency_plan_test_date = attributes[:'contingency_plan_test_date'] end if attributes.key?(:'security_review_date') self.security_review_date = attributes[:'security_review_date'] end if attributes.key?(:'has_open_poam_item') self.has_open_poam_item = attributes[:'has_open_poam_item'] end if attributes.key?(:'has_open_poam_item90to120_past_scheduled_completion_date') self.has_open_poam_item90to120_past_scheduled_completion_date = attributes[:'has_open_poam_item90to120_past_scheduled_completion_date'] end if attributes.key?(:'has_open_poam_item120_plus_past_scheudled_completion_date') self.has_open_poam_item120_plus_past_scheudled_completion_date = attributes[:'has_open_poam_item120_plus_past_scheudled_completion_date'] end if attributes.key?(:'impact') self.impact = attributes[:'impact'] end if attributes.key?(:'has_cui') self.has_cui = attributes[:'has_cui'] end if attributes.key?(:'has_pii') self.has_pii = attributes[:'has_pii'] end if attributes.key?(:'has_phi') self.has_phi = attributes[:'has_phi'] end if attributes.key?(:'ppsm_registry_number') self.ppsm_registry_number = attributes[:'ppsm_registry_number'] end if attributes.key?(:'interconnected_information_system_and_identifiers') self.interconnected_information_system_and_identifiers = attributes[:'interconnected_information_system_and_identifiers'] end if attributes.key?(:'is_pia_required') self.is_pia_required = attributes[:'is_pia_required'] end if attributes.key?(:'pia_status') self.pia_status = attributes[:'pia_status'] end if attributes.key?(:'pia_date') self.pia_date = attributes[:'pia_date'] end if attributes.key?(:'user_defined_field1') self.user_defined_field1 = attributes[:'user_defined_field1'] end if attributes.key?(:'user_defined_field2') self.user_defined_field2 = attributes[:'user_defined_field2'] end if attributes.key?(:'user_defined_field3') self.user_defined_field3 = attributes[:'user_defined_field3'] end if attributes.key?(:'user_defined_field4') self.user_defined_field4 = attributes[:'user_defined_field4'] end if attributes.key?(:'user_defined_field5') self.user_defined_field5 = attributes[:'user_defined_field5'] end if attributes.key?(:'current_rmf_lifecycle_step') self.current_rmf_lifecycle_step = attributes[:'current_rmf_lifecycle_step'] end if attributes.key?(:'other_information') self.other_information = attributes[:'other_information'] end if attributes.key?(:'reports_for_scorecard') self.reports_for_scorecard = attributes[:'reports_for_scorecard'] end if attributes.key?(:'package') if (value = attributes[:'package']).is_a?(Array) self.package = value end end if attributes.key?(:'connectivity_ccsd') if (value = attributes[:'connectivity_ccsd']).is_a?(Array) self.connectivity_ccsd = value end end end |
Instance Attribute Details
#acronym ⇒ Object
- Read-only
-
Acronym of the system record.
31 32 33 |
# File 'lib/emass_client/models/systems.rb', line 31 def acronym @acronym end |
#applied_overlays ⇒ Object
- Read-only
-
Overlays applied to the system record.
118 119 120 |
# File 'lib/emass_client/models/systems.rb', line 118 def @applied_overlays end |
#authorization_date ⇒ Object
- Read-only
-
Authorization Date of the system record.
70 71 72 |
# File 'lib/emass_client/models/systems.rb', line 70 def @authorization_date end |
#authorization_length ⇒ Object
- Read-only
-
Length of system’s Authorization. Calculated based off of Authorization Date & Authorization Termination Date.
76 77 78 |
# File 'lib/emass_client/models/systems.rb', line 76 def @authorization_length end |
#authorization_status ⇒ Object
- Read-only
-
Authorization Status of the system record.
67 68 69 |
# File 'lib/emass_client/models/systems.rb', line 67 def @authorization_status end |
#authorization_termination_date ⇒ Object
- Read-only
-
Authorization Termination Date of the system record.
73 74 75 |
# File 'lib/emass_client/models/systems.rb', line 73 def @authorization_termination_date end |
#availability ⇒ Object
- Read-only
-
Availability of the system record. RMF values include the following options (High, Moderate, Low)
115 116 117 |
# File 'lib/emass_client/models/systems.rb', line 115 def availability @availability end |
#coams_id ⇒ Object
- Read-only
-
Corresponding Cyber Operational Attributes Management System (COAMS) identifier for the system record.
58 59 60 |
# File 'lib/emass_client/models/systems.rb', line 58 def coams_id @coams_id end |
#confidentiality ⇒ Object
- Read-only
-
Confidentiality of the system record. RMF values include the following options (High, Moderate, Low)
109 110 111 |
# File 'lib/emass_client/models/systems.rb', line 109 def confidentiality @confidentiality end |
#connectivity_ccsd ⇒ Object
Returns the value of attribute connectivity_ccsd.
206 207 208 |
# File 'lib/emass_client/models/systems.rb', line 206 def connectivity_ccsd @connectivity_ccsd end |
#contingency_plan_test_date ⇒ Object
- Read-only
-
Date the system record’s Contingency Plan was tested.
139 140 141 |
# File 'lib/emass_client/models/systems.rb', line 139 def contingency_plan_test_date @contingency_plan_test_date end |
#contingency_plan_tested ⇒ Object
- Read-only
-
Has the system record’s Contingency Plan been tested?
136 137 138 |
# File 'lib/emass_client/models/systems.rb', line 136 def contingency_plan_tested @contingency_plan_tested end |
#cross_domain_ticket ⇒ Object
- Read-only
-
Cross Domain Tickets of the system record.
124 125 126 |
# File 'lib/emass_client/models/systems.rb', line 124 def cross_domain_ticket @cross_domain_ticket end |
#current_rmf_lifecycle_step ⇒ Object
- Read-only
-
Displays the system’s current step within the RMF Lifecycle.
196 197 198 |
# File 'lib/emass_client/models/systems.rb', line 196 def current_rmf_lifecycle_step @current_rmf_lifecycle_step end |
#description ⇒ Object
- Read-only
-
Description of the system record.
34 35 36 |
# File 'lib/emass_client/models/systems.rb', line 34 def description @description end |
#ditpr_don_id ⇒ Object
- Read-Only
-
DITPR-DON identifier of the system record.
127 128 129 |
# File 'lib/emass_client/models/systems.rb', line 127 def ditpr_don_id @ditpr_don_id end |
#ditpr_id ⇒ Object
- Read-only
-
DITPR ID of the system record.
64 65 66 |
# File 'lib/emass_client/models/systems.rb', line 64 def ditpr_id @ditpr_id end |
#dod_confidentiality ⇒ Object
- Read-Only
-
DoD Confidentiality level of the system record.
133 134 135 |
# File 'lib/emass_client/models/systems.rb', line 133 def dod_confidentiality @dod_confidentiality end |
#geographical_association ⇒ Object
- Read-only
-
Geographical Association of the system record (VA only).
91 92 93 |
# File 'lib/emass_client/models/systems.rb', line 91 def geographical_association @geographical_association end |
#governing_mission_area ⇒ Object
- Read-only
-
Governing Mission Area of the system record.
97 98 99 |
# File 'lib/emass_client/models/systems.rb', line 97 def governing_mission_area @governing_mission_area end |
#has_cui ⇒ Object
- Read-only
-
Does the system record contain and/or process Controlled Unclassified information?
157 158 159 |
# File 'lib/emass_client/models/systems.rb', line 157 def has_cui @has_cui end |
#has_open_poam_item ⇒ Object
- Read-Only
-
Does the system record have an Ongoing or Risk Accepted POA&M Item?
145 146 147 |
# File 'lib/emass_client/models/systems.rb', line 145 def has_open_poam_item @has_open_poam_item end |
#has_open_poam_item120_plus_past_scheudled_completion_date ⇒ Object
- Read-Only
-
Does the system record have an Ongoing or Risk Accepted POA&M Item 120 days past its Scheduled Completion Date?
151 152 153 |
# File 'lib/emass_client/models/systems.rb', line 151 def has_open_poam_item120_plus_past_scheudled_completion_date @has_open_poam_item120_plus_past_scheudled_completion_date end |
#has_open_poam_item90to120_past_scheduled_completion_date ⇒ Object
- Read-Only
-
Does the system record have an Ongoing or Risk Accepted POA&M Item 90 to 120 days past its Scheduled Completion Date?
148 149 150 |
# File 'lib/emass_client/models/systems.rb', line 148 def has_open_poam_item90to120_past_scheduled_completion_date @has_open_poam_item90to120_past_scheduled_completion_date end |
#has_phi ⇒ Object
- Read-only
-
Does the system record contain and/or process Personal Health Information?
163 164 165 |
# File 'lib/emass_client/models/systems.rb', line 163 def has_phi @has_phi end |
#has_pii ⇒ Object
- Read-only
-
Does the system record contain and/or process Personally Identifiable Information?
160 161 162 |
# File 'lib/emass_client/models/systems.rb', line 160 def has_pii @has_pii end |
#impact ⇒ Object
- Optional
-
Values include the following options (Very Low, Low, Moderate,High,Very High)
154 155 156 |
# File 'lib/emass_client/models/systems.rb', line 154 def impact @impact end |
#integrity ⇒ Object
- Read-only
-
Integrity of the system record. RMF values include the following options (High, Moderate, Low)
112 113 114 |
# File 'lib/emass_client/models/systems.rb', line 112 def integrity @integrity end |
#interconnected_information_system_and_identifiers ⇒ Object
- Read-only
-
Identify the interconnected information systems and corresponding identifiers within control CA-3.
169 170 171 |
# File 'lib/emass_client/models/systems.rb', line 169 def interconnected_information_system_and_identifiers @interconnected_information_system_and_identifiers end |
#is_nss ⇒ Object
- Read-only
-
Is the system record a National Security System?
52 53 54 |
# File 'lib/emass_client/models/systems.rb', line 52 def is_nss @is_nss end |
#is_pia_required ⇒ Object
- Read-only
-
Does the system require a Privacy Impact Assessment?
172 173 174 |
# File 'lib/emass_client/models/systems.rb', line 172 def is_pia_required @is_pia_required end |
#is_public_facing ⇒ Object
- Read-only
-
Does the system record have a public facing component/presence.
55 56 57 |
# File 'lib/emass_client/models/systems.rb', line 55 def is_public_facing @is_public_facing end |
#is_type_authorization ⇒ Object
- Read-only
-
Identifies if system is a Type Authorization.
61 62 63 |
# File 'lib/emass_client/models/systems.rb', line 61 def @is_type_authorization end |
#mac ⇒ Object
- Read-Only
-
MAC level of the system record.
130 131 132 |
# File 'lib/emass_client/models/systems.rb', line 130 def mac @mac end |
#mission_criticality ⇒ Object
- Read-only
-
Mission Criticality of the system record. Values include the following options (Mission Critical (MC), Mission Essential (ME), Mission Support (MS).
88 89 90 |
# File 'lib/emass_client/models/systems.rb', line 88 def mission_criticality @mission_criticality end |
#name ⇒ Object
- Read-only
-
Name of the system record.
28 29 30 |
# File 'lib/emass_client/models/systems.rb', line 28 def name @name end |
#organization_name ⇒ Object
- Read-only
-
Name of the top-level component that owns the system (e.g. Navy, Air Force, Army, etc..).
40 41 42 |
# File 'lib/emass_client/models/systems.rb', line 40 def organization_name @organization_name end |
#other_information ⇒ Object
- Read-only
-
Include any additional information required by the organization.
199 200 201 |
# File 'lib/emass_client/models/systems.rb', line 199 def other_information @other_information end |
#package ⇒ Object
Returns the value of attribute package.
204 205 206 |
# File 'lib/emass_client/models/systems.rb', line 204 def package @package end |
#pia_date ⇒ Object
- Read-only
-
Date in which the system’s PIA took place.
178 179 180 |
# File 'lib/emass_client/models/systems.rb', line 178 def pia_date @pia_date end |
#pia_status ⇒ Object
- Read-only
-
Status of the PIA, availability values include the following options (Not Started, In Progress, Completed)
175 176 177 |
# File 'lib/emass_client/models/systems.rb', line 175 def pia_status @pia_status end |
#policy ⇒ Object
- Read-only
-
RMF/DIACAP Policy identifier for the system record.
22 23 24 |
# File 'lib/emass_client/models/systems.rb', line 22 def policy @policy end |
#ppsm_registry_number ⇒ Object
- Read-only
-
Unique identifier for the DoD’s Ports, Protocols, and Services Management Registry system.
166 167 168 |
# File 'lib/emass_client/models/systems.rb', line 166 def ppsm_registry_number @ppsm_registry_number end |
#primary_control_set ⇒ Object
- Read-only
-
Primary Control Set of the system record. RMF values include the following options (NIST SP 800-53 Revision 4), DIACAP values include the following options (DoDI 8500.2)
106 107 108 |
# File 'lib/emass_client/models/systems.rb', line 106 def primary_control_set @primary_control_set end |
#primary_functional_area ⇒ Object
- Read-only
-
Primary functional area of the system record.
100 101 102 |
# File 'lib/emass_client/models/systems.rb', line 100 def primary_functional_area @primary_functional_area end |
#registration_type ⇒ Object
- Read-Only
-
Registration types parameters (assessAndAuthorize, assessOnly, guest, regular, functional, cloudServiceProvider.)
25 26 27 |
# File 'lib/emass_client/models/systems.rb', line 25 def registration_type @registration_type end |
#reports_for_scorecard ⇒ Object
- Read-only
-
Indicates if the system reports to the DoD Cyber Hygiene Scorecard.
202 203 204 |
# File 'lib/emass_client/models/systems.rb', line 202 def reports_for_scorecard @reports_for_scorecard end |
#rmf_activity ⇒ Object
- Read-only
-
RMF Activity of the system record.
121 122 123 |
# File 'lib/emass_client/models/systems.rb', line 121 def rmf_activity @rmf_activity end |
#secondary_functional_area ⇒ Object
- Read-only
-
Secondary functional area of the system record.
103 104 105 |
# File 'lib/emass_client/models/systems.rb', line 103 def secondary_functional_area @secondary_functional_area end |
#secondary_organization ⇒ Object
- Read-only
-
Secondary organization that owns the system record (i.e. Sub-Organization-level.
43 44 45 |
# File 'lib/emass_client/models/systems.rb', line 43 def secondary_organization @secondary_organization end |
#security_plan_approval_date ⇒ Object
- Read-only
-
Approval date of the system’s RMF Security Plan.
85 86 87 |
# File 'lib/emass_client/models/systems.rb', line 85 def security_plan_approval_date @security_plan_approval_date end |
#security_plan_approval_status ⇒ Object
- Read-only
-
Status of the approval of the system’s RMF Security Plan. Values include the following options (Approved, Denied, Not Yet Approved).
82 83 84 |
# File 'lib/emass_client/models/systems.rb', line 82 def security_plan_approval_status @security_plan_approval_status end |
#security_review_date ⇒ Object
- Read-only
-
Date the system record’s Annual Security Review was conducted.
142 143 144 |
# File 'lib/emass_client/models/systems.rb', line 142 def security_review_date @security_review_date end |
#system_id ⇒ Object
- Read-only
-
Unique system record identifier.
19 20 21 |
# File 'lib/emass_client/models/systems.rb', line 19 def system_id @system_id end |
#system_owner ⇒ Object
- Read-only
-
Owning organization of the system record.
37 38 39 |
# File 'lib/emass_client/models/systems.rb', line 37 def system_owner @system_owner end |
#system_ownership ⇒ Object
- Read-only
-
Ownership of the system record (VA only).
94 95 96 |
# File 'lib/emass_client/models/systems.rb', line 94 def system_ownership @system_ownership end |
#system_type ⇒ Object
- Read-only
-
Type of the system record. RMF values include the following options (IS Major Application, IS Enclave, Platform IT System). DIACAP values include the following options (Platform IT, Interconnection, AIS Application)
49 50 51 |
# File 'lib/emass_client/models/systems.rb', line 49 def system_type @system_type end |
#terms_for_auth ⇒ Object
- Read-only
-
Terms/Conditions for receiving and maintaining the system’s Authorization. Assigned by the Authorizing Official.
79 80 81 |
# File 'lib/emass_client/models/systems.rb', line 79 def terms_for_auth @terms_for_auth end |
#user_defined_field1 ⇒ Object
- Read-only
-
User-defined field to augment Ad Hoc Reporting.
181 182 183 |
# File 'lib/emass_client/models/systems.rb', line 181 def user_defined_field1 @user_defined_field1 end |
#user_defined_field2 ⇒ Object
- Read-only
-
User-defined field to augment Ad Hoc Reporting.
184 185 186 |
# File 'lib/emass_client/models/systems.rb', line 184 def user_defined_field2 @user_defined_field2 end |
#user_defined_field3 ⇒ Object
- Read-only
-
User-defined field to augment Ad Hoc Reporting.
187 188 189 |
# File 'lib/emass_client/models/systems.rb', line 187 def user_defined_field3 @user_defined_field3 end |
#user_defined_field4 ⇒ Object
- Read-only
-
User-defined field to augment Ad Hoc Reporting.
190 191 192 |
# File 'lib/emass_client/models/systems.rb', line 190 def user_defined_field4 @user_defined_field4 end |
#user_defined_field5 ⇒ Object
- Read-only
-
User-defined field to augment Ad Hoc Reporting.
193 194 195 |
# File 'lib/emass_client/models/systems.rb', line 193 def user_defined_field5 @user_defined_field5 end |
#version_release_no ⇒ Object
- Read-only
-
Version/Release Number of system record.
46 47 48 |
# File 'lib/emass_client/models/systems.rb', line 46 def version_release_no @version_release_no end |
Class Method Details
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about
301 302 303 |
# File 'lib/emass_client/models/systems.rb', line 301 def self.acceptable_attributes attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 |
# File 'lib/emass_client/models/systems.rb', line 231 def self.attribute_map { :'system_id' => :'systemId', :'policy' => :'policy', :'registration_type' => :'registrationType', :'name' => :'name', :'acronym' => :'acronym', :'description' => :'description', :'system_owner' => :'systemOwner', :'organization_name' => :'organizationName', :'secondary_organization' => :'secondaryOrganization', :'version_release_no' => :'versionReleaseNo', :'system_type' => :'systemType', :'is_nss' => :'isNSS', :'is_public_facing' => :'isPublicFacing', :'coams_id' => :'coamsId', :'is_type_authorization' => :'isTypeAuthorization', :'ditpr_id' => :'ditprId', :'authorization_status' => :'authorizationStatus', :'authorization_date' => :'authorizationDate', :'authorization_termination_date' => :'authorizationTerminationDate', :'authorization_length' => :'authorizationLength', :'terms_for_auth' => :'termsForAuth', :'security_plan_approval_status' => :'securityPlanApprovalStatus', :'security_plan_approval_date' => :'securityPlanApprovalDate', :'mission_criticality' => :'missionCriticality', :'geographical_association' => :'geographicalAssociation', :'system_ownership' => :'systemOwnership', :'governing_mission_area' => :'governingMissionArea', :'primary_functional_area' => :'primaryFunctionalArea', :'secondary_functional_area' => :'secondaryFunctionalArea', :'primary_control_set' => :'primaryControlSet', :'confidentiality' => :'confidentiality', :'integrity' => :'integrity', :'availability' => :'availability', :'applied_overlays' => :'appliedOverlays', :'rmf_activity' => :'rmfActivity', :'cross_domain_ticket' => :'crossDomainTicket', :'ditpr_don_id' => :'ditprDonId', :'mac' => :'mac', :'dod_confidentiality' => :'dodConfidentiality', :'contingency_plan_tested' => :'contingencyPlanTested', :'contingency_plan_test_date' => :'contingencyPlanTestDate', :'security_review_date' => :'securityReviewDate', :'has_open_poam_item' => :'hasOpenPoamItem', :'has_open_poam_item90to120_past_scheduled_completion_date' => :'hasOpenPoamItem90to120PastScheduledCompletionDate', :'has_open_poam_item120_plus_past_scheudled_completion_date' => :'hasOpenPoamItem120PlusPastScheudledCompletionDate', :'impact' => :'impact', :'has_cui' => :'hasCUI', :'has_pii' => :'hasPII', :'has_phi' => :'hasPHI', :'ppsm_registry_number' => :'ppsmRegistryNumber', :'interconnected_information_system_and_identifiers' => :'interconnectedInformationSystemAndIdentifiers', :'is_pia_required' => :'isPiaRequired', :'pia_status' => :'piaStatus', :'pia_date' => :'piaDate', :'user_defined_field1' => :'userDefinedField1', :'user_defined_field2' => :'userDefinedField2', :'user_defined_field3' => :'userDefinedField3', :'user_defined_field4' => :'userDefinedField4', :'user_defined_field5' => :'userDefinedField5', :'current_rmf_lifecycle_step' => :'currentRmfLifecycleStep', :'other_information' => :'otherInformation', :'reports_for_scorecard' => :'reportsForScorecard', :'package' => :'package', :'connectivity_ccsd' => :'connectivityCcsd' } end |
.build_from_hash(attributes) ⇒ Object
Builds the object from hash
1046 1047 1048 |
# File 'lib/emass_client/models/systems.rb', line 1046 def self.build_from_hash(attributes) new.build_from_hash(attributes) end |
.openapi_nullable ⇒ Object
List of attributes with nullable: true
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 |
# File 'lib/emass_client/models/systems.rb', line 376 def self.openapi_nullable Set.new([ :'policy', :'registration_type', :'name', :'acronym', :'description', :'system_owner', :'organization_name', :'secondary_organization', :'version_release_no', :'system_type', :'is_nss', :'is_public_facing', :'coams_id', :'is_type_authorization', :'authorization_status', :'authorization_date', :'authorization_termination_date', :'authorization_length', :'terms_for_auth', :'security_plan_approval_status', :'security_plan_approval_date', :'mission_criticality', :'geographical_association', :'system_ownership', :'governing_mission_area', :'primary_functional_area', :'secondary_functional_area', :'primary_control_set', :'confidentiality', :'integrity', :'availability', :'applied_overlays', :'rmf_activity', :'cross_domain_ticket', :'ditpr_don_id', :'mac', :'dod_confidentiality', :'contingency_plan_tested', :'contingency_plan_test_date', :'security_review_date', :'has_open_poam_item', :'has_open_poam_item90to120_past_scheduled_completion_date', :'has_open_poam_item120_plus_past_scheudled_completion_date', :'impact', :'has_cui', :'has_pii', :'has_phi', :'ppsm_registry_number', :'interconnected_information_system_and_identifiers', :'is_pia_required', :'pia_status', :'pia_date', :'user_defined_field1', :'user_defined_field2', :'user_defined_field3', :'user_defined_field4', :'user_defined_field5', :'current_rmf_lifecycle_step', :'other_information', :'reports_for_scorecard', :'package', :'connectivity_ccsd' ]) end |
.openapi_types ⇒ Object
Attribute type mapping.
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 |
# File 'lib/emass_client/models/systems.rb', line 306 def self.openapi_types { :'system_id' => :'Integer', :'policy' => :'String', :'registration_type' => :'String', :'name' => :'String', :'acronym' => :'String', :'description' => :'String', :'system_owner' => :'String', :'organization_name' => :'String', :'secondary_organization' => :'String', :'version_release_no' => :'String', :'system_type' => :'String', :'is_nss' => :'Boolean', :'is_public_facing' => :'Boolean', :'coams_id' => :'Integer', :'is_type_authorization' => :'Boolean', :'ditpr_id' => :'String', :'authorization_status' => :'String', :'authorization_date' => :'Integer', :'authorization_termination_date' => :'Integer', :'authorization_length' => :'Integer', :'terms_for_auth' => :'String', :'security_plan_approval_status' => :'String', :'security_plan_approval_date' => :'Integer', :'mission_criticality' => :'String', :'geographical_association' => :'String', :'system_ownership' => :'String', :'governing_mission_area' => :'String', :'primary_functional_area' => :'String', :'secondary_functional_area' => :'String', :'primary_control_set' => :'String', :'confidentiality' => :'String', :'integrity' => :'String', :'availability' => :'String', :'applied_overlays' => :'String', :'rmf_activity' => :'String', :'cross_domain_ticket' => :'String', :'ditpr_don_id' => :'String', :'mac' => :'String', :'dod_confidentiality' => :'String', :'contingency_plan_tested' => :'Boolean', :'contingency_plan_test_date' => :'Integer', :'security_review_date' => :'Integer', :'has_open_poam_item' => :'Boolean', :'has_open_poam_item90to120_past_scheduled_completion_date' => :'Boolean', :'has_open_poam_item120_plus_past_scheudled_completion_date' => :'Boolean', :'impact' => :'String', :'has_cui' => :'Boolean', :'has_pii' => :'Boolean', :'has_phi' => :'Boolean', :'ppsm_registry_number' => :'String', :'interconnected_information_system_and_identifiers' => :'String', :'is_pia_required' => :'Boolean', :'pia_status' => :'String', :'pia_date' => :'Integer', :'user_defined_field1' => :'String', :'user_defined_field2' => :'String', :'user_defined_field3' => :'String', :'user_defined_field4' => :'String', :'user_defined_field5' => :'String', :'current_rmf_lifecycle_step' => :'String', :'other_information' => :'String', :'reports_for_scorecard' => :'Boolean', :'package' => :'Array<PacGet>', :'connectivity_ccsd' => :'Array<ConnectivityCcsd>' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 |
# File 'lib/emass_client/models/systems.rb', line 962 def ==(o) return true if self.equal?(o) self.class == o.class && system_id == o.system_id && policy == o.policy && registration_type == o.registration_type && name == o.name && acronym == o.acronym && description == o.description && system_owner == o.system_owner && organization_name == o.organization_name && secondary_organization == o.secondary_organization && version_release_no == o.version_release_no && system_type == o.system_type && is_nss == o.is_nss && is_public_facing == o.is_public_facing && coams_id == o.coams_id && == o. && ditpr_id == o.ditpr_id && == o. && == o. && == o. && == o. && terms_for_auth == o.terms_for_auth && security_plan_approval_status == o.security_plan_approval_status && security_plan_approval_date == o.security_plan_approval_date && mission_criticality == o.mission_criticality && geographical_association == o.geographical_association && system_ownership == o.system_ownership && governing_mission_area == o.governing_mission_area && primary_functional_area == o.primary_functional_area && secondary_functional_area == o.secondary_functional_area && primary_control_set == o.primary_control_set && confidentiality == o.confidentiality && integrity == o.integrity && availability == o.availability && == o. && rmf_activity == o.rmf_activity && cross_domain_ticket == o.cross_domain_ticket && ditpr_don_id == o.ditpr_don_id && mac == o.mac && dod_confidentiality == o.dod_confidentiality && contingency_plan_tested == o.contingency_plan_tested && contingency_plan_test_date == o.contingency_plan_test_date && security_review_date == o.security_review_date && has_open_poam_item == o.has_open_poam_item && has_open_poam_item90to120_past_scheduled_completion_date == o.has_open_poam_item90to120_past_scheduled_completion_date && has_open_poam_item120_plus_past_scheudled_completion_date == o.has_open_poam_item120_plus_past_scheudled_completion_date && impact == o.impact && has_cui == o.has_cui && has_pii == o.has_pii && has_phi == o.has_phi && ppsm_registry_number == o.ppsm_registry_number && interconnected_information_system_and_identifiers == o.interconnected_information_system_and_identifiers && is_pia_required == o.is_pia_required && pia_status == o.pia_status && pia_date == o.pia_date && user_defined_field1 == o.user_defined_field1 && user_defined_field2 == o.user_defined_field2 && user_defined_field3 == o.user_defined_field3 && user_defined_field4 == o.user_defined_field4 && user_defined_field5 == o.user_defined_field5 && current_rmf_lifecycle_step == o.current_rmf_lifecycle_step && other_information == o.other_information && reports_for_scorecard == o.reports_for_scorecard && package == o.package && connectivity_ccsd == o.connectivity_ccsd end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 |
# File 'lib/emass_client/models/systems.rb', line 1077 def _deserialize(type, value) case type.to_sym when :Time Time.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :Boolean if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model # models (e.g. Pet) or oneOf klass = EmassClient.const_get(type) klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 |
# File 'lib/emass_client/models/systems.rb', line 1148 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 |
# File 'lib/emass_client/models/systems.rb', line 1053 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) attributes = attributes.transform_keys(&:to_sym) self.class.openapi_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) self.send("#{key}=", nil) elsif type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end end self end |
#eql?(o) ⇒ Boolean
1033 1034 1035 |
# File 'lib/emass_client/models/systems.rb', line 1033 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
1039 1040 1041 |
# File 'lib/emass_client/models/systems.rb', line 1039 def hash [system_id, policy, registration_type, name, acronym, description, system_owner, organization_name, secondary_organization, version_release_no, system_type, is_nss, is_public_facing, coams_id, , ditpr_id, , , , , terms_for_auth, security_plan_approval_status, security_plan_approval_date, mission_criticality, geographical_association, system_ownership, governing_mission_area, primary_functional_area, secondary_functional_area, primary_control_set, confidentiality, integrity, availability, , rmf_activity, cross_domain_ticket, ditpr_don_id, mac, dod_confidentiality, contingency_plan_tested, contingency_plan_test_date, security_review_date, has_open_poam_item, has_open_poam_item90to120_past_scheduled_completion_date, has_open_poam_item120_plus_past_scheudled_completion_date, impact, has_cui, has_pii, has_phi, ppsm_registry_number, interconnected_information_system_and_identifiers, is_pia_required, pia_status, pia_date, user_defined_field1, user_defined_field2, user_defined_field3, user_defined_field4, user_defined_field5, current_rmf_lifecycle_step, other_information, reports_for_scorecard, package, connectivity_ccsd].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
721 722 723 724 725 726 727 728 729 730 731 732 |
# File 'lib/emass_client/models/systems.rb', line 721 def list_invalid_properties invalid_properties = Array.new if !@authorization_length.nil? && @authorization_length > 1825 invalid_properties.push('invalid value for "authorization_length", must be smaller than or equal to 1825.') end if !@authorization_length.nil? && @authorization_length < 28 invalid_properties.push('invalid value for "authorization_length", must be greater than or equal to 28.') end invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
1124 1125 1126 |
# File 'lib/emass_client/models/systems.rb', line 1124 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 |
# File 'lib/emass_client/models/systems.rb', line 1130 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = self.class.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
1118 1119 1120 |
# File 'lib/emass_client/models/systems.rb', line 1118 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 |
# File 'lib/emass_client/models/systems.rb', line 736 def valid? policy_validator = EnumAttributeValidator.new('String', ["RMF", "DIACAP", "unknown_default_open_api"]) return false unless policy_validator.valid?(@policy) registration_type_validator = EnumAttributeValidator.new('String', ["Assess and Authorize", "Assess Only", "Guest", "Regular", "Functional", "Cloud Service Provider", "Common Control Provider", "unknown_default_open_api"]) return false unless registration_type_validator.valid?(@registration_type) system_type_validator = EnumAttributeValidator.new('String', ["IS Major Application", "IS Enclave", "Platform IT", "Platform IT System", "Platform IT Interconnection", "AIS Application", "Outsourced IT-Based Process (DoD-controlled)", "Enclave", "Outsourced IT-Based Process (service provider shared)", "unknown_default_open_api"]) return false unless system_type_validator.valid?(@system_type) = EnumAttributeValidator.new('String', ["Authority to Operate (ATO)", "Authorization to Operate (ATO)", "Authority to Operate with Conditions (ATO w/Conditions)", "Interim Authority to Test (IATT)", "Interim Authority to Operate (IATO)", "Denied Authority to Operate (DATO)", "Denial of Authorization to Operate (DATO)", "Not Yet Authorized", "Decommissioned", "Unaccredited", "unknown_default_open_api"]) return false unless .valid?(@authorization_status) return false if !@authorization_length.nil? && @authorization_length > 1825 return false if !@authorization_length.nil? && @authorization_length < 28 security_plan_approval_status_validator = EnumAttributeValidator.new('String', ["Approved", "Not Yet Approved", "Denied", "unknown_default_open_api"]) return false unless security_plan_approval_status_validator.valid?(@security_plan_approval_status) mission_criticality_validator = EnumAttributeValidator.new('String', ["Mission Critical (MC)", "Mission Essential (ME)", "Mission Support (MS)", "unknown_default_open_api"]) return false unless mission_criticality_validator.valid?(@mission_criticality) geographical_association_validator = EnumAttributeValidator.new('String', ["VA Operated IS", "non-VA Operated IS", "unknown_default_open_api"]) return false unless geographical_association_validator.valid?(@geographical_association) governing_mission_area_validator = EnumAttributeValidator.new('String', ["Business MA (BMA)", "DoD portion of the Intelligence MA (DIMA)", "Enterprise Information Environment MA (EIEMA)", "Warfighting MA (WMA)", "unknown_default_open_api"]) return false unless governing_mission_area_validator.valid?(@governing_mission_area) primary_control_set_validator = EnumAttributeValidator.new('String', ["NIST SP 800-53 Revision 4", "DoDI 8500.2", "unknown_default_open_api"]) return false unless primary_control_set_validator.valid?(@primary_control_set) confidentiality_validator = EnumAttributeValidator.new('String', ["High", "Moderate", "Low", "unknown_default_open_api"]) return false unless confidentiality_validator.valid?(@confidentiality) integrity_validator = EnumAttributeValidator.new('String', ["High", "Moderate", "Low", "unknown_default_open_api"]) return false unless integrity_validator.valid?(@integrity) availability_validator = EnumAttributeValidator.new('String', ["High", "Moderate", "Low", "unknown_default_open_api"]) return false unless availability_validator.valid?(@availability) mac_validator = EnumAttributeValidator.new('String', ["I", "II", "III", "unknown_default_open_api"]) return false unless mac_validator.valid?(@mac) dod_confidentiality_validator = EnumAttributeValidator.new('String', ["Public", "Sensitive", "Classified", "unknown_default_open_api"]) return false unless dod_confidentiality_validator.valid?(@dod_confidentiality) impact_validator = EnumAttributeValidator.new('String', ["Low", "Moderate", "High", "unknown_default_open_api"]) return false unless impact_validator.valid?(@impact) pia_status_validator = EnumAttributeValidator.new('String', ["Not Started", "In Progress", "Completed", "unknown_default_open_api"]) return false unless pia_status_validator.valid?(@pia_status) current_rmf_lifecycle_step_validator = EnumAttributeValidator.new('String', ["1 - Categorize", "2 - Select", "3 - Implement", "4 - Assess", "5 - Authorize", "6 - Monitor", "unknown_default_open_api"]) return false unless current_rmf_lifecycle_step_validator.valid?(@current_rmf_lifecycle_step) true end |