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,157 @@
|
|
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 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for CMV4APIClient::EntityEventsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'EntityEventsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = CMV4APIClient::EntityEventsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of EntityEventsApi' do
|
30
|
+
it 'should create an instance of EntityEventsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(CMV4APIClient::EntityEventsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for events_clone
|
36
|
+
# Clone an existing event
|
37
|
+
# Clones an existing event.
|
38
|
+
# @param id
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Event]
|
41
|
+
describe 'events_clone test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for events_create
|
48
|
+
# Create a new event
|
49
|
+
# Creates a new event.
|
50
|
+
# @param ensure_entity_instance_command_data
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [Event]
|
53
|
+
describe 'events_create test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for events_delete
|
60
|
+
# Delete a event
|
61
|
+
# Deletes an existing event.
|
62
|
+
# @param id
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [Object]
|
65
|
+
describe 'events_delete test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for events_delete_using_post
|
72
|
+
# Delete a event
|
73
|
+
# Deletes an existing event.
|
74
|
+
# @param id
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [Object]
|
77
|
+
describe 'events_delete_using_post test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for events_get_all
|
84
|
+
# Get All Events
|
85
|
+
# Gets all events and allows for the results to be paged.
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @option opts [Integer] :page
|
88
|
+
# @option opts [Integer] :page_size
|
89
|
+
# @return [Event]
|
90
|
+
describe 'events_get_all test' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# unit tests for events_get_by_id
|
97
|
+
# Get Event By Id
|
98
|
+
# Gets a single event by its Id
|
99
|
+
# @param id
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @return [Event]
|
102
|
+
describe 'events_get_by_id test' do
|
103
|
+
it 'should work' do
|
104
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# unit tests for events_get_count
|
109
|
+
# Get Events Count
|
110
|
+
# Gets the count of all events
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [Integer]
|
113
|
+
describe 'events_get_count test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# unit tests for events_merge
|
120
|
+
# Merge Events
|
121
|
+
# Merge existing events.
|
122
|
+
# @param id
|
123
|
+
# @param merge_entity_instances_command_data
|
124
|
+
# @param [Hash] opts the optional parameters
|
125
|
+
# @return [Event]
|
126
|
+
describe 'events_merge test' do
|
127
|
+
it 'should work' do
|
128
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# unit tests for events_modify
|
133
|
+
# Modify a event
|
134
|
+
# Modify an existing event.
|
135
|
+
# @param id
|
136
|
+
# @param ensure_entity_instance_command_data
|
137
|
+
# @param [Hash] opts the optional parameters
|
138
|
+
# @return [Event]
|
139
|
+
describe 'events_modify test' do
|
140
|
+
it 'should work' do
|
141
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
# unit tests for events_restore
|
146
|
+
# Restore a event
|
147
|
+
# Restores a event.
|
148
|
+
# @param id
|
149
|
+
# @param [Hash] opts the optional parameters
|
150
|
+
# @return [Object]
|
151
|
+
describe 'events_restore test' do
|
152
|
+
it 'should work' do
|
153
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
end
|
@@ -0,0 +1,157 @@
|
|
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 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for CMV4APIClient::EntityOrganisationsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'EntityOrganisationsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = CMV4APIClient::EntityOrganisationsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of EntityOrganisationsApi' do
|
30
|
+
it 'should create an instance of EntityOrganisationsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(CMV4APIClient::EntityOrganisationsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for organisations_clone
|
36
|
+
# Clone an existing organisation
|
37
|
+
# Clones an existing organisation.
|
38
|
+
# @param id
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Organisation]
|
41
|
+
describe 'organisations_clone test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for organisations_create
|
48
|
+
# Create a new organisation
|
49
|
+
# Creates a new organisation.
|
50
|
+
# @param ensure_entity_instance_command_data
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [Organisation]
|
53
|
+
describe 'organisations_create test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for organisations_delete
|
60
|
+
# Delete a organisation
|
61
|
+
# Deletes an existing organisation.
|
62
|
+
# @param id
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [Object]
|
65
|
+
describe 'organisations_delete test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for organisations_delete_using_post
|
72
|
+
# Delete a organisation
|
73
|
+
# Deletes an existing organisation.
|
74
|
+
# @param id
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [Object]
|
77
|
+
describe 'organisations_delete_using_post test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for organisations_get_all
|
84
|
+
# Get All Organisations
|
85
|
+
# Gets all organisations and allows for the results to be paged.
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @option opts [Integer] :page
|
88
|
+
# @option opts [Integer] :page_size
|
89
|
+
# @return [Organisation]
|
90
|
+
describe 'organisations_get_all test' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# unit tests for organisations_get_by_id
|
97
|
+
# Get Organisation By Id
|
98
|
+
# Gets a single organisation by its Id
|
99
|
+
# @param id
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @return [Organisation]
|
102
|
+
describe 'organisations_get_by_id test' do
|
103
|
+
it 'should work' do
|
104
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# unit tests for organisations_get_count
|
109
|
+
# Get Organisations Count
|
110
|
+
# Gets the count of all organisations
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [Integer]
|
113
|
+
describe 'organisations_get_count test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# unit tests for organisations_merge
|
120
|
+
# Merge Organisations
|
121
|
+
# Merge existing organisations.
|
122
|
+
# @param id
|
123
|
+
# @param merge_entity_instances_command_data
|
124
|
+
# @param [Hash] opts the optional parameters
|
125
|
+
# @return [Organisation]
|
126
|
+
describe 'organisations_merge test' do
|
127
|
+
it 'should work' do
|
128
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# unit tests for organisations_modify
|
133
|
+
# Modify a organisation
|
134
|
+
# Modify an existing organisation.
|
135
|
+
# @param id
|
136
|
+
# @param ensure_entity_instance_command_data
|
137
|
+
# @param [Hash] opts the optional parameters
|
138
|
+
# @return [Organisation]
|
139
|
+
describe 'organisations_modify test' do
|
140
|
+
it 'should work' do
|
141
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
# unit tests for organisations_restore
|
146
|
+
# Restore a organisation
|
147
|
+
# Restores a organisation.
|
148
|
+
# @param id
|
149
|
+
# @param [Hash] opts the optional parameters
|
150
|
+
# @return [Object]
|
151
|
+
describe 'organisations_restore test' do
|
152
|
+
it 'should work' do
|
153
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
end
|
@@ -0,0 +1,157 @@
|
|
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 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for CMV4APIClient::EntityProjectsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'EntityProjectsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = CMV4APIClient::EntityProjectsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of EntityProjectsApi' do
|
30
|
+
it 'should create an instance of EntityProjectsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(CMV4APIClient::EntityProjectsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for projects_clone
|
36
|
+
# Clone an existing project
|
37
|
+
# Clones an existing project.
|
38
|
+
# @param id
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Project2]
|
41
|
+
describe 'projects_clone test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for projects_create
|
48
|
+
# Create Project
|
49
|
+
# Creates a new project.
|
50
|
+
# @param ensure_project_command_data
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [Project2]
|
53
|
+
describe 'projects_create test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for projects_delete
|
60
|
+
# Delete a project
|
61
|
+
# Deletes an existing project.
|
62
|
+
# @param id
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [Object]
|
65
|
+
describe 'projects_delete test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for projects_delete_using_post
|
72
|
+
# Delete a project
|
73
|
+
# Deletes an existing project.
|
74
|
+
# @param id
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [Object]
|
77
|
+
describe 'projects_delete_using_post test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for projects_get_all
|
84
|
+
# Get All Projects
|
85
|
+
# Gets all projects and allows for the results to be paged.
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @option opts [Integer] :page
|
88
|
+
# @option opts [Integer] :page_size
|
89
|
+
# @return [Project2]
|
90
|
+
describe 'projects_get_all test' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# unit tests for projects_get_by_id
|
97
|
+
# Get Project By Id
|
98
|
+
# Gets a single project by its Id
|
99
|
+
# @param id
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @return [Project2]
|
102
|
+
describe 'projects_get_by_id test' do
|
103
|
+
it 'should work' do
|
104
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# unit tests for projects_get_count
|
109
|
+
# Get Projects Count
|
110
|
+
# Gets the count of all projects
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [Integer]
|
113
|
+
describe 'projects_get_count test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# unit tests for projects_merge
|
120
|
+
# Merge Projects
|
121
|
+
# Merge existing projects.
|
122
|
+
# @param id
|
123
|
+
# @param merge_entity_instances_command_data
|
124
|
+
# @param [Hash] opts the optional parameters
|
125
|
+
# @return [Project2]
|
126
|
+
describe 'projects_merge test' do
|
127
|
+
it 'should work' do
|
128
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# unit tests for projects_modify
|
133
|
+
# Modify a project
|
134
|
+
# Modify an existing project.
|
135
|
+
# @param id
|
136
|
+
# @param ensure_entity_instance_command_data
|
137
|
+
# @param [Hash] opts the optional parameters
|
138
|
+
# @return [Project2]
|
139
|
+
describe 'projects_modify test' do
|
140
|
+
it 'should work' do
|
141
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
# unit tests for projects_restore
|
146
|
+
# Restore a project
|
147
|
+
# Restores a project.
|
148
|
+
# @param id
|
149
|
+
# @param [Hash] opts the optional parameters
|
150
|
+
# @return [Object]
|
151
|
+
describe 'projects_restore test' do
|
152
|
+
it 'should work' do
|
153
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
end
|
@@ -0,0 +1,157 @@
|
|
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 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for CMV4APIClient::EntityPropertiesApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'EntityPropertiesApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = CMV4APIClient::EntityPropertiesApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of EntityPropertiesApi' do
|
30
|
+
it 'should create an instance of EntityPropertiesApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(CMV4APIClient::EntityPropertiesApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for properties_clone
|
36
|
+
# Clone an existing property
|
37
|
+
# Clones an existing property.
|
38
|
+
# @param id
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Property]
|
41
|
+
describe 'properties_clone test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for properties_create
|
48
|
+
# Create a new property
|
49
|
+
# Creates a new property.
|
50
|
+
# @param ensure_entity_instance_command_data
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [Property]
|
53
|
+
describe 'properties_create test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
# unit tests for properties_delete
|
60
|
+
# Delete a property
|
61
|
+
# Deletes an existing property.
|
62
|
+
# @param id
|
63
|
+
# @param [Hash] opts the optional parameters
|
64
|
+
# @return [Object]
|
65
|
+
describe 'properties_delete test' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# unit tests for properties_delete_using_post
|
72
|
+
# Delete a property
|
73
|
+
# Deletes an existing property.
|
74
|
+
# @param id
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [Object]
|
77
|
+
describe 'properties_delete_using_post test' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# unit tests for properties_get_all
|
84
|
+
# Get All Properties
|
85
|
+
# Gets all properties and allows for the results to be paged.
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @option opts [Integer] :page
|
88
|
+
# @option opts [Integer] :page_size
|
89
|
+
# @return [Property]
|
90
|
+
describe 'properties_get_all test' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# unit tests for properties_get_by_id
|
97
|
+
# Get Property By Id
|
98
|
+
# Gets a single property by its Id
|
99
|
+
# @param id
|
100
|
+
# @param [Hash] opts the optional parameters
|
101
|
+
# @return [Property]
|
102
|
+
describe 'properties_get_by_id test' do
|
103
|
+
it 'should work' do
|
104
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# unit tests for properties_get_count
|
109
|
+
# Get Properties Count
|
110
|
+
# Gets the count of all properties
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [Integer]
|
113
|
+
describe 'properties_get_count test' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# unit tests for properties_merge
|
120
|
+
# Merge Properties
|
121
|
+
# Merge existing properties.
|
122
|
+
# @param id
|
123
|
+
# @param merge_entity_instances_command_data
|
124
|
+
# @param [Hash] opts the optional parameters
|
125
|
+
# @return [Property]
|
126
|
+
describe 'properties_merge test' do
|
127
|
+
it 'should work' do
|
128
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# unit tests for properties_modify
|
133
|
+
# Modify a property
|
134
|
+
# Modify an existing property.
|
135
|
+
# @param id
|
136
|
+
# @param ensure_entity_instance_command_data
|
137
|
+
# @param [Hash] opts the optional parameters
|
138
|
+
# @return [Property]
|
139
|
+
describe 'properties_modify test' do
|
140
|
+
it 'should work' do
|
141
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
# unit tests for properties_restore
|
146
|
+
# Restore a property
|
147
|
+
# Restores a property.
|
148
|
+
# @param id
|
149
|
+
# @param [Hash] opts the optional parameters
|
150
|
+
# @return [Object]
|
151
|
+
describe 'properties_restore test' do
|
152
|
+
it 'should work' do
|
153
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
end
|