cmv4-openapi-client 1.0.3
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +606 -0
- data/Rakefile +10 -0
- data/build_gem.sh +2 -0
- data/cm4-openapi.config.json +6 -0
- data/cm4-openapi.yaml +14221 -0
- data/cmv4-openapi-client-1.0.1.gem +0 -0
- data/cmv4-openapi-client-1.0.2.gem +0 -0
- data/cmv4-openapi-client.gemspec +39 -0
- data/docs/Action.md +55 -0
- data/docs/ActionCalendarRequest.md +19 -0
- data/docs/ActionDocumentRelationship.md +35 -0
- data/docs/Actions.md +35 -0
- data/docs/AddressModel.md +29 -0
- data/docs/AffectedStakeholderRelationship.md +35 -0
- data/docs/AggregateGrowthCountsRequest.md +17 -0
- data/docs/AssignedBy.md +35 -0
- data/docs/AssignedTo.md +35 -0
- data/docs/Change.md +21 -0
- data/docs/ChangeLog.md +19 -0
- data/docs/ChannelMessageNotificationType.md +16 -0
- data/docs/Claim.md +19 -0
- data/docs/Classification.md +25 -0
- data/docs/ClassificationModel.md +25 -0
- data/docs/ClassificationSetModel.md +17 -0
- data/docs/ClassificationStatisticsRequest.md +21 -0
- data/docs/ClassificationViewModel.md +31 -0
- data/docs/ClassificationViewModelAllOf.md +21 -0
- data/docs/CompletionRequest.md +17 -0
- data/docs/ConcreteEnterpriseDefinition.md +19 -0
- data/docs/Correspondence.md +41 -0
- data/docs/DictionaryOfObject.md +19 -0
- data/docs/Document.md +45 -0
- data/docs/DocumentStakeholderRelationship.md +35 -0
- data/docs/DocumentUserRelationship.md +35 -0
- data/docs/Documents.md +35 -0
- data/docs/DomainObjectDefinitionBase.md +35 -0
- data/docs/DomainObjectDefinitionBaseAllOf.md +17 -0
- data/docs/DomainObjectNature.md +16 -0
- data/docs/DomainObjectPermissions.md +21 -0
- data/docs/DomainObjectTypes.md +16 -0
- data/docs/EnsureClassificationCommandData.md +17 -0
- data/docs/EnsureClassificationCommandDataValues.md +25 -0
- data/docs/EnsureEntityInstanceCommandData.md +21 -0
- data/docs/EnsureProjectCommandData.md +19 -0
- data/docs/EnsureRelationshipInstanceCommandData.md +21 -0
- data/docs/EnsureTeamCommandData.md +21 -0
- data/docs/EnsureUserCommandData.md +23 -0
- data/docs/EnterpriseConfiguration.md +25 -0
- data/docs/EnterpriseConfigurationModified.md +25 -0
- data/docs/EntityActionsApi.md +572 -0
- data/docs/EntityCorrespondenceApi.md +572 -0
- data/docs/EntityDefinition.md +39 -0
- data/docs/EntityDefinitionAllOf.md +21 -0
- data/docs/EntityDocumentsApi.md +572 -0
- data/docs/EntityEventsApi.md +572 -0
- data/docs/EntityOrganisationsApi.md +572 -0
- data/docs/EntityProjectsApi.md +572 -0
- data/docs/EntityPropertiesApi.md +572 -0
- data/docs/EntityStakeholdersApi.md +572 -0
- data/docs/EntityTeamsApi.md +572 -0
- data/docs/EntityUsersApi.md +572 -0
- data/docs/Event.md +75 -0
- data/docs/EventActionRelationship.md +35 -0
- data/docs/EventDocumentRelationship.md +35 -0
- data/docs/EventOrganisation.md +35 -0
- data/docs/EventUserRelationship.md +35 -0
- data/docs/Events.md +35 -0
- data/docs/FieldAccessLevel.md +16 -0
- data/docs/FieldNature.md +16 -0
- data/docs/FieldSecurity.md +19 -0
- data/docs/FieldType.md +16 -0
- data/docs/FilteredReportsRequest.md +25 -0
- data/docs/ForgotPasswordData.md +17 -0
- data/docs/GeneralAvailableProjectsApi.md +52 -0
- data/docs/GeneralClassificationsApi.md +545 -0
- data/docs/GeneralDefinitionApi.md +240 -0
- data/docs/GeneralDiffApi.md +64 -0
- data/docs/GeneralFeaturesApi.md +96 -0
- data/docs/GeneralHistorySearchApi.md +56 -0
- data/docs/GeneralOrganisationalSettingsApi.md +56 -0
- data/docs/GeneralQueryApi.md +56 -0
- data/docs/GeneralSearchApi.md +104 -0
- data/docs/GeneralSecurityApi.md +358 -0
- data/docs/GeneralStorageApi.md +110 -0
- data/docs/GrantTeamMembershipCommandData.md +19 -0
- data/docs/IEntityDefinition.md +17 -0
- data/docs/IEnumerableOfProjectOfObject.md +21 -0
- data/docs/IIdentityReference.md +21 -0
- data/docs/IKnowledgeBaseDataObjectDefinition.md +23 -0
- data/docs/IKnowledgeBaseFieldDefinition.md +37 -0
- data/docs/IKnowledgeBaseObjectDefinitionFeature.md +19 -0
- data/docs/IModifier.md +17 -0
- data/docs/IReadOnlyKnowledgeBaseObjectDefinition.md +37 -0
- data/docs/IRelationshipDefinition.md +23 -0
- data/docs/ISecurityConstraint.md +17 -0
- data/docs/ISystemPolicy.md +19 -0
- data/docs/IUploadToken.md +19 -0
- data/docs/IdentityModel.md +25 -0
- data/docs/KnowledgeBaseObjectDefinitionBase.md +33 -0
- data/docs/KnowledgeBaseObjectTypes.md +16 -0
- data/docs/LicensePolicies.md +16 -0
- data/docs/LocationModel.md +19 -0
- data/docs/Measures.md +16 -0
- data/docs/Membership.md +37 -0
- data/docs/MergeEntityInstancesCommandData.md +17 -0
- data/docs/ModifyData.md +19 -0
- data/docs/Notification.md +19 -0
- data/docs/Organisation.md +71 -0
- data/docs/Organisations.md +35 -0
- data/docs/OutstandingActionsByUserCountsRequest.md +19 -0
- data/docs/Project.md +21 -0
- data/docs/Project2.md +53 -0
- data/docs/ProjectModified.md +21 -0
- data/docs/ProjectOperation.md +19 -0
- data/docs/Properties.md +35 -0
- data/docs/Property.md +63 -0
- data/docs/PropertyActionRelationship.md +35 -0
- data/docs/PropertyDocumentRelationship.md +35 -0
- data/docs/PropertyEventRelationship.md +35 -0
- data/docs/PropertyOrganisation.md +35 -0
- data/docs/PropertyUserRelationship.md +35 -0
- data/docs/QueryRequest.md +23 -0
- data/docs/ReassignClassificationCommandData.md +17 -0
- data/docs/RelatedValue.md +19 -0
- data/docs/RelationshipActionDocumentRelationshipsApi.md +458 -0
- data/docs/RelationshipActionProjectRelationshipsApi.md +458 -0
- data/docs/RelationshipAffectedStakeholderRelationshipsApi.md +458 -0
- data/docs/RelationshipAssignedByactionsApi.md +458 -0
- data/docs/RelationshipAssignedToactionsApi.md +458 -0
- data/docs/RelationshipCorrespondenceProjectRelationshipsApi.md +458 -0
- data/docs/RelationshipDefinition.md +43 -0
- data/docs/RelationshipDefinitionAllOf.md +25 -0
- data/docs/RelationshipDocumentProjectRelationshipsApi.md +458 -0
- data/docs/RelationshipDocumentStakeholderRelationshipsApi.md +458 -0
- data/docs/RelationshipDocumentUserRelationshipsApi.md +458 -0
- data/docs/RelationshipEventActionRelationshipsApi.md +458 -0
- data/docs/RelationshipEventDocumentRelationshipsApi.md +458 -0
- data/docs/RelationshipEventProjectRelationshipsApi.md +458 -0
- data/docs/RelationshipEventUserRelationshipsApi.md +458 -0
- data/docs/RelationshipEventsToOrganisationsApi.md +458 -0
- data/docs/RelationshipFormat.md +16 -0
- data/docs/RelationshipMembershipsApi.md +458 -0
- data/docs/RelationshipOrganisationProjectRelationshipsApi.md +458 -0
- data/docs/RelationshipPropertiesToOrganisationsApi.md +458 -0
- data/docs/RelationshipPropertyActionRelationshipsApi.md +458 -0
- data/docs/RelationshipPropertyDocumentRelationshipsApi.md +458 -0
- data/docs/RelationshipPropertyEventRelationshipsApi.md +458 -0
- data/docs/RelationshipPropertyProjectRelationshipsApi.md +458 -0
- data/docs/RelationshipPropertyUserRelationshipsApi.md +458 -0
- data/docs/RelationshipStakeholderEventsApi.md +458 -0
- data/docs/RelationshipStakeholderProjectRelationshipsApi.md +458 -0
- data/docs/RelationshipStakeholderPropertiesApi.md +458 -0
- data/docs/RelationshipStakeholdersApi.md +458 -0
- data/docs/RelationshipStakeholdersToOrganisationsApi.md +458 -0
- data/docs/RelationshipTeamProjectRelationshipsApi.md +458 -0
- data/docs/RelationshipUserStakeholderRelationshipsApi.md +458 -0
- data/docs/RelationshipUsersApi.md +458 -0
- data/docs/ResetPasswordData.md +19 -0
- data/docs/ResourceModel.md +27 -0
- data/docs/SearchRequest.md +37 -0
- data/docs/SearchResultsFormat.md +16 -0
- data/docs/SecurityControllerReadApi.md +55 -0
- data/docs/Stakeholder.md +99 -0
- data/docs/StakeholderEvent.md +37 -0
- data/docs/StakeholderInteractionsForUserRequest.md +17 -0
- data/docs/StakeholderOrganisation.md +37 -0
- data/docs/StakeholderProperty.md +37 -0
- data/docs/Stakeholders.md +39 -0
- data/docs/Stereotype.md +19 -0
- data/docs/StereotypeOperation.md +19 -0
- data/docs/StereotypeScope.md +16 -0
- data/docs/StorageContentType.md +16 -0
- data/docs/Team.md +41 -0
- data/docs/Teams.md +35 -0
- data/docs/TotalActiveEntityCountsRequest.md +17 -0
- data/docs/UncategorisedEmailCountRequest.md +17 -0
- data/docs/User.md +61 -0
- data/docs/UserStakeholderRelationship.md +35 -0
- data/docs/Users.md +39 -0
- data/docs/ValidatorDefinition.md +17 -0
- data/docs/Visibility.md +16 -0
- data/generate_gem.sh +2 -0
- data/git_push.sh +58 -0
- data/lib/cmv4-openapi-client/api/entity_actions_api.rb +654 -0
- data/lib/cmv4-openapi-client/api/entity_correspondence_api.rb +654 -0
- data/lib/cmv4-openapi-client/api/entity_documents_api.rb +654 -0
- data/lib/cmv4-openapi-client/api/entity_events_api.rb +654 -0
- data/lib/cmv4-openapi-client/api/entity_organisations_api.rb +654 -0
- data/lib/cmv4-openapi-client/api/entity_projects_api.rb +654 -0
- data/lib/cmv4-openapi-client/api/entity_properties_api.rb +654 -0
- data/lib/cmv4-openapi-client/api/entity_stakeholders_api.rb +654 -0
- data/lib/cmv4-openapi-client/api/entity_teams_api.rb +654 -0
- data/lib/cmv4-openapi-client/api/entity_users_api.rb +654 -0
- data/lib/cmv4-openapi-client/api/general_available_projects_api.rb +78 -0
- data/lib/cmv4-openapi-client/api/general_classifications_api.rb +728 -0
- data/lib/cmv4-openapi-client/api/general_definition_api.rb +312 -0
- data/lib/cmv4-openapi-client/api/general_diff_api.rb +92 -0
- data/lib/cmv4-openapi-client/api/general_features_api.rb +134 -0
- data/lib/cmv4-openapi-client/api/general_history_search_api.rb +86 -0
- data/lib/cmv4-openapi-client/api/general_organisational_settings_api.rb +80 -0
- data/lib/cmv4-openapi-client/api/general_query_api.rb +86 -0
- data/lib/cmv4-openapi-client/api/general_search_api.rb +150 -0
- data/lib/cmv4-openapi-client/api/general_security_api.rb +483 -0
- data/lib/cmv4-openapi-client/api/general_storage_api.rb +156 -0
- data/lib/cmv4-openapi-client/api/relationship_action_document_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_action_project_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_affected_stakeholder_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_assigned_byactions_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_assigned_toactions_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_correspondence_project_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_document_project_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_document_stakeholder_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_document_user_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_event_action_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_event_document_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_event_project_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_event_user_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_events_to_organisations_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_memberships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_organisation_project_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_properties_to_organisations_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_property_action_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_property_document_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_property_event_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_property_project_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_property_user_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_stakeholder_events_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_stakeholder_project_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_stakeholder_properties_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_stakeholders_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_stakeholders_to_organisations_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_team_project_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_user_stakeholder_relationships_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/relationship_users_api.rb +522 -0
- data/lib/cmv4-openapi-client/api/security_controller_read_api.rb +84 -0
- data/lib/cmv4-openapi-client/api_client.rb +392 -0
- data/lib/cmv4-openapi-client/api_error.rb +57 -0
- data/lib/cmv4-openapi-client/configuration.rb +256 -0
- data/lib/cmv4-openapi-client/models/action.rb +388 -0
- data/lib/cmv4-openapi-client/models/action_calendar_request.rb +218 -0
- data/lib/cmv4-openapi-client/models/action_document_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/actions.rb +289 -0
- data/lib/cmv4-openapi-client/models/address_model.rb +267 -0
- data/lib/cmv4-openapi-client/models/affected_stakeholder_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/aggregate_growth_counts_request.rb +209 -0
- data/lib/cmv4-openapi-client/models/assigned_by.rb +289 -0
- data/lib/cmv4-openapi-client/models/assigned_to.rb +289 -0
- data/lib/cmv4-openapi-client/models/change.rb +227 -0
- data/lib/cmv4-openapi-client/models/change_log.rb +219 -0
- data/lib/cmv4-openapi-client/models/channel_message_notification_type.rb +42 -0
- data/lib/cmv4-openapi-client/models/claim.rb +217 -0
- data/lib/cmv4-openapi-client/models/classification.rb +245 -0
- data/lib/cmv4-openapi-client/models/classification_model.rb +244 -0
- data/lib/cmv4-openapi-client/models/classification_set_model.rb +209 -0
- data/lib/cmv4-openapi-client/models/classification_statistics_request.rb +229 -0
- data/lib/cmv4-openapi-client/models/classification_view_model.rb +280 -0
- data/lib/cmv4-openapi-client/models/classification_view_model_all_of.rb +224 -0
- data/lib/cmv4-openapi-client/models/completion_request.rb +207 -0
- data/lib/cmv4-openapi-client/models/concrete_enterprise_definition.rb +221 -0
- data/lib/cmv4-openapi-client/models/correspondence.rb +322 -0
- data/lib/cmv4-openapi-client/models/dictionary_of_object.rb +217 -0
- data/lib/cmv4-openapi-client/models/document.rb +342 -0
- data/lib/cmv4-openapi-client/models/document_stakeholder_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/document_user_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/documents.rb +289 -0
- data/lib/cmv4-openapi-client/models/domain_object_definition_base.rb +308 -0
- data/lib/cmv4-openapi-client/models/domain_object_definition_base_all_of.rb +206 -0
- data/lib/cmv4-openapi-client/models/domain_object_nature.rb +36 -0
- data/lib/cmv4-openapi-client/models/domain_object_permissions.rb +230 -0
- data/lib/cmv4-openapi-client/models/domain_object_types.rb +36 -0
- data/lib/cmv4-openapi-client/models/ensure_classification_command_data.rb +207 -0
- data/lib/cmv4-openapi-client/models/ensure_classification_command_data_values.rb +247 -0
- data/lib/cmv4-openapi-client/models/ensure_entity_instance_command_data.rb +229 -0
- data/lib/cmv4-openapi-client/models/ensure_project_command_data.rb +219 -0
- data/lib/cmv4-openapi-client/models/ensure_relationship_instance_command_data.rb +231 -0
- data/lib/cmv4-openapi-client/models/ensure_team_command_data.rb +229 -0
- data/lib/cmv4-openapi-client/models/ensure_user_command_data.rb +238 -0
- data/lib/cmv4-openapi-client/models/enterprise_configuration.rb +255 -0
- data/lib/cmv4-openapi-client/models/enterprise_configuration_modified.rb +247 -0
- data/lib/cmv4-openapi-client/models/entity_definition.rb +326 -0
- data/lib/cmv4-openapi-client/models/entity_definition_all_of.rb +224 -0
- data/lib/cmv4-openapi-client/models/event.rb +498 -0
- data/lib/cmv4-openapi-client/models/event_action_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/event_document_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/event_organisation.rb +289 -0
- data/lib/cmv4-openapi-client/models/event_user_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/events.rb +289 -0
- data/lib/cmv4-openapi-client/models/field_access_level.rb +38 -0
- data/lib/cmv4-openapi-client/models/field_nature.rb +37 -0
- data/lib/cmv4-openapi-client/models/field_security.rb +216 -0
- data/lib/cmv4-openapi-client/models/field_type.rb +52 -0
- data/lib/cmv4-openapi-client/models/filtered_reports_request.rb +249 -0
- data/lib/cmv4-openapi-client/models/forgot_password_data.rb +207 -0
- data/lib/cmv4-openapi-client/models/grant_team_membership_command_data.rb +216 -0
- data/lib/cmv4-openapi-client/models/i_entity_definition.rb +206 -0
- data/lib/cmv4-openapi-client/models/i_enumerable_of_project_of_object.rb +228 -0
- data/lib/cmv4-openapi-client/models/i_identity_reference.rb +227 -0
- data/lib/cmv4-openapi-client/models/i_knowledge_base_data_object_definition.rb +239 -0
- data/lib/cmv4-openapi-client/models/i_knowledge_base_field_definition.rb +308 -0
- data/lib/cmv4-openapi-client/models/i_knowledge_base_object_definition_feature.rb +216 -0
- data/lib/cmv4-openapi-client/models/i_modifier.rb +207 -0
- data/lib/cmv4-openapi-client/models/i_read_only_knowledge_base_object_definition.rb +312 -0
- data/lib/cmv4-openapi-client/models/i_relationship_definition.rb +236 -0
- data/lib/cmv4-openapi-client/models/i_security_constraint.rb +207 -0
- data/lib/cmv4-openapi-client/models/i_system_policy.rb +216 -0
- data/lib/cmv4-openapi-client/models/i_upload_token.rb +217 -0
- data/lib/cmv4-openapi-client/models/identity_model.rb +247 -0
- data/lib/cmv4-openapi-client/models/knowledge_base_object_definition_base.rb +291 -0
- data/lib/cmv4-openapi-client/models/knowledge_base_object_types.rb +37 -0
- data/lib/cmv4-openapi-client/models/license_policies.rb +37 -0
- data/lib/cmv4-openapi-client/models/location_model.rb +215 -0
- data/lib/cmv4-openapi-client/models/measures.rb +35 -0
- data/lib/cmv4-openapi-client/models/membership.rb +298 -0
- data/lib/cmv4-openapi-client/models/merge_entity_instances_command_data.rb +209 -0
- data/lib/cmv4-openapi-client/models/modify_data.rb +216 -0
- data/lib/cmv4-openapi-client/models/notification.rb +217 -0
- data/lib/cmv4-openapi-client/models/organisation.rb +471 -0
- data/lib/cmv4-openapi-client/models/organisations.rb +289 -0
- data/lib/cmv4-openapi-client/models/outstanding_actions_by_user_counts_request.rb +218 -0
- data/lib/cmv4-openapi-client/models/project.rb +226 -0
- data/lib/cmv4-openapi-client/models/project2.rb +375 -0
- data/lib/cmv4-openapi-client/models/project_modified.rb +228 -0
- data/lib/cmv4-openapi-client/models/project_operation.rb +221 -0
- data/lib/cmv4-openapi-client/models/properties.rb +289 -0
- data/lib/cmv4-openapi-client/models/property.rb +434 -0
- data/lib/cmv4-openapi-client/models/property_action_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/property_document_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/property_event_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/property_organisation.rb +289 -0
- data/lib/cmv4-openapi-client/models/property_user_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/query_request.rb +242 -0
- data/lib/cmv4-openapi-client/models/reassign_classification_command_data.rb +206 -0
- data/lib/cmv4-openapi-client/models/related_value.rb +216 -0
- data/lib/cmv4-openapi-client/models/relationship_definition.rb +347 -0
- data/lib/cmv4-openapi-client/models/relationship_definition_all_of.rb +245 -0
- data/lib/cmv4-openapi-client/models/relationship_format.rb +39 -0
- data/lib/cmv4-openapi-client/models/reset_password_data.rb +217 -0
- data/lib/cmv4-openapi-client/models/resource_model.rb +255 -0
- data/lib/cmv4-openapi-client/models/search_request.rb +313 -0
- data/lib/cmv4-openapi-client/models/search_results_format.rb +39 -0
- data/lib/cmv4-openapi-client/models/stakeholder.rb +607 -0
- data/lib/cmv4-openapi-client/models/stakeholder_event.rb +299 -0
- data/lib/cmv4-openapi-client/models/stakeholder_interactions_for_user_request.rb +209 -0
- data/lib/cmv4-openapi-client/models/stakeholder_organisation.rb +299 -0
- data/lib/cmv4-openapi-client/models/stakeholder_property.rb +299 -0
- data/lib/cmv4-openapi-client/models/stakeholders.rb +309 -0
- data/lib/cmv4-openapi-client/models/stereotype.rb +217 -0
- data/lib/cmv4-openapi-client/models/stereotype_operation.rb +221 -0
- data/lib/cmv4-openapi-client/models/stereotype_scope.rb +37 -0
- data/lib/cmv4-openapi-client/models/storage_content_type.rb +40 -0
- data/lib/cmv4-openapi-client/models/team.rb +322 -0
- data/lib/cmv4-openapi-client/models/teams.rb +289 -0
- data/lib/cmv4-openapi-client/models/total_active_entity_counts_request.rb +209 -0
- data/lib/cmv4-openapi-client/models/uncategorised_email_count_request.rb +209 -0
- data/lib/cmv4-openapi-client/models/user.rb +419 -0
- data/lib/cmv4-openapi-client/models/user_stakeholder_relationship.rb +289 -0
- data/lib/cmv4-openapi-client/models/users.rb +309 -0
- data/lib/cmv4-openapi-client/models/validator_definition.rb +207 -0
- data/lib/cmv4-openapi-client/models/visibility.rb +37 -0
- data/lib/cmv4-openapi-client/version.rb +15 -0
- data/lib/cmv4-openapi-client.rb +212 -0
- data/spec/api/entity_actions_api_spec.rb +157 -0
- data/spec/api/entity_correspondence_api_spec.rb +157 -0
- data/spec/api/entity_documents_api_spec.rb +157 -0
- data/spec/api/entity_events_api_spec.rb +157 -0
- data/spec/api/entity_organisations_api_spec.rb +157 -0
- data/spec/api/entity_projects_api_spec.rb +157 -0
- data/spec/api/entity_properties_api_spec.rb +157 -0
- data/spec/api/entity_stakeholders_api_spec.rb +157 -0
- data/spec/api/entity_teams_api_spec.rb +157 -0
- data/spec/api/entity_users_api_spec.rb +157 -0
- data/spec/api/general_available_projects_api_spec.rb +46 -0
- data/spec/api/general_classifications_api_spec.rb +172 -0
- data/spec/api/general_definition_api_spec.rb +93 -0
- data/spec/api/general_diff_api_spec.rb +50 -0
- data/spec/api/general_features_api_spec.rb +57 -0
- data/spec/api/general_history_search_api_spec.rb +47 -0
- data/spec/api/general_organisational_settings_api_spec.rb +47 -0
- data/spec/api/general_query_api_spec.rb +47 -0
- data/spec/api/general_search_api_spec.rb +59 -0
- data/spec/api/general_security_api_spec.rb +125 -0
- data/spec/api/general_storage_api_spec.rb +62 -0
- data/spec/api/relationship_action_document_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_action_project_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_affected_stakeholder_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_assigned_byactions_api_spec.rb +132 -0
- data/spec/api/relationship_assigned_toactions_api_spec.rb +132 -0
- data/spec/api/relationship_correspondence_project_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_document_project_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_document_stakeholder_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_document_user_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_event_action_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_event_document_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_event_project_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_event_user_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_events_to_organisations_api_spec.rb +132 -0
- data/spec/api/relationship_memberships_api_spec.rb +132 -0
- data/spec/api/relationship_organisation_project_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_properties_to_organisations_api_spec.rb +132 -0
- data/spec/api/relationship_property_action_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_property_document_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_property_event_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_property_project_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_property_user_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_stakeholder_events_api_spec.rb +132 -0
- data/spec/api/relationship_stakeholder_project_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_stakeholder_properties_api_spec.rb +132 -0
- data/spec/api/relationship_stakeholders_api_spec.rb +132 -0
- data/spec/api/relationship_stakeholders_to_organisations_api_spec.rb +132 -0
- data/spec/api/relationship_team_project_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_user_stakeholder_relationships_api_spec.rb +132 -0
- data/spec/api/relationship_users_api_spec.rb +132 -0
- data/spec/api/security_controller_read_api_spec.rb +46 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/action_calendar_request_spec.rb +47 -0
- data/spec/models/action_document_relationship_spec.rb +95 -0
- data/spec/models/action_spec.rb +155 -0
- data/spec/models/actions_spec.rb +95 -0
- data/spec/models/address_model_spec.rb +77 -0
- data/spec/models/affected_stakeholder_relationship_spec.rb +95 -0
- data/spec/models/aggregate_growth_counts_request_spec.rb +41 -0
- data/spec/models/assigned_by_spec.rb +95 -0
- data/spec/models/assigned_to_spec.rb +95 -0
- data/spec/models/change_log_spec.rb +47 -0
- data/spec/models/change_spec.rb +53 -0
- data/spec/models/channel_message_notification_type_spec.rb +35 -0
- data/spec/models/claim_spec.rb +47 -0
- data/spec/models/classification_model_spec.rb +65 -0
- data/spec/models/classification_set_model_spec.rb +41 -0
- data/spec/models/classification_spec.rb +65 -0
- data/spec/models/classification_statistics_request_spec.rb +53 -0
- data/spec/models/classification_view_model_all_of_spec.rb +53 -0
- data/spec/models/classification_view_model_spec.rb +83 -0
- data/spec/models/completion_request_spec.rb +41 -0
- data/spec/models/concrete_enterprise_definition_spec.rb +47 -0
- data/spec/models/correspondence_spec.rb +113 -0
- data/spec/models/dictionary_of_object_spec.rb +47 -0
- data/spec/models/document_spec.rb +125 -0
- data/spec/models/document_stakeholder_relationship_spec.rb +95 -0
- data/spec/models/document_user_relationship_spec.rb +95 -0
- data/spec/models/documents_spec.rb +95 -0
- data/spec/models/domain_object_definition_base_all_of_spec.rb +41 -0
- data/spec/models/domain_object_definition_base_spec.rb +95 -0
- data/spec/models/domain_object_nature_spec.rb +35 -0
- data/spec/models/domain_object_permissions_spec.rb +53 -0
- data/spec/models/domain_object_types_spec.rb +35 -0
- data/spec/models/ensure_classification_command_data_spec.rb +41 -0
- data/spec/models/ensure_classification_command_data_values_spec.rb +65 -0
- data/spec/models/ensure_entity_instance_command_data_spec.rb +53 -0
- data/spec/models/ensure_project_command_data_spec.rb +47 -0
- data/spec/models/ensure_relationship_instance_command_data_spec.rb +53 -0
- data/spec/models/ensure_team_command_data_spec.rb +53 -0
- data/spec/models/ensure_user_command_data_spec.rb +59 -0
- data/spec/models/enterprise_configuration_modified_spec.rb +65 -0
- data/spec/models/enterprise_configuration_spec.rb +65 -0
- data/spec/models/entity_definition_all_of_spec.rb +53 -0
- data/spec/models/entity_definition_spec.rb +107 -0
- data/spec/models/event_action_relationship_spec.rb +95 -0
- data/spec/models/event_document_relationship_spec.rb +95 -0
- data/spec/models/event_organisation_spec.rb +95 -0
- data/spec/models/event_spec.rb +215 -0
- data/spec/models/event_user_relationship_spec.rb +95 -0
- data/spec/models/events_spec.rb +95 -0
- data/spec/models/field_access_level_spec.rb +35 -0
- data/spec/models/field_nature_spec.rb +35 -0
- data/spec/models/field_security_spec.rb +47 -0
- data/spec/models/field_type_spec.rb +35 -0
- data/spec/models/filtered_reports_request_spec.rb +65 -0
- data/spec/models/forgot_password_data_spec.rb +41 -0
- data/spec/models/grant_team_membership_command_data_spec.rb +47 -0
- data/spec/models/i_entity_definition_spec.rb +41 -0
- data/spec/models/i_enumerable_of_project_of_object_spec.rb +53 -0
- data/spec/models/i_identity_reference_spec.rb +53 -0
- data/spec/models/i_knowledge_base_data_object_definition_spec.rb +59 -0
- data/spec/models/i_knowledge_base_field_definition_spec.rb +101 -0
- data/spec/models/i_knowledge_base_object_definition_feature_spec.rb +47 -0
- data/spec/models/i_modifier_spec.rb +41 -0
- data/spec/models/i_read_only_knowledge_base_object_definition_spec.rb +101 -0
- data/spec/models/i_relationship_definition_spec.rb +59 -0
- data/spec/models/i_security_constraint_spec.rb +41 -0
- data/spec/models/i_system_policy_spec.rb +47 -0
- data/spec/models/i_upload_token_spec.rb +47 -0
- data/spec/models/identity_model_spec.rb +65 -0
- data/spec/models/knowledge_base_object_definition_base_spec.rb +89 -0
- data/spec/models/knowledge_base_object_types_spec.rb +35 -0
- data/spec/models/license_policies_spec.rb +35 -0
- data/spec/models/location_model_spec.rb +47 -0
- data/spec/models/measures_spec.rb +35 -0
- data/spec/models/membership_spec.rb +101 -0
- data/spec/models/merge_entity_instances_command_data_spec.rb +41 -0
- data/spec/models/modify_data_spec.rb +47 -0
- data/spec/models/notification_spec.rb +47 -0
- data/spec/models/organisation_spec.rb +203 -0
- data/spec/models/organisations_spec.rb +95 -0
- data/spec/models/outstanding_actions_by_user_counts_request_spec.rb +47 -0
- data/spec/models/project2_spec.rb +149 -0
- data/spec/models/project_modified_spec.rb +53 -0
- data/spec/models/project_operation_spec.rb +47 -0
- data/spec/models/project_spec.rb +53 -0
- data/spec/models/properties_spec.rb +95 -0
- data/spec/models/property_action_relationship_spec.rb +95 -0
- data/spec/models/property_document_relationship_spec.rb +95 -0
- data/spec/models/property_event_relationship_spec.rb +95 -0
- data/spec/models/property_organisation_spec.rb +95 -0
- data/spec/models/property_spec.rb +179 -0
- data/spec/models/property_user_relationship_spec.rb +95 -0
- data/spec/models/query_request_spec.rb +59 -0
- data/spec/models/reassign_classification_command_data_spec.rb +41 -0
- data/spec/models/related_value_spec.rb +47 -0
- data/spec/models/relationship_definition_all_of_spec.rb +65 -0
- data/spec/models/relationship_definition_spec.rb +119 -0
- data/spec/models/relationship_format_spec.rb +35 -0
- data/spec/models/reset_password_data_spec.rb +47 -0
- data/spec/models/resource_model_spec.rb +71 -0
- data/spec/models/search_request_spec.rb +101 -0
- data/spec/models/search_results_format_spec.rb +35 -0
- data/spec/models/stakeholder_event_spec.rb +101 -0
- data/spec/models/stakeholder_interactions_for_user_request_spec.rb +41 -0
- data/spec/models/stakeholder_organisation_spec.rb +101 -0
- data/spec/models/stakeholder_property_spec.rb +101 -0
- data/spec/models/stakeholder_spec.rb +287 -0
- data/spec/models/stakeholders_spec.rb +107 -0
- data/spec/models/stereotype_operation_spec.rb +47 -0
- data/spec/models/stereotype_scope_spec.rb +35 -0
- data/spec/models/stereotype_spec.rb +47 -0
- data/spec/models/storage_content_type_spec.rb +35 -0
- data/spec/models/team_spec.rb +113 -0
- data/spec/models/teams_spec.rb +95 -0
- data/spec/models/total_active_entity_counts_request_spec.rb +41 -0
- data/spec/models/uncategorised_email_count_request_spec.rb +41 -0
- data/spec/models/user_spec.rb +173 -0
- data/spec/models/user_stakeholder_relationship_spec.rb +95 -0
- data/spec/models/users_spec.rb +107 -0
- data/spec/models/validator_definition_spec.rb +41 -0
- data/spec/models/visibility_spec.rb +35 -0
- data/spec/spec_helper.rb +111 -0
- data/test/client_test.rb +163 -0
- data/test/run_client_test.sh +2 -0
- metadata +819 -0
@@ -0,0 +1,607 @@
|
|
1
|
+
=begin
|
2
|
+
#Consultation Manager REST API
|
3
|
+
|
4
|
+
#The REST API for the Consultation Manager application
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v1
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module CMV4APIClient
|
16
|
+
class Stakeholder
|
17
|
+
attr_accessor :id
|
18
|
+
|
19
|
+
attr_accessor :address
|
20
|
+
|
21
|
+
attr_accessor :address_address
|
22
|
+
|
23
|
+
attr_accessor :address_country
|
24
|
+
|
25
|
+
attr_accessor :address_location
|
26
|
+
|
27
|
+
attr_accessor :address_post_code
|
28
|
+
|
29
|
+
attr_accessor :address_state
|
30
|
+
|
31
|
+
attr_accessor :address_suburb
|
32
|
+
|
33
|
+
attr_accessor :ah_phone
|
34
|
+
|
35
|
+
attr_accessor :bh_phone
|
36
|
+
|
37
|
+
attr_accessor :created
|
38
|
+
|
39
|
+
attr_accessor :created_by
|
40
|
+
|
41
|
+
attr_accessor :database_id
|
42
|
+
|
43
|
+
attr_accessor :deleted
|
44
|
+
|
45
|
+
attr_accessor :descriptor
|
46
|
+
|
47
|
+
attr_accessor :distribution_lists
|
48
|
+
|
49
|
+
attr_accessor :email
|
50
|
+
|
51
|
+
attr_accessor :first_name
|
52
|
+
|
53
|
+
attr_accessor :keystakeholder
|
54
|
+
|
55
|
+
attr_accessor :keystakeholderfieldthing
|
56
|
+
|
57
|
+
attr_accessor :last_name
|
58
|
+
|
59
|
+
attr_accessor :mobile
|
60
|
+
|
61
|
+
attr_accessor :modified
|
62
|
+
|
63
|
+
attr_accessor :modified_by
|
64
|
+
|
65
|
+
attr_accessor :modified_end_time
|
66
|
+
|
67
|
+
attr_accessor :notes
|
68
|
+
|
69
|
+
attr_accessor :organisation
|
70
|
+
|
71
|
+
attr_accessor :physicaladdress
|
72
|
+
|
73
|
+
attr_accessor :physicaladdress_address
|
74
|
+
|
75
|
+
attr_accessor :physicaladdress_country
|
76
|
+
|
77
|
+
attr_accessor :physicaladdress_location
|
78
|
+
|
79
|
+
attr_accessor :physicaladdress_post_code
|
80
|
+
|
81
|
+
attr_accessor :physicaladdress_state
|
82
|
+
|
83
|
+
attr_accessor :physicaladdress_suburb
|
84
|
+
|
85
|
+
attr_accessor :privacy_option
|
86
|
+
|
87
|
+
attr_accessor :role
|
88
|
+
|
89
|
+
attr_accessor :stakeholder_groups
|
90
|
+
|
91
|
+
attr_accessor :suffix
|
92
|
+
|
93
|
+
attr_accessor :testingmore
|
94
|
+
|
95
|
+
attr_accessor :title
|
96
|
+
|
97
|
+
attr_accessor :visibility
|
98
|
+
|
99
|
+
attr_accessor :webaddress
|
100
|
+
|
101
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
102
|
+
def self.attribute_map
|
103
|
+
{
|
104
|
+
:'id' => :'id',
|
105
|
+
:'address' => :'address',
|
106
|
+
:'address_address' => :'address.address',
|
107
|
+
:'address_country' => :'address.country',
|
108
|
+
:'address_location' => :'address.location',
|
109
|
+
:'address_post_code' => :'address.postCode',
|
110
|
+
:'address_state' => :'address.state',
|
111
|
+
:'address_suburb' => :'address.suburb',
|
112
|
+
:'ah_phone' => :'ahPhone',
|
113
|
+
:'bh_phone' => :'bhPhone',
|
114
|
+
:'created' => :'created',
|
115
|
+
:'created_by' => :'createdBy',
|
116
|
+
:'database_id' => :'databaseId',
|
117
|
+
:'deleted' => :'deleted',
|
118
|
+
:'descriptor' => :'descriptor',
|
119
|
+
:'distribution_lists' => :'distributionLists',
|
120
|
+
:'email' => :'email',
|
121
|
+
:'first_name' => :'firstName',
|
122
|
+
:'keystakeholder' => :'keystakeholder',
|
123
|
+
:'keystakeholderfieldthing' => :'keystakeholderfieldthing',
|
124
|
+
:'last_name' => :'lastName',
|
125
|
+
:'mobile' => :'mobile',
|
126
|
+
:'modified' => :'modified',
|
127
|
+
:'modified_by' => :'modifiedBy',
|
128
|
+
:'modified_end_time' => :'modifiedEndTime',
|
129
|
+
:'notes' => :'notes',
|
130
|
+
:'organisation' => :'organisation',
|
131
|
+
:'physicaladdress' => :'physicaladdress',
|
132
|
+
:'physicaladdress_address' => :'physicaladdress.address',
|
133
|
+
:'physicaladdress_country' => :'physicaladdress.country',
|
134
|
+
:'physicaladdress_location' => :'physicaladdress.location',
|
135
|
+
:'physicaladdress_post_code' => :'physicaladdress.postCode',
|
136
|
+
:'physicaladdress_state' => :'physicaladdress.state',
|
137
|
+
:'physicaladdress_suburb' => :'physicaladdress.suburb',
|
138
|
+
:'privacy_option' => :'privacyOption',
|
139
|
+
:'role' => :'role',
|
140
|
+
:'stakeholder_groups' => :'stakeholderGroups',
|
141
|
+
:'suffix' => :'suffix',
|
142
|
+
:'testingmore' => :'testingmore',
|
143
|
+
:'title' => :'title',
|
144
|
+
:'visibility' => :'visibility',
|
145
|
+
:'webaddress' => :'webaddress'
|
146
|
+
}
|
147
|
+
end
|
148
|
+
|
149
|
+
# Attribute type mapping.
|
150
|
+
def self.openapi_types
|
151
|
+
{
|
152
|
+
:'id' => :'Integer',
|
153
|
+
:'address' => :'AddressModel',
|
154
|
+
:'address_address' => :'String',
|
155
|
+
:'address_country' => :'String',
|
156
|
+
:'address_location' => :'String',
|
157
|
+
:'address_post_code' => :'String',
|
158
|
+
:'address_state' => :'String',
|
159
|
+
:'address_suburb' => :'String',
|
160
|
+
:'ah_phone' => :'String',
|
161
|
+
:'bh_phone' => :'String',
|
162
|
+
:'created' => :'DateTime',
|
163
|
+
:'created_by' => :'IdentityModel',
|
164
|
+
:'database_id' => :'String',
|
165
|
+
:'deleted' => :'Boolean',
|
166
|
+
:'descriptor' => :'String',
|
167
|
+
:'distribution_lists' => :'ClassificationSetModel',
|
168
|
+
:'email' => :'String',
|
169
|
+
:'first_name' => :'String',
|
170
|
+
:'keystakeholder' => :'Boolean',
|
171
|
+
:'keystakeholderfieldthing' => :'Boolean',
|
172
|
+
:'last_name' => :'String',
|
173
|
+
:'mobile' => :'String',
|
174
|
+
:'modified' => :'DateTime',
|
175
|
+
:'modified_by' => :'IdentityModel',
|
176
|
+
:'modified_end_time' => :'DateTime',
|
177
|
+
:'notes' => :'String',
|
178
|
+
:'organisation' => :'String',
|
179
|
+
:'physicaladdress' => :'AddressModel',
|
180
|
+
:'physicaladdress_address' => :'String',
|
181
|
+
:'physicaladdress_country' => :'String',
|
182
|
+
:'physicaladdress_location' => :'String',
|
183
|
+
:'physicaladdress_post_code' => :'String',
|
184
|
+
:'physicaladdress_state' => :'String',
|
185
|
+
:'physicaladdress_suburb' => :'String',
|
186
|
+
:'privacy_option' => :'ClassificationModel',
|
187
|
+
:'role' => :'String',
|
188
|
+
:'stakeholder_groups' => :'ClassificationSetModel',
|
189
|
+
:'suffix' => :'String',
|
190
|
+
:'testingmore' => :'Boolean',
|
191
|
+
:'title' => :'String',
|
192
|
+
:'visibility' => :'Integer',
|
193
|
+
:'webaddress' => :'String'
|
194
|
+
}
|
195
|
+
end
|
196
|
+
|
197
|
+
# List of attributes with nullable: true
|
198
|
+
def self.openapi_nullable
|
199
|
+
Set.new([
|
200
|
+
:'address',
|
201
|
+
:'address_address',
|
202
|
+
:'address_country',
|
203
|
+
:'address_location',
|
204
|
+
:'address_post_code',
|
205
|
+
:'address_state',
|
206
|
+
:'address_suburb',
|
207
|
+
:'ah_phone',
|
208
|
+
:'bh_phone',
|
209
|
+
:'created_by',
|
210
|
+
:'descriptor',
|
211
|
+
:'distribution_lists',
|
212
|
+
:'email',
|
213
|
+
:'first_name',
|
214
|
+
:'last_name',
|
215
|
+
:'mobile',
|
216
|
+
:'modified_by',
|
217
|
+
:'notes',
|
218
|
+
:'organisation',
|
219
|
+
:'physicaladdress',
|
220
|
+
:'physicaladdress_address',
|
221
|
+
:'physicaladdress_country',
|
222
|
+
:'physicaladdress_location',
|
223
|
+
:'physicaladdress_post_code',
|
224
|
+
:'physicaladdress_state',
|
225
|
+
:'physicaladdress_suburb',
|
226
|
+
:'privacy_option',
|
227
|
+
:'role',
|
228
|
+
:'stakeholder_groups',
|
229
|
+
:'suffix',
|
230
|
+
:'title',
|
231
|
+
:'webaddress'
|
232
|
+
])
|
233
|
+
end
|
234
|
+
|
235
|
+
# Initializes the object
|
236
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
237
|
+
def initialize(attributes = {})
|
238
|
+
if (!attributes.is_a?(Hash))
|
239
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `CMV4APIClient::Stakeholder` initialize method"
|
240
|
+
end
|
241
|
+
|
242
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
243
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
244
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
245
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `CMV4APIClient::Stakeholder`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
246
|
+
end
|
247
|
+
h[k.to_sym] = v
|
248
|
+
}
|
249
|
+
|
250
|
+
if attributes.key?(:'id')
|
251
|
+
self.id = attributes[:'id']
|
252
|
+
end
|
253
|
+
|
254
|
+
if attributes.key?(:'address')
|
255
|
+
self.address = attributes[:'address']
|
256
|
+
end
|
257
|
+
|
258
|
+
if attributes.key?(:'address_address')
|
259
|
+
self.address_address = attributes[:'address_address']
|
260
|
+
end
|
261
|
+
|
262
|
+
if attributes.key?(:'address_country')
|
263
|
+
self.address_country = attributes[:'address_country']
|
264
|
+
end
|
265
|
+
|
266
|
+
if attributes.key?(:'address_location')
|
267
|
+
self.address_location = attributes[:'address_location']
|
268
|
+
end
|
269
|
+
|
270
|
+
if attributes.key?(:'address_post_code')
|
271
|
+
self.address_post_code = attributes[:'address_post_code']
|
272
|
+
end
|
273
|
+
|
274
|
+
if attributes.key?(:'address_state')
|
275
|
+
self.address_state = attributes[:'address_state']
|
276
|
+
end
|
277
|
+
|
278
|
+
if attributes.key?(:'address_suburb')
|
279
|
+
self.address_suburb = attributes[:'address_suburb']
|
280
|
+
end
|
281
|
+
|
282
|
+
if attributes.key?(:'ah_phone')
|
283
|
+
self.ah_phone = attributes[:'ah_phone']
|
284
|
+
end
|
285
|
+
|
286
|
+
if attributes.key?(:'bh_phone')
|
287
|
+
self.bh_phone = attributes[:'bh_phone']
|
288
|
+
end
|
289
|
+
|
290
|
+
if attributes.key?(:'created')
|
291
|
+
self.created = attributes[:'created']
|
292
|
+
end
|
293
|
+
|
294
|
+
if attributes.key?(:'created_by')
|
295
|
+
self.created_by = attributes[:'created_by']
|
296
|
+
end
|
297
|
+
|
298
|
+
if attributes.key?(:'database_id')
|
299
|
+
self.database_id = attributes[:'database_id']
|
300
|
+
end
|
301
|
+
|
302
|
+
if attributes.key?(:'deleted')
|
303
|
+
self.deleted = attributes[:'deleted']
|
304
|
+
end
|
305
|
+
|
306
|
+
if attributes.key?(:'descriptor')
|
307
|
+
self.descriptor = attributes[:'descriptor']
|
308
|
+
end
|
309
|
+
|
310
|
+
if attributes.key?(:'distribution_lists')
|
311
|
+
self.distribution_lists = attributes[:'distribution_lists']
|
312
|
+
end
|
313
|
+
|
314
|
+
if attributes.key?(:'email')
|
315
|
+
self.email = attributes[:'email']
|
316
|
+
end
|
317
|
+
|
318
|
+
if attributes.key?(:'first_name')
|
319
|
+
self.first_name = attributes[:'first_name']
|
320
|
+
end
|
321
|
+
|
322
|
+
if attributes.key?(:'keystakeholder')
|
323
|
+
self.keystakeholder = attributes[:'keystakeholder']
|
324
|
+
end
|
325
|
+
|
326
|
+
if attributes.key?(:'keystakeholderfieldthing')
|
327
|
+
self.keystakeholderfieldthing = attributes[:'keystakeholderfieldthing']
|
328
|
+
end
|
329
|
+
|
330
|
+
if attributes.key?(:'last_name')
|
331
|
+
self.last_name = attributes[:'last_name']
|
332
|
+
end
|
333
|
+
|
334
|
+
if attributes.key?(:'mobile')
|
335
|
+
self.mobile = attributes[:'mobile']
|
336
|
+
end
|
337
|
+
|
338
|
+
if attributes.key?(:'modified')
|
339
|
+
self.modified = attributes[:'modified']
|
340
|
+
end
|
341
|
+
|
342
|
+
if attributes.key?(:'modified_by')
|
343
|
+
self.modified_by = attributes[:'modified_by']
|
344
|
+
end
|
345
|
+
|
346
|
+
if attributes.key?(:'modified_end_time')
|
347
|
+
self.modified_end_time = attributes[:'modified_end_time']
|
348
|
+
end
|
349
|
+
|
350
|
+
if attributes.key?(:'notes')
|
351
|
+
self.notes = attributes[:'notes']
|
352
|
+
end
|
353
|
+
|
354
|
+
if attributes.key?(:'organisation')
|
355
|
+
self.organisation = attributes[:'organisation']
|
356
|
+
end
|
357
|
+
|
358
|
+
if attributes.key?(:'physicaladdress')
|
359
|
+
self.physicaladdress = attributes[:'physicaladdress']
|
360
|
+
end
|
361
|
+
|
362
|
+
if attributes.key?(:'physicaladdress_address')
|
363
|
+
self.physicaladdress_address = attributes[:'physicaladdress_address']
|
364
|
+
end
|
365
|
+
|
366
|
+
if attributes.key?(:'physicaladdress_country')
|
367
|
+
self.physicaladdress_country = attributes[:'physicaladdress_country']
|
368
|
+
end
|
369
|
+
|
370
|
+
if attributes.key?(:'physicaladdress_location')
|
371
|
+
self.physicaladdress_location = attributes[:'physicaladdress_location']
|
372
|
+
end
|
373
|
+
|
374
|
+
if attributes.key?(:'physicaladdress_post_code')
|
375
|
+
self.physicaladdress_post_code = attributes[:'physicaladdress_post_code']
|
376
|
+
end
|
377
|
+
|
378
|
+
if attributes.key?(:'physicaladdress_state')
|
379
|
+
self.physicaladdress_state = attributes[:'physicaladdress_state']
|
380
|
+
end
|
381
|
+
|
382
|
+
if attributes.key?(:'physicaladdress_suburb')
|
383
|
+
self.physicaladdress_suburb = attributes[:'physicaladdress_suburb']
|
384
|
+
end
|
385
|
+
|
386
|
+
if attributes.key?(:'privacy_option')
|
387
|
+
self.privacy_option = attributes[:'privacy_option']
|
388
|
+
end
|
389
|
+
|
390
|
+
if attributes.key?(:'role')
|
391
|
+
self.role = attributes[:'role']
|
392
|
+
end
|
393
|
+
|
394
|
+
if attributes.key?(:'stakeholder_groups')
|
395
|
+
self.stakeholder_groups = attributes[:'stakeholder_groups']
|
396
|
+
end
|
397
|
+
|
398
|
+
if attributes.key?(:'suffix')
|
399
|
+
self.suffix = attributes[:'suffix']
|
400
|
+
end
|
401
|
+
|
402
|
+
if attributes.key?(:'testingmore')
|
403
|
+
self.testingmore = attributes[:'testingmore']
|
404
|
+
end
|
405
|
+
|
406
|
+
if attributes.key?(:'title')
|
407
|
+
self.title = attributes[:'title']
|
408
|
+
end
|
409
|
+
|
410
|
+
if attributes.key?(:'visibility')
|
411
|
+
self.visibility = attributes[:'visibility']
|
412
|
+
end
|
413
|
+
|
414
|
+
if attributes.key?(:'webaddress')
|
415
|
+
self.webaddress = attributes[:'webaddress']
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
420
|
+
# @return Array for valid properties with the reasons
|
421
|
+
def list_invalid_properties
|
422
|
+
invalid_properties = Array.new
|
423
|
+
invalid_properties
|
424
|
+
end
|
425
|
+
|
426
|
+
# Check to see if the all the properties in the model are valid
|
427
|
+
# @return true if the model is valid
|
428
|
+
def valid?
|
429
|
+
true
|
430
|
+
end
|
431
|
+
|
432
|
+
# Checks equality by comparing each attribute.
|
433
|
+
# @param [Object] Object to be compared
|
434
|
+
def ==(o)
|
435
|
+
return true if self.equal?(o)
|
436
|
+
self.class == o.class &&
|
437
|
+
id == o.id &&
|
438
|
+
address == o.address &&
|
439
|
+
address_address == o.address_address &&
|
440
|
+
address_country == o.address_country &&
|
441
|
+
address_location == o.address_location &&
|
442
|
+
address_post_code == o.address_post_code &&
|
443
|
+
address_state == o.address_state &&
|
444
|
+
address_suburb == o.address_suburb &&
|
445
|
+
ah_phone == o.ah_phone &&
|
446
|
+
bh_phone == o.bh_phone &&
|
447
|
+
created == o.created &&
|
448
|
+
created_by == o.created_by &&
|
449
|
+
database_id == o.database_id &&
|
450
|
+
deleted == o.deleted &&
|
451
|
+
descriptor == o.descriptor &&
|
452
|
+
distribution_lists == o.distribution_lists &&
|
453
|
+
email == o.email &&
|
454
|
+
first_name == o.first_name &&
|
455
|
+
keystakeholder == o.keystakeholder &&
|
456
|
+
keystakeholderfieldthing == o.keystakeholderfieldthing &&
|
457
|
+
last_name == o.last_name &&
|
458
|
+
mobile == o.mobile &&
|
459
|
+
modified == o.modified &&
|
460
|
+
modified_by == o.modified_by &&
|
461
|
+
modified_end_time == o.modified_end_time &&
|
462
|
+
notes == o.notes &&
|
463
|
+
organisation == o.organisation &&
|
464
|
+
physicaladdress == o.physicaladdress &&
|
465
|
+
physicaladdress_address == o.physicaladdress_address &&
|
466
|
+
physicaladdress_country == o.physicaladdress_country &&
|
467
|
+
physicaladdress_location == o.physicaladdress_location &&
|
468
|
+
physicaladdress_post_code == o.physicaladdress_post_code &&
|
469
|
+
physicaladdress_state == o.physicaladdress_state &&
|
470
|
+
physicaladdress_suburb == o.physicaladdress_suburb &&
|
471
|
+
privacy_option == o.privacy_option &&
|
472
|
+
role == o.role &&
|
473
|
+
stakeholder_groups == o.stakeholder_groups &&
|
474
|
+
suffix == o.suffix &&
|
475
|
+
testingmore == o.testingmore &&
|
476
|
+
title == o.title &&
|
477
|
+
visibility == o.visibility &&
|
478
|
+
webaddress == o.webaddress
|
479
|
+
end
|
480
|
+
|
481
|
+
# @see the `==` method
|
482
|
+
# @param [Object] Object to be compared
|
483
|
+
def eql?(o)
|
484
|
+
self == o
|
485
|
+
end
|
486
|
+
|
487
|
+
# Calculates hash code according to all attributes.
|
488
|
+
# @return [Integer] Hash code
|
489
|
+
def hash
|
490
|
+
[id, address, address_address, address_country, address_location, address_post_code, address_state, address_suburb, ah_phone, bh_phone, created, created_by, database_id, deleted, descriptor, distribution_lists, email, first_name, keystakeholder, keystakeholderfieldthing, last_name, mobile, modified, modified_by, modified_end_time, notes, organisation, physicaladdress, physicaladdress_address, physicaladdress_country, physicaladdress_location, physicaladdress_post_code, physicaladdress_state, physicaladdress_suburb, privacy_option, role, stakeholder_groups, suffix, testingmore, title, visibility, webaddress].hash
|
491
|
+
end
|
492
|
+
|
493
|
+
# Builds the object from hash
|
494
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
495
|
+
# @return [Object] Returns the model itself
|
496
|
+
def self.build_from_hash(attributes)
|
497
|
+
new.build_from_hash(attributes)
|
498
|
+
end
|
499
|
+
|
500
|
+
# Builds the object from hash
|
501
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
502
|
+
# @return [Object] Returns the model itself
|
503
|
+
def build_from_hash(attributes)
|
504
|
+
return nil unless attributes.is_a?(Hash)
|
505
|
+
self.class.openapi_types.each_pair do |key, type|
|
506
|
+
if type =~ /\AArray<(.*)>/i
|
507
|
+
# check to ensure the input is an array given that the attribute
|
508
|
+
# is documented as an array but the input is not
|
509
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
510
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
511
|
+
end
|
512
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
513
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
514
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
515
|
+
end
|
516
|
+
|
517
|
+
self
|
518
|
+
end
|
519
|
+
|
520
|
+
# Deserializes the data based on type
|
521
|
+
# @param string type Data type
|
522
|
+
# @param string value Value to be deserialized
|
523
|
+
# @return [Object] Deserialized data
|
524
|
+
def _deserialize(type, value)
|
525
|
+
case type.to_sym
|
526
|
+
when :DateTime
|
527
|
+
DateTime.parse(value)
|
528
|
+
when :Date
|
529
|
+
Date.parse(value)
|
530
|
+
when :String
|
531
|
+
value.to_s
|
532
|
+
when :Integer
|
533
|
+
value.to_i
|
534
|
+
when :Float
|
535
|
+
value.to_f
|
536
|
+
when :Boolean
|
537
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
538
|
+
true
|
539
|
+
else
|
540
|
+
false
|
541
|
+
end
|
542
|
+
when :Object
|
543
|
+
# generic object (usually a Hash), return directly
|
544
|
+
value
|
545
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
546
|
+
inner_type = Regexp.last_match[:inner_type]
|
547
|
+
value.map { |v| _deserialize(inner_type, v) }
|
548
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
549
|
+
k_type = Regexp.last_match[:k_type]
|
550
|
+
v_type = Regexp.last_match[:v_type]
|
551
|
+
{}.tap do |hash|
|
552
|
+
value.each do |k, v|
|
553
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
554
|
+
end
|
555
|
+
end
|
556
|
+
else # model
|
557
|
+
CMV4APIClient.const_get(type).build_from_hash(value)
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
561
|
+
# Returns the string representation of the object
|
562
|
+
# @return [String] String presentation of the object
|
563
|
+
def to_s
|
564
|
+
to_hash.to_s
|
565
|
+
end
|
566
|
+
|
567
|
+
# to_body is an alias to to_hash (backward compatibility)
|
568
|
+
# @return [Hash] Returns the object in the form of hash
|
569
|
+
def to_body
|
570
|
+
to_hash
|
571
|
+
end
|
572
|
+
|
573
|
+
# Returns the object in the form of hash
|
574
|
+
# @return [Hash] Returns the object in the form of hash
|
575
|
+
def to_hash
|
576
|
+
hash = {}
|
577
|
+
self.class.attribute_map.each_pair do |attr, param|
|
578
|
+
value = self.send(attr)
|
579
|
+
if value.nil?
|
580
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
581
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
582
|
+
end
|
583
|
+
|
584
|
+
hash[param] = _to_hash(value)
|
585
|
+
end
|
586
|
+
hash
|
587
|
+
end
|
588
|
+
|
589
|
+
# Outputs non-array value in the form of hash
|
590
|
+
# For object, use to_hash. Otherwise, just return the value
|
591
|
+
# @param [Object] value Any valid value
|
592
|
+
# @return [Hash] Returns the value in the form of hash
|
593
|
+
def _to_hash(value)
|
594
|
+
if value.is_a?(Array)
|
595
|
+
value.compact.map { |v| _to_hash(v) }
|
596
|
+
elsif value.is_a?(Hash)
|
597
|
+
{}.tap do |hash|
|
598
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
599
|
+
end
|
600
|
+
elsif value.respond_to? :to_hash
|
601
|
+
value.to_hash
|
602
|
+
else
|
603
|
+
value
|
604
|
+
end
|
605
|
+
end
|
606
|
+
end
|
607
|
+
end
|