From f81bcc128a0efe46db313a7ef30f622b91f0cc44 Mon Sep 17 00:00:00 2001 From: prodyna-yasm <darko.krizic@prodyna.com> Date: Fri, 14 Oct 2022 23:31:29 +0000 Subject: [PATCH] Update from https://github.com/PRODYNA-YASM/yasm-api/commit/2f6b57842a4944a3a8a5f2a863f887e978b9d3d5 --- .openapi-generator/FILES | 76 +- README.md | 34 +- api/openapi.yaml | 1202 +++++++++++------ api_availability.go | 2 +- api_certification.go | 2 +- api_country.go | 2 +- api_industry.go | 2 +- api_language.go | 2 +- api_office.go | 2 +- api_organization.go | 2 +- api_person.go | 2 +- api_project.go | 2 +- api_search.go | 2 +- api_skill.go | 2 +- api_status.go | 2 +- client.go | 4 +- configuration.go | 2 +- docs/Availability.md | 128 +- docs/AvailabilityAllOf.md | 108 -- docs/AvailabilityApi.md | 4 +- docs/Certification.md | 70 +- docs/CertificationAllOf.md | 56 - docs/CertificationApi.md | 4 +- docs/Country.md | 44 +- docs/CountryAllOf.md | 56 - docs/CountryApi.md | 4 +- docs/ExperienceAllOf.md | 82 -- docs/Industry.md | 44 +- docs/IndustryApi.md | 4 +- docs/Language.md | 44 +- docs/LanguageApi.md | 2 +- docs/NamedDomainModel.md | 9 +- docs/NamedDomainModelAllOf.md | 56 - docs/Office.md | 44 +- docs/OfficeApi.md | 4 +- docs/Organization.md | 156 +-- docs/OrganizationAllOf.md | 108 -- docs/OrganizationApi.md | 12 +- docs/PagedAvailabilities.md | 78 -- docs/PagedAvailabilitiesAllOf.md | 56 - docs/PagedCertifications.md | 78 -- docs/PagedCertificationsAllOf.md | 56 - docs/PagedCountries.md | 78 -- docs/PagedCountriesAllOf.md | 56 - docs/PagedIndustries.md | 78 -- docs/PagedIndustriesAllOf.md | 56 - docs/PagedLanguages.md | 78 -- docs/PagedLanguagesAllOf.md | 56 - docs/PagedOrganizations.md | 78 -- docs/PagedOrganizationsAllOf.md | 56 - docs/PagedPersons.md | 78 -- docs/PagedPersonsAllOf.md | 56 - docs/PagedProjects.md | 78 -- docs/PagedProjectsAllOf.md | 56 - docs/PagedSkills.md | 78 -- docs/PagedSkillsAllOf.md | 56 - docs/Person.md | 294 ++-- docs/PersonAllOf.md | 368 ----- docs/PersonApi.md | 8 +- docs/PersonCertificationFilter.md | 42 +- docs/PersonCertificationFilterAllOf.md | 56 - docs/PersonIndustryFilter.md | 42 +- docs/PersonIndustryFilterAllOf.md | 108 -- docs/PersonOrganizationFilter.md | 42 +- docs/PersonOrganizationFilterAllOf.md | 56 - docs/PersonProjectFilter.md | 42 +- docs/PersonProjectFilterAllOf.md | 82 -- docs/PersonScoreDetail.md | 52 +- docs/PersonSearch.md | 40 +- docs/PersonSearchCertificationsInner.md | 77 -- docs/PersonSearchIndustriesInner.md | 129 -- docs/PersonSearchOrganizationsInner.md | 77 -- docs/PersonSearchProjectsInner.md | 103 -- docs/PersonSearchSkillsInner.md | 103 -- docs/PersonSkillFilter.md | 42 +- docs/PersonSkillFilterAllOf.md | 82 -- docs/Project.md | 70 +- docs/ProjectAllOf.md | 56 - docs/ProjectApi.md | 4 +- docs/ProjectParticipation.md | 25 +- docs/ProjectParticipationAllOf.md | 2 +- docs/ProjectParticipationUpdate.md | 8 +- docs/ProjectParticipationUpdateTimeframe.md | 82 -- docs/ProjectSearch.md | 32 +- docs/ProjectSearchSkillsInner.md | 51 - docs/SearchResult.md | 78 -- docs/SearchResultAllOf.md | 56 - docs/Skill.md | 104 +- docs/SkillAllOf.md | 82 -- docs/SkillApi.md | 4 +- docs/SkillLevelUpdateAllOf.md | 82 -- model_availability.go | 171 +-- model_availability_all_of.go | 187 --- model_availability_detail.go | 2 +- model_availability_filter.go | 2 +- model_basic_domain_model.go | 2 +- model_certification.go | 99 +- model_certification_all_of.go | 115 -- model_certification_details.go | 2 +- model_country.go | 61 +- model_country_all_of.go | 116 -- model_country_details.go | 2 +- model_descriptable.go | 2 +- model_entity_filter.go | 2 +- model_error.go | 2 +- model_experience.go | 2 +- model_experience_all_of.go | 151 --- model_geolocation.go | 2 +- model_industry.go | 61 +- model_industry_details.go | 2 +- model_language.go | 61 +- model_language_details.go | 2 +- model_language_level.go | 2 +- model_level.go | 2 +- model_linkable.go | 2 +- model_locateable.go | 2 +- model_min_max.go | 2 +- model_min_max_percent.go | 2 +- model_named_domain_model.go | 36 +- model_named_domain_model_all_of.go | 115 -- model_office.go | 61 +- model_organization.go | 235 ++-- model_organization_all_of.go | 196 --- model_organization_details.go | 2 +- model_page.go | 2 +- model_paged_availabilities.go | 110 +- model_paged_availabilities_all_of.go | 115 -- model_paged_certifications.go | 110 +- model_paged_certifications_all_of.go | 115 -- model_paged_countries.go | 110 +- model_paged_countries_all_of.go | 115 -- model_paged_industries.go | 110 +- model_paged_industries_all_of.go | 115 -- model_paged_languages.go | 110 +- model_paged_languages_all_of.go | 115 -- model_paged_organizations.go | 110 +- model_paged_organizations_all_of.go | 115 -- model_paged_persons.go | 110 +- model_paged_persons_all_of.go | 115 -- model_paged_projects.go | 110 +- model_paged_projects_all_of.go | 115 -- model_paged_skills.go | 110 +- model_paged_skills_all_of.go | 115 -- model_person.go | 401 +++--- model_person_all_of.go | 553 -------- model_person_certification_filter.go | 58 +- model_person_certification_filter_all_of.go | 116 -- model_person_details.go | 2 +- model_person_industry_filter.go | 58 +- model_person_industry_filter_all_of.go | 187 --- model_person_organization_filter.go | 58 +- model_person_organization_filter_all_of.go | 115 -- model_person_project_filter.go | 58 +- model_person_project_filter_all_of.go | 151 --- model_person_score_detail.go | 74 +- model_person_search.go | 62 +- model_person_search_certifications_inner.go | 145 -- model_person_search_industries_inner.go | 216 --- model_person_search_organizations_inner.go | 144 -- model_person_search_projects_inner.go | 180 --- model_person_search_skills_inner.go | 181 --- model_person_skill_filter.go | 58 +- model_person_skill_filter_all_of.go | 152 --- model_project.go | 109 +- model_project_all_of.go | 120 -- model_project_details.go | 2 +- model_project_participation.go | 32 +- model_project_participation_all_of.go | 2 +- model_project_participation_update.go | 14 +- ..._project_participation_update_timeframe.go | 151 --- model_project_score_detail.go | 2 +- model_project_score_detail_all_of.go | 2 +- model_project_search.go | 50 +- model_project_search_skills_inner.go | 108 -- model_project_status.go | 2 +- model_search_result.go | 110 +- model_search_result_all_of.go | 115 -- model_search_result_item.go | 2 +- model_seniority.go | 2 +- model_skill.go | 169 +-- model_skill_all_of.go | 159 --- model_skill_details.go | 2 +- model_skill_group.go | 2 +- model_skill_level.go | 2 +- model_skill_level_update.go | 2 +- model_skill_level_update_all_of.go | 151 --- model_status.go | 2 +- model_suggestable.go | 2 +- model_synonymable.go | 2 +- model_timeframed.go | 2 +- model_version.go | 2 +- response.go | 2 +- test/api_availability_test.go | 83 ++ test/api_certification_test.go | 212 +++ test/api_country_test.go | 121 ++ test/api_industry_test.go | 121 ++ test/api_language_test.go | 152 +++ test/api_office_test.go | 114 ++ test/api_organization_test.go | 266 ++++ test/api_person_test.go | 542 ++++++++ test/api_project_test.go | 264 ++++ test/api_search_test.go | 39 + test/api_skill_test.go | 394 ++++++ test/api_status_test.go | 49 + utils.go | 2 +- 205 files changed, 4412 insertions(+), 12136 deletions(-) delete mode 100644 docs/AvailabilityAllOf.md delete mode 100644 docs/CertificationAllOf.md delete mode 100644 docs/CountryAllOf.md delete mode 100644 docs/ExperienceAllOf.md delete mode 100644 docs/NamedDomainModelAllOf.md delete mode 100644 docs/OrganizationAllOf.md delete mode 100644 docs/PagedAvailabilitiesAllOf.md delete mode 100644 docs/PagedCertificationsAllOf.md delete mode 100644 docs/PagedCountriesAllOf.md delete mode 100644 docs/PagedIndustriesAllOf.md delete mode 100644 docs/PagedLanguagesAllOf.md delete mode 100644 docs/PagedOrganizationsAllOf.md delete mode 100644 docs/PagedPersonsAllOf.md delete mode 100644 docs/PagedProjectsAllOf.md delete mode 100644 docs/PagedSkillsAllOf.md delete mode 100644 docs/PersonAllOf.md delete mode 100644 docs/PersonCertificationFilterAllOf.md delete mode 100644 docs/PersonIndustryFilterAllOf.md delete mode 100644 docs/PersonOrganizationFilterAllOf.md delete mode 100644 docs/PersonProjectFilterAllOf.md delete mode 100644 docs/PersonSearchCertificationsInner.md delete mode 100644 docs/PersonSearchIndustriesInner.md delete mode 100644 docs/PersonSearchOrganizationsInner.md delete mode 100644 docs/PersonSearchProjectsInner.md delete mode 100644 docs/PersonSearchSkillsInner.md delete mode 100644 docs/PersonSkillFilterAllOf.md delete mode 100644 docs/ProjectAllOf.md delete mode 100644 docs/ProjectParticipationUpdateTimeframe.md delete mode 100644 docs/ProjectSearchSkillsInner.md delete mode 100644 docs/SearchResultAllOf.md delete mode 100644 docs/SkillAllOf.md delete mode 100644 docs/SkillLevelUpdateAllOf.md delete mode 100644 model_availability_all_of.go delete mode 100644 model_certification_all_of.go delete mode 100644 model_country_all_of.go delete mode 100644 model_experience_all_of.go delete mode 100644 model_named_domain_model_all_of.go delete mode 100644 model_organization_all_of.go delete mode 100644 model_paged_availabilities_all_of.go delete mode 100644 model_paged_certifications_all_of.go delete mode 100644 model_paged_countries_all_of.go delete mode 100644 model_paged_industries_all_of.go delete mode 100644 model_paged_languages_all_of.go delete mode 100644 model_paged_organizations_all_of.go delete mode 100644 model_paged_persons_all_of.go delete mode 100644 model_paged_projects_all_of.go delete mode 100644 model_paged_skills_all_of.go delete mode 100644 model_person_all_of.go delete mode 100644 model_person_certification_filter_all_of.go delete mode 100644 model_person_industry_filter_all_of.go delete mode 100644 model_person_organization_filter_all_of.go delete mode 100644 model_person_project_filter_all_of.go delete mode 100644 model_person_search_certifications_inner.go delete mode 100644 model_person_search_industries_inner.go delete mode 100644 model_person_search_organizations_inner.go delete mode 100644 model_person_search_projects_inner.go delete mode 100644 model_person_search_skills_inner.go delete mode 100644 model_person_skill_filter_all_of.go delete mode 100644 model_project_all_of.go delete mode 100644 model_project_participation_update_timeframe.go delete mode 100644 model_project_search_skills_inner.go delete mode 100644 model_search_result_all_of.go delete mode 100644 model_skill_all_of.go delete mode 100644 model_skill_level_update_all_of.go create mode 100644 test/api_availability_test.go create mode 100644 test/api_certification_test.go create mode 100644 test/api_country_test.go create mode 100644 test/api_industry_test.go create mode 100644 test/api_language_test.go create mode 100644 test/api_office_test.go create mode 100644 test/api_organization_test.go create mode 100644 test/api_person_test.go create mode 100644 test/api_project_test.go create mode 100644 test/api_search_test.go create mode 100644 test/api_skill_test.go create mode 100644 test/api_status_test.go diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 79cc84e5..ffdef0aa 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -18,24 +18,20 @@ api_status.go client.go configuration.go docs/Availability.md -docs/AvailabilityAllOf.md docs/AvailabilityApi.md docs/AvailabilityDetail.md docs/AvailabilityFilter.md docs/BasicDomainModel.md docs/Certification.md -docs/CertificationAllOf.md docs/CertificationApi.md docs/CertificationDetails.md docs/Country.md -docs/CountryAllOf.md docs/CountryApi.md docs/CountryDetails.md docs/Descriptable.md docs/EntityFilter.md docs/Error.md docs/Experience.md -docs/ExperienceAllOf.md docs/Geolocation.md docs/Industry.md docs/IndustryApi.md @@ -50,79 +46,51 @@ docs/Locateable.md docs/MinMax.md docs/MinMaxPercent.md docs/NamedDomainModel.md -docs/NamedDomainModelAllOf.md docs/Office.md docs/OfficeApi.md docs/Organization.md -docs/OrganizationAllOf.md docs/OrganizationApi.md docs/OrganizationDetails.md docs/Page.md docs/PagedAvailabilities.md -docs/PagedAvailabilitiesAllOf.md docs/PagedCertifications.md -docs/PagedCertificationsAllOf.md docs/PagedCountries.md -docs/PagedCountriesAllOf.md docs/PagedIndustries.md -docs/PagedIndustriesAllOf.md docs/PagedLanguages.md -docs/PagedLanguagesAllOf.md docs/PagedOrganizations.md -docs/PagedOrganizationsAllOf.md docs/PagedPersons.md -docs/PagedPersonsAllOf.md docs/PagedProjects.md -docs/PagedProjectsAllOf.md docs/PagedSkills.md -docs/PagedSkillsAllOf.md docs/Person.md -docs/PersonAllOf.md docs/PersonApi.md docs/PersonCertificationFilter.md -docs/PersonCertificationFilterAllOf.md docs/PersonDetails.md docs/PersonIndustryFilter.md -docs/PersonIndustryFilterAllOf.md docs/PersonOrganizationFilter.md -docs/PersonOrganizationFilterAllOf.md docs/PersonProjectFilter.md -docs/PersonProjectFilterAllOf.md docs/PersonScoreDetail.md docs/PersonSearch.md -docs/PersonSearchCertificationsInner.md -docs/PersonSearchIndustriesInner.md -docs/PersonSearchOrganizationsInner.md -docs/PersonSearchProjectsInner.md -docs/PersonSearchSkillsInner.md docs/PersonSkillFilter.md -docs/PersonSkillFilterAllOf.md docs/Project.md -docs/ProjectAllOf.md docs/ProjectApi.md docs/ProjectDetails.md docs/ProjectParticipation.md docs/ProjectParticipationAllOf.md docs/ProjectParticipationUpdate.md -docs/ProjectParticipationUpdateTimeframe.md docs/ProjectScoreDetail.md docs/ProjectScoreDetailAllOf.md docs/ProjectSearch.md -docs/ProjectSearchSkillsInner.md docs/ProjectStatus.md docs/SearchApi.md docs/SearchResult.md -docs/SearchResultAllOf.md docs/SearchResultItem.md docs/Seniority.md docs/Skill.md -docs/SkillAllOf.md docs/SkillApi.md docs/SkillDetails.md docs/SkillGroup.md docs/SkillLevel.md docs/SkillLevelUpdate.md -docs/SkillLevelUpdateAllOf.md docs/Status.md docs/StatusApi.md docs/Suggestable.md @@ -133,21 +101,17 @@ git_push.sh go.mod go.sum model_availability.go -model_availability_all_of.go model_availability_detail.go model_availability_filter.go model_basic_domain_model.go model_certification.go -model_certification_all_of.go model_certification_details.go model_country.go -model_country_all_of.go model_country_details.go model_descriptable.go model_entity_filter.go model_error.go model_experience.go -model_experience_all_of.go model_geolocation.go model_industry.go model_industry_details.go @@ -160,77 +124,61 @@ model_locateable.go model_min_max.go model_min_max_percent.go model_named_domain_model.go -model_named_domain_model_all_of.go model_office.go model_organization.go -model_organization_all_of.go model_organization_details.go model_page.go model_paged_availabilities.go -model_paged_availabilities_all_of.go model_paged_certifications.go -model_paged_certifications_all_of.go model_paged_countries.go -model_paged_countries_all_of.go model_paged_industries.go -model_paged_industries_all_of.go model_paged_languages.go -model_paged_languages_all_of.go model_paged_organizations.go -model_paged_organizations_all_of.go model_paged_persons.go -model_paged_persons_all_of.go model_paged_projects.go -model_paged_projects_all_of.go model_paged_skills.go -model_paged_skills_all_of.go model_person.go -model_person_all_of.go model_person_certification_filter.go -model_person_certification_filter_all_of.go model_person_details.go model_person_industry_filter.go -model_person_industry_filter_all_of.go model_person_organization_filter.go -model_person_organization_filter_all_of.go model_person_project_filter.go -model_person_project_filter_all_of.go model_person_score_detail.go model_person_search.go -model_person_search_certifications_inner.go -model_person_search_industries_inner.go -model_person_search_organizations_inner.go -model_person_search_projects_inner.go -model_person_search_skills_inner.go model_person_skill_filter.go -model_person_skill_filter_all_of.go model_project.go -model_project_all_of.go model_project_details.go model_project_participation.go model_project_participation_all_of.go model_project_participation_update.go -model_project_participation_update_timeframe.go model_project_score_detail.go model_project_score_detail_all_of.go model_project_search.go -model_project_search_skills_inner.go model_project_status.go model_search_result.go -model_search_result_all_of.go model_search_result_item.go model_seniority.go model_skill.go -model_skill_all_of.go model_skill_details.go model_skill_group.go model_skill_level.go model_skill_level_update.go -model_skill_level_update_all_of.go model_status.go model_suggestable.go model_synonymable.go model_timeframed.go model_version.go response.go +test/api_availability_test.go +test/api_certification_test.go +test/api_country_test.go +test/api_industry_test.go +test/api_language_test.go +test/api_office_test.go +test/api_organization_test.go +test/api_person_test.go +test/api_project_test.go +test/api_search_test.go +test/api_skill_test.go +test/api_status_test.go utils.go diff --git a/README.md b/README.md index 150a2673..25a05920 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This is an example of using OAuth2 Implicit Flow in a specification to describe ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.2.5 +- API version: 1.2.6 - Package version: 0.0.1 - Build package: org.openapitools.codegen.languages.GoClientCodegen @@ -225,21 +225,17 @@ Class | Method | HTTP request | Description ## Documentation For Models - [Availability](docs/Availability.md) - - [AvailabilityAllOf](docs/AvailabilityAllOf.md) - [AvailabilityDetail](docs/AvailabilityDetail.md) - [AvailabilityFilter](docs/AvailabilityFilter.md) - [BasicDomainModel](docs/BasicDomainModel.md) - [Certification](docs/Certification.md) - - [CertificationAllOf](docs/CertificationAllOf.md) - [CertificationDetails](docs/CertificationDetails.md) - [Country](docs/Country.md) - - [CountryAllOf](docs/CountryAllOf.md) - [CountryDetails](docs/CountryDetails.md) - [Descriptable](docs/Descriptable.md) - [EntityFilter](docs/EntityFilter.md) - [Error](docs/Error.md) - [Experience](docs/Experience.md) - - [ExperienceAllOf](docs/ExperienceAllOf.md) - [Geolocation](docs/Geolocation.md) - [Industry](docs/Industry.md) - [IndustryDetails](docs/IndustryDetails.md) @@ -252,73 +248,45 @@ Class | Method | HTTP request | Description - [MinMax](docs/MinMax.md) - [MinMaxPercent](docs/MinMaxPercent.md) - [NamedDomainModel](docs/NamedDomainModel.md) - - [NamedDomainModelAllOf](docs/NamedDomainModelAllOf.md) - [Office](docs/Office.md) - [Organization](docs/Organization.md) - - [OrganizationAllOf](docs/OrganizationAllOf.md) - [OrganizationDetails](docs/OrganizationDetails.md) - [Page](docs/Page.md) - [PagedAvailabilities](docs/PagedAvailabilities.md) - - [PagedAvailabilitiesAllOf](docs/PagedAvailabilitiesAllOf.md) - [PagedCertifications](docs/PagedCertifications.md) - - [PagedCertificationsAllOf](docs/PagedCertificationsAllOf.md) - [PagedCountries](docs/PagedCountries.md) - - [PagedCountriesAllOf](docs/PagedCountriesAllOf.md) - [PagedIndustries](docs/PagedIndustries.md) - - [PagedIndustriesAllOf](docs/PagedIndustriesAllOf.md) - [PagedLanguages](docs/PagedLanguages.md) - - [PagedLanguagesAllOf](docs/PagedLanguagesAllOf.md) - [PagedOrganizations](docs/PagedOrganizations.md) - - [PagedOrganizationsAllOf](docs/PagedOrganizationsAllOf.md) - [PagedPersons](docs/PagedPersons.md) - - [PagedPersonsAllOf](docs/PagedPersonsAllOf.md) - [PagedProjects](docs/PagedProjects.md) - - [PagedProjectsAllOf](docs/PagedProjectsAllOf.md) - [PagedSkills](docs/PagedSkills.md) - - [PagedSkillsAllOf](docs/PagedSkillsAllOf.md) - [Person](docs/Person.md) - - [PersonAllOf](docs/PersonAllOf.md) - [PersonCertificationFilter](docs/PersonCertificationFilter.md) - - [PersonCertificationFilterAllOf](docs/PersonCertificationFilterAllOf.md) - [PersonDetails](docs/PersonDetails.md) - [PersonIndustryFilter](docs/PersonIndustryFilter.md) - - [PersonIndustryFilterAllOf](docs/PersonIndustryFilterAllOf.md) - [PersonOrganizationFilter](docs/PersonOrganizationFilter.md) - - [PersonOrganizationFilterAllOf](docs/PersonOrganizationFilterAllOf.md) - [PersonProjectFilter](docs/PersonProjectFilter.md) - - [PersonProjectFilterAllOf](docs/PersonProjectFilterAllOf.md) - [PersonScoreDetail](docs/PersonScoreDetail.md) - [PersonSearch](docs/PersonSearch.md) - - [PersonSearchCertificationsInner](docs/PersonSearchCertificationsInner.md) - - [PersonSearchIndustriesInner](docs/PersonSearchIndustriesInner.md) - - [PersonSearchOrganizationsInner](docs/PersonSearchOrganizationsInner.md) - - [PersonSearchProjectsInner](docs/PersonSearchProjectsInner.md) - - [PersonSearchSkillsInner](docs/PersonSearchSkillsInner.md) - [PersonSkillFilter](docs/PersonSkillFilter.md) - - [PersonSkillFilterAllOf](docs/PersonSkillFilterAllOf.md) - [Project](docs/Project.md) - - [ProjectAllOf](docs/ProjectAllOf.md) - [ProjectDetails](docs/ProjectDetails.md) - [ProjectParticipation](docs/ProjectParticipation.md) - [ProjectParticipationAllOf](docs/ProjectParticipationAllOf.md) - [ProjectParticipationUpdate](docs/ProjectParticipationUpdate.md) - - [ProjectParticipationUpdateTimeframe](docs/ProjectParticipationUpdateTimeframe.md) - [ProjectScoreDetail](docs/ProjectScoreDetail.md) - [ProjectScoreDetailAllOf](docs/ProjectScoreDetailAllOf.md) - [ProjectSearch](docs/ProjectSearch.md) - - [ProjectSearchSkillsInner](docs/ProjectSearchSkillsInner.md) - [ProjectStatus](docs/ProjectStatus.md) - [SearchResult](docs/SearchResult.md) - - [SearchResultAllOf](docs/SearchResultAllOf.md) - [SearchResultItem](docs/SearchResultItem.md) - [Seniority](docs/Seniority.md) - [Skill](docs/Skill.md) - - [SkillAllOf](docs/SkillAllOf.md) - [SkillDetails](docs/SkillDetails.md) - [SkillGroup](docs/SkillGroup.md) - [SkillLevel](docs/SkillLevel.md) - [SkillLevelUpdate](docs/SkillLevelUpdate.md) - - [SkillLevelUpdateAllOf](docs/SkillLevelUpdateAllOf.md) - [Status](docs/Status.md) - [Suggestable](docs/Suggestable.md) - [Synonymable](docs/Synonymable.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 17545fd1..6d5632c5 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -3,7 +3,7 @@ info: description: This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. title: YASM (Yet Another Skill Management) API - version: 1.2.5 + version: 1.2.6 servers: - url: /api/v1 security: @@ -3322,6 +3322,8 @@ components: format: date type: string BasicDomainModel: + discriminator: + propertyName: type properties: id: format: uuid @@ -3332,7 +3334,18 @@ components: NamedDomainModel: allOf: - $ref: '#/components/schemas/BasicDomainModel' - - $ref: '#/components/schemas/NamedDomainModel_allOf' + discriminator: + propertyName: type + example: + name: This is the name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + id: + format: uuid + type: string + name: + example: This is the name + type: string required: - name type: object @@ -3392,7 +3405,25 @@ components: allOf: - $ref: '#/components/schemas/NamedDomainModel' - $ref: '#/components/schemas/Timeframed' - - $ref: '#/components/schemas/Availability_allOf' + example: + workHours: 38.5 + descriptions: + - descriptions + - descriptions + plannedHours: 22.5 + properties: + workHours: + example: 38.5 + format: float + type: number + plannedHours: + example: 22.5 + format: float + type: number + descriptions: + items: + type: string + type: array required: - enddate - id @@ -3403,7 +3434,12 @@ components: type: object AvailabilityDetail: example: - availability: null + availability: + workHours: 38.5 + descriptions: + - descriptions + - descriptions + plannedHours: 22.5 percent: 8.008281904610115 properties: availability: @@ -3420,19 +3456,31 @@ components: - $ref: '#/components/schemas/Suggestable' - $ref: '#/components/schemas/Synonymable' - $ref: '#/components/schemas/Descriptable' - - $ref: '#/components/schemas/Certification_allOf' + example: + validity: validity + properties: + validity: + type: string type: object CertificationDetails: example: skills: - level: level: 1 - skill: null + skill: + invest: false + kindgiver: false - level: level: 1 - skill: null - organization: null - certification: null + skill: + invest: false + kindgiver: false + organization: + partner: false + picture: picture + customer: false + certification: + validity: validity properties: certification: $ref: '#/components/schemas/Certification' @@ -3446,11 +3494,17 @@ components: Country: allOf: - $ref: '#/components/schemas/NamedDomainModel' - - $ref: '#/components/schemas/Country_allOf' + example: + picture: picture + properties: + picture: + description: base64 encoded image + type: string type: object CountryDetails: example: - country: null + country: + picture: picture languages: - null - null @@ -3463,8 +3517,47 @@ components: type: array type: object Experience: - allOf: - - $ref: '#/components/schemas/Experience_allOf' + example: + skill: + level: + level: 1 + skill: + invest: false + kindgiver: false + confirmedBy: + - education: Bachelor of Computer Scince + mail: peter.mueller@prodyna.com + jobTitle: Software Engineer + employeeId: "1234567" + onsiteRatio: 20 + seniorityEnum: null + picture: picture + inactive: false + mobilePhone: +49 176 12345678 + experienceSinceYear: 2010 + company: PRODYNA SE + department: Professional Services + seniority: Senior + - education: Bachelor of Computer Scince + mail: peter.mueller@prodyna.com + jobTitle: Software Engineer + employeeId: "1234567" + onsiteRatio: 20 + seniorityEnum: null + picture: picture + inactive: false + mobilePhone: +49 176 12345678 + experienceSinceYear: 2010 + company: PRODYNA SE + department: Professional Services + seniority: Senior + properties: + skill: + $ref: '#/components/schemas/SkillLevel' + confirmedBy: + items: + $ref: '#/components/schemas/Person' + type: array type: object Geolocation: properties: @@ -3485,8 +3578,12 @@ components: IndustryDetails: example: organizations: - - null - - null + - partner: false + picture: picture + customer: false + - partner: false + picture: picture + customer: false industry: null properties: industry: @@ -3499,14 +3596,13 @@ components: Language: allOf: - $ref: '#/components/schemas/NamedDomainModel' - - type: object type: object LanguageDetails: example: language: null countries: - - null - - null + - picture: picture + - picture: picture properties: language: $ref: '#/components/schemas/Language' @@ -3539,14 +3635,30 @@ components: - $ref: '#/components/schemas/Synonymable' - $ref: '#/components/schemas/Locateable' - $ref: '#/components/schemas/Descriptable' - - $ref: '#/components/schemas/Organization_allOf' + example: + partner: false + picture: picture + customer: false + properties: + partner: + default: false + type: boolean + customer: + default: false + type: boolean + picture: + description: base64 encoded image + type: string type: object OrganizationDetails: example: projects: - - null - - null - organization: null + - external: false + - external: false + organization: + partner: false + picture: picture + customer: false industries: - null - null @@ -3554,8 +3666,8 @@ components: - null - null certifications: - - null - - null + - validity: validity + - validity: validity properties: organization: $ref: '#/components/schemas/Organization' @@ -3584,7 +3696,62 @@ components: - $ref: '#/components/schemas/Synonymable' - $ref: '#/components/schemas/Locateable' - $ref: '#/components/schemas/Descriptable' - - $ref: '#/components/schemas/Person_allOf' + example: + education: Bachelor of Computer Scince + mail: peter.mueller@prodyna.com + jobTitle: Software Engineer + employeeId: "1234567" + onsiteRatio: 20 + seniorityEnum: null + picture: picture + inactive: false + mobilePhone: +49 176 12345678 + experienceSinceYear: 2010 + company: PRODYNA SE + department: Professional Services + seniority: Senior + properties: + employeeId: + example: "1234567" + type: string + jobTitle: + example: Software Engineer + type: string + company: + example: PRODYNA SE + type: string + department: + example: Professional Services + type: string + education: + example: Bachelor of Computer Scince + type: string + mail: + example: peter.mueller@prodyna.com + type: string + mobilePhone: + example: +49 176 12345678 + type: string + seniority: + example: Senior + type: string + seniorityEnum: + $ref: '#/components/schemas/Seniority' + experienceSinceYear: + example: 2010 + type: integer + onsiteRatio: + example: 20 + maximum: 100 + minimum: 0 + type: integer + picture: + description: base64 encoded image + type: string + inactive: + default: false + description: Marks persons not working for the company anymore + type: boolean required: - id - name @@ -3601,50 +3768,163 @@ components: - level: level: 1 language: null - person: null + person: + education: Bachelor of Computer Scince + mail: peter.mueller@prodyna.com + jobTitle: Software Engineer + employeeId: "1234567" + onsiteRatio: 20 + seniorityEnum: null + picture: picture + inactive: false + mobilePhone: +49 176 12345678 + experienceSinceYear: 2010 + company: PRODYNA SE + department: Professional Services + seniority: Senior availabilities: - - availability: null + - availability: + workHours: 38.5 + descriptions: + - descriptions + - descriptions + plannedHours: 22.5 percent: 8.008281904610115 - - availability: null + - availability: + workHours: 38.5 + descriptions: + - descriptions + - descriptions + plannedHours: 22.5 percent: 8.008281904610115 industries: - null - null skillGroups: - skills: - - null - - null - group: null + - invest: false + kindgiver: false + - invest: false + kindgiver: false + group: + invest: false + kindgiver: false - skills: - - null - - null - group: null + - invest: false + kindgiver: false + - invest: false + kindgiver: false + group: + invest: false + kindgiver: false office: null interests: - - null - - null + - invest: false + kindgiver: false + - invest: false + kindgiver: false certifications: - skills: - level: level: 1 - skill: null + skill: + invest: false + kindgiver: false - level: level: 1 - skill: null - organization: null - certification: null + skill: + invest: false + kindgiver: false + organization: + partner: false + picture: picture + customer: false + certification: + validity: validity - skills: - level: level: 1 - skill: null + skill: + invest: false + kindgiver: false - level: level: 1 - skill: null - organization: null - certification: null + skill: + invest: false + kindgiver: false + organization: + partner: false + picture: picture + customer: false + certification: + validity: validity experiences: - - null - - null + - skill: + level: + level: 1 + skill: + invest: false + kindgiver: false + confirmedBy: + - education: Bachelor of Computer Scince + mail: peter.mueller@prodyna.com + jobTitle: Software Engineer + employeeId: "1234567" + onsiteRatio: 20 + seniorityEnum: null + picture: picture + inactive: false + mobilePhone: +49 176 12345678 + experienceSinceYear: 2010 + company: PRODYNA SE + department: Professional Services + seniority: Senior + - education: Bachelor of Computer Scince + mail: peter.mueller@prodyna.com + jobTitle: Software Engineer + employeeId: "1234567" + onsiteRatio: 20 + seniorityEnum: null + picture: picture + inactive: false + mobilePhone: +49 176 12345678 + experienceSinceYear: 2010 + company: PRODYNA SE + department: Professional Services + seniority: Senior + - skill: + level: + level: 1 + skill: + invest: false + kindgiver: false + confirmedBy: + - education: Bachelor of Computer Scince + mail: peter.mueller@prodyna.com + jobTitle: Software Engineer + employeeId: "1234567" + onsiteRatio: 20 + seniorityEnum: null + picture: picture + inactive: false + mobilePhone: +49 176 12345678 + experienceSinceYear: 2010 + company: PRODYNA SE + department: Professional Services + seniority: Senior + - education: Bachelor of Computer Scince + mail: peter.mueller@prodyna.com + jobTitle: Software Engineer + employeeId: "1234567" + onsiteRatio: 20 + seniorityEnum: null + picture: picture + inactive: false + mobilePhone: +49 176 12345678 + experienceSinceYear: 2010 + company: PRODYNA SE + department: Professional Services + seniority: Senior properties: person: $ref: '#/components/schemas/Person' @@ -3686,20 +3966,52 @@ components: PersonSearch: example: skills: - - null - - null + - lastAssignment: 2000-01-23 + experienceInMonth: + min: 0 + max: 100 + - lastAssignment: 2000-01-23 + experienceInMonth: + min: 0 + max: 100 officeIds: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projects: - - null - - null + - participationInMonth: + min: 0 + max: 100 + involevedOfficeIds: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - participationInMonth: + min: 0 + max: 100 + involevedOfficeIds: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 industries: - - null - - null + - amountOfProjects: + min: 0 + max: 100 + experienceInMonth: + min: 0 + max: 100 + activeProjects: true + - amountOfProjects: + min: 0 + max: 100 + experienceInMonth: + min: 0 + max: 100 + activeProjects: true organizations: - - null - - null + - amountOfProjects: + min: 0 + max: 100 + - amountOfProjects: + min: 0 + max: 100 personIds: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -3708,8 +4020,8 @@ components: max: 100 availability: null certifications: - - null - - null + - startedCertificaiton: true + - startedCertificaiton: true seniority: - null - null @@ -3734,49 +4046,99 @@ components: type: array skills: items: - $ref: '#/components/schemas/PersonSearch_skills_inner' + $ref: '#/components/schemas/PersonSkillFilter' type: array projects: items: - $ref: '#/components/schemas/PersonSearch_projects_inner' + $ref: '#/components/schemas/PersonProjectFilter' type: array organizations: items: - $ref: '#/components/schemas/PersonSearch_organizations_inner' + $ref: '#/components/schemas/PersonOrganizationFilter' type: array industries: items: - $ref: '#/components/schemas/PersonSearch_industries_inner' + $ref: '#/components/schemas/PersonIndustryFilter' type: array certifications: items: - $ref: '#/components/schemas/PersonSearch_certifications_inner' + $ref: '#/components/schemas/PersonCertificationFilter' type: array type: object PersonSkillFilter: allOf: - $ref: '#/components/schemas/EntityFilter' - - $ref: '#/components/schemas/PersonSkillFilter_allOf' + example: + lastAssignment: 2000-01-23 + experienceInMonth: + min: 0 + max: 100 + properties: + experienceInMonth: + $ref: '#/components/schemas/MinMax' + lastAssignment: + description: filters the last time the employee used the skill in a project + format: date + type: string type: object PersonProjectFilter: allOf: - $ref: '#/components/schemas/EntityFilter' - - $ref: '#/components/schemas/PersonProjectFilter_allOf' + example: + participationInMonth: + min: 0 + max: 100 + involevedOfficeIds: + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + properties: + participationInMonth: + $ref: '#/components/schemas/MinMax' + involevedOfficeIds: + items: + format: uuid + type: string + type: array type: object PersonOrganizationFilter: allOf: - $ref: '#/components/schemas/EntityFilter' - - $ref: '#/components/schemas/PersonOrganizationFilter_allOf' + example: + amountOfProjects: + min: 0 + max: 100 + properties: + amountOfProjects: + $ref: '#/components/schemas/MinMax' type: object PersonIndustryFilter: allOf: - $ref: '#/components/schemas/EntityFilter' - - $ref: '#/components/schemas/PersonIndustryFilter_allOf' + example: + amountOfProjects: + min: 0 + max: 100 + experienceInMonth: + min: 0 + max: 100 + activeProjects: true + properties: + activeProjects: + type: boolean + amountOfProjects: + $ref: '#/components/schemas/MinMax' + experienceInMonth: + $ref: '#/components/schemas/MinMax' type: object PersonCertificationFilter: allOf: - $ref: '#/components/schemas/EntityFilter' - - $ref: '#/components/schemas/PersonCertificationFilter_allOf' + example: + startedCertificaiton: true + properties: + startedCertificaiton: + description: Include employees who started the certification + type: boolean type: object Project: allOf: @@ -3785,30 +4147,72 @@ components: - $ref: '#/components/schemas/Synonymable' - $ref: '#/components/schemas/Locateable' - $ref: '#/components/schemas/Descriptable' - - $ref: '#/components/schemas/Project_allOf' + example: + external: false + properties: + external: + default: false + description: true if project was done outside of the organization + type: boolean type: object ProjectDetails: example: persons: - - null - - null + - education: Bachelor of Computer Scince + mail: peter.mueller@prodyna.com + jobTitle: Software Engineer + employeeId: "1234567" + onsiteRatio: 20 + seniorityEnum: null + picture: picture + inactive: false + mobilePhone: +49 176 12345678 + experienceSinceYear: 2010 + company: PRODYNA SE + department: Professional Services + seniority: Senior + - education: Bachelor of Computer Scince + mail: peter.mueller@prodyna.com + jobTitle: Software Engineer + employeeId: "1234567" + onsiteRatio: 20 + seniorityEnum: null + picture: picture + inactive: false + mobilePhone: +49 176 12345678 + experienceSinceYear: 2010 + company: PRODYNA SE + department: Professional Services + seniority: Senior timeframe: enddate: 2000-01-23 startdate: 2000-01-23 - organization: null + organization: + partner: false + picture: picture + customer: false industries: - null - null skillGroups: - skills: - - null - - null - group: null + - invest: false + kindgiver: false + - invest: false + kindgiver: false + group: + invest: false + kindgiver: false - skills: - - null - - null - group: null - project: null + - invest: false + kindgiver: false + - invest: false + kindgiver: false + group: + invest: false + kindgiver: false + project: + external: false properties: project: $ref: '#/components/schemas/Project' @@ -3842,14 +4246,20 @@ components: ProjectParticipationUpdate: example: skills: - - null - - null - timeframe: null + - skillId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + level: + level: 1 + - skillId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + level: + level: 1 + timeframe: + enddate: 2000-01-23 + startdate: 2000-01-23 personalDescription: personalDescription descriptionOverwrite: descriptionOverwrite properties: timeframe: - $ref: '#/components/schemas/ProjectParticipationUpdate_timeframe' + $ref: '#/components/schemas/Timeframed' skills: items: $ref: '#/components/schemas/SkillLevelUpdate' @@ -3862,8 +4272,8 @@ components: ProjectSearch: example: skills: - - null - - null + - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 minStartDate: 2000-01-23 maxEndDate: 2000-01-23 projectStatuses: @@ -3873,11 +4283,11 @@ components: min: 0 max: 100 industries: - - null - - null + - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 organizations: - - null - - null + - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projectIds: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -3888,8 +4298,8 @@ components: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 participants: - - null - - null + - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + - id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: projectIds: items: @@ -3917,19 +4327,19 @@ components: $ref: '#/components/schemas/MinMax' skills: items: - $ref: '#/components/schemas/ProjectSearch_skills_inner' + $ref: '#/components/schemas/EntityFilter' type: array participants: items: - $ref: '#/components/schemas/ProjectSearch_skills_inner' + $ref: '#/components/schemas/EntityFilter' type: array industries: items: - $ref: '#/components/schemas/ProjectSearch_skills_inner' + $ref: '#/components/schemas/EntityFilter' type: array organizations: items: - $ref: '#/components/schemas/ProjectSearch_skills_inner' + $ref: '#/components/schemas/EntityFilter' type: array type: object ProjectStatus: @@ -3945,14 +4355,30 @@ components: - $ref: '#/components/schemas/Linkable' - $ref: '#/components/schemas/Synonymable' - $ref: '#/components/schemas/Descriptable' - - $ref: '#/components/schemas/Skill_allOf' + example: + invest: false + kindgiver: false + properties: + invest: + default: false + type: boolean + kindgiver: + default: false + required: + - id + - name + type: boolean type: object SkillGroup: example: skills: - - null - - null - group: null + - invest: false + kindgiver: false + - invest: false + kindgiver: false + group: + invest: false + kindgiver: false properties: group: $ref: '#/components/schemas/Skill' @@ -3964,7 +4390,9 @@ components: example: level: level: 1 - skill: null + skill: + invest: false + kindgiver: false properties: skill: $ref: '#/components/schemas/Skill' @@ -3972,21 +4400,37 @@ components: $ref: '#/components/schemas/Level' type: object SkillLevelUpdate: - allOf: - - $ref: '#/components/schemas/SkillLevelUpdate_allOf' + example: + skillId: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + level: + level: 1 + properties: + skillId: + format: uuid + type: string + level: + $ref: '#/components/schemas/Level' SkillDetails: example: children: - - null - - null + - invest: false + kindgiver: false + - invest: false + kindgiver: false displayName: displayName - skill: null + skill: + invest: false + kindgiver: false kinds: - - null - - null + - invest: false + kindgiver: false + - invest: false + kindgiver: false parents: - - null - - null + - invest: false + kindgiver: false + - invest: false + kindgiver: false properties: skill: $ref: '#/components/schemas/Skill' @@ -4029,6 +4473,8 @@ components: type: integer type: object Page: + discriminator: + propertyName: type properties: skip: minimum: 0 @@ -4042,59 +4488,281 @@ components: PagedAvailabilities: allOf: - $ref: '#/components/schemas/Page' - - $ref: '#/components/schemas/PagedAvailabilities_allOf' + example: + availabilities: + - availability: + workHours: 38.5 + descriptions: + - descriptions + - descriptions + plannedHours: 22.5 + percent: 8.008281904610115 + - availability: + workHours: 38.5 + descriptions: + - descriptions + - descriptions + plannedHours: 22.5 + percent: 8.008281904610115 + properties: + availabilities: + items: + $ref: '#/components/schemas/AvailabilityDetail' + type: array type: object PagedOrganizations: allOf: - $ref: '#/components/schemas/Page' - - $ref: '#/components/schemas/PagedOrganizations_allOf' - type: object - PagedLanguages: - allOf: + example: + organizations: + - projects: + - external: false + - external: false + organization: + partner: false + picture: picture + customer: false + industries: + - null + - null + offices: + - null + - null + certifications: + - validity: validity + - validity: validity + - projects: + - external: false + - external: false + organization: + partner: false + picture: picture + customer: false + industries: + - null + - null + offices: + - null + - null + certifications: + - validity: validity + - validity: validity + properties: + organizations: + items: + $ref: '#/components/schemas/OrganizationDetails' + type: array + type: object + PagedLanguages: + allOf: - $ref: '#/components/schemas/Page' - - $ref: '#/components/schemas/PagedLanguages_allOf' + example: + languages: + - null + - null + properties: + languages: + items: + $ref: '#/components/schemas/Language' + type: array type: object PagedCertifications: allOf: - $ref: '#/components/schemas/Page' - - $ref: '#/components/schemas/PagedCertifications_allOf' + example: + certifications: + - skills: + - level: + level: 1 + skill: + invest: false + kindgiver: false + - level: + level: 1 + skill: + invest: false + kindgiver: false + organization: + partner: false + picture: picture + customer: false + certification: + validity: validity + - skills: + - level: + level: 1 + skill: + invest: false + kindgiver: false + - level: + level: 1 + skill: + invest: false + kindgiver: false + organization: + partner: false + picture: picture + customer: false + certification: + validity: validity + properties: + certifications: + items: + $ref: '#/components/schemas/CertificationDetails' + type: array type: object PagedCountries: allOf: - $ref: '#/components/schemas/Page' - - $ref: '#/components/schemas/PagedCountries_allOf' + example: + countries: + - picture: picture + - picture: picture + properties: + countries: + items: + $ref: '#/components/schemas/Country' + type: array type: object PagedSkills: allOf: - $ref: '#/components/schemas/Page' - - $ref: '#/components/schemas/PagedSkills_allOf' + example: + skills: + - children: + - invest: false + kindgiver: false + - invest: false + kindgiver: false + displayName: displayName + skill: + invest: false + kindgiver: false + kinds: + - invest: false + kindgiver: false + - invest: false + kindgiver: false + parents: + - invest: false + kindgiver: false + - invest: false + kindgiver: false + - children: + - invest: false + kindgiver: false + - invest: false + kindgiver: false + displayName: displayName + skill: + invest: false + kindgiver: false + kinds: + - invest: false + kindgiver: false + - invest: false + kindgiver: false + parents: + - invest: false + kindgiver: false + - invest: false + kindgiver: false + properties: + skills: + items: + $ref: '#/components/schemas/SkillDetails' + type: array type: object PagedIndustries: allOf: - $ref: '#/components/schemas/Page' - - $ref: '#/components/schemas/PagedIndustries_allOf' + example: + industries: + - organizations: + - partner: false + picture: picture + customer: false + - partner: false + picture: picture + customer: false + industry: null + - organizations: + - partner: false + picture: picture + customer: false + - partner: false + picture: picture + customer: false + industry: null + properties: + industries: + items: + $ref: '#/components/schemas/IndustryDetails' + type: array type: object PagedProjects: allOf: - $ref: '#/components/schemas/Page' - - $ref: '#/components/schemas/PagedProjects_allOf' + example: + projects: + - null + - null + properties: + projects: + items: + $ref: '#/components/schemas/ProjectScoreDetail' + type: array type: object PagedPersons: allOf: - $ref: '#/components/schemas/Page' - - $ref: '#/components/schemas/PagedPersons_allOf' + example: + persons: + - score: 0.8008281904610115 + - score: 0.8008281904610115 + properties: + persons: + items: + $ref: '#/components/schemas/PersonScoreDetail' + type: array type: object PersonScoreDetail: allOf: - $ref: '#/components/schemas/PersonDetails' - - $ref: '#/components/schemas/ProjectScoreDetail_allOf' + example: + score: 0.8008281904610115 + properties: + score: + type: number type: object SearchResult: allOf: - $ref: '#/components/schemas/Page' - - $ref: '#/components/schemas/SearchResult_allOf' + example: + items: + - score: 0.7 + item: + name: This is the name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: Certification + - score: 0.7 + item: + name: This is the name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: Certification + properties: + items: + items: + $ref: '#/components/schemas/SearchResultItem' + type: array type: object SearchResultItem: + example: + score: 0.7 + item: + name: This is the name + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 + type: Certification properties: score: example: 0.7 @@ -4106,6 +4774,8 @@ components: $ref: '#/components/schemas/NamedDomainModel' type: object EntityFilter: + example: + id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: id: format: uuid @@ -4154,177 +4824,6 @@ components: - MANAGING - PRINCIPAL type: string - NamedDomainModel_allOf: - properties: - name: - example: This is the name - type: string - type: object - example: null - Availability_allOf: - properties: - workHours: - example: 38.5 - format: float - type: number - plannedHours: - example: 22.5 - format: float - type: number - descriptions: - items: - type: string - type: array - type: object - example: null - Certification_allOf: - properties: - validity: - type: string - type: object - example: null - Country_allOf: - properties: - picture: - description: base64 encoded image - type: string - type: object - example: null - Experience_allOf: - properties: - skill: - $ref: '#/components/schemas/SkillLevel' - confirmedBy: - items: - $ref: '#/components/schemas/Person' - type: array - type: object - example: null - Organization_allOf: - properties: - partner: - default: false - type: boolean - customer: - default: false - type: boolean - picture: - description: base64 encoded image - type: string - type: object - example: null - Person_allOf: - properties: - employeeId: - example: "1234567" - type: string - jobTitle: - example: Software Engineer - type: string - company: - example: PRODYNA SE - type: string - department: - example: Professional Services - type: string - education: - example: Bachelor of Computer Scince - type: string - mail: - example: peter.mueller@prodyna.com - type: string - mobilePhone: - example: +49 176 12345678 - type: string - seniority: - example: Senior - type: string - seniorityEnum: - $ref: '#/components/schemas/Seniority' - experienceSinceYear: - example: 2010 - type: integer - onsiteRatio: - example: 20 - maximum: 100 - minimum: 0 - type: integer - picture: - description: base64 encoded image - type: string - inactive: - default: false - description: Marks persons not working for the company anymore - type: boolean - type: object - example: null - PersonSearch_skills_inner: - allOf: - - $ref: '#/components/schemas/PersonSkillFilter' - PersonSearch_projects_inner: - allOf: - - $ref: '#/components/schemas/PersonProjectFilter' - PersonSearch_organizations_inner: - allOf: - - $ref: '#/components/schemas/PersonOrganizationFilter' - PersonSearch_industries_inner: - allOf: - - $ref: '#/components/schemas/PersonIndustryFilter' - PersonSearch_certifications_inner: - allOf: - - $ref: '#/components/schemas/PersonCertificationFilter' - PersonSkillFilter_allOf: - properties: - experienceInMonth: - $ref: '#/components/schemas/MinMax' - lastAssignment: - description: filters the last time the employee used the skill in a project - format: date - type: string - type: object - example: null - PersonProjectFilter_allOf: - properties: - participationInMonth: - $ref: '#/components/schemas/MinMax' - involevedOfficeIds: - items: - format: uuid - type: string - type: array - type: object - example: null - PersonOrganizationFilter_allOf: - properties: - amountOfProjects: - $ref: '#/components/schemas/MinMax' - type: object - example: null - PersonIndustryFilter_allOf: - properties: - activeProjects: - type: boolean - amountOfProjects: - $ref: '#/components/schemas/MinMax' - experienceInMonth: - $ref: '#/components/schemas/MinMax' - type: object - example: null - PersonCertificationFilter_allOf: - properties: - startedCertificaiton: - description: Include employees who started the certification - type: boolean - type: object - example: null - Project_allOf: - properties: - external: - default: false - description: true if project was done outside of the organization - type: boolean - type: object - example: null ProjectScoreDetail_allOf: properties: score: @@ -4334,14 +4833,9 @@ components: ProjectParticipation_allOf: properties: timeframe: - allOf: - - $ref: '#/components/schemas/Timeframed' - type: object + $ref: '#/components/schemas/Timeframed' projectDetails: - allOf: - - $ref: '#/components/schemas/ProjectDetails' - readOnly: true - type: object + $ref: '#/components/schemas/ProjectDetails' descriptionOverwrite: example: Responsible Soluation Architect for this project. type: string @@ -4358,116 +4852,6 @@ components: - project type: object example: null - ProjectParticipationUpdate_timeframe: - allOf: - - $ref: '#/components/schemas/Timeframed' - type: object - ProjectSearch_skills_inner: - allOf: - - $ref: '#/components/schemas/EntityFilter' - Skill_allOf: - properties: - invest: - default: false - type: boolean - kindgiver: - default: false - type: boolean - required: - - id - - name - type: object - example: null - SkillLevelUpdate_allOf: - properties: - skillId: - format: uuid - type: string - level: - $ref: '#/components/schemas/Level' - type: object - example: null - PagedAvailabilities_allOf: - properties: - availabilities: - items: - $ref: '#/components/schemas/AvailabilityDetail' - type: array - type: object - example: null - PagedOrganizations_allOf: - properties: - organizations: - items: - $ref: '#/components/schemas/OrganizationDetails' - type: array - type: object - example: null - PagedLanguages_allOf: - properties: - languages: - items: - $ref: '#/components/schemas/Language' - type: array - type: object - example: null - PagedCertifications_allOf: - properties: - certifications: - items: - $ref: '#/components/schemas/CertificationDetails' - type: array - type: object - example: null - PagedCountries_allOf: - properties: - countries: - items: - $ref: '#/components/schemas/Country' - type: array - type: object - example: null - PagedSkills_allOf: - properties: - skills: - items: - $ref: '#/components/schemas/SkillDetails' - type: array - type: object - example: null - PagedIndustries_allOf: - properties: - industries: - items: - $ref: '#/components/schemas/IndustryDetails' - type: array - type: object - example: null - PagedProjects_allOf: - properties: - projects: - items: - $ref: '#/components/schemas/ProjectScoreDetail' - type: array - type: object - example: null - PagedPersons_allOf: - properties: - persons: - items: - allOf: - - $ref: '#/components/schemas/PersonScoreDetail' - type: array - type: object - example: null - SearchResult_allOf: - properties: - items: - items: - $ref: '#/components/schemas/SearchResultItem' - type: array - type: object - example: null securitySchemes: bearerAuth: bearerFormat: JWT diff --git a/api_availability.go b/api_availability.go index 4494bf99..1a8a8c30 100644 --- a/api_availability.go +++ b/api_availability.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_certification.go b/api_certification.go index 48bbd2e3..fedeaede 100644 --- a/api_certification.go +++ b/api_certification.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_country.go b/api_country.go index e92ea0d5..24425fb7 100644 --- a/api_country.go +++ b/api_country.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_industry.go b/api_industry.go index cf530d4d..3d704718 100644 --- a/api_industry.go +++ b/api_industry.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_language.go b/api_language.go index 15d7dd57..e74f6637 100644 --- a/api_language.go +++ b/api_language.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_office.go b/api_office.go index 0c2d22b7..86ea5616 100644 --- a/api_office.go +++ b/api_office.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_organization.go b/api_organization.go index 8faa8302..abed7bd2 100644 --- a/api_organization.go +++ b/api_organization.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_person.go b/api_person.go index da09ca40..6e6b2352 100644 --- a/api_person.go +++ b/api_person.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_project.go b/api_project.go index d026393b..f5a33ef1 100644 --- a/api_project.go +++ b/api_project.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_search.go b/api_search.go index 39a633e9..52c750ca 100644 --- a/api_search.go +++ b/api_search.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_skill.go b/api_skill.go index 150d904e..ca60c7d4 100644 --- a/api_skill.go +++ b/api_skill.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_status.go b/api_status.go index 2fd934cb..e9b8db5d 100644 --- a/api_status.go +++ b/api_status.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/client.go b/client.go index 7ddf5fe1..68912020 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -41,7 +41,7 @@ var ( xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`) ) -// APIClient manages communication with the YASM (Yet Another Skill Management) API API v1.2.5 +// APIClient manages communication with the YASM (Yet Another Skill Management) API API v1.2.6 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/configuration.go b/configuration.go index fa9b29ed..f9857a26 100644 --- a/configuration.go +++ b/configuration.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/docs/Availability.md b/docs/Availability.md index e062072d..fb87560a 100644 --- a/docs/Availability.md +++ b/docs/Availability.md @@ -4,19 +4,17 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | -**Name** | **string** | | -**Startdate** | **string** | | -**Enddate** | **string** | | **WorkHours** | **float32** | | **PlannedHours** | **float32** | | **Descriptions** | Pointer to **[]string** | | [optional] +**Startdate** | **string** | | +**Enddate** | **string** | | ## Methods ### NewAvailability -`func NewAvailability(id string, name string, startdate string, enddate string, workHours float32, plannedHours float32, ) *Availability` +`func NewAvailability(workHours float32, plannedHours float32, startdate string, enddate string, ) *Availability` NewAvailability instantiates a new Availability object This constructor will assign default values to properties that have it defined, @@ -31,86 +29,6 @@ NewAvailabilityWithDefaults instantiates a new Availability object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *Availability) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *Availability) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *Availability) SetId(v string)` - -SetId sets Id field to given value. - - -### GetName - -`func (o *Availability) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *Availability) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *Availability) SetName(v string)` - -SetName sets Name field to given value. - - -### GetStartdate - -`func (o *Availability) GetStartdate() string` - -GetStartdate returns the Startdate field if non-nil, zero value otherwise. - -### GetStartdateOk - -`func (o *Availability) GetStartdateOk() (*string, bool)` - -GetStartdateOk returns a tuple with the Startdate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStartdate - -`func (o *Availability) SetStartdate(v string)` - -SetStartdate sets Startdate field to given value. - - -### GetEnddate - -`func (o *Availability) GetEnddate() string` - -GetEnddate returns the Enddate field if non-nil, zero value otherwise. - -### GetEnddateOk - -`func (o *Availability) GetEnddateOk() (*string, bool)` - -GetEnddateOk returns a tuple with the Enddate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnddate - -`func (o *Availability) SetEnddate(v string)` - -SetEnddate sets Enddate field to given value. - - ### GetWorkHours `func (o *Availability) GetWorkHours() float32` @@ -176,6 +94,46 @@ SetDescriptions sets Descriptions field to given value. HasDescriptions returns a boolean if a field has been set. +### GetStartdate + +`func (o *Availability) GetStartdate() string` + +GetStartdate returns the Startdate field if non-nil, zero value otherwise. + +### GetStartdateOk + +`func (o *Availability) GetStartdateOk() (*string, bool)` + +GetStartdateOk returns a tuple with the Startdate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStartdate + +`func (o *Availability) SetStartdate(v string)` + +SetStartdate sets Startdate field to given value. + + +### GetEnddate + +`func (o *Availability) GetEnddate() string` + +GetEnddate returns the Enddate field if non-nil, zero value otherwise. + +### GetEnddateOk + +`func (o *Availability) GetEnddateOk() (*string, bool)` + +GetEnddateOk returns a tuple with the Enddate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEnddate + +`func (o *Availability) SetEnddate(v string)` + +SetEnddate sets Enddate field to given value. + + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AvailabilityAllOf.md b/docs/AvailabilityAllOf.md deleted file mode 100644 index 24477d79..00000000 --- a/docs/AvailabilityAllOf.md +++ /dev/null @@ -1,108 +0,0 @@ -# AvailabilityAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**WorkHours** | Pointer to **float32** | | [optional] -**PlannedHours** | Pointer to **float32** | | [optional] -**Descriptions** | Pointer to **[]string** | | [optional] - -## Methods - -### NewAvailabilityAllOf - -`func NewAvailabilityAllOf() *AvailabilityAllOf` - -NewAvailabilityAllOf instantiates a new AvailabilityAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewAvailabilityAllOfWithDefaults - -`func NewAvailabilityAllOfWithDefaults() *AvailabilityAllOf` - -NewAvailabilityAllOfWithDefaults instantiates a new AvailabilityAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetWorkHours - -`func (o *AvailabilityAllOf) GetWorkHours() float32` - -GetWorkHours returns the WorkHours field if non-nil, zero value otherwise. - -### GetWorkHoursOk - -`func (o *AvailabilityAllOf) GetWorkHoursOk() (*float32, bool)` - -GetWorkHoursOk returns a tuple with the WorkHours field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetWorkHours - -`func (o *AvailabilityAllOf) SetWorkHours(v float32)` - -SetWorkHours sets WorkHours field to given value. - -### HasWorkHours - -`func (o *AvailabilityAllOf) HasWorkHours() bool` - -HasWorkHours returns a boolean if a field has been set. - -### GetPlannedHours - -`func (o *AvailabilityAllOf) GetPlannedHours() float32` - -GetPlannedHours returns the PlannedHours field if non-nil, zero value otherwise. - -### GetPlannedHoursOk - -`func (o *AvailabilityAllOf) GetPlannedHoursOk() (*float32, bool)` - -GetPlannedHoursOk returns a tuple with the PlannedHours field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPlannedHours - -`func (o *AvailabilityAllOf) SetPlannedHours(v float32)` - -SetPlannedHours sets PlannedHours field to given value. - -### HasPlannedHours - -`func (o *AvailabilityAllOf) HasPlannedHours() bool` - -HasPlannedHours returns a boolean if a field has been set. - -### GetDescriptions - -`func (o *AvailabilityAllOf) GetDescriptions() []string` - -GetDescriptions returns the Descriptions field if non-nil, zero value otherwise. - -### GetDescriptionsOk - -`func (o *AvailabilityAllOf) GetDescriptionsOk() (*[]string, bool)` - -GetDescriptionsOk returns a tuple with the Descriptions field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescriptions - -`func (o *AvailabilityAllOf) SetDescriptions(v []string)` - -SetDescriptions sets Descriptions field to given value. - -### HasDescriptions - -`func (o *AvailabilityAllOf) HasDescriptions() bool` - -HasDescriptions returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/AvailabilityApi.md b/docs/AvailabilityApi.md index 4fd20f22..6166accc 100644 --- a/docs/AvailabilityApi.md +++ b/docs/AvailabilityApi.md @@ -32,7 +32,7 @@ import ( func main() { personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - availability := *openapiclient.NewAvailability("Id_example", "This is the name", time.Now(), time.Now(), float32(38.5), float32(22.5)) // Availability | The availability + availability := *openapiclient.NewAvailability(float32(38.5), float32(22.5), time.Now(), time.Now(), "Id_example") // Availability | The availability configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -243,7 +243,7 @@ import ( func main() { personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | availabilityId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - availability := *openapiclient.NewAvailability("Id_example", "This is the name", time.Now(), time.Now(), float32(38.5), float32(22.5)) // Availability | The availability + availability := *openapiclient.NewAvailability(float32(38.5), float32(22.5), time.Now(), time.Now(), "Id_example") // Availability | The availability configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/Certification.md b/docs/Certification.md index 3c9cbd21..10bd6ebe 100644 --- a/docs/Certification.md +++ b/docs/Certification.md @@ -4,18 +4,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | -**Name** | **string** | | +**Validity** | Pointer to **string** | | [optional] **Suggestion** | **bool** | | [default to false] **Synonyms** | Pointer to **[]string** | | [optional] **Description** | Pointer to **string** | | [optional] -**Validity** | Pointer to **string** | | [optional] ## Methods ### NewCertification -`func NewCertification(id string, name string, suggestion bool, ) *Certification` +`func NewCertification(suggestion bool, ) *Certification` NewCertification instantiates a new Certification object This constructor will assign default values to properties that have it defined, @@ -30,45 +28,30 @@ NewCertificationWithDefaults instantiates a new Certification object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId +### GetValidity -`func (o *Certification) GetId() string` +`func (o *Certification) GetValidity() string` -GetId returns the Id field if non-nil, zero value otherwise. +GetValidity returns the Validity field if non-nil, zero value otherwise. -### GetIdOk +### GetValidityOk -`func (o *Certification) GetIdOk() (*string, bool)` +`func (o *Certification) GetValidityOk() (*string, bool)` -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +GetValidityOk returns a tuple with the Validity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetId - -`func (o *Certification) SetId(v string)` - -SetId sets Id field to given value. - - -### GetName - -`func (o *Certification) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *Certification) GetNameOk() (*string, bool)` +### SetValidity -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. +`func (o *Certification) SetValidity(v string)` -### SetName +SetValidity sets Validity field to given value. -`func (o *Certification) SetName(v string)` +### HasValidity -SetName sets Name field to given value. +`func (o *Certification) HasValidity() bool` +HasValidity returns a boolean if a field has been set. ### GetSuggestion @@ -140,31 +123,6 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. -### GetValidity - -`func (o *Certification) GetValidity() string` - -GetValidity returns the Validity field if non-nil, zero value otherwise. - -### GetValidityOk - -`func (o *Certification) GetValidityOk() (*string, bool)` - -GetValidityOk returns a tuple with the Validity field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetValidity - -`func (o *Certification) SetValidity(v string)` - -SetValidity sets Validity field to given value. - -### HasValidity - -`func (o *Certification) HasValidity() bool` - -HasValidity returns a boolean if a field has been set. - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/CertificationAllOf.md b/docs/CertificationAllOf.md deleted file mode 100644 index 8ede0747..00000000 --- a/docs/CertificationAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# CertificationAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Validity** | Pointer to **string** | | [optional] - -## Methods - -### NewCertificationAllOf - -`func NewCertificationAllOf() *CertificationAllOf` - -NewCertificationAllOf instantiates a new CertificationAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCertificationAllOfWithDefaults - -`func NewCertificationAllOfWithDefaults() *CertificationAllOf` - -NewCertificationAllOfWithDefaults instantiates a new CertificationAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetValidity - -`func (o *CertificationAllOf) GetValidity() string` - -GetValidity returns the Validity field if non-nil, zero value otherwise. - -### GetValidityOk - -`func (o *CertificationAllOf) GetValidityOk() (*string, bool)` - -GetValidityOk returns a tuple with the Validity field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetValidity - -`func (o *CertificationAllOf) SetValidity(v string)` - -SetValidity sets Validity field to given value. - -### HasValidity - -`func (o *CertificationAllOf) HasValidity() bool` - -HasValidity returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/CertificationApi.md b/docs/CertificationApi.md index 386306b9..dfcf2d4e 100644 --- a/docs/CertificationApi.md +++ b/docs/CertificationApi.md @@ -189,7 +189,7 @@ import ( func main() { organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - certification := *openapiclient.NewCertification("Id_example", "This is the name", false) // Certification | + certification := *openapiclient.NewCertification(false, "Id_example") // Certification | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -746,7 +746,7 @@ import ( func main() { certificationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - certification := *openapiclient.NewCertification("Id_example", "This is the name", false) // Certification | + certification := *openapiclient.NewCertification(false, "Id_example") // Certification | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/Country.md b/docs/Country.md index 46213347..1999fa26 100644 --- a/docs/Country.md +++ b/docs/Country.md @@ -4,15 +4,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | -**Name** | **string** | | **Picture** | Pointer to **string** | base64 encoded image | [optional] ## Methods ### NewCountry -`func NewCountry(id string, name string, ) *Country` +`func NewCountry() *Country` NewCountry instantiates a new Country object This constructor will assign default values to properties that have it defined, @@ -27,46 +25,6 @@ NewCountryWithDefaults instantiates a new Country object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *Country) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *Country) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *Country) SetId(v string)` - -SetId sets Id field to given value. - - -### GetName - -`func (o *Country) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *Country) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *Country) SetName(v string)` - -SetName sets Name field to given value. - - ### GetPicture `func (o *Country) GetPicture() string` diff --git a/docs/CountryAllOf.md b/docs/CountryAllOf.md deleted file mode 100644 index d3a4e7fd..00000000 --- a/docs/CountryAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# CountryAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Picture** | Pointer to **string** | base64 encoded image | [optional] - -## Methods - -### NewCountryAllOf - -`func NewCountryAllOf() *CountryAllOf` - -NewCountryAllOf instantiates a new CountryAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewCountryAllOfWithDefaults - -`func NewCountryAllOfWithDefaults() *CountryAllOf` - -NewCountryAllOfWithDefaults instantiates a new CountryAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPicture - -`func (o *CountryAllOf) GetPicture() string` - -GetPicture returns the Picture field if non-nil, zero value otherwise. - -### GetPictureOk - -`func (o *CountryAllOf) GetPictureOk() (*string, bool)` - -GetPictureOk returns a tuple with the Picture field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPicture - -`func (o *CountryAllOf) SetPicture(v string)` - -SetPicture sets Picture field to given value. - -### HasPicture - -`func (o *CountryAllOf) HasPicture() bool` - -HasPicture returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/CountryApi.md b/docs/CountryApi.md index dea393ce..85ef6ac9 100644 --- a/docs/CountryApi.md +++ b/docs/CountryApi.md @@ -104,7 +104,7 @@ import ( ) func main() { - country := *openapiclient.NewCountry("Id_example", "This is the name") // Country | + country := *openapiclient.NewCountry("Id_example") // Country | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -442,7 +442,7 @@ import ( func main() { countryId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - country := *openapiclient.NewCountry("Id_example", "This is the name") // Country | + country := *openapiclient.NewCountry("Id_example") // Country | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/ExperienceAllOf.md b/docs/ExperienceAllOf.md deleted file mode 100644 index 74bdd0f9..00000000 --- a/docs/ExperienceAllOf.md +++ /dev/null @@ -1,82 +0,0 @@ -# ExperienceAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Skill** | Pointer to [**SkillLevel**](SkillLevel.md) | | [optional] -**ConfirmedBy** | Pointer to [**[]Person**](Person.md) | | [optional] - -## Methods - -### NewExperienceAllOf - -`func NewExperienceAllOf() *ExperienceAllOf` - -NewExperienceAllOf instantiates a new ExperienceAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewExperienceAllOfWithDefaults - -`func NewExperienceAllOfWithDefaults() *ExperienceAllOf` - -NewExperienceAllOfWithDefaults instantiates a new ExperienceAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetSkill - -`func (o *ExperienceAllOf) GetSkill() SkillLevel` - -GetSkill returns the Skill field if non-nil, zero value otherwise. - -### GetSkillOk - -`func (o *ExperienceAllOf) GetSkillOk() (*SkillLevel, bool)` - -GetSkillOk returns a tuple with the Skill field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkill - -`func (o *ExperienceAllOf) SetSkill(v SkillLevel)` - -SetSkill sets Skill field to given value. - -### HasSkill - -`func (o *ExperienceAllOf) HasSkill() bool` - -HasSkill returns a boolean if a field has been set. - -### GetConfirmedBy - -`func (o *ExperienceAllOf) GetConfirmedBy() []Person` - -GetConfirmedBy returns the ConfirmedBy field if non-nil, zero value otherwise. - -### GetConfirmedByOk - -`func (o *ExperienceAllOf) GetConfirmedByOk() (*[]Person, bool)` - -GetConfirmedByOk returns a tuple with the ConfirmedBy field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetConfirmedBy - -`func (o *ExperienceAllOf) SetConfirmedBy(v []Person)` - -SetConfirmedBy sets ConfirmedBy field to given value. - -### HasConfirmedBy - -`func (o *ExperienceAllOf) HasConfirmedBy() bool` - -HasConfirmedBy returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Industry.md b/docs/Industry.md index aecb6827..b3b3e7d4 100644 --- a/docs/Industry.md +++ b/docs/Industry.md @@ -4,8 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | -**Name** | **string** | | **Suggestion** | **bool** | | [default to false] **Synonyms** | Pointer to **[]string** | | [optional] @@ -13,7 +11,7 @@ Name | Type | Description | Notes ### NewIndustry -`func NewIndustry(id string, name string, suggestion bool, ) *Industry` +`func NewIndustry(suggestion bool, ) *Industry` NewIndustry instantiates a new Industry object This constructor will assign default values to properties that have it defined, @@ -28,46 +26,6 @@ NewIndustryWithDefaults instantiates a new Industry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *Industry) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *Industry) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *Industry) SetId(v string)` - -SetId sets Id field to given value. - - -### GetName - -`func (o *Industry) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *Industry) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *Industry) SetName(v string)` - -SetName sets Name field to given value. - - ### GetSuggestion `func (o *Industry) GetSuggestion() bool` diff --git a/docs/IndustryApi.md b/docs/IndustryApi.md index aec045cd..c5c454d4 100644 --- a/docs/IndustryApi.md +++ b/docs/IndustryApi.md @@ -104,7 +104,7 @@ import ( ) func main() { - industry := *openapiclient.NewIndustry("Id_example", "This is the name", false) // Industry | + industry := *openapiclient.NewIndustry(false, "Id_example") // Industry | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -442,7 +442,7 @@ import ( func main() { industryId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - industry := *openapiclient.NewIndustry("Id_example", "This is the name", false) // Industry | + industry := *openapiclient.NewIndustry(false, "Id_example") // Industry | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/Language.md b/docs/Language.md index d5f5d9a2..7ee00bec 100644 --- a/docs/Language.md +++ b/docs/Language.md @@ -4,14 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | -**Name** | **string** | | ## Methods ### NewLanguage -`func NewLanguage(id string, name string, ) *Language` +`func NewLanguage() *Language` NewLanguage instantiates a new Language object This constructor will assign default values to properties that have it defined, @@ -26,46 +24,6 @@ NewLanguageWithDefaults instantiates a new Language object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *Language) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *Language) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *Language) SetId(v string)` - -SetId sets Id field to given value. - - -### GetName - -`func (o *Language) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *Language) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *Language) SetName(v string)` - -SetName sets Name field to given value. - - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LanguageApi.md b/docs/LanguageApi.md index 9354a3d2..0c284509 100644 --- a/docs/LanguageApi.md +++ b/docs/LanguageApi.md @@ -179,7 +179,7 @@ import ( ) func main() { - language := *openapiclient.NewLanguage("Id_example", "This is the name") // Language | + language := *openapiclient.NewLanguage("Id_example") // Language | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/NamedDomainModel.md b/docs/NamedDomainModel.md index 5cef6813..819ab7e8 100644 --- a/docs/NamedDomainModel.md +++ b/docs/NamedDomainModel.md @@ -4,14 +4,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | +**Id** | Pointer to **string** | | [optional] **Name** | **string** | | ## Methods ### NewNamedDomainModel -`func NewNamedDomainModel(id string, name string, ) *NamedDomainModel` +`func NewNamedDomainModel(name string, ) *NamedDomainModel` NewNamedDomainModel instantiates a new NamedDomainModel object This constructor will assign default values to properties that have it defined, @@ -45,6 +45,11 @@ and a boolean to check if the value has been set. SetId sets Id field to given value. +### HasId + +`func (o *NamedDomainModel) HasId() bool` + +HasId returns a boolean if a field has been set. ### GetName diff --git a/docs/NamedDomainModelAllOf.md b/docs/NamedDomainModelAllOf.md deleted file mode 100644 index 3c7fb601..00000000 --- a/docs/NamedDomainModelAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# NamedDomainModelAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Name** | Pointer to **string** | | [optional] - -## Methods - -### NewNamedDomainModelAllOf - -`func NewNamedDomainModelAllOf() *NamedDomainModelAllOf` - -NewNamedDomainModelAllOf instantiates a new NamedDomainModelAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewNamedDomainModelAllOfWithDefaults - -`func NewNamedDomainModelAllOfWithDefaults() *NamedDomainModelAllOf` - -NewNamedDomainModelAllOfWithDefaults instantiates a new NamedDomainModelAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetName - -`func (o *NamedDomainModelAllOf) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *NamedDomainModelAllOf) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *NamedDomainModelAllOf) SetName(v string)` - -SetName sets Name field to given value. - -### HasName - -`func (o *NamedDomainModelAllOf) HasName() bool` - -HasName returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Office.md b/docs/Office.md index e88e123c..484be641 100644 --- a/docs/Office.md +++ b/docs/Office.md @@ -4,8 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | -**Name** | **string** | | **Synonyms** | Pointer to **[]string** | | [optional] **Location** | Pointer to **string** | | [optional] **Geolocation** | Pointer to [**Geolocation**](Geolocation.md) | | [optional] @@ -14,7 +12,7 @@ Name | Type | Description | Notes ### NewOffice -`func NewOffice(id string, name string, ) *Office` +`func NewOffice() *Office` NewOffice instantiates a new Office object This constructor will assign default values to properties that have it defined, @@ -29,46 +27,6 @@ NewOfficeWithDefaults instantiates a new Office object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *Office) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *Office) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *Office) SetId(v string)` - -SetId sets Id field to given value. - - -### GetName - -`func (o *Office) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *Office) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *Office) SetName(v string)` - -SetName sets Name field to given value. - - ### GetSynonyms `func (o *Office) GetSynonyms() []string` diff --git a/docs/OfficeApi.md b/docs/OfficeApi.md index a806163b..f344dbf2 100644 --- a/docs/OfficeApi.md +++ b/docs/OfficeApi.md @@ -104,7 +104,7 @@ import ( func main() { organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - office := *openapiclient.NewOffice("Id_example", "This is the name") // Office | + office := *openapiclient.NewOffice("Id_example") // Office | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -388,7 +388,7 @@ import ( func main() { organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | officeId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - office := *openapiclient.NewOffice("Id_example", "This is the name") // Office | + office := *openapiclient.NewOffice("Id_example") // Office | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/Organization.md b/docs/Organization.md index 9fe59700..abd3487b 100644 --- a/docs/Organization.md +++ b/docs/Organization.md @@ -4,22 +4,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | -**Name** | **string** | | +**Partner** | Pointer to **bool** | | [optional] [default to false] +**Customer** | Pointer to **bool** | | [optional] [default to false] +**Picture** | Pointer to **string** | base64 encoded image | [optional] **Suggestion** | **bool** | | [default to false] **Synonyms** | Pointer to **[]string** | | [optional] **Location** | Pointer to **string** | | [optional] **Geolocation** | Pointer to [**Geolocation**](Geolocation.md) | | [optional] **Description** | Pointer to **string** | | [optional] -**Partner** | Pointer to **bool** | | [optional] [default to false] -**Customer** | Pointer to **bool** | | [optional] [default to false] -**Picture** | Pointer to **string** | base64 encoded image | [optional] ## Methods ### NewOrganization -`func NewOrganization(id string, name string, suggestion bool, ) *Organization` +`func NewOrganization(suggestion bool, ) *Organization` NewOrganization instantiates a new Organization object This constructor will assign default values to properties that have it defined, @@ -34,45 +32,80 @@ NewOrganizationWithDefaults instantiates a new Organization object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId +### GetPartner -`func (o *Organization) GetId() string` +`func (o *Organization) GetPartner() bool` -GetId returns the Id field if non-nil, zero value otherwise. +GetPartner returns the Partner field if non-nil, zero value otherwise. -### GetIdOk +### GetPartnerOk -`func (o *Organization) GetIdOk() (*string, bool)` +`func (o *Organization) GetPartnerOk() (*bool, bool)` -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +GetPartnerOk returns a tuple with the Partner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetId +### SetPartner + +`func (o *Organization) SetPartner(v bool)` + +SetPartner sets Partner field to given value. -`func (o *Organization) SetId(v string)` +### HasPartner -SetId sets Id field to given value. +`func (o *Organization) HasPartner() bool` +HasPartner returns a boolean if a field has been set. -### GetName +### GetCustomer -`func (o *Organization) GetName() string` +`func (o *Organization) GetCustomer() bool` -GetName returns the Name field if non-nil, zero value otherwise. +GetCustomer returns the Customer field if non-nil, zero value otherwise. -### GetNameOk +### GetCustomerOk -`func (o *Organization) GetNameOk() (*string, bool)` +`func (o *Organization) GetCustomerOk() (*bool, bool)` -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +GetCustomerOk returns a tuple with the Customer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetName +### SetCustomer + +`func (o *Organization) SetCustomer(v bool)` + +SetCustomer sets Customer field to given value. -`func (o *Organization) SetName(v string)` +### HasCustomer -SetName sets Name field to given value. +`func (o *Organization) HasCustomer() bool` +HasCustomer returns a boolean if a field has been set. + +### GetPicture + +`func (o *Organization) GetPicture() string` + +GetPicture returns the Picture field if non-nil, zero value otherwise. + +### GetPictureOk + +`func (o *Organization) GetPictureOk() (*string, bool)` + +GetPictureOk returns a tuple with the Picture field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPicture + +`func (o *Organization) SetPicture(v string)` + +SetPicture sets Picture field to given value. + +### HasPicture + +`func (o *Organization) HasPicture() bool` + +HasPicture returns a boolean if a field has been set. ### GetSuggestion @@ -194,81 +227,6 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. -### GetPartner - -`func (o *Organization) GetPartner() bool` - -GetPartner returns the Partner field if non-nil, zero value otherwise. - -### GetPartnerOk - -`func (o *Organization) GetPartnerOk() (*bool, bool)` - -GetPartnerOk returns a tuple with the Partner field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPartner - -`func (o *Organization) SetPartner(v bool)` - -SetPartner sets Partner field to given value. - -### HasPartner - -`func (o *Organization) HasPartner() bool` - -HasPartner returns a boolean if a field has been set. - -### GetCustomer - -`func (o *Organization) GetCustomer() bool` - -GetCustomer returns the Customer field if non-nil, zero value otherwise. - -### GetCustomerOk - -`func (o *Organization) GetCustomerOk() (*bool, bool)` - -GetCustomerOk returns a tuple with the Customer field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomer - -`func (o *Organization) SetCustomer(v bool)` - -SetCustomer sets Customer field to given value. - -### HasCustomer - -`func (o *Organization) HasCustomer() bool` - -HasCustomer returns a boolean if a field has been set. - -### GetPicture - -`func (o *Organization) GetPicture() string` - -GetPicture returns the Picture field if non-nil, zero value otherwise. - -### GetPictureOk - -`func (o *Organization) GetPictureOk() (*string, bool)` - -GetPictureOk returns a tuple with the Picture field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPicture - -`func (o *Organization) SetPicture(v string)` - -SetPicture sets Picture field to given value. - -### HasPicture - -`func (o *Organization) HasPicture() bool` - -HasPicture returns a boolean if a field has been set. - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/OrganizationAllOf.md b/docs/OrganizationAllOf.md deleted file mode 100644 index 112656ea..00000000 --- a/docs/OrganizationAllOf.md +++ /dev/null @@ -1,108 +0,0 @@ -# OrganizationAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Partner** | Pointer to **bool** | | [optional] [default to false] -**Customer** | Pointer to **bool** | | [optional] [default to false] -**Picture** | Pointer to **string** | base64 encoded image | [optional] - -## Methods - -### NewOrganizationAllOf - -`func NewOrganizationAllOf() *OrganizationAllOf` - -NewOrganizationAllOf instantiates a new OrganizationAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewOrganizationAllOfWithDefaults - -`func NewOrganizationAllOfWithDefaults() *OrganizationAllOf` - -NewOrganizationAllOfWithDefaults instantiates a new OrganizationAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPartner - -`func (o *OrganizationAllOf) GetPartner() bool` - -GetPartner returns the Partner field if non-nil, zero value otherwise. - -### GetPartnerOk - -`func (o *OrganizationAllOf) GetPartnerOk() (*bool, bool)` - -GetPartnerOk returns a tuple with the Partner field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPartner - -`func (o *OrganizationAllOf) SetPartner(v bool)` - -SetPartner sets Partner field to given value. - -### HasPartner - -`func (o *OrganizationAllOf) HasPartner() bool` - -HasPartner returns a boolean if a field has been set. - -### GetCustomer - -`func (o *OrganizationAllOf) GetCustomer() bool` - -GetCustomer returns the Customer field if non-nil, zero value otherwise. - -### GetCustomerOk - -`func (o *OrganizationAllOf) GetCustomerOk() (*bool, bool)` - -GetCustomerOk returns a tuple with the Customer field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCustomer - -`func (o *OrganizationAllOf) SetCustomer(v bool)` - -SetCustomer sets Customer field to given value. - -### HasCustomer - -`func (o *OrganizationAllOf) HasCustomer() bool` - -HasCustomer returns a boolean if a field has been set. - -### GetPicture - -`func (o *OrganizationAllOf) GetPicture() string` - -GetPicture returns the Picture field if non-nil, zero value otherwise. - -### GetPictureOk - -`func (o *OrganizationAllOf) GetPictureOk() (*string, bool)` - -GetPictureOk returns a tuple with the Picture field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPicture - -`func (o *OrganizationAllOf) SetPicture(v string)` - -SetPicture sets Picture field to given value. - -### HasPicture - -`func (o *OrganizationAllOf) HasPicture() bool` - -HasPicture returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/OrganizationApi.md b/docs/OrganizationApi.md index 3336a548..bdc3d6da 100644 --- a/docs/OrganizationApi.md +++ b/docs/OrganizationApi.md @@ -115,7 +115,7 @@ import ( func main() { organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - certification := *openapiclient.NewCertification("Id_example", "This is the name", false) // Certification | + certification := *openapiclient.NewCertification(false, "Id_example") // Certification | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -185,7 +185,7 @@ import ( func main() { organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - office := *openapiclient.NewOffice("Id_example", "This is the name") // Office | + office := *openapiclient.NewOffice("Id_example") // Office | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -254,7 +254,7 @@ import ( ) func main() { - organization := *openapiclient.NewOrganization("Id_example", "This is the name", false) // Organization | Details about the Organization + organization := *openapiclient.NewOrganization(false, "Id_example") // Organization | Details about the Organization configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -319,7 +319,7 @@ import ( func main() { organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - project := *openapiclient.NewProject("Id_example", "This is the name", false) // Project | + project := *openapiclient.NewProject(false, "Id_example") // Project | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1091,7 +1091,7 @@ import ( func main() { organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | officeId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - office := *openapiclient.NewOffice("Id_example", "This is the name") // Office | + office := *openapiclient.NewOffice("Id_example") // Office | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1163,7 +1163,7 @@ import ( func main() { organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - organization := *openapiclient.NewOrganization("Id_example", "This is the name", false) // Organization | Details about the organization + organization := *openapiclient.NewOrganization(false, "Id_example") // Organization | Details about the organization configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/PagedAvailabilities.md b/docs/PagedAvailabilities.md index d97c240c..f4f2750d 100644 --- a/docs/PagedAvailabilities.md +++ b/docs/PagedAvailabilities.md @@ -4,9 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Skip** | Pointer to **int32** | | [optional] -**Limit** | Pointer to **int32** | | [optional] -**Count** | Pointer to **int32** | | [optional] **Availabilities** | Pointer to [**[]AvailabilityDetail**](AvailabilityDetail.md) | | [optional] ## Methods @@ -28,81 +25,6 @@ NewPagedAvailabilitiesWithDefaults instantiates a new PagedAvailabilities object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetSkip - -`func (o *PagedAvailabilities) GetSkip() int32` - -GetSkip returns the Skip field if non-nil, zero value otherwise. - -### GetSkipOk - -`func (o *PagedAvailabilities) GetSkipOk() (*int32, bool)` - -GetSkipOk returns a tuple with the Skip field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkip - -`func (o *PagedAvailabilities) SetSkip(v int32)` - -SetSkip sets Skip field to given value. - -### HasSkip - -`func (o *PagedAvailabilities) HasSkip() bool` - -HasSkip returns a boolean if a field has been set. - -### GetLimit - -`func (o *PagedAvailabilities) GetLimit() int32` - -GetLimit returns the Limit field if non-nil, zero value otherwise. - -### GetLimitOk - -`func (o *PagedAvailabilities) GetLimitOk() (*int32, bool)` - -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimit - -`func (o *PagedAvailabilities) SetLimit(v int32)` - -SetLimit sets Limit field to given value. - -### HasLimit - -`func (o *PagedAvailabilities) HasLimit() bool` - -HasLimit returns a boolean if a field has been set. - -### GetCount - -`func (o *PagedAvailabilities) GetCount() int32` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *PagedAvailabilities) GetCountOk() (*int32, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *PagedAvailabilities) SetCount(v int32)` - -SetCount sets Count field to given value. - -### HasCount - -`func (o *PagedAvailabilities) HasCount() bool` - -HasCount returns a boolean if a field has been set. - ### GetAvailabilities `func (o *PagedAvailabilities) GetAvailabilities() []AvailabilityDetail` diff --git a/docs/PagedAvailabilitiesAllOf.md b/docs/PagedAvailabilitiesAllOf.md deleted file mode 100644 index 5da93096..00000000 --- a/docs/PagedAvailabilitiesAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# PagedAvailabilitiesAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Availabilities** | Pointer to [**[]AvailabilityDetail**](AvailabilityDetail.md) | | [optional] - -## Methods - -### NewPagedAvailabilitiesAllOf - -`func NewPagedAvailabilitiesAllOf() *PagedAvailabilitiesAllOf` - -NewPagedAvailabilitiesAllOf instantiates a new PagedAvailabilitiesAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPagedAvailabilitiesAllOfWithDefaults - -`func NewPagedAvailabilitiesAllOfWithDefaults() *PagedAvailabilitiesAllOf` - -NewPagedAvailabilitiesAllOfWithDefaults instantiates a new PagedAvailabilitiesAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAvailabilities - -`func (o *PagedAvailabilitiesAllOf) GetAvailabilities() []AvailabilityDetail` - -GetAvailabilities returns the Availabilities field if non-nil, zero value otherwise. - -### GetAvailabilitiesOk - -`func (o *PagedAvailabilitiesAllOf) GetAvailabilitiesOk() (*[]AvailabilityDetail, bool)` - -GetAvailabilitiesOk returns a tuple with the Availabilities field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAvailabilities - -`func (o *PagedAvailabilitiesAllOf) SetAvailabilities(v []AvailabilityDetail)` - -SetAvailabilities sets Availabilities field to given value. - -### HasAvailabilities - -`func (o *PagedAvailabilitiesAllOf) HasAvailabilities() bool` - -HasAvailabilities returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PagedCertifications.md b/docs/PagedCertifications.md index d165ddfa..4a07223d 100644 --- a/docs/PagedCertifications.md +++ b/docs/PagedCertifications.md @@ -4,9 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Skip** | Pointer to **int32** | | [optional] -**Limit** | Pointer to **int32** | | [optional] -**Count** | Pointer to **int32** | | [optional] **Certifications** | Pointer to [**[]CertificationDetails**](CertificationDetails.md) | | [optional] ## Methods @@ -28,81 +25,6 @@ NewPagedCertificationsWithDefaults instantiates a new PagedCertifications object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetSkip - -`func (o *PagedCertifications) GetSkip() int32` - -GetSkip returns the Skip field if non-nil, zero value otherwise. - -### GetSkipOk - -`func (o *PagedCertifications) GetSkipOk() (*int32, bool)` - -GetSkipOk returns a tuple with the Skip field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkip - -`func (o *PagedCertifications) SetSkip(v int32)` - -SetSkip sets Skip field to given value. - -### HasSkip - -`func (o *PagedCertifications) HasSkip() bool` - -HasSkip returns a boolean if a field has been set. - -### GetLimit - -`func (o *PagedCertifications) GetLimit() int32` - -GetLimit returns the Limit field if non-nil, zero value otherwise. - -### GetLimitOk - -`func (o *PagedCertifications) GetLimitOk() (*int32, bool)` - -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimit - -`func (o *PagedCertifications) SetLimit(v int32)` - -SetLimit sets Limit field to given value. - -### HasLimit - -`func (o *PagedCertifications) HasLimit() bool` - -HasLimit returns a boolean if a field has been set. - -### GetCount - -`func (o *PagedCertifications) GetCount() int32` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *PagedCertifications) GetCountOk() (*int32, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *PagedCertifications) SetCount(v int32)` - -SetCount sets Count field to given value. - -### HasCount - -`func (o *PagedCertifications) HasCount() bool` - -HasCount returns a boolean if a field has been set. - ### GetCertifications `func (o *PagedCertifications) GetCertifications() []CertificationDetails` diff --git a/docs/PagedCertificationsAllOf.md b/docs/PagedCertificationsAllOf.md deleted file mode 100644 index 55020fab..00000000 --- a/docs/PagedCertificationsAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# PagedCertificationsAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Certifications** | Pointer to [**[]CertificationDetails**](CertificationDetails.md) | | [optional] - -## Methods - -### NewPagedCertificationsAllOf - -`func NewPagedCertificationsAllOf() *PagedCertificationsAllOf` - -NewPagedCertificationsAllOf instantiates a new PagedCertificationsAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPagedCertificationsAllOfWithDefaults - -`func NewPagedCertificationsAllOfWithDefaults() *PagedCertificationsAllOf` - -NewPagedCertificationsAllOfWithDefaults instantiates a new PagedCertificationsAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCertifications - -`func (o *PagedCertificationsAllOf) GetCertifications() []CertificationDetails` - -GetCertifications returns the Certifications field if non-nil, zero value otherwise. - -### GetCertificationsOk - -`func (o *PagedCertificationsAllOf) GetCertificationsOk() (*[]CertificationDetails, bool)` - -GetCertificationsOk returns a tuple with the Certifications field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCertifications - -`func (o *PagedCertificationsAllOf) SetCertifications(v []CertificationDetails)` - -SetCertifications sets Certifications field to given value. - -### HasCertifications - -`func (o *PagedCertificationsAllOf) HasCertifications() bool` - -HasCertifications returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PagedCountries.md b/docs/PagedCountries.md index 23828ca0..6b9d2ee9 100644 --- a/docs/PagedCountries.md +++ b/docs/PagedCountries.md @@ -4,9 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Skip** | Pointer to **int32** | | [optional] -**Limit** | Pointer to **int32** | | [optional] -**Count** | Pointer to **int32** | | [optional] **Countries** | Pointer to [**[]Country**](Country.md) | | [optional] ## Methods @@ -28,81 +25,6 @@ NewPagedCountriesWithDefaults instantiates a new PagedCountries object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetSkip - -`func (o *PagedCountries) GetSkip() int32` - -GetSkip returns the Skip field if non-nil, zero value otherwise. - -### GetSkipOk - -`func (o *PagedCountries) GetSkipOk() (*int32, bool)` - -GetSkipOk returns a tuple with the Skip field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkip - -`func (o *PagedCountries) SetSkip(v int32)` - -SetSkip sets Skip field to given value. - -### HasSkip - -`func (o *PagedCountries) HasSkip() bool` - -HasSkip returns a boolean if a field has been set. - -### GetLimit - -`func (o *PagedCountries) GetLimit() int32` - -GetLimit returns the Limit field if non-nil, zero value otherwise. - -### GetLimitOk - -`func (o *PagedCountries) GetLimitOk() (*int32, bool)` - -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimit - -`func (o *PagedCountries) SetLimit(v int32)` - -SetLimit sets Limit field to given value. - -### HasLimit - -`func (o *PagedCountries) HasLimit() bool` - -HasLimit returns a boolean if a field has been set. - -### GetCount - -`func (o *PagedCountries) GetCount() int32` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *PagedCountries) GetCountOk() (*int32, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *PagedCountries) SetCount(v int32)` - -SetCount sets Count field to given value. - -### HasCount - -`func (o *PagedCountries) HasCount() bool` - -HasCount returns a boolean if a field has been set. - ### GetCountries `func (o *PagedCountries) GetCountries() []Country` diff --git a/docs/PagedCountriesAllOf.md b/docs/PagedCountriesAllOf.md deleted file mode 100644 index 9d3c4cee..00000000 --- a/docs/PagedCountriesAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# PagedCountriesAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Countries** | Pointer to [**[]Country**](Country.md) | | [optional] - -## Methods - -### NewPagedCountriesAllOf - -`func NewPagedCountriesAllOf() *PagedCountriesAllOf` - -NewPagedCountriesAllOf instantiates a new PagedCountriesAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPagedCountriesAllOfWithDefaults - -`func NewPagedCountriesAllOfWithDefaults() *PagedCountriesAllOf` - -NewPagedCountriesAllOfWithDefaults instantiates a new PagedCountriesAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetCountries - -`func (o *PagedCountriesAllOf) GetCountries() []Country` - -GetCountries returns the Countries field if non-nil, zero value otherwise. - -### GetCountriesOk - -`func (o *PagedCountriesAllOf) GetCountriesOk() (*[]Country, bool)` - -GetCountriesOk returns a tuple with the Countries field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCountries - -`func (o *PagedCountriesAllOf) SetCountries(v []Country)` - -SetCountries sets Countries field to given value. - -### HasCountries - -`func (o *PagedCountriesAllOf) HasCountries() bool` - -HasCountries returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PagedIndustries.md b/docs/PagedIndustries.md index b16dc496..56d81873 100644 --- a/docs/PagedIndustries.md +++ b/docs/PagedIndustries.md @@ -4,9 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Skip** | Pointer to **int32** | | [optional] -**Limit** | Pointer to **int32** | | [optional] -**Count** | Pointer to **int32** | | [optional] **Industries** | Pointer to [**[]IndustryDetails**](IndustryDetails.md) | | [optional] ## Methods @@ -28,81 +25,6 @@ NewPagedIndustriesWithDefaults instantiates a new PagedIndustries object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetSkip - -`func (o *PagedIndustries) GetSkip() int32` - -GetSkip returns the Skip field if non-nil, zero value otherwise. - -### GetSkipOk - -`func (o *PagedIndustries) GetSkipOk() (*int32, bool)` - -GetSkipOk returns a tuple with the Skip field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkip - -`func (o *PagedIndustries) SetSkip(v int32)` - -SetSkip sets Skip field to given value. - -### HasSkip - -`func (o *PagedIndustries) HasSkip() bool` - -HasSkip returns a boolean if a field has been set. - -### GetLimit - -`func (o *PagedIndustries) GetLimit() int32` - -GetLimit returns the Limit field if non-nil, zero value otherwise. - -### GetLimitOk - -`func (o *PagedIndustries) GetLimitOk() (*int32, bool)` - -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimit - -`func (o *PagedIndustries) SetLimit(v int32)` - -SetLimit sets Limit field to given value. - -### HasLimit - -`func (o *PagedIndustries) HasLimit() bool` - -HasLimit returns a boolean if a field has been set. - -### GetCount - -`func (o *PagedIndustries) GetCount() int32` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *PagedIndustries) GetCountOk() (*int32, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *PagedIndustries) SetCount(v int32)` - -SetCount sets Count field to given value. - -### HasCount - -`func (o *PagedIndustries) HasCount() bool` - -HasCount returns a boolean if a field has been set. - ### GetIndustries `func (o *PagedIndustries) GetIndustries() []IndustryDetails` diff --git a/docs/PagedIndustriesAllOf.md b/docs/PagedIndustriesAllOf.md deleted file mode 100644 index c22570e1..00000000 --- a/docs/PagedIndustriesAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# PagedIndustriesAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Industries** | Pointer to [**[]IndustryDetails**](IndustryDetails.md) | | [optional] - -## Methods - -### NewPagedIndustriesAllOf - -`func NewPagedIndustriesAllOf() *PagedIndustriesAllOf` - -NewPagedIndustriesAllOf instantiates a new PagedIndustriesAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPagedIndustriesAllOfWithDefaults - -`func NewPagedIndustriesAllOfWithDefaults() *PagedIndustriesAllOf` - -NewPagedIndustriesAllOfWithDefaults instantiates a new PagedIndustriesAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetIndustries - -`func (o *PagedIndustriesAllOf) GetIndustries() []IndustryDetails` - -GetIndustries returns the Industries field if non-nil, zero value otherwise. - -### GetIndustriesOk - -`func (o *PagedIndustriesAllOf) GetIndustriesOk() (*[]IndustryDetails, bool)` - -GetIndustriesOk returns a tuple with the Industries field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIndustries - -`func (o *PagedIndustriesAllOf) SetIndustries(v []IndustryDetails)` - -SetIndustries sets Industries field to given value. - -### HasIndustries - -`func (o *PagedIndustriesAllOf) HasIndustries() bool` - -HasIndustries returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PagedLanguages.md b/docs/PagedLanguages.md index abf9837d..793b57bc 100644 --- a/docs/PagedLanguages.md +++ b/docs/PagedLanguages.md @@ -4,9 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Skip** | Pointer to **int32** | | [optional] -**Limit** | Pointer to **int32** | | [optional] -**Count** | Pointer to **int32** | | [optional] **Languages** | Pointer to [**[]Language**](Language.md) | | [optional] ## Methods @@ -28,81 +25,6 @@ NewPagedLanguagesWithDefaults instantiates a new PagedLanguages object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetSkip - -`func (o *PagedLanguages) GetSkip() int32` - -GetSkip returns the Skip field if non-nil, zero value otherwise. - -### GetSkipOk - -`func (o *PagedLanguages) GetSkipOk() (*int32, bool)` - -GetSkipOk returns a tuple with the Skip field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkip - -`func (o *PagedLanguages) SetSkip(v int32)` - -SetSkip sets Skip field to given value. - -### HasSkip - -`func (o *PagedLanguages) HasSkip() bool` - -HasSkip returns a boolean if a field has been set. - -### GetLimit - -`func (o *PagedLanguages) GetLimit() int32` - -GetLimit returns the Limit field if non-nil, zero value otherwise. - -### GetLimitOk - -`func (o *PagedLanguages) GetLimitOk() (*int32, bool)` - -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimit - -`func (o *PagedLanguages) SetLimit(v int32)` - -SetLimit sets Limit field to given value. - -### HasLimit - -`func (o *PagedLanguages) HasLimit() bool` - -HasLimit returns a boolean if a field has been set. - -### GetCount - -`func (o *PagedLanguages) GetCount() int32` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *PagedLanguages) GetCountOk() (*int32, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *PagedLanguages) SetCount(v int32)` - -SetCount sets Count field to given value. - -### HasCount - -`func (o *PagedLanguages) HasCount() bool` - -HasCount returns a boolean if a field has been set. - ### GetLanguages `func (o *PagedLanguages) GetLanguages() []Language` diff --git a/docs/PagedLanguagesAllOf.md b/docs/PagedLanguagesAllOf.md deleted file mode 100644 index 1e3d88ac..00000000 --- a/docs/PagedLanguagesAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# PagedLanguagesAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Languages** | Pointer to [**[]Language**](Language.md) | | [optional] - -## Methods - -### NewPagedLanguagesAllOf - -`func NewPagedLanguagesAllOf() *PagedLanguagesAllOf` - -NewPagedLanguagesAllOf instantiates a new PagedLanguagesAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPagedLanguagesAllOfWithDefaults - -`func NewPagedLanguagesAllOfWithDefaults() *PagedLanguagesAllOf` - -NewPagedLanguagesAllOfWithDefaults instantiates a new PagedLanguagesAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetLanguages - -`func (o *PagedLanguagesAllOf) GetLanguages() []Language` - -GetLanguages returns the Languages field if non-nil, zero value otherwise. - -### GetLanguagesOk - -`func (o *PagedLanguagesAllOf) GetLanguagesOk() (*[]Language, bool)` - -GetLanguagesOk returns a tuple with the Languages field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLanguages - -`func (o *PagedLanguagesAllOf) SetLanguages(v []Language)` - -SetLanguages sets Languages field to given value. - -### HasLanguages - -`func (o *PagedLanguagesAllOf) HasLanguages() bool` - -HasLanguages returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PagedOrganizations.md b/docs/PagedOrganizations.md index 11409f85..35a8fe65 100644 --- a/docs/PagedOrganizations.md +++ b/docs/PagedOrganizations.md @@ -4,9 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Skip** | Pointer to **int32** | | [optional] -**Limit** | Pointer to **int32** | | [optional] -**Count** | Pointer to **int32** | | [optional] **Organizations** | Pointer to [**[]OrganizationDetails**](OrganizationDetails.md) | | [optional] ## Methods @@ -28,81 +25,6 @@ NewPagedOrganizationsWithDefaults instantiates a new PagedOrganizations object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetSkip - -`func (o *PagedOrganizations) GetSkip() int32` - -GetSkip returns the Skip field if non-nil, zero value otherwise. - -### GetSkipOk - -`func (o *PagedOrganizations) GetSkipOk() (*int32, bool)` - -GetSkipOk returns a tuple with the Skip field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkip - -`func (o *PagedOrganizations) SetSkip(v int32)` - -SetSkip sets Skip field to given value. - -### HasSkip - -`func (o *PagedOrganizations) HasSkip() bool` - -HasSkip returns a boolean if a field has been set. - -### GetLimit - -`func (o *PagedOrganizations) GetLimit() int32` - -GetLimit returns the Limit field if non-nil, zero value otherwise. - -### GetLimitOk - -`func (o *PagedOrganizations) GetLimitOk() (*int32, bool)` - -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimit - -`func (o *PagedOrganizations) SetLimit(v int32)` - -SetLimit sets Limit field to given value. - -### HasLimit - -`func (o *PagedOrganizations) HasLimit() bool` - -HasLimit returns a boolean if a field has been set. - -### GetCount - -`func (o *PagedOrganizations) GetCount() int32` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *PagedOrganizations) GetCountOk() (*int32, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *PagedOrganizations) SetCount(v int32)` - -SetCount sets Count field to given value. - -### HasCount - -`func (o *PagedOrganizations) HasCount() bool` - -HasCount returns a boolean if a field has been set. - ### GetOrganizations `func (o *PagedOrganizations) GetOrganizations() []OrganizationDetails` diff --git a/docs/PagedOrganizationsAllOf.md b/docs/PagedOrganizationsAllOf.md deleted file mode 100644 index 053ced5c..00000000 --- a/docs/PagedOrganizationsAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# PagedOrganizationsAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Organizations** | Pointer to [**[]OrganizationDetails**](OrganizationDetails.md) | | [optional] - -## Methods - -### NewPagedOrganizationsAllOf - -`func NewPagedOrganizationsAllOf() *PagedOrganizationsAllOf` - -NewPagedOrganizationsAllOf instantiates a new PagedOrganizationsAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPagedOrganizationsAllOfWithDefaults - -`func NewPagedOrganizationsAllOfWithDefaults() *PagedOrganizationsAllOf` - -NewPagedOrganizationsAllOfWithDefaults instantiates a new PagedOrganizationsAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetOrganizations - -`func (o *PagedOrganizationsAllOf) GetOrganizations() []OrganizationDetails` - -GetOrganizations returns the Organizations field if non-nil, zero value otherwise. - -### GetOrganizationsOk - -`func (o *PagedOrganizationsAllOf) GetOrganizationsOk() (*[]OrganizationDetails, bool)` - -GetOrganizationsOk returns a tuple with the Organizations field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOrganizations - -`func (o *PagedOrganizationsAllOf) SetOrganizations(v []OrganizationDetails)` - -SetOrganizations sets Organizations field to given value. - -### HasOrganizations - -`func (o *PagedOrganizationsAllOf) HasOrganizations() bool` - -HasOrganizations returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PagedPersons.md b/docs/PagedPersons.md index 8afaef31..2f5b09eb 100644 --- a/docs/PagedPersons.md +++ b/docs/PagedPersons.md @@ -4,9 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Skip** | Pointer to **int32** | | [optional] -**Limit** | Pointer to **int32** | | [optional] -**Count** | Pointer to **int32** | | [optional] **Persons** | Pointer to [**[]PersonScoreDetail**](PersonScoreDetail.md) | | [optional] ## Methods @@ -28,81 +25,6 @@ NewPagedPersonsWithDefaults instantiates a new PagedPersons object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetSkip - -`func (o *PagedPersons) GetSkip() int32` - -GetSkip returns the Skip field if non-nil, zero value otherwise. - -### GetSkipOk - -`func (o *PagedPersons) GetSkipOk() (*int32, bool)` - -GetSkipOk returns a tuple with the Skip field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkip - -`func (o *PagedPersons) SetSkip(v int32)` - -SetSkip sets Skip field to given value. - -### HasSkip - -`func (o *PagedPersons) HasSkip() bool` - -HasSkip returns a boolean if a field has been set. - -### GetLimit - -`func (o *PagedPersons) GetLimit() int32` - -GetLimit returns the Limit field if non-nil, zero value otherwise. - -### GetLimitOk - -`func (o *PagedPersons) GetLimitOk() (*int32, bool)` - -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimit - -`func (o *PagedPersons) SetLimit(v int32)` - -SetLimit sets Limit field to given value. - -### HasLimit - -`func (o *PagedPersons) HasLimit() bool` - -HasLimit returns a boolean if a field has been set. - -### GetCount - -`func (o *PagedPersons) GetCount() int32` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *PagedPersons) GetCountOk() (*int32, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *PagedPersons) SetCount(v int32)` - -SetCount sets Count field to given value. - -### HasCount - -`func (o *PagedPersons) HasCount() bool` - -HasCount returns a boolean if a field has been set. - ### GetPersons `func (o *PagedPersons) GetPersons() []PersonScoreDetail` diff --git a/docs/PagedPersonsAllOf.md b/docs/PagedPersonsAllOf.md deleted file mode 100644 index 6eab1567..00000000 --- a/docs/PagedPersonsAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# PagedPersonsAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Persons** | Pointer to [**[]PersonScoreDetail**](PersonScoreDetail.md) | | [optional] - -## Methods - -### NewPagedPersonsAllOf - -`func NewPagedPersonsAllOf() *PagedPersonsAllOf` - -NewPagedPersonsAllOf instantiates a new PagedPersonsAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPagedPersonsAllOfWithDefaults - -`func NewPagedPersonsAllOfWithDefaults() *PagedPersonsAllOf` - -NewPagedPersonsAllOfWithDefaults instantiates a new PagedPersonsAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetPersons - -`func (o *PagedPersonsAllOf) GetPersons() []PersonScoreDetail` - -GetPersons returns the Persons field if non-nil, zero value otherwise. - -### GetPersonsOk - -`func (o *PagedPersonsAllOf) GetPersonsOk() (*[]PersonScoreDetail, bool)` - -GetPersonsOk returns a tuple with the Persons field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPersons - -`func (o *PagedPersonsAllOf) SetPersons(v []PersonScoreDetail)` - -SetPersons sets Persons field to given value. - -### HasPersons - -`func (o *PagedPersonsAllOf) HasPersons() bool` - -HasPersons returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PagedProjects.md b/docs/PagedProjects.md index cc0698c1..2362303e 100644 --- a/docs/PagedProjects.md +++ b/docs/PagedProjects.md @@ -4,9 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Skip** | Pointer to **int32** | | [optional] -**Limit** | Pointer to **int32** | | [optional] -**Count** | Pointer to **int32** | | [optional] **Projects** | Pointer to [**[]ProjectScoreDetail**](ProjectScoreDetail.md) | | [optional] ## Methods @@ -28,81 +25,6 @@ NewPagedProjectsWithDefaults instantiates a new PagedProjects object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetSkip - -`func (o *PagedProjects) GetSkip() int32` - -GetSkip returns the Skip field if non-nil, zero value otherwise. - -### GetSkipOk - -`func (o *PagedProjects) GetSkipOk() (*int32, bool)` - -GetSkipOk returns a tuple with the Skip field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkip - -`func (o *PagedProjects) SetSkip(v int32)` - -SetSkip sets Skip field to given value. - -### HasSkip - -`func (o *PagedProjects) HasSkip() bool` - -HasSkip returns a boolean if a field has been set. - -### GetLimit - -`func (o *PagedProjects) GetLimit() int32` - -GetLimit returns the Limit field if non-nil, zero value otherwise. - -### GetLimitOk - -`func (o *PagedProjects) GetLimitOk() (*int32, bool)` - -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimit - -`func (o *PagedProjects) SetLimit(v int32)` - -SetLimit sets Limit field to given value. - -### HasLimit - -`func (o *PagedProjects) HasLimit() bool` - -HasLimit returns a boolean if a field has been set. - -### GetCount - -`func (o *PagedProjects) GetCount() int32` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *PagedProjects) GetCountOk() (*int32, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *PagedProjects) SetCount(v int32)` - -SetCount sets Count field to given value. - -### HasCount - -`func (o *PagedProjects) HasCount() bool` - -HasCount returns a boolean if a field has been set. - ### GetProjects `func (o *PagedProjects) GetProjects() []ProjectScoreDetail` diff --git a/docs/PagedProjectsAllOf.md b/docs/PagedProjectsAllOf.md deleted file mode 100644 index 9388b4ef..00000000 --- a/docs/PagedProjectsAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# PagedProjectsAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Projects** | Pointer to [**[]ProjectScoreDetail**](ProjectScoreDetail.md) | | [optional] - -## Methods - -### NewPagedProjectsAllOf - -`func NewPagedProjectsAllOf() *PagedProjectsAllOf` - -NewPagedProjectsAllOf instantiates a new PagedProjectsAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPagedProjectsAllOfWithDefaults - -`func NewPagedProjectsAllOfWithDefaults() *PagedProjectsAllOf` - -NewPagedProjectsAllOfWithDefaults instantiates a new PagedProjectsAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetProjects - -`func (o *PagedProjectsAllOf) GetProjects() []ProjectScoreDetail` - -GetProjects returns the Projects field if non-nil, zero value otherwise. - -### GetProjectsOk - -`func (o *PagedProjectsAllOf) GetProjectsOk() (*[]ProjectScoreDetail, bool)` - -GetProjectsOk returns a tuple with the Projects field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetProjects - -`func (o *PagedProjectsAllOf) SetProjects(v []ProjectScoreDetail)` - -SetProjects sets Projects field to given value. - -### HasProjects - -`func (o *PagedProjectsAllOf) HasProjects() bool` - -HasProjects returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PagedSkills.md b/docs/PagedSkills.md index 67dc8a6d..7ab5fa06 100644 --- a/docs/PagedSkills.md +++ b/docs/PagedSkills.md @@ -4,9 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Skip** | Pointer to **int32** | | [optional] -**Limit** | Pointer to **int32** | | [optional] -**Count** | Pointer to **int32** | | [optional] **Skills** | Pointer to [**[]SkillDetails**](SkillDetails.md) | | [optional] ## Methods @@ -28,81 +25,6 @@ NewPagedSkillsWithDefaults instantiates a new PagedSkills object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetSkip - -`func (o *PagedSkills) GetSkip() int32` - -GetSkip returns the Skip field if non-nil, zero value otherwise. - -### GetSkipOk - -`func (o *PagedSkills) GetSkipOk() (*int32, bool)` - -GetSkipOk returns a tuple with the Skip field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkip - -`func (o *PagedSkills) SetSkip(v int32)` - -SetSkip sets Skip field to given value. - -### HasSkip - -`func (o *PagedSkills) HasSkip() bool` - -HasSkip returns a boolean if a field has been set. - -### GetLimit - -`func (o *PagedSkills) GetLimit() int32` - -GetLimit returns the Limit field if non-nil, zero value otherwise. - -### GetLimitOk - -`func (o *PagedSkills) GetLimitOk() (*int32, bool)` - -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimit - -`func (o *PagedSkills) SetLimit(v int32)` - -SetLimit sets Limit field to given value. - -### HasLimit - -`func (o *PagedSkills) HasLimit() bool` - -HasLimit returns a boolean if a field has been set. - -### GetCount - -`func (o *PagedSkills) GetCount() int32` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *PagedSkills) GetCountOk() (*int32, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *PagedSkills) SetCount(v int32)` - -SetCount sets Count field to given value. - -### HasCount - -`func (o *PagedSkills) HasCount() bool` - -HasCount returns a boolean if a field has been set. - ### GetSkills `func (o *PagedSkills) GetSkills() []SkillDetails` diff --git a/docs/PagedSkillsAllOf.md b/docs/PagedSkillsAllOf.md deleted file mode 100644 index bb433bfa..00000000 --- a/docs/PagedSkillsAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# PagedSkillsAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Skills** | Pointer to [**[]SkillDetails**](SkillDetails.md) | | [optional] - -## Methods - -### NewPagedSkillsAllOf - -`func NewPagedSkillsAllOf() *PagedSkillsAllOf` - -NewPagedSkillsAllOf instantiates a new PagedSkillsAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPagedSkillsAllOfWithDefaults - -`func NewPagedSkillsAllOfWithDefaults() *PagedSkillsAllOf` - -NewPagedSkillsAllOfWithDefaults instantiates a new PagedSkillsAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetSkills - -`func (o *PagedSkillsAllOf) GetSkills() []SkillDetails` - -GetSkills returns the Skills field if non-nil, zero value otherwise. - -### GetSkillsOk - -`func (o *PagedSkillsAllOf) GetSkillsOk() (*[]SkillDetails, bool)` - -GetSkillsOk returns a tuple with the Skills field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkills - -`func (o *PagedSkillsAllOf) SetSkills(v []SkillDetails)` - -SetSkills sets Skills field to given value. - -### HasSkills - -`func (o *PagedSkillsAllOf) HasSkills() bool` - -HasSkills returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Person.md b/docs/Person.md index 8a627a95..9f3c8701 100644 --- a/docs/Person.md +++ b/docs/Person.md @@ -4,13 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | -**Name** | **string** | | -**Suggestion** | **bool** | | [default to false] -**Synonyms** | Pointer to **[]string** | | [optional] -**Location** | Pointer to **string** | | [optional] -**Geolocation** | Pointer to [**Geolocation**](Geolocation.md) | | [optional] -**Description** | Pointer to **string** | | [optional] **EmployeeId** | Pointer to **string** | | [optional] **JobTitle** | Pointer to **string** | | [optional] **Company** | Pointer to **string** | | [optional] @@ -24,12 +17,17 @@ Name | Type | Description | Notes **OnsiteRatio** | Pointer to **int32** | | [optional] **Picture** | Pointer to **string** | base64 encoded image | [optional] **Inactive** | Pointer to **bool** | Marks persons not working for the company anymore | [optional] [default to false] +**Suggestion** | **bool** | | [default to false] +**Synonyms** | Pointer to **[]string** | | [optional] +**Location** | Pointer to **string** | | [optional] +**Geolocation** | Pointer to [**Geolocation**](Geolocation.md) | | [optional] +**Description** | Pointer to **string** | | [optional] ## Methods ### NewPerson -`func NewPerson(id string, name string, suggestion bool, ) *Person` +`func NewPerson(suggestion bool, ) *Person` NewPerson instantiates a new Person object This constructor will assign default values to properties that have it defined, @@ -44,166 +42,6 @@ NewPersonWithDefaults instantiates a new Person object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *Person) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *Person) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *Person) SetId(v string)` - -SetId sets Id field to given value. - - -### GetName - -`func (o *Person) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *Person) GetNameOk() (*string, bool)` - -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetName - -`func (o *Person) SetName(v string)` - -SetName sets Name field to given value. - - -### GetSuggestion - -`func (o *Person) GetSuggestion() bool` - -GetSuggestion returns the Suggestion field if non-nil, zero value otherwise. - -### GetSuggestionOk - -`func (o *Person) GetSuggestionOk() (*bool, bool)` - -GetSuggestionOk returns a tuple with the Suggestion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSuggestion - -`func (o *Person) SetSuggestion(v bool)` - -SetSuggestion sets Suggestion field to given value. - - -### GetSynonyms - -`func (o *Person) GetSynonyms() []string` - -GetSynonyms returns the Synonyms field if non-nil, zero value otherwise. - -### GetSynonymsOk - -`func (o *Person) GetSynonymsOk() (*[]string, bool)` - -GetSynonymsOk returns a tuple with the Synonyms field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSynonyms - -`func (o *Person) SetSynonyms(v []string)` - -SetSynonyms sets Synonyms field to given value. - -### HasSynonyms - -`func (o *Person) HasSynonyms() bool` - -HasSynonyms returns a boolean if a field has been set. - -### GetLocation - -`func (o *Person) GetLocation() string` - -GetLocation returns the Location field if non-nil, zero value otherwise. - -### GetLocationOk - -`func (o *Person) GetLocationOk() (*string, bool)` - -GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLocation - -`func (o *Person) SetLocation(v string)` - -SetLocation sets Location field to given value. - -### HasLocation - -`func (o *Person) HasLocation() bool` - -HasLocation returns a boolean if a field has been set. - -### GetGeolocation - -`func (o *Person) GetGeolocation() Geolocation` - -GetGeolocation returns the Geolocation field if non-nil, zero value otherwise. - -### GetGeolocationOk - -`func (o *Person) GetGeolocationOk() (*Geolocation, bool)` - -GetGeolocationOk returns a tuple with the Geolocation field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetGeolocation - -`func (o *Person) SetGeolocation(v Geolocation)` - -SetGeolocation sets Geolocation field to given value. - -### HasGeolocation - -`func (o *Person) HasGeolocation() bool` - -HasGeolocation returns a boolean if a field has been set. - -### GetDescription - -`func (o *Person) GetDescription() string` - -GetDescription returns the Description field if non-nil, zero value otherwise. - -### GetDescriptionOk - -`func (o *Person) GetDescriptionOk() (*string, bool)` - -GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDescription - -`func (o *Person) SetDescription(v string)` - -SetDescription sets Description field to given value. - -### HasDescription - -`func (o *Person) HasDescription() bool` - -HasDescription returns a boolean if a field has been set. - ### GetEmployeeId `func (o *Person) GetEmployeeId() string` @@ -529,6 +367,126 @@ SetInactive sets Inactive field to given value. HasInactive returns a boolean if a field has been set. +### GetSuggestion + +`func (o *Person) GetSuggestion() bool` + +GetSuggestion returns the Suggestion field if non-nil, zero value otherwise. + +### GetSuggestionOk + +`func (o *Person) GetSuggestionOk() (*bool, bool)` + +GetSuggestionOk returns a tuple with the Suggestion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSuggestion + +`func (o *Person) SetSuggestion(v bool)` + +SetSuggestion sets Suggestion field to given value. + + +### GetSynonyms + +`func (o *Person) GetSynonyms() []string` + +GetSynonyms returns the Synonyms field if non-nil, zero value otherwise. + +### GetSynonymsOk + +`func (o *Person) GetSynonymsOk() (*[]string, bool)` + +GetSynonymsOk returns a tuple with the Synonyms field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSynonyms + +`func (o *Person) SetSynonyms(v []string)` + +SetSynonyms sets Synonyms field to given value. + +### HasSynonyms + +`func (o *Person) HasSynonyms() bool` + +HasSynonyms returns a boolean if a field has been set. + +### GetLocation + +`func (o *Person) GetLocation() string` + +GetLocation returns the Location field if non-nil, zero value otherwise. + +### GetLocationOk + +`func (o *Person) GetLocationOk() (*string, bool)` + +GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocation + +`func (o *Person) SetLocation(v string)` + +SetLocation sets Location field to given value. + +### HasLocation + +`func (o *Person) HasLocation() bool` + +HasLocation returns a boolean if a field has been set. + +### GetGeolocation + +`func (o *Person) GetGeolocation() Geolocation` + +GetGeolocation returns the Geolocation field if non-nil, zero value otherwise. + +### GetGeolocationOk + +`func (o *Person) GetGeolocationOk() (*Geolocation, bool)` + +GetGeolocationOk returns a tuple with the Geolocation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGeolocation + +`func (o *Person) SetGeolocation(v Geolocation)` + +SetGeolocation sets Geolocation field to given value. + +### HasGeolocation + +`func (o *Person) HasGeolocation() bool` + +HasGeolocation returns a boolean if a field has been set. + +### GetDescription + +`func (o *Person) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *Person) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *Person) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *Person) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PersonAllOf.md b/docs/PersonAllOf.md deleted file mode 100644 index d8058dab..00000000 --- a/docs/PersonAllOf.md +++ /dev/null @@ -1,368 +0,0 @@ -# PersonAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**EmployeeId** | Pointer to **string** | | [optional] -**JobTitle** | Pointer to **string** | | [optional] -**Company** | Pointer to **string** | | [optional] -**Department** | Pointer to **string** | | [optional] -**Education** | Pointer to **string** | | [optional] -**Mail** | Pointer to **string** | | [optional] -**MobilePhone** | Pointer to **string** | | [optional] -**Seniority** | Pointer to **string** | | [optional] -**SeniorityEnum** | Pointer to [**Seniority**](Seniority.md) | | [optional] -**ExperienceSinceYear** | Pointer to **int32** | | [optional] -**OnsiteRatio** | Pointer to **int32** | | [optional] -**Picture** | Pointer to **string** | base64 encoded image | [optional] -**Inactive** | Pointer to **bool** | Marks persons not working for the company anymore | [optional] [default to false] - -## Methods - -### NewPersonAllOf - -`func NewPersonAllOf() *PersonAllOf` - -NewPersonAllOf instantiates a new PersonAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPersonAllOfWithDefaults - -`func NewPersonAllOfWithDefaults() *PersonAllOf` - -NewPersonAllOfWithDefaults instantiates a new PersonAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetEmployeeId - -`func (o *PersonAllOf) GetEmployeeId() string` - -GetEmployeeId returns the EmployeeId field if non-nil, zero value otherwise. - -### GetEmployeeIdOk - -`func (o *PersonAllOf) GetEmployeeIdOk() (*string, bool)` - -GetEmployeeIdOk returns a tuple with the EmployeeId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEmployeeId - -`func (o *PersonAllOf) SetEmployeeId(v string)` - -SetEmployeeId sets EmployeeId field to given value. - -### HasEmployeeId - -`func (o *PersonAllOf) HasEmployeeId() bool` - -HasEmployeeId returns a boolean if a field has been set. - -### GetJobTitle - -`func (o *PersonAllOf) GetJobTitle() string` - -GetJobTitle returns the JobTitle field if non-nil, zero value otherwise. - -### GetJobTitleOk - -`func (o *PersonAllOf) GetJobTitleOk() (*string, bool)` - -GetJobTitleOk returns a tuple with the JobTitle field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetJobTitle - -`func (o *PersonAllOf) SetJobTitle(v string)` - -SetJobTitle sets JobTitle field to given value. - -### HasJobTitle - -`func (o *PersonAllOf) HasJobTitle() bool` - -HasJobTitle returns a boolean if a field has been set. - -### GetCompany - -`func (o *PersonAllOf) GetCompany() string` - -GetCompany returns the Company field if non-nil, zero value otherwise. - -### GetCompanyOk - -`func (o *PersonAllOf) GetCompanyOk() (*string, bool)` - -GetCompanyOk returns a tuple with the Company field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCompany - -`func (o *PersonAllOf) SetCompany(v string)` - -SetCompany sets Company field to given value. - -### HasCompany - -`func (o *PersonAllOf) HasCompany() bool` - -HasCompany returns a boolean if a field has been set. - -### GetDepartment - -`func (o *PersonAllOf) GetDepartment() string` - -GetDepartment returns the Department field if non-nil, zero value otherwise. - -### GetDepartmentOk - -`func (o *PersonAllOf) GetDepartmentOk() (*string, bool)` - -GetDepartmentOk returns a tuple with the Department field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDepartment - -`func (o *PersonAllOf) SetDepartment(v string)` - -SetDepartment sets Department field to given value. - -### HasDepartment - -`func (o *PersonAllOf) HasDepartment() bool` - -HasDepartment returns a boolean if a field has been set. - -### GetEducation - -`func (o *PersonAllOf) GetEducation() string` - -GetEducation returns the Education field if non-nil, zero value otherwise. - -### GetEducationOk - -`func (o *PersonAllOf) GetEducationOk() (*string, bool)` - -GetEducationOk returns a tuple with the Education field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEducation - -`func (o *PersonAllOf) SetEducation(v string)` - -SetEducation sets Education field to given value. - -### HasEducation - -`func (o *PersonAllOf) HasEducation() bool` - -HasEducation returns a boolean if a field has been set. - -### GetMail - -`func (o *PersonAllOf) GetMail() string` - -GetMail returns the Mail field if non-nil, zero value otherwise. - -### GetMailOk - -`func (o *PersonAllOf) GetMailOk() (*string, bool)` - -GetMailOk returns a tuple with the Mail field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMail - -`func (o *PersonAllOf) SetMail(v string)` - -SetMail sets Mail field to given value. - -### HasMail - -`func (o *PersonAllOf) HasMail() bool` - -HasMail returns a boolean if a field has been set. - -### GetMobilePhone - -`func (o *PersonAllOf) GetMobilePhone() string` - -GetMobilePhone returns the MobilePhone field if non-nil, zero value otherwise. - -### GetMobilePhoneOk - -`func (o *PersonAllOf) GetMobilePhoneOk() (*string, bool)` - -GetMobilePhoneOk returns a tuple with the MobilePhone field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetMobilePhone - -`func (o *PersonAllOf) SetMobilePhone(v string)` - -SetMobilePhone sets MobilePhone field to given value. - -### HasMobilePhone - -`func (o *PersonAllOf) HasMobilePhone() bool` - -HasMobilePhone returns a boolean if a field has been set. - -### GetSeniority - -`func (o *PersonAllOf) GetSeniority() string` - -GetSeniority returns the Seniority field if non-nil, zero value otherwise. - -### GetSeniorityOk - -`func (o *PersonAllOf) GetSeniorityOk() (*string, bool)` - -GetSeniorityOk returns a tuple with the Seniority field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSeniority - -`func (o *PersonAllOf) SetSeniority(v string)` - -SetSeniority sets Seniority field to given value. - -### HasSeniority - -`func (o *PersonAllOf) HasSeniority() bool` - -HasSeniority returns a boolean if a field has been set. - -### GetSeniorityEnum - -`func (o *PersonAllOf) GetSeniorityEnum() Seniority` - -GetSeniorityEnum returns the SeniorityEnum field if non-nil, zero value otherwise. - -### GetSeniorityEnumOk - -`func (o *PersonAllOf) GetSeniorityEnumOk() (*Seniority, bool)` - -GetSeniorityEnumOk returns a tuple with the SeniorityEnum field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSeniorityEnum - -`func (o *PersonAllOf) SetSeniorityEnum(v Seniority)` - -SetSeniorityEnum sets SeniorityEnum field to given value. - -### HasSeniorityEnum - -`func (o *PersonAllOf) HasSeniorityEnum() bool` - -HasSeniorityEnum returns a boolean if a field has been set. - -### GetExperienceSinceYear - -`func (o *PersonAllOf) GetExperienceSinceYear() int32` - -GetExperienceSinceYear returns the ExperienceSinceYear field if non-nil, zero value otherwise. - -### GetExperienceSinceYearOk - -`func (o *PersonAllOf) GetExperienceSinceYearOk() (*int32, bool)` - -GetExperienceSinceYearOk returns a tuple with the ExperienceSinceYear field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExperienceSinceYear - -`func (o *PersonAllOf) SetExperienceSinceYear(v int32)` - -SetExperienceSinceYear sets ExperienceSinceYear field to given value. - -### HasExperienceSinceYear - -`func (o *PersonAllOf) HasExperienceSinceYear() bool` - -HasExperienceSinceYear returns a boolean if a field has been set. - -### GetOnsiteRatio - -`func (o *PersonAllOf) GetOnsiteRatio() int32` - -GetOnsiteRatio returns the OnsiteRatio field if non-nil, zero value otherwise. - -### GetOnsiteRatioOk - -`func (o *PersonAllOf) GetOnsiteRatioOk() (*int32, bool)` - -GetOnsiteRatioOk returns a tuple with the OnsiteRatio field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetOnsiteRatio - -`func (o *PersonAllOf) SetOnsiteRatio(v int32)` - -SetOnsiteRatio sets OnsiteRatio field to given value. - -### HasOnsiteRatio - -`func (o *PersonAllOf) HasOnsiteRatio() bool` - -HasOnsiteRatio returns a boolean if a field has been set. - -### GetPicture - -`func (o *PersonAllOf) GetPicture() string` - -GetPicture returns the Picture field if non-nil, zero value otherwise. - -### GetPictureOk - -`func (o *PersonAllOf) GetPictureOk() (*string, bool)` - -GetPictureOk returns a tuple with the Picture field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetPicture - -`func (o *PersonAllOf) SetPicture(v string)` - -SetPicture sets Picture field to given value. - -### HasPicture - -`func (o *PersonAllOf) HasPicture() bool` - -HasPicture returns a boolean if a field has been set. - -### GetInactive - -`func (o *PersonAllOf) GetInactive() bool` - -GetInactive returns the Inactive field if non-nil, zero value otherwise. - -### GetInactiveOk - -`func (o *PersonAllOf) GetInactiveOk() (*bool, bool)` - -GetInactiveOk returns a tuple with the Inactive field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInactive - -`func (o *PersonAllOf) SetInactive(v bool)` - -SetInactive sets Inactive field to given value. - -### HasInactive - -`func (o *PersonAllOf) HasInactive() bool` - -HasInactive returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PersonApi.md b/docs/PersonApi.md index 7bca37b1..ffc0d63d 100644 --- a/docs/PersonApi.md +++ b/docs/PersonApi.md @@ -721,7 +721,7 @@ import ( func main() { personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - availability := *openapiclient.NewAvailability("Id_example", "This is the name", time.Now(), time.Now(), float32(38.5), float32(22.5)) // Availability | The availability + availability := *openapiclient.NewAvailability(float32(38.5), float32(22.5), time.Now(), time.Now(), "Id_example") // Availability | The availability configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -790,7 +790,7 @@ import ( ) func main() { - person := *openapiclient.NewPerson("Id_example", "This is the name", false) // Person | + person := *openapiclient.NewPerson(false, "Id_example") // Person | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1986,7 +1986,7 @@ import ( func main() { personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | availabilityId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - availability := *openapiclient.NewAvailability("Id_example", "This is the name", time.Now(), time.Now(), float32(38.5), float32(22.5)) // Availability | The availability + availability := *openapiclient.NewAvailability(float32(38.5), float32(22.5), time.Now(), time.Now(), "Id_example") // Availability | The availability configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -2058,7 +2058,7 @@ import ( func main() { personId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - person := *openapiclient.NewPerson("Id_example", "This is the name", false) // Person | + person := *openapiclient.NewPerson(false, "Id_example") // Person | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/PersonCertificationFilter.md b/docs/PersonCertificationFilter.md index 05ad1b05..55789fd4 100644 --- a/docs/PersonCertificationFilter.md +++ b/docs/PersonCertificationFilter.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | **StartedCertificaiton** | Pointer to **bool** | Include employees who started the certification | [optional] +**Id** | **string** | | ## Methods @@ -26,26 +26,6 @@ NewPersonCertificationFilterWithDefaults instantiates a new PersonCertificationF This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *PersonCertificationFilter) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *PersonCertificationFilter) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *PersonCertificationFilter) SetId(v string)` - -SetId sets Id field to given value. - - ### GetStartedCertificaiton `func (o *PersonCertificationFilter) GetStartedCertificaiton() bool` @@ -71,6 +51,26 @@ SetStartedCertificaiton sets StartedCertificaiton field to given value. HasStartedCertificaiton returns a boolean if a field has been set. +### GetId + +`func (o *PersonCertificationFilter) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PersonCertificationFilter) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *PersonCertificationFilter) SetId(v string)` + +SetId sets Id field to given value. + + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PersonCertificationFilterAllOf.md b/docs/PersonCertificationFilterAllOf.md deleted file mode 100644 index 5698ecff..00000000 --- a/docs/PersonCertificationFilterAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# PersonCertificationFilterAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**StartedCertificaiton** | Pointer to **bool** | Include employees who started the certification | [optional] - -## Methods - -### NewPersonCertificationFilterAllOf - -`func NewPersonCertificationFilterAllOf() *PersonCertificationFilterAllOf` - -NewPersonCertificationFilterAllOf instantiates a new PersonCertificationFilterAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPersonCertificationFilterAllOfWithDefaults - -`func NewPersonCertificationFilterAllOfWithDefaults() *PersonCertificationFilterAllOf` - -NewPersonCertificationFilterAllOfWithDefaults instantiates a new PersonCertificationFilterAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStartedCertificaiton - -`func (o *PersonCertificationFilterAllOf) GetStartedCertificaiton() bool` - -GetStartedCertificaiton returns the StartedCertificaiton field if non-nil, zero value otherwise. - -### GetStartedCertificaitonOk - -`func (o *PersonCertificationFilterAllOf) GetStartedCertificaitonOk() (*bool, bool)` - -GetStartedCertificaitonOk returns a tuple with the StartedCertificaiton field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStartedCertificaiton - -`func (o *PersonCertificationFilterAllOf) SetStartedCertificaiton(v bool)` - -SetStartedCertificaiton sets StartedCertificaiton field to given value. - -### HasStartedCertificaiton - -`func (o *PersonCertificationFilterAllOf) HasStartedCertificaiton() bool` - -HasStartedCertificaiton returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PersonIndustryFilter.md b/docs/PersonIndustryFilter.md index b891ed99..d271af33 100644 --- a/docs/PersonIndustryFilter.md +++ b/docs/PersonIndustryFilter.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | **ActiveProjects** | Pointer to **bool** | | [optional] **AmountOfProjects** | Pointer to [**MinMax**](MinMax.md) | | [optional] **ExperienceInMonth** | Pointer to [**MinMax**](MinMax.md) | | [optional] +**Id** | **string** | | ## Methods @@ -28,26 +28,6 @@ NewPersonIndustryFilterWithDefaults instantiates a new PersonIndustryFilter obje This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *PersonIndustryFilter) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *PersonIndustryFilter) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *PersonIndustryFilter) SetId(v string)` - -SetId sets Id field to given value. - - ### GetActiveProjects `func (o *PersonIndustryFilter) GetActiveProjects() bool` @@ -123,6 +103,26 @@ SetExperienceInMonth sets ExperienceInMonth field to given value. HasExperienceInMonth returns a boolean if a field has been set. +### GetId + +`func (o *PersonIndustryFilter) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PersonIndustryFilter) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *PersonIndustryFilter) SetId(v string)` + +SetId sets Id field to given value. + + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PersonIndustryFilterAllOf.md b/docs/PersonIndustryFilterAllOf.md deleted file mode 100644 index 2e828d1b..00000000 --- a/docs/PersonIndustryFilterAllOf.md +++ /dev/null @@ -1,108 +0,0 @@ -# PersonIndustryFilterAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ActiveProjects** | Pointer to **bool** | | [optional] -**AmountOfProjects** | Pointer to [**MinMax**](MinMax.md) | | [optional] -**ExperienceInMonth** | Pointer to [**MinMax**](MinMax.md) | | [optional] - -## Methods - -### NewPersonIndustryFilterAllOf - -`func NewPersonIndustryFilterAllOf() *PersonIndustryFilterAllOf` - -NewPersonIndustryFilterAllOf instantiates a new PersonIndustryFilterAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPersonIndustryFilterAllOfWithDefaults - -`func NewPersonIndustryFilterAllOfWithDefaults() *PersonIndustryFilterAllOf` - -NewPersonIndustryFilterAllOfWithDefaults instantiates a new PersonIndustryFilterAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetActiveProjects - -`func (o *PersonIndustryFilterAllOf) GetActiveProjects() bool` - -GetActiveProjects returns the ActiveProjects field if non-nil, zero value otherwise. - -### GetActiveProjectsOk - -`func (o *PersonIndustryFilterAllOf) GetActiveProjectsOk() (*bool, bool)` - -GetActiveProjectsOk returns a tuple with the ActiveProjects field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetActiveProjects - -`func (o *PersonIndustryFilterAllOf) SetActiveProjects(v bool)` - -SetActiveProjects sets ActiveProjects field to given value. - -### HasActiveProjects - -`func (o *PersonIndustryFilterAllOf) HasActiveProjects() bool` - -HasActiveProjects returns a boolean if a field has been set. - -### GetAmountOfProjects - -`func (o *PersonIndustryFilterAllOf) GetAmountOfProjects() MinMax` - -GetAmountOfProjects returns the AmountOfProjects field if non-nil, zero value otherwise. - -### GetAmountOfProjectsOk - -`func (o *PersonIndustryFilterAllOf) GetAmountOfProjectsOk() (*MinMax, bool)` - -GetAmountOfProjectsOk returns a tuple with the AmountOfProjects field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAmountOfProjects - -`func (o *PersonIndustryFilterAllOf) SetAmountOfProjects(v MinMax)` - -SetAmountOfProjects sets AmountOfProjects field to given value. - -### HasAmountOfProjects - -`func (o *PersonIndustryFilterAllOf) HasAmountOfProjects() bool` - -HasAmountOfProjects returns a boolean if a field has been set. - -### GetExperienceInMonth - -`func (o *PersonIndustryFilterAllOf) GetExperienceInMonth() MinMax` - -GetExperienceInMonth returns the ExperienceInMonth field if non-nil, zero value otherwise. - -### GetExperienceInMonthOk - -`func (o *PersonIndustryFilterAllOf) GetExperienceInMonthOk() (*MinMax, bool)` - -GetExperienceInMonthOk returns a tuple with the ExperienceInMonth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExperienceInMonth - -`func (o *PersonIndustryFilterAllOf) SetExperienceInMonth(v MinMax)` - -SetExperienceInMonth sets ExperienceInMonth field to given value. - -### HasExperienceInMonth - -`func (o *PersonIndustryFilterAllOf) HasExperienceInMonth() bool` - -HasExperienceInMonth returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PersonOrganizationFilter.md b/docs/PersonOrganizationFilter.md index bf66092a..9cd2a6e4 100644 --- a/docs/PersonOrganizationFilter.md +++ b/docs/PersonOrganizationFilter.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | **AmountOfProjects** | Pointer to [**MinMax**](MinMax.md) | | [optional] +**Id** | **string** | | ## Methods @@ -26,26 +26,6 @@ NewPersonOrganizationFilterWithDefaults instantiates a new PersonOrganizationFil This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *PersonOrganizationFilter) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *PersonOrganizationFilter) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *PersonOrganizationFilter) SetId(v string)` - -SetId sets Id field to given value. - - ### GetAmountOfProjects `func (o *PersonOrganizationFilter) GetAmountOfProjects() MinMax` @@ -71,6 +51,26 @@ SetAmountOfProjects sets AmountOfProjects field to given value. HasAmountOfProjects returns a boolean if a field has been set. +### GetId + +`func (o *PersonOrganizationFilter) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PersonOrganizationFilter) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *PersonOrganizationFilter) SetId(v string)` + +SetId sets Id field to given value. + + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PersonOrganizationFilterAllOf.md b/docs/PersonOrganizationFilterAllOf.md deleted file mode 100644 index f9cf624d..00000000 --- a/docs/PersonOrganizationFilterAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# PersonOrganizationFilterAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**AmountOfProjects** | Pointer to [**MinMax**](MinMax.md) | | [optional] - -## Methods - -### NewPersonOrganizationFilterAllOf - -`func NewPersonOrganizationFilterAllOf() *PersonOrganizationFilterAllOf` - -NewPersonOrganizationFilterAllOf instantiates a new PersonOrganizationFilterAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPersonOrganizationFilterAllOfWithDefaults - -`func NewPersonOrganizationFilterAllOfWithDefaults() *PersonOrganizationFilterAllOf` - -NewPersonOrganizationFilterAllOfWithDefaults instantiates a new PersonOrganizationFilterAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetAmountOfProjects - -`func (o *PersonOrganizationFilterAllOf) GetAmountOfProjects() MinMax` - -GetAmountOfProjects returns the AmountOfProjects field if non-nil, zero value otherwise. - -### GetAmountOfProjectsOk - -`func (o *PersonOrganizationFilterAllOf) GetAmountOfProjectsOk() (*MinMax, bool)` - -GetAmountOfProjectsOk returns a tuple with the AmountOfProjects field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAmountOfProjects - -`func (o *PersonOrganizationFilterAllOf) SetAmountOfProjects(v MinMax)` - -SetAmountOfProjects sets AmountOfProjects field to given value. - -### HasAmountOfProjects - -`func (o *PersonOrganizationFilterAllOf) HasAmountOfProjects() bool` - -HasAmountOfProjects returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PersonProjectFilter.md b/docs/PersonProjectFilter.md index ef706ea4..79e16417 100644 --- a/docs/PersonProjectFilter.md +++ b/docs/PersonProjectFilter.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | **ParticipationInMonth** | Pointer to [**MinMax**](MinMax.md) | | [optional] **InvolevedOfficeIds** | Pointer to **[]string** | | [optional] +**Id** | **string** | | ## Methods @@ -27,26 +27,6 @@ NewPersonProjectFilterWithDefaults instantiates a new PersonProjectFilter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *PersonProjectFilter) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *PersonProjectFilter) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *PersonProjectFilter) SetId(v string)` - -SetId sets Id field to given value. - - ### GetParticipationInMonth `func (o *PersonProjectFilter) GetParticipationInMonth() MinMax` @@ -97,6 +77,26 @@ SetInvolevedOfficeIds sets InvolevedOfficeIds field to given value. HasInvolevedOfficeIds returns a boolean if a field has been set. +### GetId + +`func (o *PersonProjectFilter) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PersonProjectFilter) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *PersonProjectFilter) SetId(v string)` + +SetId sets Id field to given value. + + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PersonProjectFilterAllOf.md b/docs/PersonProjectFilterAllOf.md deleted file mode 100644 index 9f47261b..00000000 --- a/docs/PersonProjectFilterAllOf.md +++ /dev/null @@ -1,82 +0,0 @@ -# PersonProjectFilterAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ParticipationInMonth** | Pointer to [**MinMax**](MinMax.md) | | [optional] -**InvolevedOfficeIds** | Pointer to **[]string** | | [optional] - -## Methods - -### NewPersonProjectFilterAllOf - -`func NewPersonProjectFilterAllOf() *PersonProjectFilterAllOf` - -NewPersonProjectFilterAllOf instantiates a new PersonProjectFilterAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPersonProjectFilterAllOfWithDefaults - -`func NewPersonProjectFilterAllOfWithDefaults() *PersonProjectFilterAllOf` - -NewPersonProjectFilterAllOfWithDefaults instantiates a new PersonProjectFilterAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetParticipationInMonth - -`func (o *PersonProjectFilterAllOf) GetParticipationInMonth() MinMax` - -GetParticipationInMonth returns the ParticipationInMonth field if non-nil, zero value otherwise. - -### GetParticipationInMonthOk - -`func (o *PersonProjectFilterAllOf) GetParticipationInMonthOk() (*MinMax, bool)` - -GetParticipationInMonthOk returns a tuple with the ParticipationInMonth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetParticipationInMonth - -`func (o *PersonProjectFilterAllOf) SetParticipationInMonth(v MinMax)` - -SetParticipationInMonth sets ParticipationInMonth field to given value. - -### HasParticipationInMonth - -`func (o *PersonProjectFilterAllOf) HasParticipationInMonth() bool` - -HasParticipationInMonth returns a boolean if a field has been set. - -### GetInvolevedOfficeIds - -`func (o *PersonProjectFilterAllOf) GetInvolevedOfficeIds() []string` - -GetInvolevedOfficeIds returns the InvolevedOfficeIds field if non-nil, zero value otherwise. - -### GetInvolevedOfficeIdsOk - -`func (o *PersonProjectFilterAllOf) GetInvolevedOfficeIdsOk() (*[]string, bool)` - -GetInvolevedOfficeIdsOk returns a tuple with the InvolevedOfficeIds field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInvolevedOfficeIds - -`func (o *PersonProjectFilterAllOf) SetInvolevedOfficeIds(v []string)` - -SetInvolevedOfficeIds sets InvolevedOfficeIds field to given value. - -### HasInvolevedOfficeIds - -`func (o *PersonProjectFilterAllOf) HasInvolevedOfficeIds() bool` - -HasInvolevedOfficeIds returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PersonScoreDetail.md b/docs/PersonScoreDetail.md index 54b0dbd7..8e7557a5 100644 --- a/docs/PersonScoreDetail.md +++ b/docs/PersonScoreDetail.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Score** | Pointer to **float32** | | [optional] **Person** | Pointer to [**Person**](Person.md) | | [optional] **Projects** | Pointer to [**[]ProjectParticipation**](ProjectParticipation.md) | | [optional] **Industries** | Pointer to [**[]Industry**](Industry.md) | | [optional] @@ -14,7 +15,6 @@ Name | Type | Description | Notes **Office** | Pointer to [**Office**](Office.md) | | [optional] **Availabilities** | Pointer to [**[]AvailabilityDetail**](AvailabilityDetail.md) | | [optional] **SkillGroups** | Pointer to [**[]SkillGroup**](SkillGroup.md) | | [optional] -**Score** | Pointer to **float32** | | [optional] ## Methods @@ -35,6 +35,31 @@ NewPersonScoreDetailWithDefaults instantiates a new PersonScoreDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetScore + +`func (o *PersonScoreDetail) GetScore() float32` + +GetScore returns the Score field if non-nil, zero value otherwise. + +### GetScoreOk + +`func (o *PersonScoreDetail) GetScoreOk() (*float32, bool)` + +GetScoreOk returns a tuple with the Score field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScore + +`func (o *PersonScoreDetail) SetScore(v float32)` + +SetScore sets Score field to given value. + +### HasScore + +`func (o *PersonScoreDetail) HasScore() bool` + +HasScore returns a boolean if a field has been set. + ### GetPerson `func (o *PersonScoreDetail) GetPerson() Person` @@ -285,31 +310,6 @@ SetSkillGroups sets SkillGroups field to given value. HasSkillGroups returns a boolean if a field has been set. -### GetScore - -`func (o *PersonScoreDetail) GetScore() float32` - -GetScore returns the Score field if non-nil, zero value otherwise. - -### GetScoreOk - -`func (o *PersonScoreDetail) GetScoreOk() (*float32, bool)` - -GetScoreOk returns a tuple with the Score field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScore - -`func (o *PersonScoreDetail) SetScore(v float32)` - -SetScore sets Score field to given value. - -### HasScore - -`func (o *PersonScoreDetail) HasScore() bool` - -HasScore returns a boolean if a field has been set. - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PersonSearch.md b/docs/PersonSearch.md index 9fa0828d..364c68d8 100644 --- a/docs/PersonSearch.md +++ b/docs/PersonSearch.md @@ -9,11 +9,11 @@ Name | Type | Description | Notes **Availability** | Pointer to [**AvailabilityFilter**](AvailabilityFilter.md) | | [optional] **OnsiteRatio** | Pointer to [**MinMaxPercent**](MinMaxPercent.md) | | [optional] **Seniority** | Pointer to [**[]Seniority**](Seniority.md) | | [optional] -**Skills** | Pointer to [**[]PersonSearchSkillsInner**](PersonSearchSkillsInner.md) | | [optional] -**Projects** | Pointer to [**[]PersonSearchProjectsInner**](PersonSearchProjectsInner.md) | | [optional] -**Organizations** | Pointer to [**[]PersonSearchOrganizationsInner**](PersonSearchOrganizationsInner.md) | | [optional] -**Industries** | Pointer to [**[]PersonSearchIndustriesInner**](PersonSearchIndustriesInner.md) | | [optional] -**Certifications** | Pointer to [**[]PersonSearchCertificationsInner**](PersonSearchCertificationsInner.md) | | [optional] +**Skills** | Pointer to [**[]PersonSkillFilter**](PersonSkillFilter.md) | | [optional] +**Projects** | Pointer to [**[]PersonProjectFilter**](PersonProjectFilter.md) | | [optional] +**Organizations** | Pointer to [**[]PersonOrganizationFilter**](PersonOrganizationFilter.md) | | [optional] +**Industries** | Pointer to [**[]PersonIndustryFilter**](PersonIndustryFilter.md) | | [optional] +**Certifications** | Pointer to [**[]PersonCertificationFilter**](PersonCertificationFilter.md) | | [optional] ## Methods @@ -161,20 +161,20 @@ HasSeniority returns a boolean if a field has been set. ### GetSkills -`func (o *PersonSearch) GetSkills() []PersonSearchSkillsInner` +`func (o *PersonSearch) GetSkills() []PersonSkillFilter` GetSkills returns the Skills field if non-nil, zero value otherwise. ### GetSkillsOk -`func (o *PersonSearch) GetSkillsOk() (*[]PersonSearchSkillsInner, bool)` +`func (o *PersonSearch) GetSkillsOk() (*[]PersonSkillFilter, bool)` GetSkillsOk returns a tuple with the Skills field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSkills -`func (o *PersonSearch) SetSkills(v []PersonSearchSkillsInner)` +`func (o *PersonSearch) SetSkills(v []PersonSkillFilter)` SetSkills sets Skills field to given value. @@ -186,20 +186,20 @@ HasSkills returns a boolean if a field has been set. ### GetProjects -`func (o *PersonSearch) GetProjects() []PersonSearchProjectsInner` +`func (o *PersonSearch) GetProjects() []PersonProjectFilter` GetProjects returns the Projects field if non-nil, zero value otherwise. ### GetProjectsOk -`func (o *PersonSearch) GetProjectsOk() (*[]PersonSearchProjectsInner, bool)` +`func (o *PersonSearch) GetProjectsOk() (*[]PersonProjectFilter, bool)` GetProjectsOk returns a tuple with the Projects field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetProjects -`func (o *PersonSearch) SetProjects(v []PersonSearchProjectsInner)` +`func (o *PersonSearch) SetProjects(v []PersonProjectFilter)` SetProjects sets Projects field to given value. @@ -211,20 +211,20 @@ HasProjects returns a boolean if a field has been set. ### GetOrganizations -`func (o *PersonSearch) GetOrganizations() []PersonSearchOrganizationsInner` +`func (o *PersonSearch) GetOrganizations() []PersonOrganizationFilter` GetOrganizations returns the Organizations field if non-nil, zero value otherwise. ### GetOrganizationsOk -`func (o *PersonSearch) GetOrganizationsOk() (*[]PersonSearchOrganizationsInner, bool)` +`func (o *PersonSearch) GetOrganizationsOk() (*[]PersonOrganizationFilter, bool)` GetOrganizationsOk returns a tuple with the Organizations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOrganizations -`func (o *PersonSearch) SetOrganizations(v []PersonSearchOrganizationsInner)` +`func (o *PersonSearch) SetOrganizations(v []PersonOrganizationFilter)` SetOrganizations sets Organizations field to given value. @@ -236,20 +236,20 @@ HasOrganizations returns a boolean if a field has been set. ### GetIndustries -`func (o *PersonSearch) GetIndustries() []PersonSearchIndustriesInner` +`func (o *PersonSearch) GetIndustries() []PersonIndustryFilter` GetIndustries returns the Industries field if non-nil, zero value otherwise. ### GetIndustriesOk -`func (o *PersonSearch) GetIndustriesOk() (*[]PersonSearchIndustriesInner, bool)` +`func (o *PersonSearch) GetIndustriesOk() (*[]PersonIndustryFilter, bool)` GetIndustriesOk returns a tuple with the Industries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndustries -`func (o *PersonSearch) SetIndustries(v []PersonSearchIndustriesInner)` +`func (o *PersonSearch) SetIndustries(v []PersonIndustryFilter)` SetIndustries sets Industries field to given value. @@ -261,20 +261,20 @@ HasIndustries returns a boolean if a field has been set. ### GetCertifications -`func (o *PersonSearch) GetCertifications() []PersonSearchCertificationsInner` +`func (o *PersonSearch) GetCertifications() []PersonCertificationFilter` GetCertifications returns the Certifications field if non-nil, zero value otherwise. ### GetCertificationsOk -`func (o *PersonSearch) GetCertificationsOk() (*[]PersonSearchCertificationsInner, bool)` +`func (o *PersonSearch) GetCertificationsOk() (*[]PersonCertificationFilter, bool)` GetCertificationsOk returns a tuple with the Certifications field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetCertifications -`func (o *PersonSearch) SetCertifications(v []PersonSearchCertificationsInner)` +`func (o *PersonSearch) SetCertifications(v []PersonCertificationFilter)` SetCertifications sets Certifications field to given value. diff --git a/docs/PersonSearchCertificationsInner.md b/docs/PersonSearchCertificationsInner.md deleted file mode 100644 index e904e136..00000000 --- a/docs/PersonSearchCertificationsInner.md +++ /dev/null @@ -1,77 +0,0 @@ -# PersonSearchCertificationsInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | **string** | | -**StartedCertificaiton** | Pointer to **bool** | Include employees who started the certification | [optional] - -## Methods - -### NewPersonSearchCertificationsInner - -`func NewPersonSearchCertificationsInner(id string, ) *PersonSearchCertificationsInner` - -NewPersonSearchCertificationsInner instantiates a new PersonSearchCertificationsInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPersonSearchCertificationsInnerWithDefaults - -`func NewPersonSearchCertificationsInnerWithDefaults() *PersonSearchCertificationsInner` - -NewPersonSearchCertificationsInnerWithDefaults instantiates a new PersonSearchCertificationsInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *PersonSearchCertificationsInner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *PersonSearchCertificationsInner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *PersonSearchCertificationsInner) SetId(v string)` - -SetId sets Id field to given value. - - -### GetStartedCertificaiton - -`func (o *PersonSearchCertificationsInner) GetStartedCertificaiton() bool` - -GetStartedCertificaiton returns the StartedCertificaiton field if non-nil, zero value otherwise. - -### GetStartedCertificaitonOk - -`func (o *PersonSearchCertificationsInner) GetStartedCertificaitonOk() (*bool, bool)` - -GetStartedCertificaitonOk returns a tuple with the StartedCertificaiton field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStartedCertificaiton - -`func (o *PersonSearchCertificationsInner) SetStartedCertificaiton(v bool)` - -SetStartedCertificaiton sets StartedCertificaiton field to given value. - -### HasStartedCertificaiton - -`func (o *PersonSearchCertificationsInner) HasStartedCertificaiton() bool` - -HasStartedCertificaiton returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PersonSearchIndustriesInner.md b/docs/PersonSearchIndustriesInner.md deleted file mode 100644 index 3add6a19..00000000 --- a/docs/PersonSearchIndustriesInner.md +++ /dev/null @@ -1,129 +0,0 @@ -# PersonSearchIndustriesInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | **string** | | -**ActiveProjects** | Pointer to **bool** | | [optional] -**AmountOfProjects** | Pointer to [**MinMax**](MinMax.md) | | [optional] -**ExperienceInMonth** | Pointer to [**MinMax**](MinMax.md) | | [optional] - -## Methods - -### NewPersonSearchIndustriesInner - -`func NewPersonSearchIndustriesInner(id string, ) *PersonSearchIndustriesInner` - -NewPersonSearchIndustriesInner instantiates a new PersonSearchIndustriesInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPersonSearchIndustriesInnerWithDefaults - -`func NewPersonSearchIndustriesInnerWithDefaults() *PersonSearchIndustriesInner` - -NewPersonSearchIndustriesInnerWithDefaults instantiates a new PersonSearchIndustriesInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *PersonSearchIndustriesInner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *PersonSearchIndustriesInner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *PersonSearchIndustriesInner) SetId(v string)` - -SetId sets Id field to given value. - - -### GetActiveProjects - -`func (o *PersonSearchIndustriesInner) GetActiveProjects() bool` - -GetActiveProjects returns the ActiveProjects field if non-nil, zero value otherwise. - -### GetActiveProjectsOk - -`func (o *PersonSearchIndustriesInner) GetActiveProjectsOk() (*bool, bool)` - -GetActiveProjectsOk returns a tuple with the ActiveProjects field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetActiveProjects - -`func (o *PersonSearchIndustriesInner) SetActiveProjects(v bool)` - -SetActiveProjects sets ActiveProjects field to given value. - -### HasActiveProjects - -`func (o *PersonSearchIndustriesInner) HasActiveProjects() bool` - -HasActiveProjects returns a boolean if a field has been set. - -### GetAmountOfProjects - -`func (o *PersonSearchIndustriesInner) GetAmountOfProjects() MinMax` - -GetAmountOfProjects returns the AmountOfProjects field if non-nil, zero value otherwise. - -### GetAmountOfProjectsOk - -`func (o *PersonSearchIndustriesInner) GetAmountOfProjectsOk() (*MinMax, bool)` - -GetAmountOfProjectsOk returns a tuple with the AmountOfProjects field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAmountOfProjects - -`func (o *PersonSearchIndustriesInner) SetAmountOfProjects(v MinMax)` - -SetAmountOfProjects sets AmountOfProjects field to given value. - -### HasAmountOfProjects - -`func (o *PersonSearchIndustriesInner) HasAmountOfProjects() bool` - -HasAmountOfProjects returns a boolean if a field has been set. - -### GetExperienceInMonth - -`func (o *PersonSearchIndustriesInner) GetExperienceInMonth() MinMax` - -GetExperienceInMonth returns the ExperienceInMonth field if non-nil, zero value otherwise. - -### GetExperienceInMonthOk - -`func (o *PersonSearchIndustriesInner) GetExperienceInMonthOk() (*MinMax, bool)` - -GetExperienceInMonthOk returns a tuple with the ExperienceInMonth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExperienceInMonth - -`func (o *PersonSearchIndustriesInner) SetExperienceInMonth(v MinMax)` - -SetExperienceInMonth sets ExperienceInMonth field to given value. - -### HasExperienceInMonth - -`func (o *PersonSearchIndustriesInner) HasExperienceInMonth() bool` - -HasExperienceInMonth returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PersonSearchOrganizationsInner.md b/docs/PersonSearchOrganizationsInner.md deleted file mode 100644 index 1342f754..00000000 --- a/docs/PersonSearchOrganizationsInner.md +++ /dev/null @@ -1,77 +0,0 @@ -# PersonSearchOrganizationsInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | **string** | | -**AmountOfProjects** | Pointer to [**MinMax**](MinMax.md) | | [optional] - -## Methods - -### NewPersonSearchOrganizationsInner - -`func NewPersonSearchOrganizationsInner(id string, ) *PersonSearchOrganizationsInner` - -NewPersonSearchOrganizationsInner instantiates a new PersonSearchOrganizationsInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPersonSearchOrganizationsInnerWithDefaults - -`func NewPersonSearchOrganizationsInnerWithDefaults() *PersonSearchOrganizationsInner` - -NewPersonSearchOrganizationsInnerWithDefaults instantiates a new PersonSearchOrganizationsInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *PersonSearchOrganizationsInner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *PersonSearchOrganizationsInner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *PersonSearchOrganizationsInner) SetId(v string)` - -SetId sets Id field to given value. - - -### GetAmountOfProjects - -`func (o *PersonSearchOrganizationsInner) GetAmountOfProjects() MinMax` - -GetAmountOfProjects returns the AmountOfProjects field if non-nil, zero value otherwise. - -### GetAmountOfProjectsOk - -`func (o *PersonSearchOrganizationsInner) GetAmountOfProjectsOk() (*MinMax, bool)` - -GetAmountOfProjectsOk returns a tuple with the AmountOfProjects field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAmountOfProjects - -`func (o *PersonSearchOrganizationsInner) SetAmountOfProjects(v MinMax)` - -SetAmountOfProjects sets AmountOfProjects field to given value. - -### HasAmountOfProjects - -`func (o *PersonSearchOrganizationsInner) HasAmountOfProjects() bool` - -HasAmountOfProjects returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PersonSearchProjectsInner.md b/docs/PersonSearchProjectsInner.md deleted file mode 100644 index 411e9e73..00000000 --- a/docs/PersonSearchProjectsInner.md +++ /dev/null @@ -1,103 +0,0 @@ -# PersonSearchProjectsInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | **string** | | -**ParticipationInMonth** | Pointer to [**MinMax**](MinMax.md) | | [optional] -**InvolevedOfficeIds** | Pointer to **[]string** | | [optional] - -## Methods - -### NewPersonSearchProjectsInner - -`func NewPersonSearchProjectsInner(id string, ) *PersonSearchProjectsInner` - -NewPersonSearchProjectsInner instantiates a new PersonSearchProjectsInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPersonSearchProjectsInnerWithDefaults - -`func NewPersonSearchProjectsInnerWithDefaults() *PersonSearchProjectsInner` - -NewPersonSearchProjectsInnerWithDefaults instantiates a new PersonSearchProjectsInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *PersonSearchProjectsInner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *PersonSearchProjectsInner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *PersonSearchProjectsInner) SetId(v string)` - -SetId sets Id field to given value. - - -### GetParticipationInMonth - -`func (o *PersonSearchProjectsInner) GetParticipationInMonth() MinMax` - -GetParticipationInMonth returns the ParticipationInMonth field if non-nil, zero value otherwise. - -### GetParticipationInMonthOk - -`func (o *PersonSearchProjectsInner) GetParticipationInMonthOk() (*MinMax, bool)` - -GetParticipationInMonthOk returns a tuple with the ParticipationInMonth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetParticipationInMonth - -`func (o *PersonSearchProjectsInner) SetParticipationInMonth(v MinMax)` - -SetParticipationInMonth sets ParticipationInMonth field to given value. - -### HasParticipationInMonth - -`func (o *PersonSearchProjectsInner) HasParticipationInMonth() bool` - -HasParticipationInMonth returns a boolean if a field has been set. - -### GetInvolevedOfficeIds - -`func (o *PersonSearchProjectsInner) GetInvolevedOfficeIds() []string` - -GetInvolevedOfficeIds returns the InvolevedOfficeIds field if non-nil, zero value otherwise. - -### GetInvolevedOfficeIdsOk - -`func (o *PersonSearchProjectsInner) GetInvolevedOfficeIdsOk() (*[]string, bool)` - -GetInvolevedOfficeIdsOk returns a tuple with the InvolevedOfficeIds field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInvolevedOfficeIds - -`func (o *PersonSearchProjectsInner) SetInvolevedOfficeIds(v []string)` - -SetInvolevedOfficeIds sets InvolevedOfficeIds field to given value. - -### HasInvolevedOfficeIds - -`func (o *PersonSearchProjectsInner) HasInvolevedOfficeIds() bool` - -HasInvolevedOfficeIds returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PersonSearchSkillsInner.md b/docs/PersonSearchSkillsInner.md deleted file mode 100644 index d43ad4aa..00000000 --- a/docs/PersonSearchSkillsInner.md +++ /dev/null @@ -1,103 +0,0 @@ -# PersonSearchSkillsInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | **string** | | -**ExperienceInMonth** | Pointer to [**MinMax**](MinMax.md) | | [optional] -**LastAssignment** | Pointer to **string** | filters the last time the employee used the skill in a project | [optional] - -## Methods - -### NewPersonSearchSkillsInner - -`func NewPersonSearchSkillsInner(id string, ) *PersonSearchSkillsInner` - -NewPersonSearchSkillsInner instantiates a new PersonSearchSkillsInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPersonSearchSkillsInnerWithDefaults - -`func NewPersonSearchSkillsInnerWithDefaults() *PersonSearchSkillsInner` - -NewPersonSearchSkillsInnerWithDefaults instantiates a new PersonSearchSkillsInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *PersonSearchSkillsInner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *PersonSearchSkillsInner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *PersonSearchSkillsInner) SetId(v string)` - -SetId sets Id field to given value. - - -### GetExperienceInMonth - -`func (o *PersonSearchSkillsInner) GetExperienceInMonth() MinMax` - -GetExperienceInMonth returns the ExperienceInMonth field if non-nil, zero value otherwise. - -### GetExperienceInMonthOk - -`func (o *PersonSearchSkillsInner) GetExperienceInMonthOk() (*MinMax, bool)` - -GetExperienceInMonthOk returns a tuple with the ExperienceInMonth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExperienceInMonth - -`func (o *PersonSearchSkillsInner) SetExperienceInMonth(v MinMax)` - -SetExperienceInMonth sets ExperienceInMonth field to given value. - -### HasExperienceInMonth - -`func (o *PersonSearchSkillsInner) HasExperienceInMonth() bool` - -HasExperienceInMonth returns a boolean if a field has been set. - -### GetLastAssignment - -`func (o *PersonSearchSkillsInner) GetLastAssignment() string` - -GetLastAssignment returns the LastAssignment field if non-nil, zero value otherwise. - -### GetLastAssignmentOk - -`func (o *PersonSearchSkillsInner) GetLastAssignmentOk() (*string, bool)` - -GetLastAssignmentOk returns a tuple with the LastAssignment field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLastAssignment - -`func (o *PersonSearchSkillsInner) SetLastAssignment(v string)` - -SetLastAssignment sets LastAssignment field to given value. - -### HasLastAssignment - -`func (o *PersonSearchSkillsInner) HasLastAssignment() bool` - -HasLastAssignment returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PersonSkillFilter.md b/docs/PersonSkillFilter.md index 9c3e4347..389bae21 100644 --- a/docs/PersonSkillFilter.md +++ b/docs/PersonSkillFilter.md @@ -4,9 +4,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | **ExperienceInMonth** | Pointer to [**MinMax**](MinMax.md) | | [optional] **LastAssignment** | Pointer to **string** | filters the last time the employee used the skill in a project | [optional] +**Id** | **string** | | ## Methods @@ -27,26 +27,6 @@ NewPersonSkillFilterWithDefaults instantiates a new PersonSkillFilter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *PersonSkillFilter) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *PersonSkillFilter) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *PersonSkillFilter) SetId(v string)` - -SetId sets Id field to given value. - - ### GetExperienceInMonth `func (o *PersonSkillFilter) GetExperienceInMonth() MinMax` @@ -97,6 +77,26 @@ SetLastAssignment sets LastAssignment field to given value. HasLastAssignment returns a boolean if a field has been set. +### GetId + +`func (o *PersonSkillFilter) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *PersonSkillFilter) GetIdOk() (*string, bool)` + +GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetId + +`func (o *PersonSkillFilter) SetId(v string)` + +SetId sets Id field to given value. + + [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PersonSkillFilterAllOf.md b/docs/PersonSkillFilterAllOf.md deleted file mode 100644 index 603974ad..00000000 --- a/docs/PersonSkillFilterAllOf.md +++ /dev/null @@ -1,82 +0,0 @@ -# PersonSkillFilterAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ExperienceInMonth** | Pointer to [**MinMax**](MinMax.md) | | [optional] -**LastAssignment** | Pointer to **string** | filters the last time the employee used the skill in a project | [optional] - -## Methods - -### NewPersonSkillFilterAllOf - -`func NewPersonSkillFilterAllOf() *PersonSkillFilterAllOf` - -NewPersonSkillFilterAllOf instantiates a new PersonSkillFilterAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewPersonSkillFilterAllOfWithDefaults - -`func NewPersonSkillFilterAllOfWithDefaults() *PersonSkillFilterAllOf` - -NewPersonSkillFilterAllOfWithDefaults instantiates a new PersonSkillFilterAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetExperienceInMonth - -`func (o *PersonSkillFilterAllOf) GetExperienceInMonth() MinMax` - -GetExperienceInMonth returns the ExperienceInMonth field if non-nil, zero value otherwise. - -### GetExperienceInMonthOk - -`func (o *PersonSkillFilterAllOf) GetExperienceInMonthOk() (*MinMax, bool)` - -GetExperienceInMonthOk returns a tuple with the ExperienceInMonth field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExperienceInMonth - -`func (o *PersonSkillFilterAllOf) SetExperienceInMonth(v MinMax)` - -SetExperienceInMonth sets ExperienceInMonth field to given value. - -### HasExperienceInMonth - -`func (o *PersonSkillFilterAllOf) HasExperienceInMonth() bool` - -HasExperienceInMonth returns a boolean if a field has been set. - -### GetLastAssignment - -`func (o *PersonSkillFilterAllOf) GetLastAssignment() string` - -GetLastAssignment returns the LastAssignment field if non-nil, zero value otherwise. - -### GetLastAssignmentOk - -`func (o *PersonSkillFilterAllOf) GetLastAssignmentOk() (*string, bool)` - -GetLastAssignmentOk returns a tuple with the LastAssignment field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLastAssignment - -`func (o *PersonSkillFilterAllOf) SetLastAssignment(v string)` - -SetLastAssignment sets LastAssignment field to given value. - -### HasLastAssignment - -`func (o *PersonSkillFilterAllOf) HasLastAssignment() bool` - -HasLastAssignment returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Project.md b/docs/Project.md index 6b6c776f..fcc2e0bc 100644 --- a/docs/Project.md +++ b/docs/Project.md @@ -4,20 +4,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | -**Name** | **string** | | +**External** | Pointer to **bool** | true if project was done outside of the organization | [optional] [default to false] **Suggestion** | **bool** | | [default to false] **Synonyms** | Pointer to **[]string** | | [optional] **Location** | Pointer to **string** | | [optional] **Geolocation** | Pointer to [**Geolocation**](Geolocation.md) | | [optional] **Description** | Pointer to **string** | | [optional] -**External** | Pointer to **bool** | true if project was done outside of the organization | [optional] [default to false] ## Methods ### NewProject -`func NewProject(id string, name string, suggestion bool, ) *Project` +`func NewProject(suggestion bool, ) *Project` NewProject instantiates a new Project object This constructor will assign default values to properties that have it defined, @@ -32,45 +30,30 @@ NewProjectWithDefaults instantiates a new Project object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId +### GetExternal -`func (o *Project) GetId() string` +`func (o *Project) GetExternal() bool` -GetId returns the Id field if non-nil, zero value otherwise. +GetExternal returns the External field if non-nil, zero value otherwise. -### GetIdOk +### GetExternalOk -`func (o *Project) GetIdOk() (*string, bool)` +`func (o *Project) GetExternalOk() (*bool, bool)` -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +GetExternalOk returns a tuple with the External field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetId - -`func (o *Project) SetId(v string)` - -SetId sets Id field to given value. - - -### GetName - -`func (o *Project) GetName() string` - -GetName returns the Name field if non-nil, zero value otherwise. - -### GetNameOk - -`func (o *Project) GetNameOk() (*string, bool)` +### SetExternal -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. +`func (o *Project) SetExternal(v bool)` -### SetName +SetExternal sets External field to given value. -`func (o *Project) SetName(v string)` +### HasExternal -SetName sets Name field to given value. +`func (o *Project) HasExternal() bool` +HasExternal returns a boolean if a field has been set. ### GetSuggestion @@ -192,31 +175,6 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. -### GetExternal - -`func (o *Project) GetExternal() bool` - -GetExternal returns the External field if non-nil, zero value otherwise. - -### GetExternalOk - -`func (o *Project) GetExternalOk() (*bool, bool)` - -GetExternalOk returns a tuple with the External field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExternal - -`func (o *Project) SetExternal(v bool)` - -SetExternal sets External field to given value. - -### HasExternal - -`func (o *Project) HasExternal() bool` - -HasExternal returns a boolean if a field has been set. - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ProjectAllOf.md b/docs/ProjectAllOf.md deleted file mode 100644 index c4c18942..00000000 --- a/docs/ProjectAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# ProjectAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**External** | Pointer to **bool** | true if project was done outside of the organization | [optional] [default to false] - -## Methods - -### NewProjectAllOf - -`func NewProjectAllOf() *ProjectAllOf` - -NewProjectAllOf instantiates a new ProjectAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewProjectAllOfWithDefaults - -`func NewProjectAllOfWithDefaults() *ProjectAllOf` - -NewProjectAllOfWithDefaults instantiates a new ProjectAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetExternal - -`func (o *ProjectAllOf) GetExternal() bool` - -GetExternal returns the External field if non-nil, zero value otherwise. - -### GetExternalOk - -`func (o *ProjectAllOf) GetExternalOk() (*bool, bool)` - -GetExternalOk returns a tuple with the External field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetExternal - -`func (o *ProjectAllOf) SetExternal(v bool)` - -SetExternal sets External field to given value. - -### HasExternal - -`func (o *ProjectAllOf) HasExternal() bool` - -HasExternal returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/ProjectApi.md b/docs/ProjectApi.md index d33e99dd..dc142c2f 100644 --- a/docs/ProjectApi.md +++ b/docs/ProjectApi.md @@ -269,7 +269,7 @@ import ( func main() { organizationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - project := *openapiclient.NewProject("Id_example", "This is the name", false) // Project | + project := *openapiclient.NewProject(false, "Id_example") // Project | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1128,7 +1128,7 @@ import ( func main() { projectId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - project := *openapiclient.NewProject("Id_example", "This is the name", false) // Project | + project := *openapiclient.NewProject(false, "Id_example") // Project | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/ProjectParticipation.md b/docs/ProjectParticipation.md index d17704b5..12a9edbe 100644 --- a/docs/ProjectParticipation.md +++ b/docs/ProjectParticipation.md @@ -4,9 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | **Timeframe** | Pointer to [**Timeframed**](Timeframed.md) | | [optional] -**ProjectDetails** | Pointer to [**ProjectDetails**](ProjectDetails.md) | | [optional] [readonly] +**ProjectDetails** | Pointer to [**ProjectDetails**](ProjectDetails.md) | | [optional] **DescriptionOverwrite** | Pointer to **string** | | [optional] **PersonalDescription** | Pointer to **string** | | [optional] **Experiences** | [**[]Experience**](Experience.md) | | [readonly] @@ -15,7 +14,7 @@ Name | Type | Description | Notes ### NewProjectParticipation -`func NewProjectParticipation(id string, experiences []Experience, ) *ProjectParticipation` +`func NewProjectParticipation(experiences []Experience, ) *ProjectParticipation` NewProjectParticipation instantiates a new ProjectParticipation object This constructor will assign default values to properties that have it defined, @@ -30,26 +29,6 @@ NewProjectParticipationWithDefaults instantiates a new ProjectParticipation obje This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId - -`func (o *ProjectParticipation) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *ProjectParticipation) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *ProjectParticipation) SetId(v string)` - -SetId sets Id field to given value. - - ### GetTimeframe `func (o *ProjectParticipation) GetTimeframe() Timeframed` diff --git a/docs/ProjectParticipationAllOf.md b/docs/ProjectParticipationAllOf.md index 71ca8e3c..ed6d57fb 100644 --- a/docs/ProjectParticipationAllOf.md +++ b/docs/ProjectParticipationAllOf.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Timeframe** | Pointer to [**Timeframed**](Timeframed.md) | | [optional] -**ProjectDetails** | Pointer to [**ProjectDetails**](ProjectDetails.md) | | [optional] [readonly] +**ProjectDetails** | Pointer to [**ProjectDetails**](ProjectDetails.md) | | [optional] **DescriptionOverwrite** | Pointer to **string** | | [optional] **PersonalDescription** | Pointer to **string** | | [optional] **Experiences** | [**[]Experience**](Experience.md) | | [readonly] diff --git a/docs/ProjectParticipationUpdate.md b/docs/ProjectParticipationUpdate.md index f117bb1f..848cf1ad 100644 --- a/docs/ProjectParticipationUpdate.md +++ b/docs/ProjectParticipationUpdate.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Timeframe** | Pointer to [**ProjectParticipationUpdateTimeframe**](ProjectParticipationUpdateTimeframe.md) | | [optional] +**Timeframe** | Pointer to [**Timeframed**](Timeframed.md) | | [optional] **Skills** | Pointer to [**[]SkillLevelUpdate**](SkillLevelUpdate.md) | | [optional] **DescriptionOverwrite** | Pointer to **string** | | [optional] **PersonalDescription** | Pointer to **string** | | [optional] @@ -30,20 +30,20 @@ but it doesn't guarantee that properties required by API are set ### GetTimeframe -`func (o *ProjectParticipationUpdate) GetTimeframe() ProjectParticipationUpdateTimeframe` +`func (o *ProjectParticipationUpdate) GetTimeframe() Timeframed` GetTimeframe returns the Timeframe field if non-nil, zero value otherwise. ### GetTimeframeOk -`func (o *ProjectParticipationUpdate) GetTimeframeOk() (*ProjectParticipationUpdateTimeframe, bool)` +`func (o *ProjectParticipationUpdate) GetTimeframeOk() (*Timeframed, bool)` GetTimeframeOk returns a tuple with the Timeframe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetTimeframe -`func (o *ProjectParticipationUpdate) SetTimeframe(v ProjectParticipationUpdateTimeframe)` +`func (o *ProjectParticipationUpdate) SetTimeframe(v Timeframed)` SetTimeframe sets Timeframe field to given value. diff --git a/docs/ProjectParticipationUpdateTimeframe.md b/docs/ProjectParticipationUpdateTimeframe.md deleted file mode 100644 index 9ee27a18..00000000 --- a/docs/ProjectParticipationUpdateTimeframe.md +++ /dev/null @@ -1,82 +0,0 @@ -# ProjectParticipationUpdateTimeframe - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Startdate** | Pointer to **string** | | [optional] -**Enddate** | Pointer to **string** | | [optional] - -## Methods - -### NewProjectParticipationUpdateTimeframe - -`func NewProjectParticipationUpdateTimeframe() *ProjectParticipationUpdateTimeframe` - -NewProjectParticipationUpdateTimeframe instantiates a new ProjectParticipationUpdateTimeframe object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewProjectParticipationUpdateTimeframeWithDefaults - -`func NewProjectParticipationUpdateTimeframeWithDefaults() *ProjectParticipationUpdateTimeframe` - -NewProjectParticipationUpdateTimeframeWithDefaults instantiates a new ProjectParticipationUpdateTimeframe object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetStartdate - -`func (o *ProjectParticipationUpdateTimeframe) GetStartdate() string` - -GetStartdate returns the Startdate field if non-nil, zero value otherwise. - -### GetStartdateOk - -`func (o *ProjectParticipationUpdateTimeframe) GetStartdateOk() (*string, bool)` - -GetStartdateOk returns a tuple with the Startdate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetStartdate - -`func (o *ProjectParticipationUpdateTimeframe) SetStartdate(v string)` - -SetStartdate sets Startdate field to given value. - -### HasStartdate - -`func (o *ProjectParticipationUpdateTimeframe) HasStartdate() bool` - -HasStartdate returns a boolean if a field has been set. - -### GetEnddate - -`func (o *ProjectParticipationUpdateTimeframe) GetEnddate() string` - -GetEnddate returns the Enddate field if non-nil, zero value otherwise. - -### GetEnddateOk - -`func (o *ProjectParticipationUpdateTimeframe) GetEnddateOk() (*string, bool)` - -GetEnddateOk returns a tuple with the Enddate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetEnddate - -`func (o *ProjectParticipationUpdateTimeframe) SetEnddate(v string)` - -SetEnddate sets Enddate field to given value. - -### HasEnddate - -`func (o *ProjectParticipationUpdateTimeframe) HasEnddate() bool` - -HasEnddate returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/ProjectSearch.md b/docs/ProjectSearch.md index 5b9245f7..cd7b3404 100644 --- a/docs/ProjectSearch.md +++ b/docs/ProjectSearch.md @@ -11,10 +11,10 @@ Name | Type | Description | Notes **ParticipationAmountInMonths** | Pointer to [**MinMax**](MinMax.md) | | [optional] **InvolvedOfficeIds** | Pointer to **[]string** | | [optional] **AmountOfInvolvedPersons** | Pointer to [**MinMax**](MinMax.md) | | [optional] -**Skills** | Pointer to [**[]ProjectSearchSkillsInner**](ProjectSearchSkillsInner.md) | | [optional] -**Participants** | Pointer to [**[]ProjectSearchSkillsInner**](ProjectSearchSkillsInner.md) | | [optional] -**Industries** | Pointer to [**[]ProjectSearchSkillsInner**](ProjectSearchSkillsInner.md) | | [optional] -**Organizations** | Pointer to [**[]ProjectSearchSkillsInner**](ProjectSearchSkillsInner.md) | | [optional] +**Skills** | Pointer to [**[]EntityFilter**](EntityFilter.md) | | [optional] +**Participants** | Pointer to [**[]EntityFilter**](EntityFilter.md) | | [optional] +**Industries** | Pointer to [**[]EntityFilter**](EntityFilter.md) | | [optional] +**Organizations** | Pointer to [**[]EntityFilter**](EntityFilter.md) | | [optional] ## Methods @@ -212,20 +212,20 @@ HasAmountOfInvolvedPersons returns a boolean if a field has been set. ### GetSkills -`func (o *ProjectSearch) GetSkills() []ProjectSearchSkillsInner` +`func (o *ProjectSearch) GetSkills() []EntityFilter` GetSkills returns the Skills field if non-nil, zero value otherwise. ### GetSkillsOk -`func (o *ProjectSearch) GetSkillsOk() (*[]ProjectSearchSkillsInner, bool)` +`func (o *ProjectSearch) GetSkillsOk() (*[]EntityFilter, bool)` GetSkillsOk returns a tuple with the Skills field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetSkills -`func (o *ProjectSearch) SetSkills(v []ProjectSearchSkillsInner)` +`func (o *ProjectSearch) SetSkills(v []EntityFilter)` SetSkills sets Skills field to given value. @@ -237,20 +237,20 @@ HasSkills returns a boolean if a field has been set. ### GetParticipants -`func (o *ProjectSearch) GetParticipants() []ProjectSearchSkillsInner` +`func (o *ProjectSearch) GetParticipants() []EntityFilter` GetParticipants returns the Participants field if non-nil, zero value otherwise. ### GetParticipantsOk -`func (o *ProjectSearch) GetParticipantsOk() (*[]ProjectSearchSkillsInner, bool)` +`func (o *ProjectSearch) GetParticipantsOk() (*[]EntityFilter, bool)` GetParticipantsOk returns a tuple with the Participants field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetParticipants -`func (o *ProjectSearch) SetParticipants(v []ProjectSearchSkillsInner)` +`func (o *ProjectSearch) SetParticipants(v []EntityFilter)` SetParticipants sets Participants field to given value. @@ -262,20 +262,20 @@ HasParticipants returns a boolean if a field has been set. ### GetIndustries -`func (o *ProjectSearch) GetIndustries() []ProjectSearchSkillsInner` +`func (o *ProjectSearch) GetIndustries() []EntityFilter` GetIndustries returns the Industries field if non-nil, zero value otherwise. ### GetIndustriesOk -`func (o *ProjectSearch) GetIndustriesOk() (*[]ProjectSearchSkillsInner, bool)` +`func (o *ProjectSearch) GetIndustriesOk() (*[]EntityFilter, bool)` GetIndustriesOk returns a tuple with the Industries field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIndustries -`func (o *ProjectSearch) SetIndustries(v []ProjectSearchSkillsInner)` +`func (o *ProjectSearch) SetIndustries(v []EntityFilter)` SetIndustries sets Industries field to given value. @@ -287,20 +287,20 @@ HasIndustries returns a boolean if a field has been set. ### GetOrganizations -`func (o *ProjectSearch) GetOrganizations() []ProjectSearchSkillsInner` +`func (o *ProjectSearch) GetOrganizations() []EntityFilter` GetOrganizations returns the Organizations field if non-nil, zero value otherwise. ### GetOrganizationsOk -`func (o *ProjectSearch) GetOrganizationsOk() (*[]ProjectSearchSkillsInner, bool)` +`func (o *ProjectSearch) GetOrganizationsOk() (*[]EntityFilter, bool)` GetOrganizationsOk returns a tuple with the Organizations field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOrganizations -`func (o *ProjectSearch) SetOrganizations(v []ProjectSearchSkillsInner)` +`func (o *ProjectSearch) SetOrganizations(v []EntityFilter)` SetOrganizations sets Organizations field to given value. diff --git a/docs/ProjectSearchSkillsInner.md b/docs/ProjectSearchSkillsInner.md deleted file mode 100644 index af8a41b2..00000000 --- a/docs/ProjectSearchSkillsInner.md +++ /dev/null @@ -1,51 +0,0 @@ -# ProjectSearchSkillsInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Id** | **string** | | - -## Methods - -### NewProjectSearchSkillsInner - -`func NewProjectSearchSkillsInner(id string, ) *ProjectSearchSkillsInner` - -NewProjectSearchSkillsInner instantiates a new ProjectSearchSkillsInner object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewProjectSearchSkillsInnerWithDefaults - -`func NewProjectSearchSkillsInnerWithDefaults() *ProjectSearchSkillsInner` - -NewProjectSearchSkillsInnerWithDefaults instantiates a new ProjectSearchSkillsInner object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetId - -`func (o *ProjectSearchSkillsInner) GetId() string` - -GetId returns the Id field if non-nil, zero value otherwise. - -### GetIdOk - -`func (o *ProjectSearchSkillsInner) GetIdOk() (*string, bool)` - -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetId - -`func (o *ProjectSearchSkillsInner) SetId(v string)` - -SetId sets Id field to given value. - - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/SearchResult.md b/docs/SearchResult.md index f7fa55ef..a8c63da4 100644 --- a/docs/SearchResult.md +++ b/docs/SearchResult.md @@ -4,9 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Skip** | Pointer to **int32** | | [optional] -**Limit** | Pointer to **int32** | | [optional] -**Count** | Pointer to **int32** | | [optional] **Items** | Pointer to [**[]SearchResultItem**](SearchResultItem.md) | | [optional] ## Methods @@ -28,81 +25,6 @@ NewSearchResultWithDefaults instantiates a new SearchResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetSkip - -`func (o *SearchResult) GetSkip() int32` - -GetSkip returns the Skip field if non-nil, zero value otherwise. - -### GetSkipOk - -`func (o *SearchResult) GetSkipOk() (*int32, bool)` - -GetSkipOk returns a tuple with the Skip field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkip - -`func (o *SearchResult) SetSkip(v int32)` - -SetSkip sets Skip field to given value. - -### HasSkip - -`func (o *SearchResult) HasSkip() bool` - -HasSkip returns a boolean if a field has been set. - -### GetLimit - -`func (o *SearchResult) GetLimit() int32` - -GetLimit returns the Limit field if non-nil, zero value otherwise. - -### GetLimitOk - -`func (o *SearchResult) GetLimitOk() (*int32, bool)` - -GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLimit - -`func (o *SearchResult) SetLimit(v int32)` - -SetLimit sets Limit field to given value. - -### HasLimit - -`func (o *SearchResult) HasLimit() bool` - -HasLimit returns a boolean if a field has been set. - -### GetCount - -`func (o *SearchResult) GetCount() int32` - -GetCount returns the Count field if non-nil, zero value otherwise. - -### GetCountOk - -`func (o *SearchResult) GetCountOk() (*int32, bool)` - -GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCount - -`func (o *SearchResult) SetCount(v int32)` - -SetCount sets Count field to given value. - -### HasCount - -`func (o *SearchResult) HasCount() bool` - -HasCount returns a boolean if a field has been set. - ### GetItems `func (o *SearchResult) GetItems() []SearchResultItem` diff --git a/docs/SearchResultAllOf.md b/docs/SearchResultAllOf.md deleted file mode 100644 index 0b5f48b1..00000000 --- a/docs/SearchResultAllOf.md +++ /dev/null @@ -1,56 +0,0 @@ -# SearchResultAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Items** | Pointer to [**[]SearchResultItem**](SearchResultItem.md) | | [optional] - -## Methods - -### NewSearchResultAllOf - -`func NewSearchResultAllOf() *SearchResultAllOf` - -NewSearchResultAllOf instantiates a new SearchResultAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewSearchResultAllOfWithDefaults - -`func NewSearchResultAllOfWithDefaults() *SearchResultAllOf` - -NewSearchResultAllOfWithDefaults instantiates a new SearchResultAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetItems - -`func (o *SearchResultAllOf) GetItems() []SearchResultItem` - -GetItems returns the Items field if non-nil, zero value otherwise. - -### GetItemsOk - -`func (o *SearchResultAllOf) GetItemsOk() (*[]SearchResultItem, bool)` - -GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetItems - -`func (o *SearchResultAllOf) SetItems(v []SearchResultItem)` - -SetItems sets Items field to given value. - -### HasItems - -`func (o *SearchResultAllOf) HasItems() bool` - -HasItems returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Skill.md b/docs/Skill.md index 1dee042e..e61c8ed2 100644 --- a/docs/Skill.md +++ b/docs/Skill.md @@ -4,20 +4,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Id** | **string** | | -**Name** | **string** | | +**Invest** | Pointer to **bool** | | [optional] [default to false] +**Kindgiver** | Pointer to **bool** | | [optional] [default to false] **Suggestion** | **bool** | | [default to false] **Linkable** | Pointer to **bool** | The entity can be linked | [optional] [default to false] **Synonyms** | Pointer to **[]string** | | [optional] **Description** | Pointer to **string** | | [optional] -**Invest** | Pointer to **bool** | | [optional] [default to false] -**Kindgiver** | Pointer to **bool** | | [optional] [default to false] ## Methods ### NewSkill -`func NewSkill(id string, name string, suggestion bool, ) *Skill` +`func NewSkill(suggestion bool, ) *Skill` NewSkill instantiates a new Skill object This constructor will assign default values to properties that have it defined, @@ -32,45 +30,55 @@ NewSkillWithDefaults instantiates a new Skill object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set -### GetId +### GetInvest -`func (o *Skill) GetId() string` +`func (o *Skill) GetInvest() bool` -GetId returns the Id field if non-nil, zero value otherwise. +GetInvest returns the Invest field if non-nil, zero value otherwise. -### GetIdOk +### GetInvestOk -`func (o *Skill) GetIdOk() (*string, bool)` +`func (o *Skill) GetInvestOk() (*bool, bool)` -GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise +GetInvestOk returns a tuple with the Invest field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetId +### SetInvest -`func (o *Skill) SetId(v string)` +`func (o *Skill) SetInvest(v bool)` -SetId sets Id field to given value. +SetInvest sets Invest field to given value. +### HasInvest + +`func (o *Skill) HasInvest() bool` -### GetName +HasInvest returns a boolean if a field has been set. -`func (o *Skill) GetName() string` +### GetKindgiver -GetName returns the Name field if non-nil, zero value otherwise. +`func (o *Skill) GetKindgiver() bool` -### GetNameOk +GetKindgiver returns the Kindgiver field if non-nil, zero value otherwise. -`func (o *Skill) GetNameOk() (*string, bool)` +### GetKindgiverOk -GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +`func (o *Skill) GetKindgiverOk() (*bool, bool)` + +GetKindgiverOk returns a tuple with the Kindgiver field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. -### SetName +### SetKindgiver + +`func (o *Skill) SetKindgiver(v bool)` -`func (o *Skill) SetName(v string)` +SetKindgiver sets Kindgiver field to given value. -SetName sets Name field to given value. +### HasKindgiver + +`func (o *Skill) HasKindgiver() bool` +HasKindgiver returns a boolean if a field has been set. ### GetSuggestion @@ -167,56 +175,6 @@ SetDescription sets Description field to given value. HasDescription returns a boolean if a field has been set. -### GetInvest - -`func (o *Skill) GetInvest() bool` - -GetInvest returns the Invest field if non-nil, zero value otherwise. - -### GetInvestOk - -`func (o *Skill) GetInvestOk() (*bool, bool)` - -GetInvestOk returns a tuple with the Invest field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInvest - -`func (o *Skill) SetInvest(v bool)` - -SetInvest sets Invest field to given value. - -### HasInvest - -`func (o *Skill) HasInvest() bool` - -HasInvest returns a boolean if a field has been set. - -### GetKindgiver - -`func (o *Skill) GetKindgiver() bool` - -GetKindgiver returns the Kindgiver field if non-nil, zero value otherwise. - -### GetKindgiverOk - -`func (o *Skill) GetKindgiverOk() (*bool, bool)` - -GetKindgiverOk returns a tuple with the Kindgiver field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetKindgiver - -`func (o *Skill) SetKindgiver(v bool)` - -SetKindgiver sets Kindgiver field to given value. - -### HasKindgiver - -`func (o *Skill) HasKindgiver() bool` - -HasKindgiver returns a boolean if a field has been set. - [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SkillAllOf.md b/docs/SkillAllOf.md deleted file mode 100644 index 316b2c6d..00000000 --- a/docs/SkillAllOf.md +++ /dev/null @@ -1,82 +0,0 @@ -# SkillAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Invest** | Pointer to **bool** | | [optional] [default to false] -**Kindgiver** | Pointer to **bool** | | [optional] [default to false] - -## Methods - -### NewSkillAllOf - -`func NewSkillAllOf() *SkillAllOf` - -NewSkillAllOf instantiates a new SkillAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewSkillAllOfWithDefaults - -`func NewSkillAllOfWithDefaults() *SkillAllOf` - -NewSkillAllOfWithDefaults instantiates a new SkillAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetInvest - -`func (o *SkillAllOf) GetInvest() bool` - -GetInvest returns the Invest field if non-nil, zero value otherwise. - -### GetInvestOk - -`func (o *SkillAllOf) GetInvestOk() (*bool, bool)` - -GetInvestOk returns a tuple with the Invest field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetInvest - -`func (o *SkillAllOf) SetInvest(v bool)` - -SetInvest sets Invest field to given value. - -### HasInvest - -`func (o *SkillAllOf) HasInvest() bool` - -HasInvest returns a boolean if a field has been set. - -### GetKindgiver - -`func (o *SkillAllOf) GetKindgiver() bool` - -GetKindgiver returns the Kindgiver field if non-nil, zero value otherwise. - -### GetKindgiverOk - -`func (o *SkillAllOf) GetKindgiverOk() (*bool, bool)` - -GetKindgiverOk returns a tuple with the Kindgiver field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetKindgiver - -`func (o *SkillAllOf) SetKindgiver(v bool)` - -SetKindgiver sets Kindgiver field to given value. - -### HasKindgiver - -`func (o *SkillAllOf) HasKindgiver() bool` - -HasKindgiver returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/SkillApi.md b/docs/SkillApi.md index a89df01d..87417226 100644 --- a/docs/SkillApi.md +++ b/docs/SkillApi.md @@ -564,7 +564,7 @@ import ( ) func main() { - skill := *openapiclient.NewSkill("Id_example", "This is the name", false) // Skill | + skill := *openapiclient.NewSkill(false, "Id_example") // Skill | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -1704,7 +1704,7 @@ import ( func main() { skillId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | - skill := *openapiclient.NewSkill("Id_example", "This is the name", false) // Skill | + skill := *openapiclient.NewSkill(false, "Id_example") // Skill | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/SkillLevelUpdateAllOf.md b/docs/SkillLevelUpdateAllOf.md deleted file mode 100644 index 2ef52e36..00000000 --- a/docs/SkillLevelUpdateAllOf.md +++ /dev/null @@ -1,82 +0,0 @@ -# SkillLevelUpdateAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**SkillId** | Pointer to **string** | | [optional] -**Level** | Pointer to [**Level**](Level.md) | | [optional] - -## Methods - -### NewSkillLevelUpdateAllOf - -`func NewSkillLevelUpdateAllOf() *SkillLevelUpdateAllOf` - -NewSkillLevelUpdateAllOf instantiates a new SkillLevelUpdateAllOf object -This constructor will assign default values to properties that have it defined, -and makes sure properties required by API are set, but the set of arguments -will change when the set of required properties is changed - -### NewSkillLevelUpdateAllOfWithDefaults - -`func NewSkillLevelUpdateAllOfWithDefaults() *SkillLevelUpdateAllOf` - -NewSkillLevelUpdateAllOfWithDefaults instantiates a new SkillLevelUpdateAllOf object -This constructor will only assign default values to properties that have it defined, -but it doesn't guarantee that properties required by API are set - -### GetSkillId - -`func (o *SkillLevelUpdateAllOf) GetSkillId() string` - -GetSkillId returns the SkillId field if non-nil, zero value otherwise. - -### GetSkillIdOk - -`func (o *SkillLevelUpdateAllOf) GetSkillIdOk() (*string, bool)` - -GetSkillIdOk returns a tuple with the SkillId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetSkillId - -`func (o *SkillLevelUpdateAllOf) SetSkillId(v string)` - -SetSkillId sets SkillId field to given value. - -### HasSkillId - -`func (o *SkillLevelUpdateAllOf) HasSkillId() bool` - -HasSkillId returns a boolean if a field has been set. - -### GetLevel - -`func (o *SkillLevelUpdateAllOf) GetLevel() Level` - -GetLevel returns the Level field if non-nil, zero value otherwise. - -### GetLevelOk - -`func (o *SkillLevelUpdateAllOf) GetLevelOk() (*Level, bool)` - -GetLevelOk returns a tuple with the Level field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetLevel - -`func (o *SkillLevelUpdateAllOf) SetLevel(v Level)` - -SetLevel sets Level field to given value. - -### HasLevel - -`func (o *SkillLevelUpdateAllOf) HasLevel() bool` - -HasLevel returns a boolean if a field has been set. - - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/model_availability.go b/model_availability.go index 4f3e7380..abb60fb0 100644 --- a/model_availability.go +++ b/model_availability.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,27 +16,22 @@ import ( // Availability struct for Availability type Availability struct { - Id string `json:"id"` - Name string `json:"name"` - Startdate string `json:"startdate"` - Enddate string `json:"enddate"` WorkHours float32 `json:"workHours"` PlannedHours float32 `json:"plannedHours"` Descriptions []string `json:"descriptions,omitempty"` + Startdate string `json:"startdate"` + Enddate string `json:"enddate"` } // NewAvailability instantiates a new Availability object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewAvailability(id string, name string, startdate string, enddate string, workHours float32, plannedHours float32) *Availability { +func NewAvailability(workHours float32, plannedHours float32, startdate string, enddate string, id string) *Availability { this := Availability{} this.Id = id - this.Name = name this.Startdate = startdate this.Enddate = enddate - this.WorkHours = workHours - this.PlannedHours = plannedHours return &this } @@ -48,102 +43,6 @@ func NewAvailabilityWithDefaults() *Availability { return &this } -// GetId returns the Id field value -func (o *Availability) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *Availability) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *Availability) SetId(v string) { - o.Id = v -} - -// GetName returns the Name field value -func (o *Availability) GetName() string { - if o == nil { - var ret string - return ret - } - - return o.Name -} - -// GetNameOk returns a tuple with the Name field value -// and a boolean to check if the value has been set. -func (o *Availability) GetNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Name, true -} - -// SetName sets field value -func (o *Availability) SetName(v string) { - o.Name = v -} - -// GetStartdate returns the Startdate field value -func (o *Availability) GetStartdate() string { - if o == nil { - var ret string - return ret - } - - return o.Startdate -} - -// GetStartdateOk returns a tuple with the Startdate field value -// and a boolean to check if the value has been set. -func (o *Availability) GetStartdateOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Startdate, true -} - -// SetStartdate sets field value -func (o *Availability) SetStartdate(v string) { - o.Startdate = v -} - -// GetEnddate returns the Enddate field value -func (o *Availability) GetEnddate() string { - if o == nil { - var ret string - return ret - } - - return o.Enddate -} - -// GetEnddateOk returns a tuple with the Enddate field value -// and a boolean to check if the value has been set. -func (o *Availability) GetEnddateOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Enddate, true -} - -// SetEnddate sets field value -func (o *Availability) SetEnddate(v string) { - o.Enddate = v -} - // GetWorkHours returns the WorkHours field value func (o *Availability) GetWorkHours() float32 { if o == nil { @@ -224,20 +123,56 @@ func (o *Availability) SetDescriptions(v []string) { o.Descriptions = v } -func (o Availability) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id +// GetStartdate returns the Startdate field value +func (o *Availability) GetStartdate() string { + if o == nil { + var ret string + return ret } - if true { - toSerialize["name"] = o.Name + + return o.Startdate +} + +// GetStartdateOk returns a tuple with the Startdate field value +// and a boolean to check if the value has been set. +func (o *Availability) GetStartdateOk() (*string, bool) { + if o == nil { + return nil, false } - if true { - toSerialize["startdate"] = o.Startdate + return &o.Startdate, true +} + +// SetStartdate sets field value +func (o *Availability) SetStartdate(v string) { + o.Startdate = v +} + +// GetEnddate returns the Enddate field value +func (o *Availability) GetEnddate() string { + if o == nil { + var ret string + return ret } - if true { - toSerialize["enddate"] = o.Enddate + + return o.Enddate +} + +// GetEnddateOk returns a tuple with the Enddate field value +// and a boolean to check if the value has been set. +func (o *Availability) GetEnddateOk() (*string, bool) { + if o == nil { + return nil, false } + return &o.Enddate, true +} + +// SetEnddate sets field value +func (o *Availability) SetEnddate(v string) { + o.Enddate = v +} + +func (o Availability) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} if true { toSerialize["workHours"] = o.WorkHours } @@ -247,6 +182,12 @@ func (o Availability) MarshalJSON() ([]byte, error) { if o.Descriptions != nil { toSerialize["descriptions"] = o.Descriptions } + if true { + toSerialize["startdate"] = o.Startdate + } + if true { + toSerialize["enddate"] = o.Enddate + } return json.Marshal(toSerialize) } diff --git a/model_availability_all_of.go b/model_availability_all_of.go deleted file mode 100644 index cb836a9d..00000000 --- a/model_availability_all_of.go +++ /dev/null @@ -1,187 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// AvailabilityAllOf struct for AvailabilityAllOf -type AvailabilityAllOf struct { - WorkHours *float32 `json:"workHours,omitempty"` - PlannedHours *float32 `json:"plannedHours,omitempty"` - Descriptions []string `json:"descriptions,omitempty"` -} - -// NewAvailabilityAllOf instantiates a new AvailabilityAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewAvailabilityAllOf() *AvailabilityAllOf { - this := AvailabilityAllOf{} - return &this -} - -// NewAvailabilityAllOfWithDefaults instantiates a new AvailabilityAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewAvailabilityAllOfWithDefaults() *AvailabilityAllOf { - this := AvailabilityAllOf{} - return &this -} - -// GetWorkHours returns the WorkHours field value if set, zero value otherwise. -func (o *AvailabilityAllOf) GetWorkHours() float32 { - if o == nil || o.WorkHours == nil { - var ret float32 - return ret - } - return *o.WorkHours -} - -// GetWorkHoursOk returns a tuple with the WorkHours field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AvailabilityAllOf) GetWorkHoursOk() (*float32, bool) { - if o == nil || o.WorkHours == nil { - return nil, false - } - return o.WorkHours, true -} - -// HasWorkHours returns a boolean if a field has been set. -func (o *AvailabilityAllOf) HasWorkHours() bool { - if o != nil && o.WorkHours != nil { - return true - } - - return false -} - -// SetWorkHours gets a reference to the given float32 and assigns it to the WorkHours field. -func (o *AvailabilityAllOf) SetWorkHours(v float32) { - o.WorkHours = &v -} - -// GetPlannedHours returns the PlannedHours field value if set, zero value otherwise. -func (o *AvailabilityAllOf) GetPlannedHours() float32 { - if o == nil || o.PlannedHours == nil { - var ret float32 - return ret - } - return *o.PlannedHours -} - -// GetPlannedHoursOk returns a tuple with the PlannedHours field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AvailabilityAllOf) GetPlannedHoursOk() (*float32, bool) { - if o == nil || o.PlannedHours == nil { - return nil, false - } - return o.PlannedHours, true -} - -// HasPlannedHours returns a boolean if a field has been set. -func (o *AvailabilityAllOf) HasPlannedHours() bool { - if o != nil && o.PlannedHours != nil { - return true - } - - return false -} - -// SetPlannedHours gets a reference to the given float32 and assigns it to the PlannedHours field. -func (o *AvailabilityAllOf) SetPlannedHours(v float32) { - o.PlannedHours = &v -} - -// GetDescriptions returns the Descriptions field value if set, zero value otherwise. -func (o *AvailabilityAllOf) GetDescriptions() []string { - if o == nil || o.Descriptions == nil { - var ret []string - return ret - } - return o.Descriptions -} - -// GetDescriptionsOk returns a tuple with the Descriptions field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AvailabilityAllOf) GetDescriptionsOk() ([]string, bool) { - if o == nil || o.Descriptions == nil { - return nil, false - } - return o.Descriptions, true -} - -// HasDescriptions returns a boolean if a field has been set. -func (o *AvailabilityAllOf) HasDescriptions() bool { - if o != nil && o.Descriptions != nil { - return true - } - - return false -} - -// SetDescriptions gets a reference to the given []string and assigns it to the Descriptions field. -func (o *AvailabilityAllOf) SetDescriptions(v []string) { - o.Descriptions = v -} - -func (o AvailabilityAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.WorkHours != nil { - toSerialize["workHours"] = o.WorkHours - } - if o.PlannedHours != nil { - toSerialize["plannedHours"] = o.PlannedHours - } - if o.Descriptions != nil { - toSerialize["descriptions"] = o.Descriptions - } - return json.Marshal(toSerialize) -} - -type NullableAvailabilityAllOf struct { - value *AvailabilityAllOf - isSet bool -} - -func (v NullableAvailabilityAllOf) Get() *AvailabilityAllOf { - return v.value -} - -func (v *NullableAvailabilityAllOf) Set(val *AvailabilityAllOf) { - v.value = val - v.isSet = true -} - -func (v NullableAvailabilityAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullableAvailabilityAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableAvailabilityAllOf(val *AvailabilityAllOf) *NullableAvailabilityAllOf { - return &NullableAvailabilityAllOf{value: val, isSet: true} -} - -func (v NullableAvailabilityAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableAvailabilityAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_availability_detail.go b/model_availability_detail.go index 3b46fca0..10dca6e9 100644 --- a/model_availability_detail.go +++ b/model_availability_detail.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_availability_filter.go b/model_availability_filter.go index 7b08268f..7419b319 100644 --- a/model_availability_filter.go +++ b/model_availability_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_basic_domain_model.go b/model_basic_domain_model.go index bb69748b..7042900c 100644 --- a/model_basic_domain_model.go +++ b/model_basic_domain_model.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_certification.go b/model_certification.go index ec5a5f75..e15b5b09 100644 --- a/model_certification.go +++ b/model_certification.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,22 +16,19 @@ import ( // Certification struct for Certification type Certification struct { - Id string `json:"id"` - Name string `json:"name"` + Validity *string `json:"validity,omitempty"` Suggestion bool `json:"suggestion"` Synonyms []string `json:"synonyms,omitempty"` Description *string `json:"description,omitempty"` - Validity *string `json:"validity,omitempty"` } // NewCertification instantiates a new Certification object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewCertification(id string, name string, suggestion bool) *Certification { +func NewCertification(suggestion bool, id string) *Certification { this := Certification{} this.Id = id - this.Name = name this.Suggestion = suggestion return &this } @@ -46,52 +43,36 @@ func NewCertificationWithDefaults() *Certification { return &this } -// GetId returns the Id field value -func (o *Certification) GetId() string { - if o == nil { +// GetValidity returns the Validity field value if set, zero value otherwise. +func (o *Certification) GetValidity() string { + if o == nil || o.Validity == nil { var ret string return ret } - - return o.Id + return *o.Validity } -// GetIdOk returns a tuple with the Id field value +// GetValidityOk returns a tuple with the Validity field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Certification) GetIdOk() (*string, bool) { - if o == nil { +func (o *Certification) GetValidityOk() (*string, bool) { + if o == nil || o.Validity == nil { return nil, false } - return &o.Id, true -} - -// SetId sets field value -func (o *Certification) SetId(v string) { - o.Id = v + return o.Validity, true } -// GetName returns the Name field value -func (o *Certification) GetName() string { - if o == nil { - var ret string - return ret +// HasValidity returns a boolean if a field has been set. +func (o *Certification) HasValidity() bool { + if o != nil && o.Validity != nil { + return true } - return o.Name -} - -// GetNameOk returns a tuple with the Name field value -// and a boolean to check if the value has been set. -func (o *Certification) GetNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Name, true + return false } -// SetName sets field value -func (o *Certification) SetName(v string) { - o.Name = v +// SetValidity gets a reference to the given string and assigns it to the Validity field. +func (o *Certification) SetValidity(v string) { + o.Validity = &v } // GetSuggestion returns the Suggestion field value @@ -182,45 +163,10 @@ func (o *Certification) SetDescription(v string) { o.Description = &v } -// GetValidity returns the Validity field value if set, zero value otherwise. -func (o *Certification) GetValidity() string { - if o == nil || o.Validity == nil { - var ret string - return ret - } - return *o.Validity -} - -// GetValidityOk returns a tuple with the Validity field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Certification) GetValidityOk() (*string, bool) { - if o == nil || o.Validity == nil { - return nil, false - } - return o.Validity, true -} - -// HasValidity returns a boolean if a field has been set. -func (o *Certification) HasValidity() bool { - if o != nil && o.Validity != nil { - return true - } - - return false -} - -// SetValidity gets a reference to the given string and assigns it to the Validity field. -func (o *Certification) SetValidity(v string) { - o.Validity = &v -} - func (o Certification) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - if true { - toSerialize["name"] = o.Name + if o.Validity != nil { + toSerialize["validity"] = o.Validity } if true { toSerialize["suggestion"] = o.Suggestion @@ -231,9 +177,6 @@ func (o Certification) MarshalJSON() ([]byte, error) { if o.Description != nil { toSerialize["description"] = o.Description } - if o.Validity != nil { - toSerialize["validity"] = o.Validity - } return json.Marshal(toSerialize) } diff --git a/model_certification_all_of.go b/model_certification_all_of.go deleted file mode 100644 index ad0ca0c1..00000000 --- a/model_certification_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// CertificationAllOf struct for CertificationAllOf -type CertificationAllOf struct { - Validity *string `json:"validity,omitempty"` -} - -// NewCertificationAllOf instantiates a new CertificationAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewCertificationAllOf() *CertificationAllOf { - this := CertificationAllOf{} - return &this -} - -// NewCertificationAllOfWithDefaults instantiates a new CertificationAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewCertificationAllOfWithDefaults() *CertificationAllOf { - this := CertificationAllOf{} - return &this -} - -// GetValidity returns the Validity field value if set, zero value otherwise. -func (o *CertificationAllOf) GetValidity() string { - if o == nil || o.Validity == nil { - var ret string - return ret - } - return *o.Validity -} - -// GetValidityOk returns a tuple with the Validity field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CertificationAllOf) GetValidityOk() (*string, bool) { - if o == nil || o.Validity == nil { - return nil, false - } - return o.Validity, true -} - -// HasValidity returns a boolean if a field has been set. -func (o *CertificationAllOf) HasValidity() bool { - if o != nil && o.Validity != nil { - return true - } - - return false -} - -// SetValidity gets a reference to the given string and assigns it to the Validity field. -func (o *CertificationAllOf) SetValidity(v string) { - o.Validity = &v -} - -func (o CertificationAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Validity != nil { - toSerialize["validity"] = o.Validity - } - return json.Marshal(toSerialize) -} - -type NullableCertificationAllOf struct { - value *CertificationAllOf - isSet bool -} - -func (v NullableCertificationAllOf) Get() *CertificationAllOf { - return v.value -} - -func (v *NullableCertificationAllOf) Set(val *CertificationAllOf) { - v.value = val - v.isSet = true -} - -func (v NullableCertificationAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullableCertificationAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCertificationAllOf(val *CertificationAllOf) *NullableCertificationAllOf { - return &NullableCertificationAllOf{value: val, isSet: true} -} - -func (v NullableCertificationAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCertificationAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_certification_details.go b/model_certification_details.go index f93eca0d..5784da27 100644 --- a/model_certification_details.go +++ b/model_certification_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_country.go b/model_country.go index e36bf88c..7dc7a2c5 100644 --- a/model_country.go +++ b/model_country.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,8 +16,6 @@ import ( // Country struct for Country type Country struct { - Id string `json:"id"` - Name string `json:"name"` // base64 encoded image Picture *string `json:"picture,omitempty"` } @@ -26,10 +24,9 @@ type Country struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewCountry(id string, name string) *Country { +func NewCountry(id string) *Country { this := Country{} this.Id = id - this.Name = name return &this } @@ -41,54 +38,6 @@ func NewCountryWithDefaults() *Country { return &this } -// GetId returns the Id field value -func (o *Country) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *Country) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *Country) SetId(v string) { - o.Id = v -} - -// GetName returns the Name field value -func (o *Country) GetName() string { - if o == nil { - var ret string - return ret - } - - return o.Name -} - -// GetNameOk returns a tuple with the Name field value -// and a boolean to check if the value has been set. -func (o *Country) GetNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Name, true -} - -// SetName sets field value -func (o *Country) SetName(v string) { - o.Name = v -} - // GetPicture returns the Picture field value if set, zero value otherwise. func (o *Country) GetPicture() string { if o == nil || o.Picture == nil { @@ -123,12 +72,6 @@ func (o *Country) SetPicture(v string) { func (o Country) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - if true { - toSerialize["name"] = o.Name - } if o.Picture != nil { toSerialize["picture"] = o.Picture } diff --git a/model_country_all_of.go b/model_country_all_of.go deleted file mode 100644 index 66329ea0..00000000 --- a/model_country_all_of.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// CountryAllOf struct for CountryAllOf -type CountryAllOf struct { - // base64 encoded image - Picture *string `json:"picture,omitempty"` -} - -// NewCountryAllOf instantiates a new CountryAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewCountryAllOf() *CountryAllOf { - this := CountryAllOf{} - return &this -} - -// NewCountryAllOfWithDefaults instantiates a new CountryAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewCountryAllOfWithDefaults() *CountryAllOf { - this := CountryAllOf{} - return &this -} - -// GetPicture returns the Picture field value if set, zero value otherwise. -func (o *CountryAllOf) GetPicture() string { - if o == nil || o.Picture == nil { - var ret string - return ret - } - return *o.Picture -} - -// GetPictureOk returns a tuple with the Picture field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *CountryAllOf) GetPictureOk() (*string, bool) { - if o == nil || o.Picture == nil { - return nil, false - } - return o.Picture, true -} - -// HasPicture returns a boolean if a field has been set. -func (o *CountryAllOf) HasPicture() bool { - if o != nil && o.Picture != nil { - return true - } - - return false -} - -// SetPicture gets a reference to the given string and assigns it to the Picture field. -func (o *CountryAllOf) SetPicture(v string) { - o.Picture = &v -} - -func (o CountryAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Picture != nil { - toSerialize["picture"] = o.Picture - } - return json.Marshal(toSerialize) -} - -type NullableCountryAllOf struct { - value *CountryAllOf - isSet bool -} - -func (v NullableCountryAllOf) Get() *CountryAllOf { - return v.value -} - -func (v *NullableCountryAllOf) Set(val *CountryAllOf) { - v.value = val - v.isSet = true -} - -func (v NullableCountryAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullableCountryAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableCountryAllOf(val *CountryAllOf) *NullableCountryAllOf { - return &NullableCountryAllOf{value: val, isSet: true} -} - -func (v NullableCountryAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableCountryAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_country_details.go b/model_country_details.go index ee60c5f7..46c9f839 100644 --- a/model_country_details.go +++ b/model_country_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_descriptable.go b/model_descriptable.go index 93df5513..9d129b4e 100644 --- a/model_descriptable.go +++ b/model_descriptable.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_entity_filter.go b/model_entity_filter.go index c232b496..d18bf8bb 100644 --- a/model_entity_filter.go +++ b/model_entity_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_error.go b/model_error.go index 9b522aa1..c3f8988a 100644 --- a/model_error.go +++ b/model_error.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_experience.go b/model_experience.go index 2422d6af..f5cafcec 100644 --- a/model_experience.go +++ b/model_experience.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_experience_all_of.go b/model_experience_all_of.go deleted file mode 100644 index 880a43e3..00000000 --- a/model_experience_all_of.go +++ /dev/null @@ -1,151 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// ExperienceAllOf struct for ExperienceAllOf -type ExperienceAllOf struct { - Skill *SkillLevel `json:"skill,omitempty"` - ConfirmedBy []Person `json:"confirmedBy,omitempty"` -} - -// NewExperienceAllOf instantiates a new ExperienceAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewExperienceAllOf() *ExperienceAllOf { - this := ExperienceAllOf{} - return &this -} - -// NewExperienceAllOfWithDefaults instantiates a new ExperienceAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewExperienceAllOfWithDefaults() *ExperienceAllOf { - this := ExperienceAllOf{} - return &this -} - -// GetSkill returns the Skill field value if set, zero value otherwise. -func (o *ExperienceAllOf) GetSkill() SkillLevel { - if o == nil || o.Skill == nil { - var ret SkillLevel - return ret - } - return *o.Skill -} - -// GetSkillOk returns a tuple with the Skill field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ExperienceAllOf) GetSkillOk() (*SkillLevel, bool) { - if o == nil || o.Skill == nil { - return nil, false - } - return o.Skill, true -} - -// HasSkill returns a boolean if a field has been set. -func (o *ExperienceAllOf) HasSkill() bool { - if o != nil && o.Skill != nil { - return true - } - - return false -} - -// SetSkill gets a reference to the given SkillLevel and assigns it to the Skill field. -func (o *ExperienceAllOf) SetSkill(v SkillLevel) { - o.Skill = &v -} - -// GetConfirmedBy returns the ConfirmedBy field value if set, zero value otherwise. -func (o *ExperienceAllOf) GetConfirmedBy() []Person { - if o == nil || o.ConfirmedBy == nil { - var ret []Person - return ret - } - return o.ConfirmedBy -} - -// GetConfirmedByOk returns a tuple with the ConfirmedBy field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ExperienceAllOf) GetConfirmedByOk() ([]Person, bool) { - if o == nil || o.ConfirmedBy == nil { - return nil, false - } - return o.ConfirmedBy, true -} - -// HasConfirmedBy returns a boolean if a field has been set. -func (o *ExperienceAllOf) HasConfirmedBy() bool { - if o != nil && o.ConfirmedBy != nil { - return true - } - - return false -} - -// SetConfirmedBy gets a reference to the given []Person and assigns it to the ConfirmedBy field. -func (o *ExperienceAllOf) SetConfirmedBy(v []Person) { - o.ConfirmedBy = v -} - -func (o ExperienceAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Skill != nil { - toSerialize["skill"] = o.Skill - } - if o.ConfirmedBy != nil { - toSerialize["confirmedBy"] = o.ConfirmedBy - } - return json.Marshal(toSerialize) -} - -type NullableExperienceAllOf struct { - value *ExperienceAllOf - isSet bool -} - -func (v NullableExperienceAllOf) Get() *ExperienceAllOf { - return v.value -} - -func (v *NullableExperienceAllOf) Set(val *ExperienceAllOf) { - v.value = val - v.isSet = true -} - -func (v NullableExperienceAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullableExperienceAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableExperienceAllOf(val *ExperienceAllOf) *NullableExperienceAllOf { - return &NullableExperienceAllOf{value: val, isSet: true} -} - -func (v NullableExperienceAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableExperienceAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_geolocation.go b/model_geolocation.go index 2634935e..f2d5bdfb 100644 --- a/model_geolocation.go +++ b/model_geolocation.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_industry.go b/model_industry.go index d479afbb..f71eb7b5 100644 --- a/model_industry.go +++ b/model_industry.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,8 +16,6 @@ import ( // Industry struct for Industry type Industry struct { - Id string `json:"id"` - Name string `json:"name"` Suggestion bool `json:"suggestion"` Synonyms []string `json:"synonyms,omitempty"` } @@ -26,10 +24,9 @@ type Industry struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewIndustry(id string, name string, suggestion bool) *Industry { +func NewIndustry(suggestion bool, id string) *Industry { this := Industry{} this.Id = id - this.Name = name this.Suggestion = suggestion return &this } @@ -44,54 +41,6 @@ func NewIndustryWithDefaults() *Industry { return &this } -// GetId returns the Id field value -func (o *Industry) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *Industry) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *Industry) SetId(v string) { - o.Id = v -} - -// GetName returns the Name field value -func (o *Industry) GetName() string { - if o == nil { - var ret string - return ret - } - - return o.Name -} - -// GetNameOk returns a tuple with the Name field value -// and a boolean to check if the value has been set. -func (o *Industry) GetNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Name, true -} - -// SetName sets field value -func (o *Industry) SetName(v string) { - o.Name = v -} - // GetSuggestion returns the Suggestion field value func (o *Industry) GetSuggestion() bool { if o == nil { @@ -150,12 +99,6 @@ func (o *Industry) SetSynonyms(v []string) { func (o Industry) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - if true { - toSerialize["name"] = o.Name - } if true { toSerialize["suggestion"] = o.Suggestion } diff --git a/model_industry_details.go b/model_industry_details.go index ca717dcc..fef20b5a 100644 --- a/model_industry_details.go +++ b/model_industry_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_language.go b/model_language.go index fa4a5b6a..36b88c65 100644 --- a/model_language.go +++ b/model_language.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,18 +16,15 @@ import ( // Language struct for Language type Language struct { - Id string `json:"id"` - Name string `json:"name"` } // NewLanguage instantiates a new Language object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewLanguage(id string, name string) *Language { +func NewLanguage(id string) *Language { this := Language{} this.Id = id - this.Name = name return &this } @@ -39,62 +36,8 @@ func NewLanguageWithDefaults() *Language { return &this } -// GetId returns the Id field value -func (o *Language) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *Language) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *Language) SetId(v string) { - o.Id = v -} - -// GetName returns the Name field value -func (o *Language) GetName() string { - if o == nil { - var ret string - return ret - } - - return o.Name -} - -// GetNameOk returns a tuple with the Name field value -// and a boolean to check if the value has been set. -func (o *Language) GetNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Name, true -} - -// SetName sets field value -func (o *Language) SetName(v string) { - o.Name = v -} - func (o Language) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - if true { - toSerialize["name"] = o.Name - } return json.Marshal(toSerialize) } diff --git a/model_language_details.go b/model_language_details.go index 3e70f01d..481723c2 100644 --- a/model_language_details.go +++ b/model_language_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_language_level.go b/model_language_level.go index 705191c6..c35a3905 100644 --- a/model_language_level.go +++ b/model_language_level.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_level.go b/model_level.go index cbe8a806..36adf1c8 100644 --- a/model_level.go +++ b/model_level.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_linkable.go b/model_linkable.go index ace6d9d4..40b578dc 100644 --- a/model_linkable.go +++ b/model_linkable.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_locateable.go b/model_locateable.go index a84e987c..c77d97b7 100644 --- a/model_locateable.go +++ b/model_locateable.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_min_max.go b/model_min_max.go index 7d1c9dea..4a4db4f8 100644 --- a/model_min_max.go +++ b/model_min_max.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_min_max_percent.go b/model_min_max_percent.go index 13dc0beb..cf1c5c7b 100644 --- a/model_min_max_percent.go +++ b/model_min_max_percent.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_named_domain_model.go b/model_named_domain_model.go index 921687fb..a00ecb7f 100644 --- a/model_named_domain_model.go +++ b/model_named_domain_model.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,7 +16,7 @@ import ( // NamedDomainModel struct for NamedDomainModel type NamedDomainModel struct { - Id string `json:"id"` + Id *string `json:"id,omitempty"` Name string `json:"name"` } @@ -24,10 +24,8 @@ type NamedDomainModel struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewNamedDomainModel(id string, name string) *NamedDomainModel { +func NewNamedDomainModel(name string) *NamedDomainModel { this := NamedDomainModel{} - this.Id = id - this.Name = name return &this } @@ -39,28 +37,36 @@ func NewNamedDomainModelWithDefaults() *NamedDomainModel { return &this } -// GetId returns the Id field value +// GetId returns the Id field value if set, zero value otherwise. func (o *NamedDomainModel) GetId() string { - if o == nil { + if o == nil || o.Id == nil { var ret string return ret } - - return o.Id + return *o.Id } -// GetIdOk returns a tuple with the Id field value +// GetIdOk returns a tuple with the Id field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *NamedDomainModel) GetIdOk() (*string, bool) { - if o == nil { + if o == nil || o.Id == nil { return nil, false } - return &o.Id, true + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *NamedDomainModel) HasId() bool { + if o != nil && o.Id != nil { + return true + } + + return false } -// SetId sets field value +// SetId gets a reference to the given string and assigns it to the Id field. func (o *NamedDomainModel) SetId(v string) { - o.Id = v + o.Id = &v } // GetName returns the Name field value @@ -89,7 +95,7 @@ func (o *NamedDomainModel) SetName(v string) { func (o NamedDomainModel) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { + if o.Id != nil { toSerialize["id"] = o.Id } if true { diff --git a/model_named_domain_model_all_of.go b/model_named_domain_model_all_of.go deleted file mode 100644 index a5ee7348..00000000 --- a/model_named_domain_model_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// NamedDomainModelAllOf struct for NamedDomainModelAllOf -type NamedDomainModelAllOf struct { - Name *string `json:"name,omitempty"` -} - -// NewNamedDomainModelAllOf instantiates a new NamedDomainModelAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewNamedDomainModelAllOf() *NamedDomainModelAllOf { - this := NamedDomainModelAllOf{} - return &this -} - -// NewNamedDomainModelAllOfWithDefaults instantiates a new NamedDomainModelAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewNamedDomainModelAllOfWithDefaults() *NamedDomainModelAllOf { - this := NamedDomainModelAllOf{} - return &this -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *NamedDomainModelAllOf) GetName() string { - if o == nil || o.Name == nil { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *NamedDomainModelAllOf) GetNameOk() (*string, bool) { - if o == nil || o.Name == nil { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *NamedDomainModelAllOf) HasName() bool { - if o != nil && o.Name != nil { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *NamedDomainModelAllOf) SetName(v string) { - o.Name = &v -} - -func (o NamedDomainModelAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Name != nil { - toSerialize["name"] = o.Name - } - return json.Marshal(toSerialize) -} - -type NullableNamedDomainModelAllOf struct { - value *NamedDomainModelAllOf - isSet bool -} - -func (v NullableNamedDomainModelAllOf) Get() *NamedDomainModelAllOf { - return v.value -} - -func (v *NullableNamedDomainModelAllOf) Set(val *NamedDomainModelAllOf) { - v.value = val - v.isSet = true -} - -func (v NullableNamedDomainModelAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullableNamedDomainModelAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableNamedDomainModelAllOf(val *NamedDomainModelAllOf) *NullableNamedDomainModelAllOf { - return &NullableNamedDomainModelAllOf{value: val, isSet: true} -} - -func (v NullableNamedDomainModelAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableNamedDomainModelAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_office.go b/model_office.go index 4c99a9b1..83ac2918 100644 --- a/model_office.go +++ b/model_office.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,8 +16,6 @@ import ( // Office struct for Office type Office struct { - Id string `json:"id"` - Name string `json:"name"` Synonyms []string `json:"synonyms,omitempty"` Location *string `json:"location,omitempty"` Geolocation *Geolocation `json:"geolocation,omitempty"` @@ -27,10 +25,9 @@ type Office struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewOffice(id string, name string) *Office { +func NewOffice(id string) *Office { this := Office{} this.Id = id - this.Name = name return &this } @@ -42,54 +39,6 @@ func NewOfficeWithDefaults() *Office { return &this } -// GetId returns the Id field value -func (o *Office) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *Office) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *Office) SetId(v string) { - o.Id = v -} - -// GetName returns the Name field value -func (o *Office) GetName() string { - if o == nil { - var ret string - return ret - } - - return o.Name -} - -// GetNameOk returns a tuple with the Name field value -// and a boolean to check if the value has been set. -func (o *Office) GetNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Name, true -} - -// SetName sets field value -func (o *Office) SetName(v string) { - o.Name = v -} - // GetSynonyms returns the Synonyms field value if set, zero value otherwise. func (o *Office) GetSynonyms() []string { if o == nil || o.Synonyms == nil { @@ -188,12 +137,6 @@ func (o *Office) SetGeolocation(v Geolocation) { func (o Office) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - if true { - toSerialize["name"] = o.Name - } if o.Synonyms != nil { toSerialize["synonyms"] = o.Synonyms } diff --git a/model_organization.go b/model_organization.go index 38275e97..a67061cc 100644 --- a/model_organization.go +++ b/model_organization.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,32 +16,25 @@ import ( // Organization struct for Organization type Organization struct { - Id string `json:"id"` - Name string `json:"name"` + Partner *bool `json:"partner,omitempty"` + Customer *bool `json:"customer,omitempty"` + // base64 encoded image + Picture *string `json:"picture,omitempty"` Suggestion bool `json:"suggestion"` Synonyms []string `json:"synonyms,omitempty"` Location *string `json:"location,omitempty"` Geolocation *Geolocation `json:"geolocation,omitempty"` Description *string `json:"description,omitempty"` - Partner *bool `json:"partner,omitempty"` - Customer *bool `json:"customer,omitempty"` - // base64 encoded image - Picture *string `json:"picture,omitempty"` } // NewOrganization instantiates a new Organization object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewOrganization(id string, name string, suggestion bool) *Organization { +func NewOrganization(suggestion bool, id string) *Organization { this := Organization{} this.Id = id - this.Name = name this.Suggestion = suggestion - var partner bool = false - this.Partner = &partner - var customer bool = false - this.Customer = &customer return &this } @@ -50,61 +43,109 @@ func NewOrganization(id string, name string, suggestion bool) *Organization { // but it doesn't guarantee that properties required by API are set func NewOrganizationWithDefaults() *Organization { this := Organization{} - var suggestion bool = false - this.Suggestion = suggestion var partner bool = false this.Partner = &partner var customer bool = false this.Customer = &customer + var suggestion bool = false + this.Suggestion = suggestion return &this } -// GetId returns the Id field value -func (o *Organization) GetId() string { - if o == nil { - var ret string +// GetPartner returns the Partner field value if set, zero value otherwise. +func (o *Organization) GetPartner() bool { + if o == nil || o.Partner == nil { + var ret bool return ret } + return *o.Partner +} + +// GetPartnerOk returns a tuple with the Partner field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Organization) GetPartnerOk() (*bool, bool) { + if o == nil || o.Partner == nil { + return nil, false + } + return o.Partner, true +} + +// HasPartner returns a boolean if a field has been set. +func (o *Organization) HasPartner() bool { + if o != nil && o.Partner != nil { + return true + } - return o.Id + return false +} + +// SetPartner gets a reference to the given bool and assigns it to the Partner field. +func (o *Organization) SetPartner(v bool) { + o.Partner = &v +} + +// GetCustomer returns the Customer field value if set, zero value otherwise. +func (o *Organization) GetCustomer() bool { + if o == nil || o.Customer == nil { + var ret bool + return ret + } + return *o.Customer } -// GetIdOk returns a tuple with the Id field value +// GetCustomerOk returns a tuple with the Customer field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Organization) GetIdOk() (*string, bool) { - if o == nil { +func (o *Organization) GetCustomerOk() (*bool, bool) { + if o == nil || o.Customer == nil { return nil, false } - return &o.Id, true + return o.Customer, true +} + +// HasCustomer returns a boolean if a field has been set. +func (o *Organization) HasCustomer() bool { + if o != nil && o.Customer != nil { + return true + } + + return false } -// SetId sets field value -func (o *Organization) SetId(v string) { - o.Id = v +// SetCustomer gets a reference to the given bool and assigns it to the Customer field. +func (o *Organization) SetCustomer(v bool) { + o.Customer = &v } -// GetName returns the Name field value -func (o *Organization) GetName() string { - if o == nil { +// GetPicture returns the Picture field value if set, zero value otherwise. +func (o *Organization) GetPicture() string { + if o == nil || o.Picture == nil { var ret string return ret } - - return o.Name + return *o.Picture } -// GetNameOk returns a tuple with the Name field value +// GetPictureOk returns a tuple with the Picture field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Organization) GetNameOk() (*string, bool) { - if o == nil { +func (o *Organization) GetPictureOk() (*string, bool) { + if o == nil || o.Picture == nil { return nil, false } - return &o.Name, true + return o.Picture, true +} + +// HasPicture returns a boolean if a field has been set. +func (o *Organization) HasPicture() bool { + if o != nil && o.Picture != nil { + return true + } + + return false } -// SetName sets field value -func (o *Organization) SetName(v string) { - o.Name = v +// SetPicture gets a reference to the given string and assigns it to the Picture field. +func (o *Organization) SetPicture(v string) { + o.Picture = &v } // GetSuggestion returns the Suggestion field value @@ -259,109 +300,16 @@ func (o *Organization) SetDescription(v string) { o.Description = &v } -// GetPartner returns the Partner field value if set, zero value otherwise. -func (o *Organization) GetPartner() bool { - if o == nil || o.Partner == nil { - var ret bool - return ret - } - return *o.Partner -} - -// GetPartnerOk returns a tuple with the Partner field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Organization) GetPartnerOk() (*bool, bool) { - if o == nil || o.Partner == nil { - return nil, false - } - return o.Partner, true -} - -// HasPartner returns a boolean if a field has been set. -func (o *Organization) HasPartner() bool { - if o != nil && o.Partner != nil { - return true - } - - return false -} - -// SetPartner gets a reference to the given bool and assigns it to the Partner field. -func (o *Organization) SetPartner(v bool) { - o.Partner = &v -} - -// GetCustomer returns the Customer field value if set, zero value otherwise. -func (o *Organization) GetCustomer() bool { - if o == nil || o.Customer == nil { - var ret bool - return ret - } - return *o.Customer -} - -// GetCustomerOk returns a tuple with the Customer field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Organization) GetCustomerOk() (*bool, bool) { - if o == nil || o.Customer == nil { - return nil, false - } - return o.Customer, true -} - -// HasCustomer returns a boolean if a field has been set. -func (o *Organization) HasCustomer() bool { - if o != nil && o.Customer != nil { - return true - } - - return false -} - -// SetCustomer gets a reference to the given bool and assigns it to the Customer field. -func (o *Organization) SetCustomer(v bool) { - o.Customer = &v -} - -// GetPicture returns the Picture field value if set, zero value otherwise. -func (o *Organization) GetPicture() string { - if o == nil || o.Picture == nil { - var ret string - return ret - } - return *o.Picture -} - -// GetPictureOk returns a tuple with the Picture field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Organization) GetPictureOk() (*string, bool) { - if o == nil || o.Picture == nil { - return nil, false - } - return o.Picture, true -} - -// HasPicture returns a boolean if a field has been set. -func (o *Organization) HasPicture() bool { - if o != nil && o.Picture != nil { - return true - } - - return false -} - -// SetPicture gets a reference to the given string and assigns it to the Picture field. -func (o *Organization) SetPicture(v string) { - o.Picture = &v -} - func (o Organization) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id + if o.Partner != nil { + toSerialize["partner"] = o.Partner } - if true { - toSerialize["name"] = o.Name + if o.Customer != nil { + toSerialize["customer"] = o.Customer + } + if o.Picture != nil { + toSerialize["picture"] = o.Picture } if true { toSerialize["suggestion"] = o.Suggestion @@ -378,15 +326,6 @@ func (o Organization) MarshalJSON() ([]byte, error) { if o.Description != nil { toSerialize["description"] = o.Description } - if o.Partner != nil { - toSerialize["partner"] = o.Partner - } - if o.Customer != nil { - toSerialize["customer"] = o.Customer - } - if o.Picture != nil { - toSerialize["picture"] = o.Picture - } return json.Marshal(toSerialize) } diff --git a/model_organization_all_of.go b/model_organization_all_of.go deleted file mode 100644 index 24f39cd7..00000000 --- a/model_organization_all_of.go +++ /dev/null @@ -1,196 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// OrganizationAllOf struct for OrganizationAllOf -type OrganizationAllOf struct { - Partner *bool `json:"partner,omitempty"` - Customer *bool `json:"customer,omitempty"` - // base64 encoded image - Picture *string `json:"picture,omitempty"` -} - -// NewOrganizationAllOf instantiates a new OrganizationAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewOrganizationAllOf() *OrganizationAllOf { - this := OrganizationAllOf{} - var partner bool = false - this.Partner = &partner - var customer bool = false - this.Customer = &customer - return &this -} - -// NewOrganizationAllOfWithDefaults instantiates a new OrganizationAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewOrganizationAllOfWithDefaults() *OrganizationAllOf { - this := OrganizationAllOf{} - var partner bool = false - this.Partner = &partner - var customer bool = false - this.Customer = &customer - return &this -} - -// GetPartner returns the Partner field value if set, zero value otherwise. -func (o *OrganizationAllOf) GetPartner() bool { - if o == nil || o.Partner == nil { - var ret bool - return ret - } - return *o.Partner -} - -// GetPartnerOk returns a tuple with the Partner field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationAllOf) GetPartnerOk() (*bool, bool) { - if o == nil || o.Partner == nil { - return nil, false - } - return o.Partner, true -} - -// HasPartner returns a boolean if a field has been set. -func (o *OrganizationAllOf) HasPartner() bool { - if o != nil && o.Partner != nil { - return true - } - - return false -} - -// SetPartner gets a reference to the given bool and assigns it to the Partner field. -func (o *OrganizationAllOf) SetPartner(v bool) { - o.Partner = &v -} - -// GetCustomer returns the Customer field value if set, zero value otherwise. -func (o *OrganizationAllOf) GetCustomer() bool { - if o == nil || o.Customer == nil { - var ret bool - return ret - } - return *o.Customer -} - -// GetCustomerOk returns a tuple with the Customer field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationAllOf) GetCustomerOk() (*bool, bool) { - if o == nil || o.Customer == nil { - return nil, false - } - return o.Customer, true -} - -// HasCustomer returns a boolean if a field has been set. -func (o *OrganizationAllOf) HasCustomer() bool { - if o != nil && o.Customer != nil { - return true - } - - return false -} - -// SetCustomer gets a reference to the given bool and assigns it to the Customer field. -func (o *OrganizationAllOf) SetCustomer(v bool) { - o.Customer = &v -} - -// GetPicture returns the Picture field value if set, zero value otherwise. -func (o *OrganizationAllOf) GetPicture() string { - if o == nil || o.Picture == nil { - var ret string - return ret - } - return *o.Picture -} - -// GetPictureOk returns a tuple with the Picture field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *OrganizationAllOf) GetPictureOk() (*string, bool) { - if o == nil || o.Picture == nil { - return nil, false - } - return o.Picture, true -} - -// HasPicture returns a boolean if a field has been set. -func (o *OrganizationAllOf) HasPicture() bool { - if o != nil && o.Picture != nil { - return true - } - - return false -} - -// SetPicture gets a reference to the given string and assigns it to the Picture field. -func (o *OrganizationAllOf) SetPicture(v string) { - o.Picture = &v -} - -func (o OrganizationAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Partner != nil { - toSerialize["partner"] = o.Partner - } - if o.Customer != nil { - toSerialize["customer"] = o.Customer - } - if o.Picture != nil { - toSerialize["picture"] = o.Picture - } - return json.Marshal(toSerialize) -} - -type NullableOrganizationAllOf struct { - value *OrganizationAllOf - isSet bool -} - -func (v NullableOrganizationAllOf) Get() *OrganizationAllOf { - return v.value -} - -func (v *NullableOrganizationAllOf) Set(val *OrganizationAllOf) { - v.value = val - v.isSet = true -} - -func (v NullableOrganizationAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullableOrganizationAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableOrganizationAllOf(val *OrganizationAllOf) *NullableOrganizationAllOf { - return &NullableOrganizationAllOf{value: val, isSet: true} -} - -func (v NullableOrganizationAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableOrganizationAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_organization_details.go b/model_organization_details.go index 11db3a23..58cb40b4 100644 --- a/model_organization_details.go +++ b/model_organization_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_page.go b/model_page.go index 0ae56b5d..7a41ed97 100644 --- a/model_page.go +++ b/model_page.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_availabilities.go b/model_paged_availabilities.go index e7ca9692..41ded115 100644 --- a/model_paged_availabilities.go +++ b/model_paged_availabilities.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,6 @@ import ( // PagedAvailabilities struct for PagedAvailabilities type PagedAvailabilities struct { - Skip *int32 `json:"skip,omitempty"` - Limit *int32 `json:"limit,omitempty"` - Count *int32 `json:"count,omitempty"` Availabilities []AvailabilityDetail `json:"availabilities,omitempty"` } @@ -39,102 +36,6 @@ func NewPagedAvailabilitiesWithDefaults() *PagedAvailabilities { return &this } -// GetSkip returns the Skip field value if set, zero value otherwise. -func (o *PagedAvailabilities) GetSkip() int32 { - if o == nil || o.Skip == nil { - var ret int32 - return ret - } - return *o.Skip -} - -// GetSkipOk returns a tuple with the Skip field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedAvailabilities) GetSkipOk() (*int32, bool) { - if o == nil || o.Skip == nil { - return nil, false - } - return o.Skip, true -} - -// HasSkip returns a boolean if a field has been set. -func (o *PagedAvailabilities) HasSkip() bool { - if o != nil && o.Skip != nil { - return true - } - - return false -} - -// SetSkip gets a reference to the given int32 and assigns it to the Skip field. -func (o *PagedAvailabilities) SetSkip(v int32) { - o.Skip = &v -} - -// GetLimit returns the Limit field value if set, zero value otherwise. -func (o *PagedAvailabilities) GetLimit() int32 { - if o == nil || o.Limit == nil { - var ret int32 - return ret - } - return *o.Limit -} - -// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedAvailabilities) GetLimitOk() (*int32, bool) { - if o == nil || o.Limit == nil { - return nil, false - } - return o.Limit, true -} - -// HasLimit returns a boolean if a field has been set. -func (o *PagedAvailabilities) HasLimit() bool { - if o != nil && o.Limit != nil { - return true - } - - return false -} - -// SetLimit gets a reference to the given int32 and assigns it to the Limit field. -func (o *PagedAvailabilities) SetLimit(v int32) { - o.Limit = &v -} - -// GetCount returns the Count field value if set, zero value otherwise. -func (o *PagedAvailabilities) GetCount() int32 { - if o == nil || o.Count == nil { - var ret int32 - return ret - } - return *o.Count -} - -// GetCountOk returns a tuple with the Count field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedAvailabilities) GetCountOk() (*int32, bool) { - if o == nil || o.Count == nil { - return nil, false - } - return o.Count, true -} - -// HasCount returns a boolean if a field has been set. -func (o *PagedAvailabilities) HasCount() bool { - if o != nil && o.Count != nil { - return true - } - - return false -} - -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *PagedAvailabilities) SetCount(v int32) { - o.Count = &v -} - // GetAvailabilities returns the Availabilities field value if set, zero value otherwise. func (o *PagedAvailabilities) GetAvailabilities() []AvailabilityDetail { if o == nil || o.Availabilities == nil { @@ -169,15 +70,6 @@ func (o *PagedAvailabilities) SetAvailabilities(v []AvailabilityDetail) { func (o PagedAvailabilities) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Skip != nil { - toSerialize["skip"] = o.Skip - } - if o.Limit != nil { - toSerialize["limit"] = o.Limit - } - if o.Count != nil { - toSerialize["count"] = o.Count - } if o.Availabilities != nil { toSerialize["availabilities"] = o.Availabilities } diff --git a/model_paged_availabilities_all_of.go b/model_paged_availabilities_all_of.go deleted file mode 100644 index 7609a870..00000000 --- a/model_paged_availabilities_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PagedAvailabilitiesAllOf struct for PagedAvailabilitiesAllOf -type PagedAvailabilitiesAllOf struct { - Availabilities []AvailabilityDetail `json:"availabilities,omitempty"` -} - -// NewPagedAvailabilitiesAllOf instantiates a new PagedAvailabilitiesAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPagedAvailabilitiesAllOf() *PagedAvailabilitiesAllOf { - this := PagedAvailabilitiesAllOf{} - return &this -} - -// NewPagedAvailabilitiesAllOfWithDefaults instantiates a new PagedAvailabilitiesAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPagedAvailabilitiesAllOfWithDefaults() *PagedAvailabilitiesAllOf { - this := PagedAvailabilitiesAllOf{} - return &this -} - -// GetAvailabilities returns the Availabilities field value if set, zero value otherwise. -func (o *PagedAvailabilitiesAllOf) GetAvailabilities() []AvailabilityDetail { - if o == nil || o.Availabilities == nil { - var ret []AvailabilityDetail - return ret - } - return o.Availabilities -} - -// GetAvailabilitiesOk returns a tuple with the Availabilities field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedAvailabilitiesAllOf) GetAvailabilitiesOk() ([]AvailabilityDetail, bool) { - if o == nil || o.Availabilities == nil { - return nil, false - } - return o.Availabilities, true -} - -// HasAvailabilities returns a boolean if a field has been set. -func (o *PagedAvailabilitiesAllOf) HasAvailabilities() bool { - if o != nil && o.Availabilities != nil { - return true - } - - return false -} - -// SetAvailabilities gets a reference to the given []AvailabilityDetail and assigns it to the Availabilities field. -func (o *PagedAvailabilitiesAllOf) SetAvailabilities(v []AvailabilityDetail) { - o.Availabilities = v -} - -func (o PagedAvailabilitiesAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Availabilities != nil { - toSerialize["availabilities"] = o.Availabilities - } - return json.Marshal(toSerialize) -} - -type NullablePagedAvailabilitiesAllOf struct { - value *PagedAvailabilitiesAllOf - isSet bool -} - -func (v NullablePagedAvailabilitiesAllOf) Get() *PagedAvailabilitiesAllOf { - return v.value -} - -func (v *NullablePagedAvailabilitiesAllOf) Set(val *PagedAvailabilitiesAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePagedAvailabilitiesAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePagedAvailabilitiesAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePagedAvailabilitiesAllOf(val *PagedAvailabilitiesAllOf) *NullablePagedAvailabilitiesAllOf { - return &NullablePagedAvailabilitiesAllOf{value: val, isSet: true} -} - -func (v NullablePagedAvailabilitiesAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePagedAvailabilitiesAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_paged_certifications.go b/model_paged_certifications.go index 9294e210..ec1ab47b 100644 --- a/model_paged_certifications.go +++ b/model_paged_certifications.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,6 @@ import ( // PagedCertifications struct for PagedCertifications type PagedCertifications struct { - Skip *int32 `json:"skip,omitempty"` - Limit *int32 `json:"limit,omitempty"` - Count *int32 `json:"count,omitempty"` Certifications []CertificationDetails `json:"certifications,omitempty"` } @@ -39,102 +36,6 @@ func NewPagedCertificationsWithDefaults() *PagedCertifications { return &this } -// GetSkip returns the Skip field value if set, zero value otherwise. -func (o *PagedCertifications) GetSkip() int32 { - if o == nil || o.Skip == nil { - var ret int32 - return ret - } - return *o.Skip -} - -// GetSkipOk returns a tuple with the Skip field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedCertifications) GetSkipOk() (*int32, bool) { - if o == nil || o.Skip == nil { - return nil, false - } - return o.Skip, true -} - -// HasSkip returns a boolean if a field has been set. -func (o *PagedCertifications) HasSkip() bool { - if o != nil && o.Skip != nil { - return true - } - - return false -} - -// SetSkip gets a reference to the given int32 and assigns it to the Skip field. -func (o *PagedCertifications) SetSkip(v int32) { - o.Skip = &v -} - -// GetLimit returns the Limit field value if set, zero value otherwise. -func (o *PagedCertifications) GetLimit() int32 { - if o == nil || o.Limit == nil { - var ret int32 - return ret - } - return *o.Limit -} - -// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedCertifications) GetLimitOk() (*int32, bool) { - if o == nil || o.Limit == nil { - return nil, false - } - return o.Limit, true -} - -// HasLimit returns a boolean if a field has been set. -func (o *PagedCertifications) HasLimit() bool { - if o != nil && o.Limit != nil { - return true - } - - return false -} - -// SetLimit gets a reference to the given int32 and assigns it to the Limit field. -func (o *PagedCertifications) SetLimit(v int32) { - o.Limit = &v -} - -// GetCount returns the Count field value if set, zero value otherwise. -func (o *PagedCertifications) GetCount() int32 { - if o == nil || o.Count == nil { - var ret int32 - return ret - } - return *o.Count -} - -// GetCountOk returns a tuple with the Count field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedCertifications) GetCountOk() (*int32, bool) { - if o == nil || o.Count == nil { - return nil, false - } - return o.Count, true -} - -// HasCount returns a boolean if a field has been set. -func (o *PagedCertifications) HasCount() bool { - if o != nil && o.Count != nil { - return true - } - - return false -} - -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *PagedCertifications) SetCount(v int32) { - o.Count = &v -} - // GetCertifications returns the Certifications field value if set, zero value otherwise. func (o *PagedCertifications) GetCertifications() []CertificationDetails { if o == nil || o.Certifications == nil { @@ -169,15 +70,6 @@ func (o *PagedCertifications) SetCertifications(v []CertificationDetails) { func (o PagedCertifications) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Skip != nil { - toSerialize["skip"] = o.Skip - } - if o.Limit != nil { - toSerialize["limit"] = o.Limit - } - if o.Count != nil { - toSerialize["count"] = o.Count - } if o.Certifications != nil { toSerialize["certifications"] = o.Certifications } diff --git a/model_paged_certifications_all_of.go b/model_paged_certifications_all_of.go deleted file mode 100644 index 55c5b6f0..00000000 --- a/model_paged_certifications_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PagedCertificationsAllOf struct for PagedCertificationsAllOf -type PagedCertificationsAllOf struct { - Certifications []CertificationDetails `json:"certifications,omitempty"` -} - -// NewPagedCertificationsAllOf instantiates a new PagedCertificationsAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPagedCertificationsAllOf() *PagedCertificationsAllOf { - this := PagedCertificationsAllOf{} - return &this -} - -// NewPagedCertificationsAllOfWithDefaults instantiates a new PagedCertificationsAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPagedCertificationsAllOfWithDefaults() *PagedCertificationsAllOf { - this := PagedCertificationsAllOf{} - return &this -} - -// GetCertifications returns the Certifications field value if set, zero value otherwise. -func (o *PagedCertificationsAllOf) GetCertifications() []CertificationDetails { - if o == nil || o.Certifications == nil { - var ret []CertificationDetails - return ret - } - return o.Certifications -} - -// GetCertificationsOk returns a tuple with the Certifications field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedCertificationsAllOf) GetCertificationsOk() ([]CertificationDetails, bool) { - if o == nil || o.Certifications == nil { - return nil, false - } - return o.Certifications, true -} - -// HasCertifications returns a boolean if a field has been set. -func (o *PagedCertificationsAllOf) HasCertifications() bool { - if o != nil && o.Certifications != nil { - return true - } - - return false -} - -// SetCertifications gets a reference to the given []CertificationDetails and assigns it to the Certifications field. -func (o *PagedCertificationsAllOf) SetCertifications(v []CertificationDetails) { - o.Certifications = v -} - -func (o PagedCertificationsAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Certifications != nil { - toSerialize["certifications"] = o.Certifications - } - return json.Marshal(toSerialize) -} - -type NullablePagedCertificationsAllOf struct { - value *PagedCertificationsAllOf - isSet bool -} - -func (v NullablePagedCertificationsAllOf) Get() *PagedCertificationsAllOf { - return v.value -} - -func (v *NullablePagedCertificationsAllOf) Set(val *PagedCertificationsAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePagedCertificationsAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePagedCertificationsAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePagedCertificationsAllOf(val *PagedCertificationsAllOf) *NullablePagedCertificationsAllOf { - return &NullablePagedCertificationsAllOf{value: val, isSet: true} -} - -func (v NullablePagedCertificationsAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePagedCertificationsAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_paged_countries.go b/model_paged_countries.go index e3abe0fe..e06a278f 100644 --- a/model_paged_countries.go +++ b/model_paged_countries.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,6 @@ import ( // PagedCountries struct for PagedCountries type PagedCountries struct { - Skip *int32 `json:"skip,omitempty"` - Limit *int32 `json:"limit,omitempty"` - Count *int32 `json:"count,omitempty"` Countries []Country `json:"countries,omitempty"` } @@ -39,102 +36,6 @@ func NewPagedCountriesWithDefaults() *PagedCountries { return &this } -// GetSkip returns the Skip field value if set, zero value otherwise. -func (o *PagedCountries) GetSkip() int32 { - if o == nil || o.Skip == nil { - var ret int32 - return ret - } - return *o.Skip -} - -// GetSkipOk returns a tuple with the Skip field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedCountries) GetSkipOk() (*int32, bool) { - if o == nil || o.Skip == nil { - return nil, false - } - return o.Skip, true -} - -// HasSkip returns a boolean if a field has been set. -func (o *PagedCountries) HasSkip() bool { - if o != nil && o.Skip != nil { - return true - } - - return false -} - -// SetSkip gets a reference to the given int32 and assigns it to the Skip field. -func (o *PagedCountries) SetSkip(v int32) { - o.Skip = &v -} - -// GetLimit returns the Limit field value if set, zero value otherwise. -func (o *PagedCountries) GetLimit() int32 { - if o == nil || o.Limit == nil { - var ret int32 - return ret - } - return *o.Limit -} - -// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedCountries) GetLimitOk() (*int32, bool) { - if o == nil || o.Limit == nil { - return nil, false - } - return o.Limit, true -} - -// HasLimit returns a boolean if a field has been set. -func (o *PagedCountries) HasLimit() bool { - if o != nil && o.Limit != nil { - return true - } - - return false -} - -// SetLimit gets a reference to the given int32 and assigns it to the Limit field. -func (o *PagedCountries) SetLimit(v int32) { - o.Limit = &v -} - -// GetCount returns the Count field value if set, zero value otherwise. -func (o *PagedCountries) GetCount() int32 { - if o == nil || o.Count == nil { - var ret int32 - return ret - } - return *o.Count -} - -// GetCountOk returns a tuple with the Count field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedCountries) GetCountOk() (*int32, bool) { - if o == nil || o.Count == nil { - return nil, false - } - return o.Count, true -} - -// HasCount returns a boolean if a field has been set. -func (o *PagedCountries) HasCount() bool { - if o != nil && o.Count != nil { - return true - } - - return false -} - -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *PagedCountries) SetCount(v int32) { - o.Count = &v -} - // GetCountries returns the Countries field value if set, zero value otherwise. func (o *PagedCountries) GetCountries() []Country { if o == nil || o.Countries == nil { @@ -169,15 +70,6 @@ func (o *PagedCountries) SetCountries(v []Country) { func (o PagedCountries) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Skip != nil { - toSerialize["skip"] = o.Skip - } - if o.Limit != nil { - toSerialize["limit"] = o.Limit - } - if o.Count != nil { - toSerialize["count"] = o.Count - } if o.Countries != nil { toSerialize["countries"] = o.Countries } diff --git a/model_paged_countries_all_of.go b/model_paged_countries_all_of.go deleted file mode 100644 index 82444888..00000000 --- a/model_paged_countries_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PagedCountriesAllOf struct for PagedCountriesAllOf -type PagedCountriesAllOf struct { - Countries []Country `json:"countries,omitempty"` -} - -// NewPagedCountriesAllOf instantiates a new PagedCountriesAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPagedCountriesAllOf() *PagedCountriesAllOf { - this := PagedCountriesAllOf{} - return &this -} - -// NewPagedCountriesAllOfWithDefaults instantiates a new PagedCountriesAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPagedCountriesAllOfWithDefaults() *PagedCountriesAllOf { - this := PagedCountriesAllOf{} - return &this -} - -// GetCountries returns the Countries field value if set, zero value otherwise. -func (o *PagedCountriesAllOf) GetCountries() []Country { - if o == nil || o.Countries == nil { - var ret []Country - return ret - } - return o.Countries -} - -// GetCountriesOk returns a tuple with the Countries field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedCountriesAllOf) GetCountriesOk() ([]Country, bool) { - if o == nil || o.Countries == nil { - return nil, false - } - return o.Countries, true -} - -// HasCountries returns a boolean if a field has been set. -func (o *PagedCountriesAllOf) HasCountries() bool { - if o != nil && o.Countries != nil { - return true - } - - return false -} - -// SetCountries gets a reference to the given []Country and assigns it to the Countries field. -func (o *PagedCountriesAllOf) SetCountries(v []Country) { - o.Countries = v -} - -func (o PagedCountriesAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Countries != nil { - toSerialize["countries"] = o.Countries - } - return json.Marshal(toSerialize) -} - -type NullablePagedCountriesAllOf struct { - value *PagedCountriesAllOf - isSet bool -} - -func (v NullablePagedCountriesAllOf) Get() *PagedCountriesAllOf { - return v.value -} - -func (v *NullablePagedCountriesAllOf) Set(val *PagedCountriesAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePagedCountriesAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePagedCountriesAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePagedCountriesAllOf(val *PagedCountriesAllOf) *NullablePagedCountriesAllOf { - return &NullablePagedCountriesAllOf{value: val, isSet: true} -} - -func (v NullablePagedCountriesAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePagedCountriesAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_paged_industries.go b/model_paged_industries.go index 4a0163e5..ef95271c 100644 --- a/model_paged_industries.go +++ b/model_paged_industries.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,6 @@ import ( // PagedIndustries struct for PagedIndustries type PagedIndustries struct { - Skip *int32 `json:"skip,omitempty"` - Limit *int32 `json:"limit,omitempty"` - Count *int32 `json:"count,omitempty"` Industries []IndustryDetails `json:"industries,omitempty"` } @@ -39,102 +36,6 @@ func NewPagedIndustriesWithDefaults() *PagedIndustries { return &this } -// GetSkip returns the Skip field value if set, zero value otherwise. -func (o *PagedIndustries) GetSkip() int32 { - if o == nil || o.Skip == nil { - var ret int32 - return ret - } - return *o.Skip -} - -// GetSkipOk returns a tuple with the Skip field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedIndustries) GetSkipOk() (*int32, bool) { - if o == nil || o.Skip == nil { - return nil, false - } - return o.Skip, true -} - -// HasSkip returns a boolean if a field has been set. -func (o *PagedIndustries) HasSkip() bool { - if o != nil && o.Skip != nil { - return true - } - - return false -} - -// SetSkip gets a reference to the given int32 and assigns it to the Skip field. -func (o *PagedIndustries) SetSkip(v int32) { - o.Skip = &v -} - -// GetLimit returns the Limit field value if set, zero value otherwise. -func (o *PagedIndustries) GetLimit() int32 { - if o == nil || o.Limit == nil { - var ret int32 - return ret - } - return *o.Limit -} - -// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedIndustries) GetLimitOk() (*int32, bool) { - if o == nil || o.Limit == nil { - return nil, false - } - return o.Limit, true -} - -// HasLimit returns a boolean if a field has been set. -func (o *PagedIndustries) HasLimit() bool { - if o != nil && o.Limit != nil { - return true - } - - return false -} - -// SetLimit gets a reference to the given int32 and assigns it to the Limit field. -func (o *PagedIndustries) SetLimit(v int32) { - o.Limit = &v -} - -// GetCount returns the Count field value if set, zero value otherwise. -func (o *PagedIndustries) GetCount() int32 { - if o == nil || o.Count == nil { - var ret int32 - return ret - } - return *o.Count -} - -// GetCountOk returns a tuple with the Count field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedIndustries) GetCountOk() (*int32, bool) { - if o == nil || o.Count == nil { - return nil, false - } - return o.Count, true -} - -// HasCount returns a boolean if a field has been set. -func (o *PagedIndustries) HasCount() bool { - if o != nil && o.Count != nil { - return true - } - - return false -} - -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *PagedIndustries) SetCount(v int32) { - o.Count = &v -} - // GetIndustries returns the Industries field value if set, zero value otherwise. func (o *PagedIndustries) GetIndustries() []IndustryDetails { if o == nil || o.Industries == nil { @@ -169,15 +70,6 @@ func (o *PagedIndustries) SetIndustries(v []IndustryDetails) { func (o PagedIndustries) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Skip != nil { - toSerialize["skip"] = o.Skip - } - if o.Limit != nil { - toSerialize["limit"] = o.Limit - } - if o.Count != nil { - toSerialize["count"] = o.Count - } if o.Industries != nil { toSerialize["industries"] = o.Industries } diff --git a/model_paged_industries_all_of.go b/model_paged_industries_all_of.go deleted file mode 100644 index 740a2213..00000000 --- a/model_paged_industries_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PagedIndustriesAllOf struct for PagedIndustriesAllOf -type PagedIndustriesAllOf struct { - Industries []IndustryDetails `json:"industries,omitempty"` -} - -// NewPagedIndustriesAllOf instantiates a new PagedIndustriesAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPagedIndustriesAllOf() *PagedIndustriesAllOf { - this := PagedIndustriesAllOf{} - return &this -} - -// NewPagedIndustriesAllOfWithDefaults instantiates a new PagedIndustriesAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPagedIndustriesAllOfWithDefaults() *PagedIndustriesAllOf { - this := PagedIndustriesAllOf{} - return &this -} - -// GetIndustries returns the Industries field value if set, zero value otherwise. -func (o *PagedIndustriesAllOf) GetIndustries() []IndustryDetails { - if o == nil || o.Industries == nil { - var ret []IndustryDetails - return ret - } - return o.Industries -} - -// GetIndustriesOk returns a tuple with the Industries field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedIndustriesAllOf) GetIndustriesOk() ([]IndustryDetails, bool) { - if o == nil || o.Industries == nil { - return nil, false - } - return o.Industries, true -} - -// HasIndustries returns a boolean if a field has been set. -func (o *PagedIndustriesAllOf) HasIndustries() bool { - if o != nil && o.Industries != nil { - return true - } - - return false -} - -// SetIndustries gets a reference to the given []IndustryDetails and assigns it to the Industries field. -func (o *PagedIndustriesAllOf) SetIndustries(v []IndustryDetails) { - o.Industries = v -} - -func (o PagedIndustriesAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Industries != nil { - toSerialize["industries"] = o.Industries - } - return json.Marshal(toSerialize) -} - -type NullablePagedIndustriesAllOf struct { - value *PagedIndustriesAllOf - isSet bool -} - -func (v NullablePagedIndustriesAllOf) Get() *PagedIndustriesAllOf { - return v.value -} - -func (v *NullablePagedIndustriesAllOf) Set(val *PagedIndustriesAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePagedIndustriesAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePagedIndustriesAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePagedIndustriesAllOf(val *PagedIndustriesAllOf) *NullablePagedIndustriesAllOf { - return &NullablePagedIndustriesAllOf{value: val, isSet: true} -} - -func (v NullablePagedIndustriesAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePagedIndustriesAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_paged_languages.go b/model_paged_languages.go index f3690a6d..4499d4e2 100644 --- a/model_paged_languages.go +++ b/model_paged_languages.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,6 @@ import ( // PagedLanguages struct for PagedLanguages type PagedLanguages struct { - Skip *int32 `json:"skip,omitempty"` - Limit *int32 `json:"limit,omitempty"` - Count *int32 `json:"count,omitempty"` Languages []Language `json:"languages,omitempty"` } @@ -39,102 +36,6 @@ func NewPagedLanguagesWithDefaults() *PagedLanguages { return &this } -// GetSkip returns the Skip field value if set, zero value otherwise. -func (o *PagedLanguages) GetSkip() int32 { - if o == nil || o.Skip == nil { - var ret int32 - return ret - } - return *o.Skip -} - -// GetSkipOk returns a tuple with the Skip field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedLanguages) GetSkipOk() (*int32, bool) { - if o == nil || o.Skip == nil { - return nil, false - } - return o.Skip, true -} - -// HasSkip returns a boolean if a field has been set. -func (o *PagedLanguages) HasSkip() bool { - if o != nil && o.Skip != nil { - return true - } - - return false -} - -// SetSkip gets a reference to the given int32 and assigns it to the Skip field. -func (o *PagedLanguages) SetSkip(v int32) { - o.Skip = &v -} - -// GetLimit returns the Limit field value if set, zero value otherwise. -func (o *PagedLanguages) GetLimit() int32 { - if o == nil || o.Limit == nil { - var ret int32 - return ret - } - return *o.Limit -} - -// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedLanguages) GetLimitOk() (*int32, bool) { - if o == nil || o.Limit == nil { - return nil, false - } - return o.Limit, true -} - -// HasLimit returns a boolean if a field has been set. -func (o *PagedLanguages) HasLimit() bool { - if o != nil && o.Limit != nil { - return true - } - - return false -} - -// SetLimit gets a reference to the given int32 and assigns it to the Limit field. -func (o *PagedLanguages) SetLimit(v int32) { - o.Limit = &v -} - -// GetCount returns the Count field value if set, zero value otherwise. -func (o *PagedLanguages) GetCount() int32 { - if o == nil || o.Count == nil { - var ret int32 - return ret - } - return *o.Count -} - -// GetCountOk returns a tuple with the Count field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedLanguages) GetCountOk() (*int32, bool) { - if o == nil || o.Count == nil { - return nil, false - } - return o.Count, true -} - -// HasCount returns a boolean if a field has been set. -func (o *PagedLanguages) HasCount() bool { - if o != nil && o.Count != nil { - return true - } - - return false -} - -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *PagedLanguages) SetCount(v int32) { - o.Count = &v -} - // GetLanguages returns the Languages field value if set, zero value otherwise. func (o *PagedLanguages) GetLanguages() []Language { if o == nil || o.Languages == nil { @@ -169,15 +70,6 @@ func (o *PagedLanguages) SetLanguages(v []Language) { func (o PagedLanguages) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Skip != nil { - toSerialize["skip"] = o.Skip - } - if o.Limit != nil { - toSerialize["limit"] = o.Limit - } - if o.Count != nil { - toSerialize["count"] = o.Count - } if o.Languages != nil { toSerialize["languages"] = o.Languages } diff --git a/model_paged_languages_all_of.go b/model_paged_languages_all_of.go deleted file mode 100644 index 0097cfca..00000000 --- a/model_paged_languages_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PagedLanguagesAllOf struct for PagedLanguagesAllOf -type PagedLanguagesAllOf struct { - Languages []Language `json:"languages,omitempty"` -} - -// NewPagedLanguagesAllOf instantiates a new PagedLanguagesAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPagedLanguagesAllOf() *PagedLanguagesAllOf { - this := PagedLanguagesAllOf{} - return &this -} - -// NewPagedLanguagesAllOfWithDefaults instantiates a new PagedLanguagesAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPagedLanguagesAllOfWithDefaults() *PagedLanguagesAllOf { - this := PagedLanguagesAllOf{} - return &this -} - -// GetLanguages returns the Languages field value if set, zero value otherwise. -func (o *PagedLanguagesAllOf) GetLanguages() []Language { - if o == nil || o.Languages == nil { - var ret []Language - return ret - } - return o.Languages -} - -// GetLanguagesOk returns a tuple with the Languages field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedLanguagesAllOf) GetLanguagesOk() ([]Language, bool) { - if o == nil || o.Languages == nil { - return nil, false - } - return o.Languages, true -} - -// HasLanguages returns a boolean if a field has been set. -func (o *PagedLanguagesAllOf) HasLanguages() bool { - if o != nil && o.Languages != nil { - return true - } - - return false -} - -// SetLanguages gets a reference to the given []Language and assigns it to the Languages field. -func (o *PagedLanguagesAllOf) SetLanguages(v []Language) { - o.Languages = v -} - -func (o PagedLanguagesAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Languages != nil { - toSerialize["languages"] = o.Languages - } - return json.Marshal(toSerialize) -} - -type NullablePagedLanguagesAllOf struct { - value *PagedLanguagesAllOf - isSet bool -} - -func (v NullablePagedLanguagesAllOf) Get() *PagedLanguagesAllOf { - return v.value -} - -func (v *NullablePagedLanguagesAllOf) Set(val *PagedLanguagesAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePagedLanguagesAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePagedLanguagesAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePagedLanguagesAllOf(val *PagedLanguagesAllOf) *NullablePagedLanguagesAllOf { - return &NullablePagedLanguagesAllOf{value: val, isSet: true} -} - -func (v NullablePagedLanguagesAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePagedLanguagesAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_paged_organizations.go b/model_paged_organizations.go index 98701c5b..f084b2c4 100644 --- a/model_paged_organizations.go +++ b/model_paged_organizations.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,6 @@ import ( // PagedOrganizations struct for PagedOrganizations type PagedOrganizations struct { - Skip *int32 `json:"skip,omitempty"` - Limit *int32 `json:"limit,omitempty"` - Count *int32 `json:"count,omitempty"` Organizations []OrganizationDetails `json:"organizations,omitempty"` } @@ -39,102 +36,6 @@ func NewPagedOrganizationsWithDefaults() *PagedOrganizations { return &this } -// GetSkip returns the Skip field value if set, zero value otherwise. -func (o *PagedOrganizations) GetSkip() int32 { - if o == nil || o.Skip == nil { - var ret int32 - return ret - } - return *o.Skip -} - -// GetSkipOk returns a tuple with the Skip field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedOrganizations) GetSkipOk() (*int32, bool) { - if o == nil || o.Skip == nil { - return nil, false - } - return o.Skip, true -} - -// HasSkip returns a boolean if a field has been set. -func (o *PagedOrganizations) HasSkip() bool { - if o != nil && o.Skip != nil { - return true - } - - return false -} - -// SetSkip gets a reference to the given int32 and assigns it to the Skip field. -func (o *PagedOrganizations) SetSkip(v int32) { - o.Skip = &v -} - -// GetLimit returns the Limit field value if set, zero value otherwise. -func (o *PagedOrganizations) GetLimit() int32 { - if o == nil || o.Limit == nil { - var ret int32 - return ret - } - return *o.Limit -} - -// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedOrganizations) GetLimitOk() (*int32, bool) { - if o == nil || o.Limit == nil { - return nil, false - } - return o.Limit, true -} - -// HasLimit returns a boolean if a field has been set. -func (o *PagedOrganizations) HasLimit() bool { - if o != nil && o.Limit != nil { - return true - } - - return false -} - -// SetLimit gets a reference to the given int32 and assigns it to the Limit field. -func (o *PagedOrganizations) SetLimit(v int32) { - o.Limit = &v -} - -// GetCount returns the Count field value if set, zero value otherwise. -func (o *PagedOrganizations) GetCount() int32 { - if o == nil || o.Count == nil { - var ret int32 - return ret - } - return *o.Count -} - -// GetCountOk returns a tuple with the Count field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedOrganizations) GetCountOk() (*int32, bool) { - if o == nil || o.Count == nil { - return nil, false - } - return o.Count, true -} - -// HasCount returns a boolean if a field has been set. -func (o *PagedOrganizations) HasCount() bool { - if o != nil && o.Count != nil { - return true - } - - return false -} - -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *PagedOrganizations) SetCount(v int32) { - o.Count = &v -} - // GetOrganizations returns the Organizations field value if set, zero value otherwise. func (o *PagedOrganizations) GetOrganizations() []OrganizationDetails { if o == nil || o.Organizations == nil { @@ -169,15 +70,6 @@ func (o *PagedOrganizations) SetOrganizations(v []OrganizationDetails) { func (o PagedOrganizations) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Skip != nil { - toSerialize["skip"] = o.Skip - } - if o.Limit != nil { - toSerialize["limit"] = o.Limit - } - if o.Count != nil { - toSerialize["count"] = o.Count - } if o.Organizations != nil { toSerialize["organizations"] = o.Organizations } diff --git a/model_paged_organizations_all_of.go b/model_paged_organizations_all_of.go deleted file mode 100644 index a10efa9e..00000000 --- a/model_paged_organizations_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PagedOrganizationsAllOf struct for PagedOrganizationsAllOf -type PagedOrganizationsAllOf struct { - Organizations []OrganizationDetails `json:"organizations,omitempty"` -} - -// NewPagedOrganizationsAllOf instantiates a new PagedOrganizationsAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPagedOrganizationsAllOf() *PagedOrganizationsAllOf { - this := PagedOrganizationsAllOf{} - return &this -} - -// NewPagedOrganizationsAllOfWithDefaults instantiates a new PagedOrganizationsAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPagedOrganizationsAllOfWithDefaults() *PagedOrganizationsAllOf { - this := PagedOrganizationsAllOf{} - return &this -} - -// GetOrganizations returns the Organizations field value if set, zero value otherwise. -func (o *PagedOrganizationsAllOf) GetOrganizations() []OrganizationDetails { - if o == nil || o.Organizations == nil { - var ret []OrganizationDetails - return ret - } - return o.Organizations -} - -// GetOrganizationsOk returns a tuple with the Organizations field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedOrganizationsAllOf) GetOrganizationsOk() ([]OrganizationDetails, bool) { - if o == nil || o.Organizations == nil { - return nil, false - } - return o.Organizations, true -} - -// HasOrganizations returns a boolean if a field has been set. -func (o *PagedOrganizationsAllOf) HasOrganizations() bool { - if o != nil && o.Organizations != nil { - return true - } - - return false -} - -// SetOrganizations gets a reference to the given []OrganizationDetails and assigns it to the Organizations field. -func (o *PagedOrganizationsAllOf) SetOrganizations(v []OrganizationDetails) { - o.Organizations = v -} - -func (o PagedOrganizationsAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Organizations != nil { - toSerialize["organizations"] = o.Organizations - } - return json.Marshal(toSerialize) -} - -type NullablePagedOrganizationsAllOf struct { - value *PagedOrganizationsAllOf - isSet bool -} - -func (v NullablePagedOrganizationsAllOf) Get() *PagedOrganizationsAllOf { - return v.value -} - -func (v *NullablePagedOrganizationsAllOf) Set(val *PagedOrganizationsAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePagedOrganizationsAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePagedOrganizationsAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePagedOrganizationsAllOf(val *PagedOrganizationsAllOf) *NullablePagedOrganizationsAllOf { - return &NullablePagedOrganizationsAllOf{value: val, isSet: true} -} - -func (v NullablePagedOrganizationsAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePagedOrganizationsAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_paged_persons.go b/model_paged_persons.go index 93d3fd68..44619fac 100644 --- a/model_paged_persons.go +++ b/model_paged_persons.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,6 @@ import ( // PagedPersons struct for PagedPersons type PagedPersons struct { - Skip *int32 `json:"skip,omitempty"` - Limit *int32 `json:"limit,omitempty"` - Count *int32 `json:"count,omitempty"` Persons []PersonScoreDetail `json:"persons,omitempty"` } @@ -39,102 +36,6 @@ func NewPagedPersonsWithDefaults() *PagedPersons { return &this } -// GetSkip returns the Skip field value if set, zero value otherwise. -func (o *PagedPersons) GetSkip() int32 { - if o == nil || o.Skip == nil { - var ret int32 - return ret - } - return *o.Skip -} - -// GetSkipOk returns a tuple with the Skip field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedPersons) GetSkipOk() (*int32, bool) { - if o == nil || o.Skip == nil { - return nil, false - } - return o.Skip, true -} - -// HasSkip returns a boolean if a field has been set. -func (o *PagedPersons) HasSkip() bool { - if o != nil && o.Skip != nil { - return true - } - - return false -} - -// SetSkip gets a reference to the given int32 and assigns it to the Skip field. -func (o *PagedPersons) SetSkip(v int32) { - o.Skip = &v -} - -// GetLimit returns the Limit field value if set, zero value otherwise. -func (o *PagedPersons) GetLimit() int32 { - if o == nil || o.Limit == nil { - var ret int32 - return ret - } - return *o.Limit -} - -// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedPersons) GetLimitOk() (*int32, bool) { - if o == nil || o.Limit == nil { - return nil, false - } - return o.Limit, true -} - -// HasLimit returns a boolean if a field has been set. -func (o *PagedPersons) HasLimit() bool { - if o != nil && o.Limit != nil { - return true - } - - return false -} - -// SetLimit gets a reference to the given int32 and assigns it to the Limit field. -func (o *PagedPersons) SetLimit(v int32) { - o.Limit = &v -} - -// GetCount returns the Count field value if set, zero value otherwise. -func (o *PagedPersons) GetCount() int32 { - if o == nil || o.Count == nil { - var ret int32 - return ret - } - return *o.Count -} - -// GetCountOk returns a tuple with the Count field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedPersons) GetCountOk() (*int32, bool) { - if o == nil || o.Count == nil { - return nil, false - } - return o.Count, true -} - -// HasCount returns a boolean if a field has been set. -func (o *PagedPersons) HasCount() bool { - if o != nil && o.Count != nil { - return true - } - - return false -} - -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *PagedPersons) SetCount(v int32) { - o.Count = &v -} - // GetPersons returns the Persons field value if set, zero value otherwise. func (o *PagedPersons) GetPersons() []PersonScoreDetail { if o == nil || o.Persons == nil { @@ -169,15 +70,6 @@ func (o *PagedPersons) SetPersons(v []PersonScoreDetail) { func (o PagedPersons) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Skip != nil { - toSerialize["skip"] = o.Skip - } - if o.Limit != nil { - toSerialize["limit"] = o.Limit - } - if o.Count != nil { - toSerialize["count"] = o.Count - } if o.Persons != nil { toSerialize["persons"] = o.Persons } diff --git a/model_paged_persons_all_of.go b/model_paged_persons_all_of.go deleted file mode 100644 index 7eeb4a6b..00000000 --- a/model_paged_persons_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PagedPersonsAllOf struct for PagedPersonsAllOf -type PagedPersonsAllOf struct { - Persons []PersonScoreDetail `json:"persons,omitempty"` -} - -// NewPagedPersonsAllOf instantiates a new PagedPersonsAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPagedPersonsAllOf() *PagedPersonsAllOf { - this := PagedPersonsAllOf{} - return &this -} - -// NewPagedPersonsAllOfWithDefaults instantiates a new PagedPersonsAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPagedPersonsAllOfWithDefaults() *PagedPersonsAllOf { - this := PagedPersonsAllOf{} - return &this -} - -// GetPersons returns the Persons field value if set, zero value otherwise. -func (o *PagedPersonsAllOf) GetPersons() []PersonScoreDetail { - if o == nil || o.Persons == nil { - var ret []PersonScoreDetail - return ret - } - return o.Persons -} - -// GetPersonsOk returns a tuple with the Persons field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedPersonsAllOf) GetPersonsOk() ([]PersonScoreDetail, bool) { - if o == nil || o.Persons == nil { - return nil, false - } - return o.Persons, true -} - -// HasPersons returns a boolean if a field has been set. -func (o *PagedPersonsAllOf) HasPersons() bool { - if o != nil && o.Persons != nil { - return true - } - - return false -} - -// SetPersons gets a reference to the given []PersonScoreDetail and assigns it to the Persons field. -func (o *PagedPersonsAllOf) SetPersons(v []PersonScoreDetail) { - o.Persons = v -} - -func (o PagedPersonsAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Persons != nil { - toSerialize["persons"] = o.Persons - } - return json.Marshal(toSerialize) -} - -type NullablePagedPersonsAllOf struct { - value *PagedPersonsAllOf - isSet bool -} - -func (v NullablePagedPersonsAllOf) Get() *PagedPersonsAllOf { - return v.value -} - -func (v *NullablePagedPersonsAllOf) Set(val *PagedPersonsAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePagedPersonsAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePagedPersonsAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePagedPersonsAllOf(val *PagedPersonsAllOf) *NullablePagedPersonsAllOf { - return &NullablePagedPersonsAllOf{value: val, isSet: true} -} - -func (v NullablePagedPersonsAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePagedPersonsAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_paged_projects.go b/model_paged_projects.go index a2f9b604..8798a49b 100644 --- a/model_paged_projects.go +++ b/model_paged_projects.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,6 @@ import ( // PagedProjects struct for PagedProjects type PagedProjects struct { - Skip *int32 `json:"skip,omitempty"` - Limit *int32 `json:"limit,omitempty"` - Count *int32 `json:"count,omitempty"` Projects []ProjectScoreDetail `json:"projects,omitempty"` } @@ -39,102 +36,6 @@ func NewPagedProjectsWithDefaults() *PagedProjects { return &this } -// GetSkip returns the Skip field value if set, zero value otherwise. -func (o *PagedProjects) GetSkip() int32 { - if o == nil || o.Skip == nil { - var ret int32 - return ret - } - return *o.Skip -} - -// GetSkipOk returns a tuple with the Skip field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedProjects) GetSkipOk() (*int32, bool) { - if o == nil || o.Skip == nil { - return nil, false - } - return o.Skip, true -} - -// HasSkip returns a boolean if a field has been set. -func (o *PagedProjects) HasSkip() bool { - if o != nil && o.Skip != nil { - return true - } - - return false -} - -// SetSkip gets a reference to the given int32 and assigns it to the Skip field. -func (o *PagedProjects) SetSkip(v int32) { - o.Skip = &v -} - -// GetLimit returns the Limit field value if set, zero value otherwise. -func (o *PagedProjects) GetLimit() int32 { - if o == nil || o.Limit == nil { - var ret int32 - return ret - } - return *o.Limit -} - -// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedProjects) GetLimitOk() (*int32, bool) { - if o == nil || o.Limit == nil { - return nil, false - } - return o.Limit, true -} - -// HasLimit returns a boolean if a field has been set. -func (o *PagedProjects) HasLimit() bool { - if o != nil && o.Limit != nil { - return true - } - - return false -} - -// SetLimit gets a reference to the given int32 and assigns it to the Limit field. -func (o *PagedProjects) SetLimit(v int32) { - o.Limit = &v -} - -// GetCount returns the Count field value if set, zero value otherwise. -func (o *PagedProjects) GetCount() int32 { - if o == nil || o.Count == nil { - var ret int32 - return ret - } - return *o.Count -} - -// GetCountOk returns a tuple with the Count field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedProjects) GetCountOk() (*int32, bool) { - if o == nil || o.Count == nil { - return nil, false - } - return o.Count, true -} - -// HasCount returns a boolean if a field has been set. -func (o *PagedProjects) HasCount() bool { - if o != nil && o.Count != nil { - return true - } - - return false -} - -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *PagedProjects) SetCount(v int32) { - o.Count = &v -} - // GetProjects returns the Projects field value if set, zero value otherwise. func (o *PagedProjects) GetProjects() []ProjectScoreDetail { if o == nil || o.Projects == nil { @@ -169,15 +70,6 @@ func (o *PagedProjects) SetProjects(v []ProjectScoreDetail) { func (o PagedProjects) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Skip != nil { - toSerialize["skip"] = o.Skip - } - if o.Limit != nil { - toSerialize["limit"] = o.Limit - } - if o.Count != nil { - toSerialize["count"] = o.Count - } if o.Projects != nil { toSerialize["projects"] = o.Projects } diff --git a/model_paged_projects_all_of.go b/model_paged_projects_all_of.go deleted file mode 100644 index 5f7d2b4a..00000000 --- a/model_paged_projects_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PagedProjectsAllOf struct for PagedProjectsAllOf -type PagedProjectsAllOf struct { - Projects []ProjectScoreDetail `json:"projects,omitempty"` -} - -// NewPagedProjectsAllOf instantiates a new PagedProjectsAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPagedProjectsAllOf() *PagedProjectsAllOf { - this := PagedProjectsAllOf{} - return &this -} - -// NewPagedProjectsAllOfWithDefaults instantiates a new PagedProjectsAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPagedProjectsAllOfWithDefaults() *PagedProjectsAllOf { - this := PagedProjectsAllOf{} - return &this -} - -// GetProjects returns the Projects field value if set, zero value otherwise. -func (o *PagedProjectsAllOf) GetProjects() []ProjectScoreDetail { - if o == nil || o.Projects == nil { - var ret []ProjectScoreDetail - return ret - } - return o.Projects -} - -// GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedProjectsAllOf) GetProjectsOk() ([]ProjectScoreDetail, bool) { - if o == nil || o.Projects == nil { - return nil, false - } - return o.Projects, true -} - -// HasProjects returns a boolean if a field has been set. -func (o *PagedProjectsAllOf) HasProjects() bool { - if o != nil && o.Projects != nil { - return true - } - - return false -} - -// SetProjects gets a reference to the given []ProjectScoreDetail and assigns it to the Projects field. -func (o *PagedProjectsAllOf) SetProjects(v []ProjectScoreDetail) { - o.Projects = v -} - -func (o PagedProjectsAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Projects != nil { - toSerialize["projects"] = o.Projects - } - return json.Marshal(toSerialize) -} - -type NullablePagedProjectsAllOf struct { - value *PagedProjectsAllOf - isSet bool -} - -func (v NullablePagedProjectsAllOf) Get() *PagedProjectsAllOf { - return v.value -} - -func (v *NullablePagedProjectsAllOf) Set(val *PagedProjectsAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePagedProjectsAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePagedProjectsAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePagedProjectsAllOf(val *PagedProjectsAllOf) *NullablePagedProjectsAllOf { - return &NullablePagedProjectsAllOf{value: val, isSet: true} -} - -func (v NullablePagedProjectsAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePagedProjectsAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_paged_skills.go b/model_paged_skills.go index 54dbc0fc..9ad912b6 100644 --- a/model_paged_skills.go +++ b/model_paged_skills.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,6 @@ import ( // PagedSkills struct for PagedSkills type PagedSkills struct { - Skip *int32 `json:"skip,omitempty"` - Limit *int32 `json:"limit,omitempty"` - Count *int32 `json:"count,omitempty"` Skills []SkillDetails `json:"skills,omitempty"` } @@ -39,102 +36,6 @@ func NewPagedSkillsWithDefaults() *PagedSkills { return &this } -// GetSkip returns the Skip field value if set, zero value otherwise. -func (o *PagedSkills) GetSkip() int32 { - if o == nil || o.Skip == nil { - var ret int32 - return ret - } - return *o.Skip -} - -// GetSkipOk returns a tuple with the Skip field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedSkills) GetSkipOk() (*int32, bool) { - if o == nil || o.Skip == nil { - return nil, false - } - return o.Skip, true -} - -// HasSkip returns a boolean if a field has been set. -func (o *PagedSkills) HasSkip() bool { - if o != nil && o.Skip != nil { - return true - } - - return false -} - -// SetSkip gets a reference to the given int32 and assigns it to the Skip field. -func (o *PagedSkills) SetSkip(v int32) { - o.Skip = &v -} - -// GetLimit returns the Limit field value if set, zero value otherwise. -func (o *PagedSkills) GetLimit() int32 { - if o == nil || o.Limit == nil { - var ret int32 - return ret - } - return *o.Limit -} - -// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedSkills) GetLimitOk() (*int32, bool) { - if o == nil || o.Limit == nil { - return nil, false - } - return o.Limit, true -} - -// HasLimit returns a boolean if a field has been set. -func (o *PagedSkills) HasLimit() bool { - if o != nil && o.Limit != nil { - return true - } - - return false -} - -// SetLimit gets a reference to the given int32 and assigns it to the Limit field. -func (o *PagedSkills) SetLimit(v int32) { - o.Limit = &v -} - -// GetCount returns the Count field value if set, zero value otherwise. -func (o *PagedSkills) GetCount() int32 { - if o == nil || o.Count == nil { - var ret int32 - return ret - } - return *o.Count -} - -// GetCountOk returns a tuple with the Count field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedSkills) GetCountOk() (*int32, bool) { - if o == nil || o.Count == nil { - return nil, false - } - return o.Count, true -} - -// HasCount returns a boolean if a field has been set. -func (o *PagedSkills) HasCount() bool { - if o != nil && o.Count != nil { - return true - } - - return false -} - -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *PagedSkills) SetCount(v int32) { - o.Count = &v -} - // GetSkills returns the Skills field value if set, zero value otherwise. func (o *PagedSkills) GetSkills() []SkillDetails { if o == nil || o.Skills == nil { @@ -169,15 +70,6 @@ func (o *PagedSkills) SetSkills(v []SkillDetails) { func (o PagedSkills) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Skip != nil { - toSerialize["skip"] = o.Skip - } - if o.Limit != nil { - toSerialize["limit"] = o.Limit - } - if o.Count != nil { - toSerialize["count"] = o.Count - } if o.Skills != nil { toSerialize["skills"] = o.Skills } diff --git a/model_paged_skills_all_of.go b/model_paged_skills_all_of.go deleted file mode 100644 index 4c59a1bd..00000000 --- a/model_paged_skills_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PagedSkillsAllOf struct for PagedSkillsAllOf -type PagedSkillsAllOf struct { - Skills []SkillDetails `json:"skills,omitempty"` -} - -// NewPagedSkillsAllOf instantiates a new PagedSkillsAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPagedSkillsAllOf() *PagedSkillsAllOf { - this := PagedSkillsAllOf{} - return &this -} - -// NewPagedSkillsAllOfWithDefaults instantiates a new PagedSkillsAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPagedSkillsAllOfWithDefaults() *PagedSkillsAllOf { - this := PagedSkillsAllOf{} - return &this -} - -// GetSkills returns the Skills field value if set, zero value otherwise. -func (o *PagedSkillsAllOf) GetSkills() []SkillDetails { - if o == nil || o.Skills == nil { - var ret []SkillDetails - return ret - } - return o.Skills -} - -// GetSkillsOk returns a tuple with the Skills field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PagedSkillsAllOf) GetSkillsOk() ([]SkillDetails, bool) { - if o == nil || o.Skills == nil { - return nil, false - } - return o.Skills, true -} - -// HasSkills returns a boolean if a field has been set. -func (o *PagedSkillsAllOf) HasSkills() bool { - if o != nil && o.Skills != nil { - return true - } - - return false -} - -// SetSkills gets a reference to the given []SkillDetails and assigns it to the Skills field. -func (o *PagedSkillsAllOf) SetSkills(v []SkillDetails) { - o.Skills = v -} - -func (o PagedSkillsAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Skills != nil { - toSerialize["skills"] = o.Skills - } - return json.Marshal(toSerialize) -} - -type NullablePagedSkillsAllOf struct { - value *PagedSkillsAllOf - isSet bool -} - -func (v NullablePagedSkillsAllOf) Get() *PagedSkillsAllOf { - return v.value -} - -func (v *NullablePagedSkillsAllOf) Set(val *PagedSkillsAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePagedSkillsAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePagedSkillsAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePagedSkillsAllOf(val *PagedSkillsAllOf) *NullablePagedSkillsAllOf { - return &NullablePagedSkillsAllOf{value: val, isSet: true} -} - -func (v NullablePagedSkillsAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePagedSkillsAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_person.go b/model_person.go index c6217073..0b836c72 100644 --- a/model_person.go +++ b/model_person.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,13 +16,6 @@ import ( // Person struct for Person type Person struct { - Id string `json:"id"` - Name string `json:"name"` - Suggestion bool `json:"suggestion"` - Synonyms []string `json:"synonyms,omitempty"` - Location *string `json:"location,omitempty"` - Geolocation *Geolocation `json:"geolocation,omitempty"` - Description *string `json:"description,omitempty"` EmployeeId *string `json:"employeeId,omitempty"` JobTitle *string `json:"jobTitle,omitempty"` Company *string `json:"company,omitempty"` @@ -38,19 +31,21 @@ type Person struct { Picture *string `json:"picture,omitempty"` // Marks persons not working for the company anymore Inactive *bool `json:"inactive,omitempty"` + Suggestion bool `json:"suggestion"` + Synonyms []string `json:"synonyms,omitempty"` + Location *string `json:"location,omitempty"` + Geolocation *Geolocation `json:"geolocation,omitempty"` + Description *string `json:"description,omitempty"` } // NewPerson instantiates a new Person object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewPerson(id string, name string, suggestion bool) *Person { +func NewPerson(suggestion bool, id string) *Person { this := Person{} this.Id = id - this.Name = name this.Suggestion = suggestion - var inactive bool = false - this.Inactive = &inactive return &this } @@ -59,213 +54,13 @@ func NewPerson(id string, name string, suggestion bool) *Person { // but it doesn't guarantee that properties required by API are set func NewPersonWithDefaults() *Person { this := Person{} - var suggestion bool = false - this.Suggestion = suggestion var inactive bool = false this.Inactive = &inactive + var suggestion bool = false + this.Suggestion = suggestion return &this } -// GetId returns the Id field value -func (o *Person) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *Person) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *Person) SetId(v string) { - o.Id = v -} - -// GetName returns the Name field value -func (o *Person) GetName() string { - if o == nil { - var ret string - return ret - } - - return o.Name -} - -// GetNameOk returns a tuple with the Name field value -// and a boolean to check if the value has been set. -func (o *Person) GetNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Name, true -} - -// SetName sets field value -func (o *Person) SetName(v string) { - o.Name = v -} - -// GetSuggestion returns the Suggestion field value -func (o *Person) GetSuggestion() bool { - if o == nil { - var ret bool - return ret - } - - return o.Suggestion -} - -// GetSuggestionOk returns a tuple with the Suggestion field value -// and a boolean to check if the value has been set. -func (o *Person) GetSuggestionOk() (*bool, bool) { - if o == nil { - return nil, false - } - return &o.Suggestion, true -} - -// SetSuggestion sets field value -func (o *Person) SetSuggestion(v bool) { - o.Suggestion = v -} - -// GetSynonyms returns the Synonyms field value if set, zero value otherwise. -func (o *Person) GetSynonyms() []string { - if o == nil || o.Synonyms == nil { - var ret []string - return ret - } - return o.Synonyms -} - -// GetSynonymsOk returns a tuple with the Synonyms field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Person) GetSynonymsOk() ([]string, bool) { - if o == nil || o.Synonyms == nil { - return nil, false - } - return o.Synonyms, true -} - -// HasSynonyms returns a boolean if a field has been set. -func (o *Person) HasSynonyms() bool { - if o != nil && o.Synonyms != nil { - return true - } - - return false -} - -// SetSynonyms gets a reference to the given []string and assigns it to the Synonyms field. -func (o *Person) SetSynonyms(v []string) { - o.Synonyms = v -} - -// GetLocation returns the Location field value if set, zero value otherwise. -func (o *Person) GetLocation() string { - if o == nil || o.Location == nil { - var ret string - return ret - } - return *o.Location -} - -// GetLocationOk returns a tuple with the Location field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Person) GetLocationOk() (*string, bool) { - if o == nil || o.Location == nil { - return nil, false - } - return o.Location, true -} - -// HasLocation returns a boolean if a field has been set. -func (o *Person) HasLocation() bool { - if o != nil && o.Location != nil { - return true - } - - return false -} - -// SetLocation gets a reference to the given string and assigns it to the Location field. -func (o *Person) SetLocation(v string) { - o.Location = &v -} - -// GetGeolocation returns the Geolocation field value if set, zero value otherwise. -func (o *Person) GetGeolocation() Geolocation { - if o == nil || o.Geolocation == nil { - var ret Geolocation - return ret - } - return *o.Geolocation -} - -// GetGeolocationOk returns a tuple with the Geolocation field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Person) GetGeolocationOk() (*Geolocation, bool) { - if o == nil || o.Geolocation == nil { - return nil, false - } - return o.Geolocation, true -} - -// HasGeolocation returns a boolean if a field has been set. -func (o *Person) HasGeolocation() bool { - if o != nil && o.Geolocation != nil { - return true - } - - return false -} - -// SetGeolocation gets a reference to the given Geolocation and assigns it to the Geolocation field. -func (o *Person) SetGeolocation(v Geolocation) { - o.Geolocation = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *Person) GetDescription() string { - if o == nil || o.Description == nil { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Person) GetDescriptionOk() (*string, bool) { - if o == nil || o.Description == nil { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *Person) HasDescription() bool { - if o != nil && o.Description != nil { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *Person) SetDescription(v string) { - o.Description = &v -} - // GetEmployeeId returns the EmployeeId field value if set, zero value otherwise. func (o *Person) GetEmployeeId() string { if o == nil || o.EmployeeId == nil { @@ -682,29 +477,160 @@ func (o *Person) SetInactive(v bool) { o.Inactive = &v } -func (o Person) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id +// GetSuggestion returns the Suggestion field value +func (o *Person) GetSuggestion() bool { + if o == nil { + var ret bool + return ret } - if true { - toSerialize["name"] = o.Name + + return o.Suggestion +} + +// GetSuggestionOk returns a tuple with the Suggestion field value +// and a boolean to check if the value has been set. +func (o *Person) GetSuggestionOk() (*bool, bool) { + if o == nil { + return nil, false } - if true { - toSerialize["suggestion"] = o.Suggestion + return &o.Suggestion, true +} + +// SetSuggestion sets field value +func (o *Person) SetSuggestion(v bool) { + o.Suggestion = v +} + +// GetSynonyms returns the Synonyms field value if set, zero value otherwise. +func (o *Person) GetSynonyms() []string { + if o == nil || o.Synonyms == nil { + var ret []string + return ret } - if o.Synonyms != nil { - toSerialize["synonyms"] = o.Synonyms + return o.Synonyms +} + +// GetSynonymsOk returns a tuple with the Synonyms field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Person) GetSynonymsOk() ([]string, bool) { + if o == nil || o.Synonyms == nil { + return nil, false } - if o.Location != nil { - toSerialize["location"] = o.Location + return o.Synonyms, true +} + +// HasSynonyms returns a boolean if a field has been set. +func (o *Person) HasSynonyms() bool { + if o != nil && o.Synonyms != nil { + return true } - if o.Geolocation != nil { - toSerialize["geolocation"] = o.Geolocation + + return false +} + +// SetSynonyms gets a reference to the given []string and assigns it to the Synonyms field. +func (o *Person) SetSynonyms(v []string) { + o.Synonyms = v +} + +// GetLocation returns the Location field value if set, zero value otherwise. +func (o *Person) GetLocation() string { + if o == nil || o.Location == nil { + var ret string + return ret } - if o.Description != nil { - toSerialize["description"] = o.Description + return *o.Location +} + +// GetLocationOk returns a tuple with the Location field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Person) GetLocationOk() (*string, bool) { + if o == nil || o.Location == nil { + return nil, false } + return o.Location, true +} + +// HasLocation returns a boolean if a field has been set. +func (o *Person) HasLocation() bool { + if o != nil && o.Location != nil { + return true + } + + return false +} + +// SetLocation gets a reference to the given string and assigns it to the Location field. +func (o *Person) SetLocation(v string) { + o.Location = &v +} + +// GetGeolocation returns the Geolocation field value if set, zero value otherwise. +func (o *Person) GetGeolocation() Geolocation { + if o == nil || o.Geolocation == nil { + var ret Geolocation + return ret + } + return *o.Geolocation +} + +// GetGeolocationOk returns a tuple with the Geolocation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Person) GetGeolocationOk() (*Geolocation, bool) { + if o == nil || o.Geolocation == nil { + return nil, false + } + return o.Geolocation, true +} + +// HasGeolocation returns a boolean if a field has been set. +func (o *Person) HasGeolocation() bool { + if o != nil && o.Geolocation != nil { + return true + } + + return false +} + +// SetGeolocation gets a reference to the given Geolocation and assigns it to the Geolocation field. +func (o *Person) SetGeolocation(v Geolocation) { + o.Geolocation = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise. +func (o *Person) GetDescription() string { + if o == nil || o.Description == nil { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Person) GetDescriptionOk() (*string, bool) { + if o == nil || o.Description == nil { + return nil, false + } + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *Person) HasDescription() bool { + if o != nil && o.Description != nil { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *Person) SetDescription(v string) { + o.Description = &v +} + +func (o Person) MarshalJSON() ([]byte, error) { + toSerialize := map[string]interface{}{} if o.EmployeeId != nil { toSerialize["employeeId"] = o.EmployeeId } @@ -744,6 +670,21 @@ func (o Person) MarshalJSON() ([]byte, error) { if o.Inactive != nil { toSerialize["inactive"] = o.Inactive } + if true { + toSerialize["suggestion"] = o.Suggestion + } + if o.Synonyms != nil { + toSerialize["synonyms"] = o.Synonyms + } + if o.Location != nil { + toSerialize["location"] = o.Location + } + if o.Geolocation != nil { + toSerialize["geolocation"] = o.Geolocation + } + if o.Description != nil { + toSerialize["description"] = o.Description + } return json.Marshal(toSerialize) } diff --git a/model_person_all_of.go b/model_person_all_of.go deleted file mode 100644 index f028c61f..00000000 --- a/model_person_all_of.go +++ /dev/null @@ -1,553 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PersonAllOf struct for PersonAllOf -type PersonAllOf struct { - EmployeeId *string `json:"employeeId,omitempty"` - JobTitle *string `json:"jobTitle,omitempty"` - Company *string `json:"company,omitempty"` - Department *string `json:"department,omitempty"` - Education *string `json:"education,omitempty"` - Mail *string `json:"mail,omitempty"` - MobilePhone *string `json:"mobilePhone,omitempty"` - Seniority *string `json:"seniority,omitempty"` - SeniorityEnum *Seniority `json:"seniorityEnum,omitempty"` - ExperienceSinceYear *int32 `json:"experienceSinceYear,omitempty"` - OnsiteRatio *int32 `json:"onsiteRatio,omitempty"` - // base64 encoded image - Picture *string `json:"picture,omitempty"` - // Marks persons not working for the company anymore - Inactive *bool `json:"inactive,omitempty"` -} - -// NewPersonAllOf instantiates a new PersonAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPersonAllOf() *PersonAllOf { - this := PersonAllOf{} - var inactive bool = false - this.Inactive = &inactive - return &this -} - -// NewPersonAllOfWithDefaults instantiates a new PersonAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPersonAllOfWithDefaults() *PersonAllOf { - this := PersonAllOf{} - var inactive bool = false - this.Inactive = &inactive - return &this -} - -// GetEmployeeId returns the EmployeeId field value if set, zero value otherwise. -func (o *PersonAllOf) GetEmployeeId() string { - if o == nil || o.EmployeeId == nil { - var ret string - return ret - } - return *o.EmployeeId -} - -// GetEmployeeIdOk returns a tuple with the EmployeeId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetEmployeeIdOk() (*string, bool) { - if o == nil || o.EmployeeId == nil { - return nil, false - } - return o.EmployeeId, true -} - -// HasEmployeeId returns a boolean if a field has been set. -func (o *PersonAllOf) HasEmployeeId() bool { - if o != nil && o.EmployeeId != nil { - return true - } - - return false -} - -// SetEmployeeId gets a reference to the given string and assigns it to the EmployeeId field. -func (o *PersonAllOf) SetEmployeeId(v string) { - o.EmployeeId = &v -} - -// GetJobTitle returns the JobTitle field value if set, zero value otherwise. -func (o *PersonAllOf) GetJobTitle() string { - if o == nil || o.JobTitle == nil { - var ret string - return ret - } - return *o.JobTitle -} - -// GetJobTitleOk returns a tuple with the JobTitle field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetJobTitleOk() (*string, bool) { - if o == nil || o.JobTitle == nil { - return nil, false - } - return o.JobTitle, true -} - -// HasJobTitle returns a boolean if a field has been set. -func (o *PersonAllOf) HasJobTitle() bool { - if o != nil && o.JobTitle != nil { - return true - } - - return false -} - -// SetJobTitle gets a reference to the given string and assigns it to the JobTitle field. -func (o *PersonAllOf) SetJobTitle(v string) { - o.JobTitle = &v -} - -// GetCompany returns the Company field value if set, zero value otherwise. -func (o *PersonAllOf) GetCompany() string { - if o == nil || o.Company == nil { - var ret string - return ret - } - return *o.Company -} - -// GetCompanyOk returns a tuple with the Company field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetCompanyOk() (*string, bool) { - if o == nil || o.Company == nil { - return nil, false - } - return o.Company, true -} - -// HasCompany returns a boolean if a field has been set. -func (o *PersonAllOf) HasCompany() bool { - if o != nil && o.Company != nil { - return true - } - - return false -} - -// SetCompany gets a reference to the given string and assigns it to the Company field. -func (o *PersonAllOf) SetCompany(v string) { - o.Company = &v -} - -// GetDepartment returns the Department field value if set, zero value otherwise. -func (o *PersonAllOf) GetDepartment() string { - if o == nil || o.Department == nil { - var ret string - return ret - } - return *o.Department -} - -// GetDepartmentOk returns a tuple with the Department field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetDepartmentOk() (*string, bool) { - if o == nil || o.Department == nil { - return nil, false - } - return o.Department, true -} - -// HasDepartment returns a boolean if a field has been set. -func (o *PersonAllOf) HasDepartment() bool { - if o != nil && o.Department != nil { - return true - } - - return false -} - -// SetDepartment gets a reference to the given string and assigns it to the Department field. -func (o *PersonAllOf) SetDepartment(v string) { - o.Department = &v -} - -// GetEducation returns the Education field value if set, zero value otherwise. -func (o *PersonAllOf) GetEducation() string { - if o == nil || o.Education == nil { - var ret string - return ret - } - return *o.Education -} - -// GetEducationOk returns a tuple with the Education field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetEducationOk() (*string, bool) { - if o == nil || o.Education == nil { - return nil, false - } - return o.Education, true -} - -// HasEducation returns a boolean if a field has been set. -func (o *PersonAllOf) HasEducation() bool { - if o != nil && o.Education != nil { - return true - } - - return false -} - -// SetEducation gets a reference to the given string and assigns it to the Education field. -func (o *PersonAllOf) SetEducation(v string) { - o.Education = &v -} - -// GetMail returns the Mail field value if set, zero value otherwise. -func (o *PersonAllOf) GetMail() string { - if o == nil || o.Mail == nil { - var ret string - return ret - } - return *o.Mail -} - -// GetMailOk returns a tuple with the Mail field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetMailOk() (*string, bool) { - if o == nil || o.Mail == nil { - return nil, false - } - return o.Mail, true -} - -// HasMail returns a boolean if a field has been set. -func (o *PersonAllOf) HasMail() bool { - if o != nil && o.Mail != nil { - return true - } - - return false -} - -// SetMail gets a reference to the given string and assigns it to the Mail field. -func (o *PersonAllOf) SetMail(v string) { - o.Mail = &v -} - -// GetMobilePhone returns the MobilePhone field value if set, zero value otherwise. -func (o *PersonAllOf) GetMobilePhone() string { - if o == nil || o.MobilePhone == nil { - var ret string - return ret - } - return *o.MobilePhone -} - -// GetMobilePhoneOk returns a tuple with the MobilePhone field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetMobilePhoneOk() (*string, bool) { - if o == nil || o.MobilePhone == nil { - return nil, false - } - return o.MobilePhone, true -} - -// HasMobilePhone returns a boolean if a field has been set. -func (o *PersonAllOf) HasMobilePhone() bool { - if o != nil && o.MobilePhone != nil { - return true - } - - return false -} - -// SetMobilePhone gets a reference to the given string and assigns it to the MobilePhone field. -func (o *PersonAllOf) SetMobilePhone(v string) { - o.MobilePhone = &v -} - -// GetSeniority returns the Seniority field value if set, zero value otherwise. -func (o *PersonAllOf) GetSeniority() string { - if o == nil || o.Seniority == nil { - var ret string - return ret - } - return *o.Seniority -} - -// GetSeniorityOk returns a tuple with the Seniority field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetSeniorityOk() (*string, bool) { - if o == nil || o.Seniority == nil { - return nil, false - } - return o.Seniority, true -} - -// HasSeniority returns a boolean if a field has been set. -func (o *PersonAllOf) HasSeniority() bool { - if o != nil && o.Seniority != nil { - return true - } - - return false -} - -// SetSeniority gets a reference to the given string and assigns it to the Seniority field. -func (o *PersonAllOf) SetSeniority(v string) { - o.Seniority = &v -} - -// GetSeniorityEnum returns the SeniorityEnum field value if set, zero value otherwise. -func (o *PersonAllOf) GetSeniorityEnum() Seniority { - if o == nil || o.SeniorityEnum == nil { - var ret Seniority - return ret - } - return *o.SeniorityEnum -} - -// GetSeniorityEnumOk returns a tuple with the SeniorityEnum field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetSeniorityEnumOk() (*Seniority, bool) { - if o == nil || o.SeniorityEnum == nil { - return nil, false - } - return o.SeniorityEnum, true -} - -// HasSeniorityEnum returns a boolean if a field has been set. -func (o *PersonAllOf) HasSeniorityEnum() bool { - if o != nil && o.SeniorityEnum != nil { - return true - } - - return false -} - -// SetSeniorityEnum gets a reference to the given Seniority and assigns it to the SeniorityEnum field. -func (o *PersonAllOf) SetSeniorityEnum(v Seniority) { - o.SeniorityEnum = &v -} - -// GetExperienceSinceYear returns the ExperienceSinceYear field value if set, zero value otherwise. -func (o *PersonAllOf) GetExperienceSinceYear() int32 { - if o == nil || o.ExperienceSinceYear == nil { - var ret int32 - return ret - } - return *o.ExperienceSinceYear -} - -// GetExperienceSinceYearOk returns a tuple with the ExperienceSinceYear field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetExperienceSinceYearOk() (*int32, bool) { - if o == nil || o.ExperienceSinceYear == nil { - return nil, false - } - return o.ExperienceSinceYear, true -} - -// HasExperienceSinceYear returns a boolean if a field has been set. -func (o *PersonAllOf) HasExperienceSinceYear() bool { - if o != nil && o.ExperienceSinceYear != nil { - return true - } - - return false -} - -// SetExperienceSinceYear gets a reference to the given int32 and assigns it to the ExperienceSinceYear field. -func (o *PersonAllOf) SetExperienceSinceYear(v int32) { - o.ExperienceSinceYear = &v -} - -// GetOnsiteRatio returns the OnsiteRatio field value if set, zero value otherwise. -func (o *PersonAllOf) GetOnsiteRatio() int32 { - if o == nil || o.OnsiteRatio == nil { - var ret int32 - return ret - } - return *o.OnsiteRatio -} - -// GetOnsiteRatioOk returns a tuple with the OnsiteRatio field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetOnsiteRatioOk() (*int32, bool) { - if o == nil || o.OnsiteRatio == nil { - return nil, false - } - return o.OnsiteRatio, true -} - -// HasOnsiteRatio returns a boolean if a field has been set. -func (o *PersonAllOf) HasOnsiteRatio() bool { - if o != nil && o.OnsiteRatio != nil { - return true - } - - return false -} - -// SetOnsiteRatio gets a reference to the given int32 and assigns it to the OnsiteRatio field. -func (o *PersonAllOf) SetOnsiteRatio(v int32) { - o.OnsiteRatio = &v -} - -// GetPicture returns the Picture field value if set, zero value otherwise. -func (o *PersonAllOf) GetPicture() string { - if o == nil || o.Picture == nil { - var ret string - return ret - } - return *o.Picture -} - -// GetPictureOk returns a tuple with the Picture field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetPictureOk() (*string, bool) { - if o == nil || o.Picture == nil { - return nil, false - } - return o.Picture, true -} - -// HasPicture returns a boolean if a field has been set. -func (o *PersonAllOf) HasPicture() bool { - if o != nil && o.Picture != nil { - return true - } - - return false -} - -// SetPicture gets a reference to the given string and assigns it to the Picture field. -func (o *PersonAllOf) SetPicture(v string) { - o.Picture = &v -} - -// GetInactive returns the Inactive field value if set, zero value otherwise. -func (o *PersonAllOf) GetInactive() bool { - if o == nil || o.Inactive == nil { - var ret bool - return ret - } - return *o.Inactive -} - -// GetInactiveOk returns a tuple with the Inactive field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonAllOf) GetInactiveOk() (*bool, bool) { - if o == nil || o.Inactive == nil { - return nil, false - } - return o.Inactive, true -} - -// HasInactive returns a boolean if a field has been set. -func (o *PersonAllOf) HasInactive() bool { - if o != nil && o.Inactive != nil { - return true - } - - return false -} - -// SetInactive gets a reference to the given bool and assigns it to the Inactive field. -func (o *PersonAllOf) SetInactive(v bool) { - o.Inactive = &v -} - -func (o PersonAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.EmployeeId != nil { - toSerialize["employeeId"] = o.EmployeeId - } - if o.JobTitle != nil { - toSerialize["jobTitle"] = o.JobTitle - } - if o.Company != nil { - toSerialize["company"] = o.Company - } - if o.Department != nil { - toSerialize["department"] = o.Department - } - if o.Education != nil { - toSerialize["education"] = o.Education - } - if o.Mail != nil { - toSerialize["mail"] = o.Mail - } - if o.MobilePhone != nil { - toSerialize["mobilePhone"] = o.MobilePhone - } - if o.Seniority != nil { - toSerialize["seniority"] = o.Seniority - } - if o.SeniorityEnum != nil { - toSerialize["seniorityEnum"] = o.SeniorityEnum - } - if o.ExperienceSinceYear != nil { - toSerialize["experienceSinceYear"] = o.ExperienceSinceYear - } - if o.OnsiteRatio != nil { - toSerialize["onsiteRatio"] = o.OnsiteRatio - } - if o.Picture != nil { - toSerialize["picture"] = o.Picture - } - if o.Inactive != nil { - toSerialize["inactive"] = o.Inactive - } - return json.Marshal(toSerialize) -} - -type NullablePersonAllOf struct { - value *PersonAllOf - isSet bool -} - -func (v NullablePersonAllOf) Get() *PersonAllOf { - return v.value -} - -func (v *NullablePersonAllOf) Set(val *PersonAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePersonAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePersonAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePersonAllOf(val *PersonAllOf) *NullablePersonAllOf { - return &NullablePersonAllOf{value: val, isSet: true} -} - -func (v NullablePersonAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePersonAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_person_certification_filter.go b/model_person_certification_filter.go index e7fb110e..b8243f49 100644 --- a/model_person_certification_filter.go +++ b/model_person_certification_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,9 @@ import ( // PersonCertificationFilter struct for PersonCertificationFilter type PersonCertificationFilter struct { - Id string `json:"id"` // Include employees who started the certification StartedCertificaiton *bool `json:"startedCertificaiton,omitempty"` + Id string `json:"id"` } // NewPersonCertificationFilter instantiates a new PersonCertificationFilter object @@ -39,30 +39,6 @@ func NewPersonCertificationFilterWithDefaults() *PersonCertificationFilter { return &this } -// GetId returns the Id field value -func (o *PersonCertificationFilter) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *PersonCertificationFilter) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *PersonCertificationFilter) SetId(v string) { - o.Id = v -} - // GetStartedCertificaiton returns the StartedCertificaiton field value if set, zero value otherwise. func (o *PersonCertificationFilter) GetStartedCertificaiton() bool { if o == nil || o.StartedCertificaiton == nil { @@ -95,14 +71,38 @@ func (o *PersonCertificationFilter) SetStartedCertificaiton(v bool) { o.StartedCertificaiton = &v } +// GetId returns the Id field value +func (o *PersonCertificationFilter) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PersonCertificationFilter) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PersonCertificationFilter) SetId(v string) { + o.Id = v +} + func (o PersonCertificationFilter) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } if o.StartedCertificaiton != nil { toSerialize["startedCertificaiton"] = o.StartedCertificaiton } + if true { + toSerialize["id"] = o.Id + } return json.Marshal(toSerialize) } diff --git a/model_person_certification_filter_all_of.go b/model_person_certification_filter_all_of.go deleted file mode 100644 index 6596f958..00000000 --- a/model_person_certification_filter_all_of.go +++ /dev/null @@ -1,116 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PersonCertificationFilterAllOf struct for PersonCertificationFilterAllOf -type PersonCertificationFilterAllOf struct { - // Include employees who started the certification - StartedCertificaiton *bool `json:"startedCertificaiton,omitempty"` -} - -// NewPersonCertificationFilterAllOf instantiates a new PersonCertificationFilterAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPersonCertificationFilterAllOf() *PersonCertificationFilterAllOf { - this := PersonCertificationFilterAllOf{} - return &this -} - -// NewPersonCertificationFilterAllOfWithDefaults instantiates a new PersonCertificationFilterAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPersonCertificationFilterAllOfWithDefaults() *PersonCertificationFilterAllOf { - this := PersonCertificationFilterAllOf{} - return &this -} - -// GetStartedCertificaiton returns the StartedCertificaiton field value if set, zero value otherwise. -func (o *PersonCertificationFilterAllOf) GetStartedCertificaiton() bool { - if o == nil || o.StartedCertificaiton == nil { - var ret bool - return ret - } - return *o.StartedCertificaiton -} - -// GetStartedCertificaitonOk returns a tuple with the StartedCertificaiton field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonCertificationFilterAllOf) GetStartedCertificaitonOk() (*bool, bool) { - if o == nil || o.StartedCertificaiton == nil { - return nil, false - } - return o.StartedCertificaiton, true -} - -// HasStartedCertificaiton returns a boolean if a field has been set. -func (o *PersonCertificationFilterAllOf) HasStartedCertificaiton() bool { - if o != nil && o.StartedCertificaiton != nil { - return true - } - - return false -} - -// SetStartedCertificaiton gets a reference to the given bool and assigns it to the StartedCertificaiton field. -func (o *PersonCertificationFilterAllOf) SetStartedCertificaiton(v bool) { - o.StartedCertificaiton = &v -} - -func (o PersonCertificationFilterAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.StartedCertificaiton != nil { - toSerialize["startedCertificaiton"] = o.StartedCertificaiton - } - return json.Marshal(toSerialize) -} - -type NullablePersonCertificationFilterAllOf struct { - value *PersonCertificationFilterAllOf - isSet bool -} - -func (v NullablePersonCertificationFilterAllOf) Get() *PersonCertificationFilterAllOf { - return v.value -} - -func (v *NullablePersonCertificationFilterAllOf) Set(val *PersonCertificationFilterAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePersonCertificationFilterAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePersonCertificationFilterAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePersonCertificationFilterAllOf(val *PersonCertificationFilterAllOf) *NullablePersonCertificationFilterAllOf { - return &NullablePersonCertificationFilterAllOf{value: val, isSet: true} -} - -func (v NullablePersonCertificationFilterAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePersonCertificationFilterAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_person_details.go b/model_person_details.go index d2935c08..4132077d 100644 --- a/model_person_details.go +++ b/model_person_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_industry_filter.go b/model_person_industry_filter.go index f0060a0c..be830948 100644 --- a/model_person_industry_filter.go +++ b/model_person_industry_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,10 +16,10 @@ import ( // PersonIndustryFilter struct for PersonIndustryFilter type PersonIndustryFilter struct { - Id string `json:"id"` ActiveProjects *bool `json:"activeProjects,omitempty"` AmountOfProjects *MinMax `json:"amountOfProjects,omitempty"` ExperienceInMonth *MinMax `json:"experienceInMonth,omitempty"` + Id string `json:"id"` } // NewPersonIndustryFilter instantiates a new PersonIndustryFilter object @@ -40,30 +40,6 @@ func NewPersonIndustryFilterWithDefaults() *PersonIndustryFilter { return &this } -// GetId returns the Id field value -func (o *PersonIndustryFilter) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *PersonIndustryFilter) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *PersonIndustryFilter) SetId(v string) { - o.Id = v -} - // GetActiveProjects returns the ActiveProjects field value if set, zero value otherwise. func (o *PersonIndustryFilter) GetActiveProjects() bool { if o == nil || o.ActiveProjects == nil { @@ -160,11 +136,32 @@ func (o *PersonIndustryFilter) SetExperienceInMonth(v MinMax) { o.ExperienceInMonth = &v } +// GetId returns the Id field value +func (o *PersonIndustryFilter) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PersonIndustryFilter) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PersonIndustryFilter) SetId(v string) { + o.Id = v +} + func (o PersonIndustryFilter) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } if o.ActiveProjects != nil { toSerialize["activeProjects"] = o.ActiveProjects } @@ -174,6 +171,9 @@ func (o PersonIndustryFilter) MarshalJSON() ([]byte, error) { if o.ExperienceInMonth != nil { toSerialize["experienceInMonth"] = o.ExperienceInMonth } + if true { + toSerialize["id"] = o.Id + } return json.Marshal(toSerialize) } diff --git a/model_person_industry_filter_all_of.go b/model_person_industry_filter_all_of.go deleted file mode 100644 index 937639db..00000000 --- a/model_person_industry_filter_all_of.go +++ /dev/null @@ -1,187 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PersonIndustryFilterAllOf struct for PersonIndustryFilterAllOf -type PersonIndustryFilterAllOf struct { - ActiveProjects *bool `json:"activeProjects,omitempty"` - AmountOfProjects *MinMax `json:"amountOfProjects,omitempty"` - ExperienceInMonth *MinMax `json:"experienceInMonth,omitempty"` -} - -// NewPersonIndustryFilterAllOf instantiates a new PersonIndustryFilterAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPersonIndustryFilterAllOf() *PersonIndustryFilterAllOf { - this := PersonIndustryFilterAllOf{} - return &this -} - -// NewPersonIndustryFilterAllOfWithDefaults instantiates a new PersonIndustryFilterAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPersonIndustryFilterAllOfWithDefaults() *PersonIndustryFilterAllOf { - this := PersonIndustryFilterAllOf{} - return &this -} - -// GetActiveProjects returns the ActiveProjects field value if set, zero value otherwise. -func (o *PersonIndustryFilterAllOf) GetActiveProjects() bool { - if o == nil || o.ActiveProjects == nil { - var ret bool - return ret - } - return *o.ActiveProjects -} - -// GetActiveProjectsOk returns a tuple with the ActiveProjects field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonIndustryFilterAllOf) GetActiveProjectsOk() (*bool, bool) { - if o == nil || o.ActiveProjects == nil { - return nil, false - } - return o.ActiveProjects, true -} - -// HasActiveProjects returns a boolean if a field has been set. -func (o *PersonIndustryFilterAllOf) HasActiveProjects() bool { - if o != nil && o.ActiveProjects != nil { - return true - } - - return false -} - -// SetActiveProjects gets a reference to the given bool and assigns it to the ActiveProjects field. -func (o *PersonIndustryFilterAllOf) SetActiveProjects(v bool) { - o.ActiveProjects = &v -} - -// GetAmountOfProjects returns the AmountOfProjects field value if set, zero value otherwise. -func (o *PersonIndustryFilterAllOf) GetAmountOfProjects() MinMax { - if o == nil || o.AmountOfProjects == nil { - var ret MinMax - return ret - } - return *o.AmountOfProjects -} - -// GetAmountOfProjectsOk returns a tuple with the AmountOfProjects field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonIndustryFilterAllOf) GetAmountOfProjectsOk() (*MinMax, bool) { - if o == nil || o.AmountOfProjects == nil { - return nil, false - } - return o.AmountOfProjects, true -} - -// HasAmountOfProjects returns a boolean if a field has been set. -func (o *PersonIndustryFilterAllOf) HasAmountOfProjects() bool { - if o != nil && o.AmountOfProjects != nil { - return true - } - - return false -} - -// SetAmountOfProjects gets a reference to the given MinMax and assigns it to the AmountOfProjects field. -func (o *PersonIndustryFilterAllOf) SetAmountOfProjects(v MinMax) { - o.AmountOfProjects = &v -} - -// GetExperienceInMonth returns the ExperienceInMonth field value if set, zero value otherwise. -func (o *PersonIndustryFilterAllOf) GetExperienceInMonth() MinMax { - if o == nil || o.ExperienceInMonth == nil { - var ret MinMax - return ret - } - return *o.ExperienceInMonth -} - -// GetExperienceInMonthOk returns a tuple with the ExperienceInMonth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonIndustryFilterAllOf) GetExperienceInMonthOk() (*MinMax, bool) { - if o == nil || o.ExperienceInMonth == nil { - return nil, false - } - return o.ExperienceInMonth, true -} - -// HasExperienceInMonth returns a boolean if a field has been set. -func (o *PersonIndustryFilterAllOf) HasExperienceInMonth() bool { - if o != nil && o.ExperienceInMonth != nil { - return true - } - - return false -} - -// SetExperienceInMonth gets a reference to the given MinMax and assigns it to the ExperienceInMonth field. -func (o *PersonIndustryFilterAllOf) SetExperienceInMonth(v MinMax) { - o.ExperienceInMonth = &v -} - -func (o PersonIndustryFilterAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.ActiveProjects != nil { - toSerialize["activeProjects"] = o.ActiveProjects - } - if o.AmountOfProjects != nil { - toSerialize["amountOfProjects"] = o.AmountOfProjects - } - if o.ExperienceInMonth != nil { - toSerialize["experienceInMonth"] = o.ExperienceInMonth - } - return json.Marshal(toSerialize) -} - -type NullablePersonIndustryFilterAllOf struct { - value *PersonIndustryFilterAllOf - isSet bool -} - -func (v NullablePersonIndustryFilterAllOf) Get() *PersonIndustryFilterAllOf { - return v.value -} - -func (v *NullablePersonIndustryFilterAllOf) Set(val *PersonIndustryFilterAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePersonIndustryFilterAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePersonIndustryFilterAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePersonIndustryFilterAllOf(val *PersonIndustryFilterAllOf) *NullablePersonIndustryFilterAllOf { - return &NullablePersonIndustryFilterAllOf{value: val, isSet: true} -} - -func (v NullablePersonIndustryFilterAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePersonIndustryFilterAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_person_organization_filter.go b/model_person_organization_filter.go index ffa3e683..256f6be7 100644 --- a/model_person_organization_filter.go +++ b/model_person_organization_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,8 +16,8 @@ import ( // PersonOrganizationFilter struct for PersonOrganizationFilter type PersonOrganizationFilter struct { - Id string `json:"id"` AmountOfProjects *MinMax `json:"amountOfProjects,omitempty"` + Id string `json:"id"` } // NewPersonOrganizationFilter instantiates a new PersonOrganizationFilter object @@ -38,30 +38,6 @@ func NewPersonOrganizationFilterWithDefaults() *PersonOrganizationFilter { return &this } -// GetId returns the Id field value -func (o *PersonOrganizationFilter) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *PersonOrganizationFilter) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *PersonOrganizationFilter) SetId(v string) { - o.Id = v -} - // GetAmountOfProjects returns the AmountOfProjects field value if set, zero value otherwise. func (o *PersonOrganizationFilter) GetAmountOfProjects() MinMax { if o == nil || o.AmountOfProjects == nil { @@ -94,14 +70,38 @@ func (o *PersonOrganizationFilter) SetAmountOfProjects(v MinMax) { o.AmountOfProjects = &v } +// GetId returns the Id field value +func (o *PersonOrganizationFilter) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PersonOrganizationFilter) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PersonOrganizationFilter) SetId(v string) { + o.Id = v +} + func (o PersonOrganizationFilter) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } if o.AmountOfProjects != nil { toSerialize["amountOfProjects"] = o.AmountOfProjects } + if true { + toSerialize["id"] = o.Id + } return json.Marshal(toSerialize) } diff --git a/model_person_organization_filter_all_of.go b/model_person_organization_filter_all_of.go deleted file mode 100644 index de32466c..00000000 --- a/model_person_organization_filter_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PersonOrganizationFilterAllOf struct for PersonOrganizationFilterAllOf -type PersonOrganizationFilterAllOf struct { - AmountOfProjects *MinMax `json:"amountOfProjects,omitempty"` -} - -// NewPersonOrganizationFilterAllOf instantiates a new PersonOrganizationFilterAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPersonOrganizationFilterAllOf() *PersonOrganizationFilterAllOf { - this := PersonOrganizationFilterAllOf{} - return &this -} - -// NewPersonOrganizationFilterAllOfWithDefaults instantiates a new PersonOrganizationFilterAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPersonOrganizationFilterAllOfWithDefaults() *PersonOrganizationFilterAllOf { - this := PersonOrganizationFilterAllOf{} - return &this -} - -// GetAmountOfProjects returns the AmountOfProjects field value if set, zero value otherwise. -func (o *PersonOrganizationFilterAllOf) GetAmountOfProjects() MinMax { - if o == nil || o.AmountOfProjects == nil { - var ret MinMax - return ret - } - return *o.AmountOfProjects -} - -// GetAmountOfProjectsOk returns a tuple with the AmountOfProjects field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonOrganizationFilterAllOf) GetAmountOfProjectsOk() (*MinMax, bool) { - if o == nil || o.AmountOfProjects == nil { - return nil, false - } - return o.AmountOfProjects, true -} - -// HasAmountOfProjects returns a boolean if a field has been set. -func (o *PersonOrganizationFilterAllOf) HasAmountOfProjects() bool { - if o != nil && o.AmountOfProjects != nil { - return true - } - - return false -} - -// SetAmountOfProjects gets a reference to the given MinMax and assigns it to the AmountOfProjects field. -func (o *PersonOrganizationFilterAllOf) SetAmountOfProjects(v MinMax) { - o.AmountOfProjects = &v -} - -func (o PersonOrganizationFilterAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.AmountOfProjects != nil { - toSerialize["amountOfProjects"] = o.AmountOfProjects - } - return json.Marshal(toSerialize) -} - -type NullablePersonOrganizationFilterAllOf struct { - value *PersonOrganizationFilterAllOf - isSet bool -} - -func (v NullablePersonOrganizationFilterAllOf) Get() *PersonOrganizationFilterAllOf { - return v.value -} - -func (v *NullablePersonOrganizationFilterAllOf) Set(val *PersonOrganizationFilterAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePersonOrganizationFilterAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePersonOrganizationFilterAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePersonOrganizationFilterAllOf(val *PersonOrganizationFilterAllOf) *NullablePersonOrganizationFilterAllOf { - return &NullablePersonOrganizationFilterAllOf{value: val, isSet: true} -} - -func (v NullablePersonOrganizationFilterAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePersonOrganizationFilterAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_person_project_filter.go b/model_person_project_filter.go index 00d62a98..bf8ebfa8 100644 --- a/model_person_project_filter.go +++ b/model_person_project_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,9 @@ import ( // PersonProjectFilter struct for PersonProjectFilter type PersonProjectFilter struct { - Id string `json:"id"` ParticipationInMonth *MinMax `json:"participationInMonth,omitempty"` InvolevedOfficeIds []string `json:"involevedOfficeIds,omitempty"` + Id string `json:"id"` } // NewPersonProjectFilter instantiates a new PersonProjectFilter object @@ -39,30 +39,6 @@ func NewPersonProjectFilterWithDefaults() *PersonProjectFilter { return &this } -// GetId returns the Id field value -func (o *PersonProjectFilter) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *PersonProjectFilter) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *PersonProjectFilter) SetId(v string) { - o.Id = v -} - // GetParticipationInMonth returns the ParticipationInMonth field value if set, zero value otherwise. func (o *PersonProjectFilter) GetParticipationInMonth() MinMax { if o == nil || o.ParticipationInMonth == nil { @@ -127,17 +103,41 @@ func (o *PersonProjectFilter) SetInvolevedOfficeIds(v []string) { o.InvolevedOfficeIds = v } +// GetId returns the Id field value +func (o *PersonProjectFilter) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PersonProjectFilter) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PersonProjectFilter) SetId(v string) { + o.Id = v +} + func (o PersonProjectFilter) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } if o.ParticipationInMonth != nil { toSerialize["participationInMonth"] = o.ParticipationInMonth } if o.InvolevedOfficeIds != nil { toSerialize["involevedOfficeIds"] = o.InvolevedOfficeIds } + if true { + toSerialize["id"] = o.Id + } return json.Marshal(toSerialize) } diff --git a/model_person_project_filter_all_of.go b/model_person_project_filter_all_of.go deleted file mode 100644 index ddcf4f03..00000000 --- a/model_person_project_filter_all_of.go +++ /dev/null @@ -1,151 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PersonProjectFilterAllOf struct for PersonProjectFilterAllOf -type PersonProjectFilterAllOf struct { - ParticipationInMonth *MinMax `json:"participationInMonth,omitempty"` - InvolevedOfficeIds []string `json:"involevedOfficeIds,omitempty"` -} - -// NewPersonProjectFilterAllOf instantiates a new PersonProjectFilterAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPersonProjectFilterAllOf() *PersonProjectFilterAllOf { - this := PersonProjectFilterAllOf{} - return &this -} - -// NewPersonProjectFilterAllOfWithDefaults instantiates a new PersonProjectFilterAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPersonProjectFilterAllOfWithDefaults() *PersonProjectFilterAllOf { - this := PersonProjectFilterAllOf{} - return &this -} - -// GetParticipationInMonth returns the ParticipationInMonth field value if set, zero value otherwise. -func (o *PersonProjectFilterAllOf) GetParticipationInMonth() MinMax { - if o == nil || o.ParticipationInMonth == nil { - var ret MinMax - return ret - } - return *o.ParticipationInMonth -} - -// GetParticipationInMonthOk returns a tuple with the ParticipationInMonth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonProjectFilterAllOf) GetParticipationInMonthOk() (*MinMax, bool) { - if o == nil || o.ParticipationInMonth == nil { - return nil, false - } - return o.ParticipationInMonth, true -} - -// HasParticipationInMonth returns a boolean if a field has been set. -func (o *PersonProjectFilterAllOf) HasParticipationInMonth() bool { - if o != nil && o.ParticipationInMonth != nil { - return true - } - - return false -} - -// SetParticipationInMonth gets a reference to the given MinMax and assigns it to the ParticipationInMonth field. -func (o *PersonProjectFilterAllOf) SetParticipationInMonth(v MinMax) { - o.ParticipationInMonth = &v -} - -// GetInvolevedOfficeIds returns the InvolevedOfficeIds field value if set, zero value otherwise. -func (o *PersonProjectFilterAllOf) GetInvolevedOfficeIds() []string { - if o == nil || o.InvolevedOfficeIds == nil { - var ret []string - return ret - } - return o.InvolevedOfficeIds -} - -// GetInvolevedOfficeIdsOk returns a tuple with the InvolevedOfficeIds field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonProjectFilterAllOf) GetInvolevedOfficeIdsOk() ([]string, bool) { - if o == nil || o.InvolevedOfficeIds == nil { - return nil, false - } - return o.InvolevedOfficeIds, true -} - -// HasInvolevedOfficeIds returns a boolean if a field has been set. -func (o *PersonProjectFilterAllOf) HasInvolevedOfficeIds() bool { - if o != nil && o.InvolevedOfficeIds != nil { - return true - } - - return false -} - -// SetInvolevedOfficeIds gets a reference to the given []string and assigns it to the InvolevedOfficeIds field. -func (o *PersonProjectFilterAllOf) SetInvolevedOfficeIds(v []string) { - o.InvolevedOfficeIds = v -} - -func (o PersonProjectFilterAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.ParticipationInMonth != nil { - toSerialize["participationInMonth"] = o.ParticipationInMonth - } - if o.InvolevedOfficeIds != nil { - toSerialize["involevedOfficeIds"] = o.InvolevedOfficeIds - } - return json.Marshal(toSerialize) -} - -type NullablePersonProjectFilterAllOf struct { - value *PersonProjectFilterAllOf - isSet bool -} - -func (v NullablePersonProjectFilterAllOf) Get() *PersonProjectFilterAllOf { - return v.value -} - -func (v *NullablePersonProjectFilterAllOf) Set(val *PersonProjectFilterAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePersonProjectFilterAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePersonProjectFilterAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePersonProjectFilterAllOf(val *PersonProjectFilterAllOf) *NullablePersonProjectFilterAllOf { - return &NullablePersonProjectFilterAllOf{value: val, isSet: true} -} - -func (v NullablePersonProjectFilterAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePersonProjectFilterAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_person_score_detail.go b/model_person_score_detail.go index 550a3d54..3df8b23d 100644 --- a/model_person_score_detail.go +++ b/model_person_score_detail.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,6 +16,7 @@ import ( // PersonScoreDetail struct for PersonScoreDetail type PersonScoreDetail struct { + Score *float32 `json:"score,omitempty"` Person *Person `json:"person,omitempty"` Projects []ProjectParticipation `json:"projects,omitempty"` Industries []Industry `json:"industries,omitempty"` @@ -26,7 +27,6 @@ type PersonScoreDetail struct { Office *Office `json:"office,omitempty"` Availabilities []AvailabilityDetail `json:"availabilities,omitempty"` SkillGroups []SkillGroup `json:"skillGroups,omitempty"` - Score *float32 `json:"score,omitempty"` } // NewPersonScoreDetail instantiates a new PersonScoreDetail object @@ -46,6 +46,38 @@ func NewPersonScoreDetailWithDefaults() *PersonScoreDetail { return &this } +// GetScore returns the Score field value if set, zero value otherwise. +func (o *PersonScoreDetail) GetScore() float32 { + if o == nil || o.Score == nil { + var ret float32 + return ret + } + return *o.Score +} + +// GetScoreOk returns a tuple with the Score field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PersonScoreDetail) GetScoreOk() (*float32, bool) { + if o == nil || o.Score == nil { + return nil, false + } + return o.Score, true +} + +// HasScore returns a boolean if a field has been set. +func (o *PersonScoreDetail) HasScore() bool { + if o != nil && o.Score != nil { + return true + } + + return false +} + +// SetScore gets a reference to the given float32 and assigns it to the Score field. +func (o *PersonScoreDetail) SetScore(v float32) { + o.Score = &v +} + // GetPerson returns the Person field value if set, zero value otherwise. func (o *PersonScoreDetail) GetPerson() Person { if o == nil || o.Person == nil { @@ -366,40 +398,11 @@ func (o *PersonScoreDetail) SetSkillGroups(v []SkillGroup) { o.SkillGroups = v } -// GetScore returns the Score field value if set, zero value otherwise. -func (o *PersonScoreDetail) GetScore() float32 { - if o == nil || o.Score == nil { - var ret float32 - return ret - } - return *o.Score -} - -// GetScoreOk returns a tuple with the Score field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonScoreDetail) GetScoreOk() (*float32, bool) { - if o == nil || o.Score == nil { - return nil, false - } - return o.Score, true -} - -// HasScore returns a boolean if a field has been set. -func (o *PersonScoreDetail) HasScore() bool { - if o != nil && o.Score != nil { - return true - } - - return false -} - -// SetScore gets a reference to the given float32 and assigns it to the Score field. -func (o *PersonScoreDetail) SetScore(v float32) { - o.Score = &v -} - func (o PersonScoreDetail) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} + if o.Score != nil { + toSerialize["score"] = o.Score + } if o.Person != nil { toSerialize["person"] = o.Person } @@ -430,9 +433,6 @@ func (o PersonScoreDetail) MarshalJSON() ([]byte, error) { if o.SkillGroups != nil { toSerialize["skillGroups"] = o.SkillGroups } - if o.Score != nil { - toSerialize["score"] = o.Score - } return json.Marshal(toSerialize) } diff --git a/model_person_search.go b/model_person_search.go index 467b3983..b4f46fc0 100644 --- a/model_person_search.go +++ b/model_person_search.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -21,11 +21,11 @@ type PersonSearch struct { Availability *AvailabilityFilter `json:"availability,omitempty"` OnsiteRatio *MinMaxPercent `json:"onsiteRatio,omitempty"` Seniority []Seniority `json:"seniority,omitempty"` - Skills []PersonSearchSkillsInner `json:"skills,omitempty"` - Projects []PersonSearchProjectsInner `json:"projects,omitempty"` - Organizations []PersonSearchOrganizationsInner `json:"organizations,omitempty"` - Industries []PersonSearchIndustriesInner `json:"industries,omitempty"` - Certifications []PersonSearchCertificationsInner `json:"certifications,omitempty"` + Skills []PersonSkillFilter `json:"skills,omitempty"` + Projects []PersonProjectFilter `json:"projects,omitempty"` + Organizations []PersonOrganizationFilter `json:"organizations,omitempty"` + Industries []PersonIndustryFilter `json:"industries,omitempty"` + Certifications []PersonCertificationFilter `json:"certifications,omitempty"` } // NewPersonSearch instantiates a new PersonSearch object @@ -206,9 +206,9 @@ func (o *PersonSearch) SetSeniority(v []Seniority) { } // GetSkills returns the Skills field value if set, zero value otherwise. -func (o *PersonSearch) GetSkills() []PersonSearchSkillsInner { +func (o *PersonSearch) GetSkills() []PersonSkillFilter { if o == nil || o.Skills == nil { - var ret []PersonSearchSkillsInner + var ret []PersonSkillFilter return ret } return o.Skills @@ -216,7 +216,7 @@ func (o *PersonSearch) GetSkills() []PersonSearchSkillsInner { // GetSkillsOk returns a tuple with the Skills field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PersonSearch) GetSkillsOk() ([]PersonSearchSkillsInner, bool) { +func (o *PersonSearch) GetSkillsOk() ([]PersonSkillFilter, bool) { if o == nil || o.Skills == nil { return nil, false } @@ -232,15 +232,15 @@ func (o *PersonSearch) HasSkills() bool { return false } -// SetSkills gets a reference to the given []PersonSearchSkillsInner and assigns it to the Skills field. -func (o *PersonSearch) SetSkills(v []PersonSearchSkillsInner) { +// SetSkills gets a reference to the given []PersonSkillFilter and assigns it to the Skills field. +func (o *PersonSearch) SetSkills(v []PersonSkillFilter) { o.Skills = v } // GetProjects returns the Projects field value if set, zero value otherwise. -func (o *PersonSearch) GetProjects() []PersonSearchProjectsInner { +func (o *PersonSearch) GetProjects() []PersonProjectFilter { if o == nil || o.Projects == nil { - var ret []PersonSearchProjectsInner + var ret []PersonProjectFilter return ret } return o.Projects @@ -248,7 +248,7 @@ func (o *PersonSearch) GetProjects() []PersonSearchProjectsInner { // GetProjectsOk returns a tuple with the Projects field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PersonSearch) GetProjectsOk() ([]PersonSearchProjectsInner, bool) { +func (o *PersonSearch) GetProjectsOk() ([]PersonProjectFilter, bool) { if o == nil || o.Projects == nil { return nil, false } @@ -264,15 +264,15 @@ func (o *PersonSearch) HasProjects() bool { return false } -// SetProjects gets a reference to the given []PersonSearchProjectsInner and assigns it to the Projects field. -func (o *PersonSearch) SetProjects(v []PersonSearchProjectsInner) { +// SetProjects gets a reference to the given []PersonProjectFilter and assigns it to the Projects field. +func (o *PersonSearch) SetProjects(v []PersonProjectFilter) { o.Projects = v } // GetOrganizations returns the Organizations field value if set, zero value otherwise. -func (o *PersonSearch) GetOrganizations() []PersonSearchOrganizationsInner { +func (o *PersonSearch) GetOrganizations() []PersonOrganizationFilter { if o == nil || o.Organizations == nil { - var ret []PersonSearchOrganizationsInner + var ret []PersonOrganizationFilter return ret } return o.Organizations @@ -280,7 +280,7 @@ func (o *PersonSearch) GetOrganizations() []PersonSearchOrganizationsInner { // GetOrganizationsOk returns a tuple with the Organizations field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PersonSearch) GetOrganizationsOk() ([]PersonSearchOrganizationsInner, bool) { +func (o *PersonSearch) GetOrganizationsOk() ([]PersonOrganizationFilter, bool) { if o == nil || o.Organizations == nil { return nil, false } @@ -296,15 +296,15 @@ func (o *PersonSearch) HasOrganizations() bool { return false } -// SetOrganizations gets a reference to the given []PersonSearchOrganizationsInner and assigns it to the Organizations field. -func (o *PersonSearch) SetOrganizations(v []PersonSearchOrganizationsInner) { +// SetOrganizations gets a reference to the given []PersonOrganizationFilter and assigns it to the Organizations field. +func (o *PersonSearch) SetOrganizations(v []PersonOrganizationFilter) { o.Organizations = v } // GetIndustries returns the Industries field value if set, zero value otherwise. -func (o *PersonSearch) GetIndustries() []PersonSearchIndustriesInner { +func (o *PersonSearch) GetIndustries() []PersonIndustryFilter { if o == nil || o.Industries == nil { - var ret []PersonSearchIndustriesInner + var ret []PersonIndustryFilter return ret } return o.Industries @@ -312,7 +312,7 @@ func (o *PersonSearch) GetIndustries() []PersonSearchIndustriesInner { // GetIndustriesOk returns a tuple with the Industries field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PersonSearch) GetIndustriesOk() ([]PersonSearchIndustriesInner, bool) { +func (o *PersonSearch) GetIndustriesOk() ([]PersonIndustryFilter, bool) { if o == nil || o.Industries == nil { return nil, false } @@ -328,15 +328,15 @@ func (o *PersonSearch) HasIndustries() bool { return false } -// SetIndustries gets a reference to the given []PersonSearchIndustriesInner and assigns it to the Industries field. -func (o *PersonSearch) SetIndustries(v []PersonSearchIndustriesInner) { +// SetIndustries gets a reference to the given []PersonIndustryFilter and assigns it to the Industries field. +func (o *PersonSearch) SetIndustries(v []PersonIndustryFilter) { o.Industries = v } // GetCertifications returns the Certifications field value if set, zero value otherwise. -func (o *PersonSearch) GetCertifications() []PersonSearchCertificationsInner { +func (o *PersonSearch) GetCertifications() []PersonCertificationFilter { if o == nil || o.Certifications == nil { - var ret []PersonSearchCertificationsInner + var ret []PersonCertificationFilter return ret } return o.Certifications @@ -344,7 +344,7 @@ func (o *PersonSearch) GetCertifications() []PersonSearchCertificationsInner { // GetCertificationsOk returns a tuple with the Certifications field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *PersonSearch) GetCertificationsOk() ([]PersonSearchCertificationsInner, bool) { +func (o *PersonSearch) GetCertificationsOk() ([]PersonCertificationFilter, bool) { if o == nil || o.Certifications == nil { return nil, false } @@ -360,8 +360,8 @@ func (o *PersonSearch) HasCertifications() bool { return false } -// SetCertifications gets a reference to the given []PersonSearchCertificationsInner and assigns it to the Certifications field. -func (o *PersonSearch) SetCertifications(v []PersonSearchCertificationsInner) { +// SetCertifications gets a reference to the given []PersonCertificationFilter and assigns it to the Certifications field. +func (o *PersonSearch) SetCertifications(v []PersonCertificationFilter) { o.Certifications = v } diff --git a/model_person_search_certifications_inner.go b/model_person_search_certifications_inner.go deleted file mode 100644 index f7665fab..00000000 --- a/model_person_search_certifications_inner.go +++ /dev/null @@ -1,145 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PersonSearchCertificationsInner struct for PersonSearchCertificationsInner -type PersonSearchCertificationsInner struct { - Id string `json:"id"` - // Include employees who started the certification - StartedCertificaiton *bool `json:"startedCertificaiton,omitempty"` -} - -// NewPersonSearchCertificationsInner instantiates a new PersonSearchCertificationsInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPersonSearchCertificationsInner(id string) *PersonSearchCertificationsInner { - this := PersonSearchCertificationsInner{} - this.Id = id - return &this -} - -// NewPersonSearchCertificationsInnerWithDefaults instantiates a new PersonSearchCertificationsInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPersonSearchCertificationsInnerWithDefaults() *PersonSearchCertificationsInner { - this := PersonSearchCertificationsInner{} - return &this -} - -// GetId returns the Id field value -func (o *PersonSearchCertificationsInner) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *PersonSearchCertificationsInner) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *PersonSearchCertificationsInner) SetId(v string) { - o.Id = v -} - -// GetStartedCertificaiton returns the StartedCertificaiton field value if set, zero value otherwise. -func (o *PersonSearchCertificationsInner) GetStartedCertificaiton() bool { - if o == nil || o.StartedCertificaiton == nil { - var ret bool - return ret - } - return *o.StartedCertificaiton -} - -// GetStartedCertificaitonOk returns a tuple with the StartedCertificaiton field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonSearchCertificationsInner) GetStartedCertificaitonOk() (*bool, bool) { - if o == nil || o.StartedCertificaiton == nil { - return nil, false - } - return o.StartedCertificaiton, true -} - -// HasStartedCertificaiton returns a boolean if a field has been set. -func (o *PersonSearchCertificationsInner) HasStartedCertificaiton() bool { - if o != nil && o.StartedCertificaiton != nil { - return true - } - - return false -} - -// SetStartedCertificaiton gets a reference to the given bool and assigns it to the StartedCertificaiton field. -func (o *PersonSearchCertificationsInner) SetStartedCertificaiton(v bool) { - o.StartedCertificaiton = &v -} - -func (o PersonSearchCertificationsInner) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - if o.StartedCertificaiton != nil { - toSerialize["startedCertificaiton"] = o.StartedCertificaiton - } - return json.Marshal(toSerialize) -} - -type NullablePersonSearchCertificationsInner struct { - value *PersonSearchCertificationsInner - isSet bool -} - -func (v NullablePersonSearchCertificationsInner) Get() *PersonSearchCertificationsInner { - return v.value -} - -func (v *NullablePersonSearchCertificationsInner) Set(val *PersonSearchCertificationsInner) { - v.value = val - v.isSet = true -} - -func (v NullablePersonSearchCertificationsInner) IsSet() bool { - return v.isSet -} - -func (v *NullablePersonSearchCertificationsInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePersonSearchCertificationsInner(val *PersonSearchCertificationsInner) *NullablePersonSearchCertificationsInner { - return &NullablePersonSearchCertificationsInner{value: val, isSet: true} -} - -func (v NullablePersonSearchCertificationsInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePersonSearchCertificationsInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_person_search_industries_inner.go b/model_person_search_industries_inner.go deleted file mode 100644 index f6c5f2ae..00000000 --- a/model_person_search_industries_inner.go +++ /dev/null @@ -1,216 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PersonSearchIndustriesInner struct for PersonSearchIndustriesInner -type PersonSearchIndustriesInner struct { - Id string `json:"id"` - ActiveProjects *bool `json:"activeProjects,omitempty"` - AmountOfProjects *MinMax `json:"amountOfProjects,omitempty"` - ExperienceInMonth *MinMax `json:"experienceInMonth,omitempty"` -} - -// NewPersonSearchIndustriesInner instantiates a new PersonSearchIndustriesInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPersonSearchIndustriesInner(id string) *PersonSearchIndustriesInner { - this := PersonSearchIndustriesInner{} - this.Id = id - return &this -} - -// NewPersonSearchIndustriesInnerWithDefaults instantiates a new PersonSearchIndustriesInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPersonSearchIndustriesInnerWithDefaults() *PersonSearchIndustriesInner { - this := PersonSearchIndustriesInner{} - return &this -} - -// GetId returns the Id field value -func (o *PersonSearchIndustriesInner) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *PersonSearchIndustriesInner) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *PersonSearchIndustriesInner) SetId(v string) { - o.Id = v -} - -// GetActiveProjects returns the ActiveProjects field value if set, zero value otherwise. -func (o *PersonSearchIndustriesInner) GetActiveProjects() bool { - if o == nil || o.ActiveProjects == nil { - var ret bool - return ret - } - return *o.ActiveProjects -} - -// GetActiveProjectsOk returns a tuple with the ActiveProjects field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonSearchIndustriesInner) GetActiveProjectsOk() (*bool, bool) { - if o == nil || o.ActiveProjects == nil { - return nil, false - } - return o.ActiveProjects, true -} - -// HasActiveProjects returns a boolean if a field has been set. -func (o *PersonSearchIndustriesInner) HasActiveProjects() bool { - if o != nil && o.ActiveProjects != nil { - return true - } - - return false -} - -// SetActiveProjects gets a reference to the given bool and assigns it to the ActiveProjects field. -func (o *PersonSearchIndustriesInner) SetActiveProjects(v bool) { - o.ActiveProjects = &v -} - -// GetAmountOfProjects returns the AmountOfProjects field value if set, zero value otherwise. -func (o *PersonSearchIndustriesInner) GetAmountOfProjects() MinMax { - if o == nil || o.AmountOfProjects == nil { - var ret MinMax - return ret - } - return *o.AmountOfProjects -} - -// GetAmountOfProjectsOk returns a tuple with the AmountOfProjects field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonSearchIndustriesInner) GetAmountOfProjectsOk() (*MinMax, bool) { - if o == nil || o.AmountOfProjects == nil { - return nil, false - } - return o.AmountOfProjects, true -} - -// HasAmountOfProjects returns a boolean if a field has been set. -func (o *PersonSearchIndustriesInner) HasAmountOfProjects() bool { - if o != nil && o.AmountOfProjects != nil { - return true - } - - return false -} - -// SetAmountOfProjects gets a reference to the given MinMax and assigns it to the AmountOfProjects field. -func (o *PersonSearchIndustriesInner) SetAmountOfProjects(v MinMax) { - o.AmountOfProjects = &v -} - -// GetExperienceInMonth returns the ExperienceInMonth field value if set, zero value otherwise. -func (o *PersonSearchIndustriesInner) GetExperienceInMonth() MinMax { - if o == nil || o.ExperienceInMonth == nil { - var ret MinMax - return ret - } - return *o.ExperienceInMonth -} - -// GetExperienceInMonthOk returns a tuple with the ExperienceInMonth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonSearchIndustriesInner) GetExperienceInMonthOk() (*MinMax, bool) { - if o == nil || o.ExperienceInMonth == nil { - return nil, false - } - return o.ExperienceInMonth, true -} - -// HasExperienceInMonth returns a boolean if a field has been set. -func (o *PersonSearchIndustriesInner) HasExperienceInMonth() bool { - if o != nil && o.ExperienceInMonth != nil { - return true - } - - return false -} - -// SetExperienceInMonth gets a reference to the given MinMax and assigns it to the ExperienceInMonth field. -func (o *PersonSearchIndustriesInner) SetExperienceInMonth(v MinMax) { - o.ExperienceInMonth = &v -} - -func (o PersonSearchIndustriesInner) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - if o.ActiveProjects != nil { - toSerialize["activeProjects"] = o.ActiveProjects - } - if o.AmountOfProjects != nil { - toSerialize["amountOfProjects"] = o.AmountOfProjects - } - if o.ExperienceInMonth != nil { - toSerialize["experienceInMonth"] = o.ExperienceInMonth - } - return json.Marshal(toSerialize) -} - -type NullablePersonSearchIndustriesInner struct { - value *PersonSearchIndustriesInner - isSet bool -} - -func (v NullablePersonSearchIndustriesInner) Get() *PersonSearchIndustriesInner { - return v.value -} - -func (v *NullablePersonSearchIndustriesInner) Set(val *PersonSearchIndustriesInner) { - v.value = val - v.isSet = true -} - -func (v NullablePersonSearchIndustriesInner) IsSet() bool { - return v.isSet -} - -func (v *NullablePersonSearchIndustriesInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePersonSearchIndustriesInner(val *PersonSearchIndustriesInner) *NullablePersonSearchIndustriesInner { - return &NullablePersonSearchIndustriesInner{value: val, isSet: true} -} - -func (v NullablePersonSearchIndustriesInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePersonSearchIndustriesInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_person_search_organizations_inner.go b/model_person_search_organizations_inner.go deleted file mode 100644 index e19fe4dd..00000000 --- a/model_person_search_organizations_inner.go +++ /dev/null @@ -1,144 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PersonSearchOrganizationsInner struct for PersonSearchOrganizationsInner -type PersonSearchOrganizationsInner struct { - Id string `json:"id"` - AmountOfProjects *MinMax `json:"amountOfProjects,omitempty"` -} - -// NewPersonSearchOrganizationsInner instantiates a new PersonSearchOrganizationsInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPersonSearchOrganizationsInner(id string) *PersonSearchOrganizationsInner { - this := PersonSearchOrganizationsInner{} - this.Id = id - return &this -} - -// NewPersonSearchOrganizationsInnerWithDefaults instantiates a new PersonSearchOrganizationsInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPersonSearchOrganizationsInnerWithDefaults() *PersonSearchOrganizationsInner { - this := PersonSearchOrganizationsInner{} - return &this -} - -// GetId returns the Id field value -func (o *PersonSearchOrganizationsInner) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *PersonSearchOrganizationsInner) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *PersonSearchOrganizationsInner) SetId(v string) { - o.Id = v -} - -// GetAmountOfProjects returns the AmountOfProjects field value if set, zero value otherwise. -func (o *PersonSearchOrganizationsInner) GetAmountOfProjects() MinMax { - if o == nil || o.AmountOfProjects == nil { - var ret MinMax - return ret - } - return *o.AmountOfProjects -} - -// GetAmountOfProjectsOk returns a tuple with the AmountOfProjects field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonSearchOrganizationsInner) GetAmountOfProjectsOk() (*MinMax, bool) { - if o == nil || o.AmountOfProjects == nil { - return nil, false - } - return o.AmountOfProjects, true -} - -// HasAmountOfProjects returns a boolean if a field has been set. -func (o *PersonSearchOrganizationsInner) HasAmountOfProjects() bool { - if o != nil && o.AmountOfProjects != nil { - return true - } - - return false -} - -// SetAmountOfProjects gets a reference to the given MinMax and assigns it to the AmountOfProjects field. -func (o *PersonSearchOrganizationsInner) SetAmountOfProjects(v MinMax) { - o.AmountOfProjects = &v -} - -func (o PersonSearchOrganizationsInner) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - if o.AmountOfProjects != nil { - toSerialize["amountOfProjects"] = o.AmountOfProjects - } - return json.Marshal(toSerialize) -} - -type NullablePersonSearchOrganizationsInner struct { - value *PersonSearchOrganizationsInner - isSet bool -} - -func (v NullablePersonSearchOrganizationsInner) Get() *PersonSearchOrganizationsInner { - return v.value -} - -func (v *NullablePersonSearchOrganizationsInner) Set(val *PersonSearchOrganizationsInner) { - v.value = val - v.isSet = true -} - -func (v NullablePersonSearchOrganizationsInner) IsSet() bool { - return v.isSet -} - -func (v *NullablePersonSearchOrganizationsInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePersonSearchOrganizationsInner(val *PersonSearchOrganizationsInner) *NullablePersonSearchOrganizationsInner { - return &NullablePersonSearchOrganizationsInner{value: val, isSet: true} -} - -func (v NullablePersonSearchOrganizationsInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePersonSearchOrganizationsInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_person_search_projects_inner.go b/model_person_search_projects_inner.go deleted file mode 100644 index 57a7f016..00000000 --- a/model_person_search_projects_inner.go +++ /dev/null @@ -1,180 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PersonSearchProjectsInner struct for PersonSearchProjectsInner -type PersonSearchProjectsInner struct { - Id string `json:"id"` - ParticipationInMonth *MinMax `json:"participationInMonth,omitempty"` - InvolevedOfficeIds []string `json:"involevedOfficeIds,omitempty"` -} - -// NewPersonSearchProjectsInner instantiates a new PersonSearchProjectsInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPersonSearchProjectsInner(id string) *PersonSearchProjectsInner { - this := PersonSearchProjectsInner{} - this.Id = id - return &this -} - -// NewPersonSearchProjectsInnerWithDefaults instantiates a new PersonSearchProjectsInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPersonSearchProjectsInnerWithDefaults() *PersonSearchProjectsInner { - this := PersonSearchProjectsInner{} - return &this -} - -// GetId returns the Id field value -func (o *PersonSearchProjectsInner) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *PersonSearchProjectsInner) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *PersonSearchProjectsInner) SetId(v string) { - o.Id = v -} - -// GetParticipationInMonth returns the ParticipationInMonth field value if set, zero value otherwise. -func (o *PersonSearchProjectsInner) GetParticipationInMonth() MinMax { - if o == nil || o.ParticipationInMonth == nil { - var ret MinMax - return ret - } - return *o.ParticipationInMonth -} - -// GetParticipationInMonthOk returns a tuple with the ParticipationInMonth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonSearchProjectsInner) GetParticipationInMonthOk() (*MinMax, bool) { - if o == nil || o.ParticipationInMonth == nil { - return nil, false - } - return o.ParticipationInMonth, true -} - -// HasParticipationInMonth returns a boolean if a field has been set. -func (o *PersonSearchProjectsInner) HasParticipationInMonth() bool { - if o != nil && o.ParticipationInMonth != nil { - return true - } - - return false -} - -// SetParticipationInMonth gets a reference to the given MinMax and assigns it to the ParticipationInMonth field. -func (o *PersonSearchProjectsInner) SetParticipationInMonth(v MinMax) { - o.ParticipationInMonth = &v -} - -// GetInvolevedOfficeIds returns the InvolevedOfficeIds field value if set, zero value otherwise. -func (o *PersonSearchProjectsInner) GetInvolevedOfficeIds() []string { - if o == nil || o.InvolevedOfficeIds == nil { - var ret []string - return ret - } - return o.InvolevedOfficeIds -} - -// GetInvolevedOfficeIdsOk returns a tuple with the InvolevedOfficeIds field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonSearchProjectsInner) GetInvolevedOfficeIdsOk() ([]string, bool) { - if o == nil || o.InvolevedOfficeIds == nil { - return nil, false - } - return o.InvolevedOfficeIds, true -} - -// HasInvolevedOfficeIds returns a boolean if a field has been set. -func (o *PersonSearchProjectsInner) HasInvolevedOfficeIds() bool { - if o != nil && o.InvolevedOfficeIds != nil { - return true - } - - return false -} - -// SetInvolevedOfficeIds gets a reference to the given []string and assigns it to the InvolevedOfficeIds field. -func (o *PersonSearchProjectsInner) SetInvolevedOfficeIds(v []string) { - o.InvolevedOfficeIds = v -} - -func (o PersonSearchProjectsInner) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - if o.ParticipationInMonth != nil { - toSerialize["participationInMonth"] = o.ParticipationInMonth - } - if o.InvolevedOfficeIds != nil { - toSerialize["involevedOfficeIds"] = o.InvolevedOfficeIds - } - return json.Marshal(toSerialize) -} - -type NullablePersonSearchProjectsInner struct { - value *PersonSearchProjectsInner - isSet bool -} - -func (v NullablePersonSearchProjectsInner) Get() *PersonSearchProjectsInner { - return v.value -} - -func (v *NullablePersonSearchProjectsInner) Set(val *PersonSearchProjectsInner) { - v.value = val - v.isSet = true -} - -func (v NullablePersonSearchProjectsInner) IsSet() bool { - return v.isSet -} - -func (v *NullablePersonSearchProjectsInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePersonSearchProjectsInner(val *PersonSearchProjectsInner) *NullablePersonSearchProjectsInner { - return &NullablePersonSearchProjectsInner{value: val, isSet: true} -} - -func (v NullablePersonSearchProjectsInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePersonSearchProjectsInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_person_search_skills_inner.go b/model_person_search_skills_inner.go deleted file mode 100644 index 0c6c8af0..00000000 --- a/model_person_search_skills_inner.go +++ /dev/null @@ -1,181 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PersonSearchSkillsInner struct for PersonSearchSkillsInner -type PersonSearchSkillsInner struct { - Id string `json:"id"` - ExperienceInMonth *MinMax `json:"experienceInMonth,omitempty"` - // filters the last time the employee used the skill in a project - LastAssignment *string `json:"lastAssignment,omitempty"` -} - -// NewPersonSearchSkillsInner instantiates a new PersonSearchSkillsInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPersonSearchSkillsInner(id string) *PersonSearchSkillsInner { - this := PersonSearchSkillsInner{} - this.Id = id - return &this -} - -// NewPersonSearchSkillsInnerWithDefaults instantiates a new PersonSearchSkillsInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPersonSearchSkillsInnerWithDefaults() *PersonSearchSkillsInner { - this := PersonSearchSkillsInner{} - return &this -} - -// GetId returns the Id field value -func (o *PersonSearchSkillsInner) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *PersonSearchSkillsInner) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *PersonSearchSkillsInner) SetId(v string) { - o.Id = v -} - -// GetExperienceInMonth returns the ExperienceInMonth field value if set, zero value otherwise. -func (o *PersonSearchSkillsInner) GetExperienceInMonth() MinMax { - if o == nil || o.ExperienceInMonth == nil { - var ret MinMax - return ret - } - return *o.ExperienceInMonth -} - -// GetExperienceInMonthOk returns a tuple with the ExperienceInMonth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonSearchSkillsInner) GetExperienceInMonthOk() (*MinMax, bool) { - if o == nil || o.ExperienceInMonth == nil { - return nil, false - } - return o.ExperienceInMonth, true -} - -// HasExperienceInMonth returns a boolean if a field has been set. -func (o *PersonSearchSkillsInner) HasExperienceInMonth() bool { - if o != nil && o.ExperienceInMonth != nil { - return true - } - - return false -} - -// SetExperienceInMonth gets a reference to the given MinMax and assigns it to the ExperienceInMonth field. -func (o *PersonSearchSkillsInner) SetExperienceInMonth(v MinMax) { - o.ExperienceInMonth = &v -} - -// GetLastAssignment returns the LastAssignment field value if set, zero value otherwise. -func (o *PersonSearchSkillsInner) GetLastAssignment() string { - if o == nil || o.LastAssignment == nil { - var ret string - return ret - } - return *o.LastAssignment -} - -// GetLastAssignmentOk returns a tuple with the LastAssignment field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonSearchSkillsInner) GetLastAssignmentOk() (*string, bool) { - if o == nil || o.LastAssignment == nil { - return nil, false - } - return o.LastAssignment, true -} - -// HasLastAssignment returns a boolean if a field has been set. -func (o *PersonSearchSkillsInner) HasLastAssignment() bool { - if o != nil && o.LastAssignment != nil { - return true - } - - return false -} - -// SetLastAssignment gets a reference to the given string and assigns it to the LastAssignment field. -func (o *PersonSearchSkillsInner) SetLastAssignment(v string) { - o.LastAssignment = &v -} - -func (o PersonSearchSkillsInner) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - if o.ExperienceInMonth != nil { - toSerialize["experienceInMonth"] = o.ExperienceInMonth - } - if o.LastAssignment != nil { - toSerialize["lastAssignment"] = o.LastAssignment - } - return json.Marshal(toSerialize) -} - -type NullablePersonSearchSkillsInner struct { - value *PersonSearchSkillsInner - isSet bool -} - -func (v NullablePersonSearchSkillsInner) Get() *PersonSearchSkillsInner { - return v.value -} - -func (v *NullablePersonSearchSkillsInner) Set(val *PersonSearchSkillsInner) { - v.value = val - v.isSet = true -} - -func (v NullablePersonSearchSkillsInner) IsSet() bool { - return v.isSet -} - -func (v *NullablePersonSearchSkillsInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePersonSearchSkillsInner(val *PersonSearchSkillsInner) *NullablePersonSearchSkillsInner { - return &NullablePersonSearchSkillsInner{value: val, isSet: true} -} - -func (v NullablePersonSearchSkillsInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePersonSearchSkillsInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_person_skill_filter.go b/model_person_skill_filter.go index 67fe27aa..55473169 100644 --- a/model_person_skill_filter.go +++ b/model_person_skill_filter.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,10 +16,10 @@ import ( // PersonSkillFilter struct for PersonSkillFilter type PersonSkillFilter struct { - Id string `json:"id"` ExperienceInMonth *MinMax `json:"experienceInMonth,omitempty"` // filters the last time the employee used the skill in a project LastAssignment *string `json:"lastAssignment,omitempty"` + Id string `json:"id"` } // NewPersonSkillFilter instantiates a new PersonSkillFilter object @@ -40,30 +40,6 @@ func NewPersonSkillFilterWithDefaults() *PersonSkillFilter { return &this } -// GetId returns the Id field value -func (o *PersonSkillFilter) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *PersonSkillFilter) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *PersonSkillFilter) SetId(v string) { - o.Id = v -} - // GetExperienceInMonth returns the ExperienceInMonth field value if set, zero value otherwise. func (o *PersonSkillFilter) GetExperienceInMonth() MinMax { if o == nil || o.ExperienceInMonth == nil { @@ -128,17 +104,41 @@ func (o *PersonSkillFilter) SetLastAssignment(v string) { o.LastAssignment = &v } +// GetId returns the Id field value +func (o *PersonSkillFilter) GetId() string { + if o == nil { + var ret string + return ret + } + + return o.Id +} + +// GetIdOk returns a tuple with the Id field value +// and a boolean to check if the value has been set. +func (o *PersonSkillFilter) GetIdOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Id, true +} + +// SetId sets field value +func (o *PersonSkillFilter) SetId(v string) { + o.Id = v +} + func (o PersonSkillFilter) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } if o.ExperienceInMonth != nil { toSerialize["experienceInMonth"] = o.ExperienceInMonth } if o.LastAssignment != nil { toSerialize["lastAssignment"] = o.LastAssignment } + if true { + toSerialize["id"] = o.Id + } return json.Marshal(toSerialize) } diff --git a/model_person_skill_filter_all_of.go b/model_person_skill_filter_all_of.go deleted file mode 100644 index e4809ffe..00000000 --- a/model_person_skill_filter_all_of.go +++ /dev/null @@ -1,152 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// PersonSkillFilterAllOf struct for PersonSkillFilterAllOf -type PersonSkillFilterAllOf struct { - ExperienceInMonth *MinMax `json:"experienceInMonth,omitempty"` - // filters the last time the employee used the skill in a project - LastAssignment *string `json:"lastAssignment,omitempty"` -} - -// NewPersonSkillFilterAllOf instantiates a new PersonSkillFilterAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewPersonSkillFilterAllOf() *PersonSkillFilterAllOf { - this := PersonSkillFilterAllOf{} - return &this -} - -// NewPersonSkillFilterAllOfWithDefaults instantiates a new PersonSkillFilterAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewPersonSkillFilterAllOfWithDefaults() *PersonSkillFilterAllOf { - this := PersonSkillFilterAllOf{} - return &this -} - -// GetExperienceInMonth returns the ExperienceInMonth field value if set, zero value otherwise. -func (o *PersonSkillFilterAllOf) GetExperienceInMonth() MinMax { - if o == nil || o.ExperienceInMonth == nil { - var ret MinMax - return ret - } - return *o.ExperienceInMonth -} - -// GetExperienceInMonthOk returns a tuple with the ExperienceInMonth field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonSkillFilterAllOf) GetExperienceInMonthOk() (*MinMax, bool) { - if o == nil || o.ExperienceInMonth == nil { - return nil, false - } - return o.ExperienceInMonth, true -} - -// HasExperienceInMonth returns a boolean if a field has been set. -func (o *PersonSkillFilterAllOf) HasExperienceInMonth() bool { - if o != nil && o.ExperienceInMonth != nil { - return true - } - - return false -} - -// SetExperienceInMonth gets a reference to the given MinMax and assigns it to the ExperienceInMonth field. -func (o *PersonSkillFilterAllOf) SetExperienceInMonth(v MinMax) { - o.ExperienceInMonth = &v -} - -// GetLastAssignment returns the LastAssignment field value if set, zero value otherwise. -func (o *PersonSkillFilterAllOf) GetLastAssignment() string { - if o == nil || o.LastAssignment == nil { - var ret string - return ret - } - return *o.LastAssignment -} - -// GetLastAssignmentOk returns a tuple with the LastAssignment field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *PersonSkillFilterAllOf) GetLastAssignmentOk() (*string, bool) { - if o == nil || o.LastAssignment == nil { - return nil, false - } - return o.LastAssignment, true -} - -// HasLastAssignment returns a boolean if a field has been set. -func (o *PersonSkillFilterAllOf) HasLastAssignment() bool { - if o != nil && o.LastAssignment != nil { - return true - } - - return false -} - -// SetLastAssignment gets a reference to the given string and assigns it to the LastAssignment field. -func (o *PersonSkillFilterAllOf) SetLastAssignment(v string) { - o.LastAssignment = &v -} - -func (o PersonSkillFilterAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.ExperienceInMonth != nil { - toSerialize["experienceInMonth"] = o.ExperienceInMonth - } - if o.LastAssignment != nil { - toSerialize["lastAssignment"] = o.LastAssignment - } - return json.Marshal(toSerialize) -} - -type NullablePersonSkillFilterAllOf struct { - value *PersonSkillFilterAllOf - isSet bool -} - -func (v NullablePersonSkillFilterAllOf) Get() *PersonSkillFilterAllOf { - return v.value -} - -func (v *NullablePersonSkillFilterAllOf) Set(val *PersonSkillFilterAllOf) { - v.value = val - v.isSet = true -} - -func (v NullablePersonSkillFilterAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullablePersonSkillFilterAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullablePersonSkillFilterAllOf(val *PersonSkillFilterAllOf) *NullablePersonSkillFilterAllOf { - return &NullablePersonSkillFilterAllOf{value: val, isSet: true} -} - -func (v NullablePersonSkillFilterAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullablePersonSkillFilterAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_project.go b/model_project.go index 5d736886..4e168350 100644 --- a/model_project.go +++ b/model_project.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,28 +16,23 @@ import ( // Project struct for Project type Project struct { - Id string `json:"id"` - Name string `json:"name"` + // true if project was done outside of the organization + External *bool `json:"external,omitempty"` Suggestion bool `json:"suggestion"` Synonyms []string `json:"synonyms,omitempty"` Location *string `json:"location,omitempty"` Geolocation *Geolocation `json:"geolocation,omitempty"` Description *string `json:"description,omitempty"` - // true if project was done outside of the organization - External *bool `json:"external,omitempty"` } // NewProject instantiates a new Project object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewProject(id string, name string, suggestion bool) *Project { +func NewProject(suggestion bool, id string) *Project { this := Project{} this.Id = id - this.Name = name this.Suggestion = suggestion - var external bool = false - this.External = &external return &this } @@ -46,59 +41,43 @@ func NewProject(id string, name string, suggestion bool) *Project { // but it doesn't guarantee that properties required by API are set func NewProjectWithDefaults() *Project { this := Project{} - var suggestion bool = false - this.Suggestion = suggestion var external bool = false this.External = &external + var suggestion bool = false + this.Suggestion = suggestion return &this } -// GetId returns the Id field value -func (o *Project) GetId() string { - if o == nil { - var ret string +// GetExternal returns the External field value if set, zero value otherwise. +func (o *Project) GetExternal() bool { + if o == nil || o.External == nil { + var ret bool return ret } - - return o.Id + return *o.External } -// GetIdOk returns a tuple with the Id field value +// GetExternalOk returns a tuple with the External field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Project) GetIdOk() (*string, bool) { - if o == nil { +func (o *Project) GetExternalOk() (*bool, bool) { + if o == nil || o.External == nil { return nil, false } - return &o.Id, true -} - -// SetId sets field value -func (o *Project) SetId(v string) { - o.Id = v + return o.External, true } -// GetName returns the Name field value -func (o *Project) GetName() string { - if o == nil { - var ret string - return ret +// HasExternal returns a boolean if a field has been set. +func (o *Project) HasExternal() bool { + if o != nil && o.External != nil { + return true } - return o.Name -} - -// GetNameOk returns a tuple with the Name field value -// and a boolean to check if the value has been set. -func (o *Project) GetNameOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Name, true + return false } -// SetName sets field value -func (o *Project) SetName(v string) { - o.Name = v +// SetExternal gets a reference to the given bool and assigns it to the External field. +func (o *Project) SetExternal(v bool) { + o.External = &v } // GetSuggestion returns the Suggestion field value @@ -253,45 +232,10 @@ func (o *Project) SetDescription(v string) { o.Description = &v } -// GetExternal returns the External field value if set, zero value otherwise. -func (o *Project) GetExternal() bool { - if o == nil || o.External == nil { - var ret bool - return ret - } - return *o.External -} - -// GetExternalOk returns a tuple with the External field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Project) GetExternalOk() (*bool, bool) { - if o == nil || o.External == nil { - return nil, false - } - return o.External, true -} - -// HasExternal returns a boolean if a field has been set. -func (o *Project) HasExternal() bool { - if o != nil && o.External != nil { - return true - } - - return false -} - -// SetExternal gets a reference to the given bool and assigns it to the External field. -func (o *Project) SetExternal(v bool) { - o.External = &v -} - func (o Project) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - if true { - toSerialize["name"] = o.Name + if o.External != nil { + toSerialize["external"] = o.External } if true { toSerialize["suggestion"] = o.Suggestion @@ -308,9 +252,6 @@ func (o Project) MarshalJSON() ([]byte, error) { if o.Description != nil { toSerialize["description"] = o.Description } - if o.External != nil { - toSerialize["external"] = o.External - } return json.Marshal(toSerialize) } diff --git a/model_project_all_of.go b/model_project_all_of.go deleted file mode 100644 index 65165cb2..00000000 --- a/model_project_all_of.go +++ /dev/null @@ -1,120 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// ProjectAllOf struct for ProjectAllOf -type ProjectAllOf struct { - // true if project was done outside of the organization - External *bool `json:"external,omitempty"` -} - -// NewProjectAllOf instantiates a new ProjectAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewProjectAllOf() *ProjectAllOf { - this := ProjectAllOf{} - var external bool = false - this.External = &external - return &this -} - -// NewProjectAllOfWithDefaults instantiates a new ProjectAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewProjectAllOfWithDefaults() *ProjectAllOf { - this := ProjectAllOf{} - var external bool = false - this.External = &external - return &this -} - -// GetExternal returns the External field value if set, zero value otherwise. -func (o *ProjectAllOf) GetExternal() bool { - if o == nil || o.External == nil { - var ret bool - return ret - } - return *o.External -} - -// GetExternalOk returns a tuple with the External field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ProjectAllOf) GetExternalOk() (*bool, bool) { - if o == nil || o.External == nil { - return nil, false - } - return o.External, true -} - -// HasExternal returns a boolean if a field has been set. -func (o *ProjectAllOf) HasExternal() bool { - if o != nil && o.External != nil { - return true - } - - return false -} - -// SetExternal gets a reference to the given bool and assigns it to the External field. -func (o *ProjectAllOf) SetExternal(v bool) { - o.External = &v -} - -func (o ProjectAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.External != nil { - toSerialize["external"] = o.External - } - return json.Marshal(toSerialize) -} - -type NullableProjectAllOf struct { - value *ProjectAllOf - isSet bool -} - -func (v NullableProjectAllOf) Get() *ProjectAllOf { - return v.value -} - -func (v *NullableProjectAllOf) Set(val *ProjectAllOf) { - v.value = val - v.isSet = true -} - -func (v NullableProjectAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullableProjectAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableProjectAllOf(val *ProjectAllOf) *NullableProjectAllOf { - return &NullableProjectAllOf{value: val, isSet: true} -} - -func (v NullableProjectAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableProjectAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_project_details.go b/model_project_details.go index 4bac288b..34717d71 100644 --- a/model_project_details.go +++ b/model_project_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_participation.go b/model_project_participation.go index 90e5b54d..4d31cf52 100644 --- a/model_project_participation.go +++ b/model_project_participation.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,7 +16,6 @@ import ( // ProjectParticipation struct for ProjectParticipation type ProjectParticipation struct { - Id string `json:"id"` Timeframe *Timeframed `json:"timeframe,omitempty"` ProjectDetails *ProjectDetails `json:"projectDetails,omitempty"` DescriptionOverwrite *string `json:"descriptionOverwrite,omitempty"` @@ -28,7 +27,7 @@ type ProjectParticipation struct { // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewProjectParticipation(id string, experiences []Experience) *ProjectParticipation { +func NewProjectParticipation(experiences []Experience, id string) *ProjectParticipation { this := ProjectParticipation{} this.Id = id this.Experiences = experiences @@ -43,30 +42,6 @@ func NewProjectParticipationWithDefaults() *ProjectParticipation { return &this } -// GetId returns the Id field value -func (o *ProjectParticipation) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *ProjectParticipation) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *ProjectParticipation) SetId(v string) { - o.Id = v -} - // GetTimeframe returns the Timeframe field value if set, zero value otherwise. func (o *ProjectParticipation) GetTimeframe() Timeframed { if o == nil || o.Timeframe == nil { @@ -221,9 +196,6 @@ func (o *ProjectParticipation) SetExperiences(v []Experience) { func (o ProjectParticipation) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } if o.Timeframe != nil { toSerialize["timeframe"] = o.Timeframe } diff --git a/model_project_participation_all_of.go b/model_project_participation_all_of.go index 23ec042d..c5e225a0 100644 --- a/model_project_participation_all_of.go +++ b/model_project_participation_all_of.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_participation_update.go b/model_project_participation_update.go index 4d68bb0b..764f0f06 100644 --- a/model_project_participation_update.go +++ b/model_project_participation_update.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,7 +16,7 @@ import ( // ProjectParticipationUpdate struct for ProjectParticipationUpdate type ProjectParticipationUpdate struct { - Timeframe *ProjectParticipationUpdateTimeframe `json:"timeframe,omitempty"` + Timeframe *Timeframed `json:"timeframe,omitempty"` Skills []SkillLevelUpdate `json:"skills,omitempty"` DescriptionOverwrite *string `json:"descriptionOverwrite,omitempty"` PersonalDescription *string `json:"personalDescription,omitempty"` @@ -40,9 +40,9 @@ func NewProjectParticipationUpdateWithDefaults() *ProjectParticipationUpdate { } // GetTimeframe returns the Timeframe field value if set, zero value otherwise. -func (o *ProjectParticipationUpdate) GetTimeframe() ProjectParticipationUpdateTimeframe { +func (o *ProjectParticipationUpdate) GetTimeframe() Timeframed { if o == nil || o.Timeframe == nil { - var ret ProjectParticipationUpdateTimeframe + var ret Timeframed return ret } return *o.Timeframe @@ -50,7 +50,7 @@ func (o *ProjectParticipationUpdate) GetTimeframe() ProjectParticipationUpdateTi // GetTimeframeOk returns a tuple with the Timeframe field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ProjectParticipationUpdate) GetTimeframeOk() (*ProjectParticipationUpdateTimeframe, bool) { +func (o *ProjectParticipationUpdate) GetTimeframeOk() (*Timeframed, bool) { if o == nil || o.Timeframe == nil { return nil, false } @@ -66,8 +66,8 @@ func (o *ProjectParticipationUpdate) HasTimeframe() bool { return false } -// SetTimeframe gets a reference to the given ProjectParticipationUpdateTimeframe and assigns it to the Timeframe field. -func (o *ProjectParticipationUpdate) SetTimeframe(v ProjectParticipationUpdateTimeframe) { +// SetTimeframe gets a reference to the given Timeframed and assigns it to the Timeframe field. +func (o *ProjectParticipationUpdate) SetTimeframe(v Timeframed) { o.Timeframe = &v } diff --git a/model_project_participation_update_timeframe.go b/model_project_participation_update_timeframe.go deleted file mode 100644 index 54898eb9..00000000 --- a/model_project_participation_update_timeframe.go +++ /dev/null @@ -1,151 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// ProjectParticipationUpdateTimeframe struct for ProjectParticipationUpdateTimeframe -type ProjectParticipationUpdateTimeframe struct { - Startdate *string `json:"startdate,omitempty"` - Enddate *string `json:"enddate,omitempty"` -} - -// NewProjectParticipationUpdateTimeframe instantiates a new ProjectParticipationUpdateTimeframe object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewProjectParticipationUpdateTimeframe() *ProjectParticipationUpdateTimeframe { - this := ProjectParticipationUpdateTimeframe{} - return &this -} - -// NewProjectParticipationUpdateTimeframeWithDefaults instantiates a new ProjectParticipationUpdateTimeframe object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewProjectParticipationUpdateTimeframeWithDefaults() *ProjectParticipationUpdateTimeframe { - this := ProjectParticipationUpdateTimeframe{} - return &this -} - -// GetStartdate returns the Startdate field value if set, zero value otherwise. -func (o *ProjectParticipationUpdateTimeframe) GetStartdate() string { - if o == nil || o.Startdate == nil { - var ret string - return ret - } - return *o.Startdate -} - -// GetStartdateOk returns a tuple with the Startdate field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ProjectParticipationUpdateTimeframe) GetStartdateOk() (*string, bool) { - if o == nil || o.Startdate == nil { - return nil, false - } - return o.Startdate, true -} - -// HasStartdate returns a boolean if a field has been set. -func (o *ProjectParticipationUpdateTimeframe) HasStartdate() bool { - if o != nil && o.Startdate != nil { - return true - } - - return false -} - -// SetStartdate gets a reference to the given string and assigns it to the Startdate field. -func (o *ProjectParticipationUpdateTimeframe) SetStartdate(v string) { - o.Startdate = &v -} - -// GetEnddate returns the Enddate field value if set, zero value otherwise. -func (o *ProjectParticipationUpdateTimeframe) GetEnddate() string { - if o == nil || o.Enddate == nil { - var ret string - return ret - } - return *o.Enddate -} - -// GetEnddateOk returns a tuple with the Enddate field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ProjectParticipationUpdateTimeframe) GetEnddateOk() (*string, bool) { - if o == nil || o.Enddate == nil { - return nil, false - } - return o.Enddate, true -} - -// HasEnddate returns a boolean if a field has been set. -func (o *ProjectParticipationUpdateTimeframe) HasEnddate() bool { - if o != nil && o.Enddate != nil { - return true - } - - return false -} - -// SetEnddate gets a reference to the given string and assigns it to the Enddate field. -func (o *ProjectParticipationUpdateTimeframe) SetEnddate(v string) { - o.Enddate = &v -} - -func (o ProjectParticipationUpdateTimeframe) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Startdate != nil { - toSerialize["startdate"] = o.Startdate - } - if o.Enddate != nil { - toSerialize["enddate"] = o.Enddate - } - return json.Marshal(toSerialize) -} - -type NullableProjectParticipationUpdateTimeframe struct { - value *ProjectParticipationUpdateTimeframe - isSet bool -} - -func (v NullableProjectParticipationUpdateTimeframe) Get() *ProjectParticipationUpdateTimeframe { - return v.value -} - -func (v *NullableProjectParticipationUpdateTimeframe) Set(val *ProjectParticipationUpdateTimeframe) { - v.value = val - v.isSet = true -} - -func (v NullableProjectParticipationUpdateTimeframe) IsSet() bool { - return v.isSet -} - -func (v *NullableProjectParticipationUpdateTimeframe) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableProjectParticipationUpdateTimeframe(val *ProjectParticipationUpdateTimeframe) *NullableProjectParticipationUpdateTimeframe { - return &NullableProjectParticipationUpdateTimeframe{value: val, isSet: true} -} - -func (v NullableProjectParticipationUpdateTimeframe) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableProjectParticipationUpdateTimeframe) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_project_score_detail.go b/model_project_score_detail.go index 91e8f404..e727f3ba 100644 --- a/model_project_score_detail.go +++ b/model_project_score_detail.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_score_detail_all_of.go b/model_project_score_detail_all_of.go index cb30c4d7..6a4dde42 100644 --- a/model_project_score_detail_all_of.go +++ b/model_project_score_detail_all_of.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_search.go b/model_project_search.go index 0411001a..35023913 100644 --- a/model_project_search.go +++ b/model_project_search.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,10 +23,10 @@ type ProjectSearch struct { ParticipationAmountInMonths *MinMax `json:"participationAmountInMonths,omitempty"` InvolvedOfficeIds []string `json:"involvedOfficeIds,omitempty"` AmountOfInvolvedPersons *MinMax `json:"amountOfInvolvedPersons,omitempty"` - Skills []ProjectSearchSkillsInner `json:"skills,omitempty"` - Participants []ProjectSearchSkillsInner `json:"participants,omitempty"` - Industries []ProjectSearchSkillsInner `json:"industries,omitempty"` - Organizations []ProjectSearchSkillsInner `json:"organizations,omitempty"` + Skills []EntityFilter `json:"skills,omitempty"` + Participants []EntityFilter `json:"participants,omitempty"` + Industries []EntityFilter `json:"industries,omitempty"` + Organizations []EntityFilter `json:"organizations,omitempty"` } // NewProjectSearch instantiates a new ProjectSearch object @@ -271,9 +271,9 @@ func (o *ProjectSearch) SetAmountOfInvolvedPersons(v MinMax) { } // GetSkills returns the Skills field value if set, zero value otherwise. -func (o *ProjectSearch) GetSkills() []ProjectSearchSkillsInner { +func (o *ProjectSearch) GetSkills() []EntityFilter { if o == nil || o.Skills == nil { - var ret []ProjectSearchSkillsInner + var ret []EntityFilter return ret } return o.Skills @@ -281,7 +281,7 @@ func (o *ProjectSearch) GetSkills() []ProjectSearchSkillsInner { // GetSkillsOk returns a tuple with the Skills field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ProjectSearch) GetSkillsOk() ([]ProjectSearchSkillsInner, bool) { +func (o *ProjectSearch) GetSkillsOk() ([]EntityFilter, bool) { if o == nil || o.Skills == nil { return nil, false } @@ -297,15 +297,15 @@ func (o *ProjectSearch) HasSkills() bool { return false } -// SetSkills gets a reference to the given []ProjectSearchSkillsInner and assigns it to the Skills field. -func (o *ProjectSearch) SetSkills(v []ProjectSearchSkillsInner) { +// SetSkills gets a reference to the given []EntityFilter and assigns it to the Skills field. +func (o *ProjectSearch) SetSkills(v []EntityFilter) { o.Skills = v } // GetParticipants returns the Participants field value if set, zero value otherwise. -func (o *ProjectSearch) GetParticipants() []ProjectSearchSkillsInner { +func (o *ProjectSearch) GetParticipants() []EntityFilter { if o == nil || o.Participants == nil { - var ret []ProjectSearchSkillsInner + var ret []EntityFilter return ret } return o.Participants @@ -313,7 +313,7 @@ func (o *ProjectSearch) GetParticipants() []ProjectSearchSkillsInner { // GetParticipantsOk returns a tuple with the Participants field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ProjectSearch) GetParticipantsOk() ([]ProjectSearchSkillsInner, bool) { +func (o *ProjectSearch) GetParticipantsOk() ([]EntityFilter, bool) { if o == nil || o.Participants == nil { return nil, false } @@ -329,15 +329,15 @@ func (o *ProjectSearch) HasParticipants() bool { return false } -// SetParticipants gets a reference to the given []ProjectSearchSkillsInner and assigns it to the Participants field. -func (o *ProjectSearch) SetParticipants(v []ProjectSearchSkillsInner) { +// SetParticipants gets a reference to the given []EntityFilter and assigns it to the Participants field. +func (o *ProjectSearch) SetParticipants(v []EntityFilter) { o.Participants = v } // GetIndustries returns the Industries field value if set, zero value otherwise. -func (o *ProjectSearch) GetIndustries() []ProjectSearchSkillsInner { +func (o *ProjectSearch) GetIndustries() []EntityFilter { if o == nil || o.Industries == nil { - var ret []ProjectSearchSkillsInner + var ret []EntityFilter return ret } return o.Industries @@ -345,7 +345,7 @@ func (o *ProjectSearch) GetIndustries() []ProjectSearchSkillsInner { // GetIndustriesOk returns a tuple with the Industries field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ProjectSearch) GetIndustriesOk() ([]ProjectSearchSkillsInner, bool) { +func (o *ProjectSearch) GetIndustriesOk() ([]EntityFilter, bool) { if o == nil || o.Industries == nil { return nil, false } @@ -361,15 +361,15 @@ func (o *ProjectSearch) HasIndustries() bool { return false } -// SetIndustries gets a reference to the given []ProjectSearchSkillsInner and assigns it to the Industries field. -func (o *ProjectSearch) SetIndustries(v []ProjectSearchSkillsInner) { +// SetIndustries gets a reference to the given []EntityFilter and assigns it to the Industries field. +func (o *ProjectSearch) SetIndustries(v []EntityFilter) { o.Industries = v } // GetOrganizations returns the Organizations field value if set, zero value otherwise. -func (o *ProjectSearch) GetOrganizations() []ProjectSearchSkillsInner { +func (o *ProjectSearch) GetOrganizations() []EntityFilter { if o == nil || o.Organizations == nil { - var ret []ProjectSearchSkillsInner + var ret []EntityFilter return ret } return o.Organizations @@ -377,7 +377,7 @@ func (o *ProjectSearch) GetOrganizations() []ProjectSearchSkillsInner { // GetOrganizationsOk returns a tuple with the Organizations field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ProjectSearch) GetOrganizationsOk() ([]ProjectSearchSkillsInner, bool) { +func (o *ProjectSearch) GetOrganizationsOk() ([]EntityFilter, bool) { if o == nil || o.Organizations == nil { return nil, false } @@ -393,8 +393,8 @@ func (o *ProjectSearch) HasOrganizations() bool { return false } -// SetOrganizations gets a reference to the given []ProjectSearchSkillsInner and assigns it to the Organizations field. -func (o *ProjectSearch) SetOrganizations(v []ProjectSearchSkillsInner) { +// SetOrganizations gets a reference to the given []EntityFilter and assigns it to the Organizations field. +func (o *ProjectSearch) SetOrganizations(v []EntityFilter) { o.Organizations = v } diff --git a/model_project_search_skills_inner.go b/model_project_search_skills_inner.go deleted file mode 100644 index 55c3834b..00000000 --- a/model_project_search_skills_inner.go +++ /dev/null @@ -1,108 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// ProjectSearchSkillsInner struct for ProjectSearchSkillsInner -type ProjectSearchSkillsInner struct { - Id string `json:"id"` -} - -// NewProjectSearchSkillsInner instantiates a new ProjectSearchSkillsInner object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewProjectSearchSkillsInner(id string) *ProjectSearchSkillsInner { - this := ProjectSearchSkillsInner{} - this.Id = id - return &this -} - -// NewProjectSearchSkillsInnerWithDefaults instantiates a new ProjectSearchSkillsInner object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewProjectSearchSkillsInnerWithDefaults() *ProjectSearchSkillsInner { - this := ProjectSearchSkillsInner{} - return &this -} - -// GetId returns the Id field value -func (o *ProjectSearchSkillsInner) GetId() string { - if o == nil { - var ret string - return ret - } - - return o.Id -} - -// GetIdOk returns a tuple with the Id field value -// and a boolean to check if the value has been set. -func (o *ProjectSearchSkillsInner) GetIdOk() (*string, bool) { - if o == nil { - return nil, false - } - return &o.Id, true -} - -// SetId sets field value -func (o *ProjectSearchSkillsInner) SetId(v string) { - o.Id = v -} - -func (o ProjectSearchSkillsInner) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id - } - return json.Marshal(toSerialize) -} - -type NullableProjectSearchSkillsInner struct { - value *ProjectSearchSkillsInner - isSet bool -} - -func (v NullableProjectSearchSkillsInner) Get() *ProjectSearchSkillsInner { - return v.value -} - -func (v *NullableProjectSearchSkillsInner) Set(val *ProjectSearchSkillsInner) { - v.value = val - v.isSet = true -} - -func (v NullableProjectSearchSkillsInner) IsSet() bool { - return v.isSet -} - -func (v *NullableProjectSearchSkillsInner) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableProjectSearchSkillsInner(val *ProjectSearchSkillsInner) *NullableProjectSearchSkillsInner { - return &NullableProjectSearchSkillsInner{value: val, isSet: true} -} - -func (v NullableProjectSearchSkillsInner) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableProjectSearchSkillsInner) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_project_status.go b/model_project_status.go index 8acb1c2f..68611078 100644 --- a/model_project_status.go +++ b/model_project_status.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_search_result.go b/model_search_result.go index fac77754..f1df8e35 100644 --- a/model_search_result.go +++ b/model_search_result.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,9 +16,6 @@ import ( // SearchResult struct for SearchResult type SearchResult struct { - Skip *int32 `json:"skip,omitempty"` - Limit *int32 `json:"limit,omitempty"` - Count *int32 `json:"count,omitempty"` Items []SearchResultItem `json:"items,omitempty"` } @@ -39,102 +36,6 @@ func NewSearchResultWithDefaults() *SearchResult { return &this } -// GetSkip returns the Skip field value if set, zero value otherwise. -func (o *SearchResult) GetSkip() int32 { - if o == nil || o.Skip == nil { - var ret int32 - return ret - } - return *o.Skip -} - -// GetSkipOk returns a tuple with the Skip field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *SearchResult) GetSkipOk() (*int32, bool) { - if o == nil || o.Skip == nil { - return nil, false - } - return o.Skip, true -} - -// HasSkip returns a boolean if a field has been set. -func (o *SearchResult) HasSkip() bool { - if o != nil && o.Skip != nil { - return true - } - - return false -} - -// SetSkip gets a reference to the given int32 and assigns it to the Skip field. -func (o *SearchResult) SetSkip(v int32) { - o.Skip = &v -} - -// GetLimit returns the Limit field value if set, zero value otherwise. -func (o *SearchResult) GetLimit() int32 { - if o == nil || o.Limit == nil { - var ret int32 - return ret - } - return *o.Limit -} - -// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *SearchResult) GetLimitOk() (*int32, bool) { - if o == nil || o.Limit == nil { - return nil, false - } - return o.Limit, true -} - -// HasLimit returns a boolean if a field has been set. -func (o *SearchResult) HasLimit() bool { - if o != nil && o.Limit != nil { - return true - } - - return false -} - -// SetLimit gets a reference to the given int32 and assigns it to the Limit field. -func (o *SearchResult) SetLimit(v int32) { - o.Limit = &v -} - -// GetCount returns the Count field value if set, zero value otherwise. -func (o *SearchResult) GetCount() int32 { - if o == nil || o.Count == nil { - var ret int32 - return ret - } - return *o.Count -} - -// GetCountOk returns a tuple with the Count field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *SearchResult) GetCountOk() (*int32, bool) { - if o == nil || o.Count == nil { - return nil, false - } - return o.Count, true -} - -// HasCount returns a boolean if a field has been set. -func (o *SearchResult) HasCount() bool { - if o != nil && o.Count != nil { - return true - } - - return false -} - -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *SearchResult) SetCount(v int32) { - o.Count = &v -} - // GetItems returns the Items field value if set, zero value otherwise. func (o *SearchResult) GetItems() []SearchResultItem { if o == nil || o.Items == nil { @@ -169,15 +70,6 @@ func (o *SearchResult) SetItems(v []SearchResultItem) { func (o SearchResult) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if o.Skip != nil { - toSerialize["skip"] = o.Skip - } - if o.Limit != nil { - toSerialize["limit"] = o.Limit - } - if o.Count != nil { - toSerialize["count"] = o.Count - } if o.Items != nil { toSerialize["items"] = o.Items } diff --git a/model_search_result_all_of.go b/model_search_result_all_of.go deleted file mode 100644 index aae331a9..00000000 --- a/model_search_result_all_of.go +++ /dev/null @@ -1,115 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// SearchResultAllOf struct for SearchResultAllOf -type SearchResultAllOf struct { - Items []SearchResultItem `json:"items,omitempty"` -} - -// NewSearchResultAllOf instantiates a new SearchResultAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewSearchResultAllOf() *SearchResultAllOf { - this := SearchResultAllOf{} - return &this -} - -// NewSearchResultAllOfWithDefaults instantiates a new SearchResultAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewSearchResultAllOfWithDefaults() *SearchResultAllOf { - this := SearchResultAllOf{} - return &this -} - -// GetItems returns the Items field value if set, zero value otherwise. -func (o *SearchResultAllOf) GetItems() []SearchResultItem { - if o == nil || o.Items == nil { - var ret []SearchResultItem - return ret - } - return o.Items -} - -// GetItemsOk returns a tuple with the Items field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *SearchResultAllOf) GetItemsOk() ([]SearchResultItem, bool) { - if o == nil || o.Items == nil { - return nil, false - } - return o.Items, true -} - -// HasItems returns a boolean if a field has been set. -func (o *SearchResultAllOf) HasItems() bool { - if o != nil && o.Items != nil { - return true - } - - return false -} - -// SetItems gets a reference to the given []SearchResultItem and assigns it to the Items field. -func (o *SearchResultAllOf) SetItems(v []SearchResultItem) { - o.Items = v -} - -func (o SearchResultAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Items != nil { - toSerialize["items"] = o.Items - } - return json.Marshal(toSerialize) -} - -type NullableSearchResultAllOf struct { - value *SearchResultAllOf - isSet bool -} - -func (v NullableSearchResultAllOf) Get() *SearchResultAllOf { - return v.value -} - -func (v *NullableSearchResultAllOf) Set(val *SearchResultAllOf) { - v.value = val - v.isSet = true -} - -func (v NullableSearchResultAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullableSearchResultAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableSearchResultAllOf(val *SearchResultAllOf) *NullableSearchResultAllOf { - return &NullableSearchResultAllOf{value: val, isSet: true} -} - -func (v NullableSearchResultAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableSearchResultAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_search_result_item.go b/model_search_result_item.go index e94855f4..45e9339c 100644 --- a/model_search_result_item.go +++ b/model_search_result_item.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_seniority.go b/model_seniority.go index ebccc7a6..7f650232 100644 --- a/model_seniority.go +++ b/model_seniority.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill.go b/model_skill.go index 5001f3c5..c4baf46b 100644 --- a/model_skill.go +++ b/model_skill.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -16,32 +16,25 @@ import ( // Skill struct for Skill type Skill struct { - Id string `json:"id"` - Name string `json:"name"` + Invest *bool `json:"invest,omitempty"` + Kindgiver *bool `json:"kindgiver,omitempty"` Suggestion bool `json:"suggestion"` // The entity can be linked Linkable *bool `json:"linkable,omitempty"` Synonyms []string `json:"synonyms,omitempty"` Description *string `json:"description,omitempty"` - Invest *bool `json:"invest,omitempty"` - Kindgiver *bool `json:"kindgiver,omitempty"` } // NewSkill instantiates a new Skill object // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewSkill(id string, name string, suggestion bool) *Skill { +func NewSkill(suggestion bool, id string) *Skill { this := Skill{} this.Id = id - this.Name = name this.Suggestion = suggestion var linkable bool = false this.Linkable = &linkable - var invest bool = false - this.Invest = &invest - var kindgiver bool = false - this.Kindgiver = &kindgiver return &this } @@ -50,63 +43,79 @@ func NewSkill(id string, name string, suggestion bool) *Skill { // but it doesn't guarantee that properties required by API are set func NewSkillWithDefaults() *Skill { this := Skill{} - var suggestion bool = false - this.Suggestion = suggestion - var linkable bool = false - this.Linkable = &linkable var invest bool = false this.Invest = &invest var kindgiver bool = false this.Kindgiver = &kindgiver + var suggestion bool = false + this.Suggestion = suggestion + var linkable bool = false + this.Linkable = &linkable return &this } -// GetId returns the Id field value -func (o *Skill) GetId() string { - if o == nil { - var ret string +// GetInvest returns the Invest field value if set, zero value otherwise. +func (o *Skill) GetInvest() bool { + if o == nil || o.Invest == nil { + var ret bool return ret } - - return o.Id + return *o.Invest } -// GetIdOk returns a tuple with the Id field value +// GetInvestOk returns a tuple with the Invest field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Skill) GetIdOk() (*string, bool) { - if o == nil { +func (o *Skill) GetInvestOk() (*bool, bool) { + if o == nil || o.Invest == nil { return nil, false } - return &o.Id, true + return o.Invest, true } -// SetId sets field value -func (o *Skill) SetId(v string) { - o.Id = v +// HasInvest returns a boolean if a field has been set. +func (o *Skill) HasInvest() bool { + if o != nil && o.Invest != nil { + return true + } + + return false } -// GetName returns the Name field value -func (o *Skill) GetName() string { - if o == nil { - var ret string +// SetInvest gets a reference to the given bool and assigns it to the Invest field. +func (o *Skill) SetInvest(v bool) { + o.Invest = &v +} + +// GetKindgiver returns the Kindgiver field value if set, zero value otherwise. +func (o *Skill) GetKindgiver() bool { + if o == nil || o.Kindgiver == nil { + var ret bool return ret } - - return o.Name + return *o.Kindgiver } -// GetNameOk returns a tuple with the Name field value +// GetKindgiverOk returns a tuple with the Kindgiver field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Skill) GetNameOk() (*string, bool) { - if o == nil { +func (o *Skill) GetKindgiverOk() (*bool, bool) { + if o == nil || o.Kindgiver == nil { return nil, false } - return &o.Name, true + return o.Kindgiver, true } -// SetName sets field value -func (o *Skill) SetName(v string) { - o.Name = v +// HasKindgiver returns a boolean if a field has been set. +func (o *Skill) HasKindgiver() bool { + if o != nil && o.Kindgiver != nil { + return true + } + + return false +} + +// SetKindgiver gets a reference to the given bool and assigns it to the Kindgiver field. +func (o *Skill) SetKindgiver(v bool) { + o.Kindgiver = &v } // GetSuggestion returns the Suggestion field value @@ -229,77 +238,13 @@ func (o *Skill) SetDescription(v string) { o.Description = &v } -// GetInvest returns the Invest field value if set, zero value otherwise. -func (o *Skill) GetInvest() bool { - if o == nil || o.Invest == nil { - var ret bool - return ret - } - return *o.Invest -} - -// GetInvestOk returns a tuple with the Invest field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Skill) GetInvestOk() (*bool, bool) { - if o == nil || o.Invest == nil { - return nil, false - } - return o.Invest, true -} - -// HasInvest returns a boolean if a field has been set. -func (o *Skill) HasInvest() bool { - if o != nil && o.Invest != nil { - return true - } - - return false -} - -// SetInvest gets a reference to the given bool and assigns it to the Invest field. -func (o *Skill) SetInvest(v bool) { - o.Invest = &v -} - -// GetKindgiver returns the Kindgiver field value if set, zero value otherwise. -func (o *Skill) GetKindgiver() bool { - if o == nil || o.Kindgiver == nil { - var ret bool - return ret - } - return *o.Kindgiver -} - -// GetKindgiverOk returns a tuple with the Kindgiver field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *Skill) GetKindgiverOk() (*bool, bool) { - if o == nil || o.Kindgiver == nil { - return nil, false - } - return o.Kindgiver, true -} - -// HasKindgiver returns a boolean if a field has been set. -func (o *Skill) HasKindgiver() bool { - if o != nil && o.Kindgiver != nil { - return true - } - - return false -} - -// SetKindgiver gets a reference to the given bool and assigns it to the Kindgiver field. -func (o *Skill) SetKindgiver(v bool) { - o.Kindgiver = &v -} - func (o Skill) MarshalJSON() ([]byte, error) { toSerialize := map[string]interface{}{} - if true { - toSerialize["id"] = o.Id + if o.Invest != nil { + toSerialize["invest"] = o.Invest } - if true { - toSerialize["name"] = o.Name + if o.Kindgiver != nil { + toSerialize["kindgiver"] = o.Kindgiver } if true { toSerialize["suggestion"] = o.Suggestion @@ -313,12 +258,6 @@ func (o Skill) MarshalJSON() ([]byte, error) { if o.Description != nil { toSerialize["description"] = o.Description } - if o.Invest != nil { - toSerialize["invest"] = o.Invest - } - if o.Kindgiver != nil { - toSerialize["kindgiver"] = o.Kindgiver - } return json.Marshal(toSerialize) } diff --git a/model_skill_all_of.go b/model_skill_all_of.go deleted file mode 100644 index 8dd14901..00000000 --- a/model_skill_all_of.go +++ /dev/null @@ -1,159 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// SkillAllOf struct for SkillAllOf -type SkillAllOf struct { - Invest *bool `json:"invest,omitempty"` - Kindgiver *bool `json:"kindgiver,omitempty"` -} - -// NewSkillAllOf instantiates a new SkillAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewSkillAllOf() *SkillAllOf { - this := SkillAllOf{} - var invest bool = false - this.Invest = &invest - var kindgiver bool = false - this.Kindgiver = &kindgiver - return &this -} - -// NewSkillAllOfWithDefaults instantiates a new SkillAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewSkillAllOfWithDefaults() *SkillAllOf { - this := SkillAllOf{} - var invest bool = false - this.Invest = &invest - var kindgiver bool = false - this.Kindgiver = &kindgiver - return &this -} - -// GetInvest returns the Invest field value if set, zero value otherwise. -func (o *SkillAllOf) GetInvest() bool { - if o == nil || o.Invest == nil { - var ret bool - return ret - } - return *o.Invest -} - -// GetInvestOk returns a tuple with the Invest field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *SkillAllOf) GetInvestOk() (*bool, bool) { - if o == nil || o.Invest == nil { - return nil, false - } - return o.Invest, true -} - -// HasInvest returns a boolean if a field has been set. -func (o *SkillAllOf) HasInvest() bool { - if o != nil && o.Invest != nil { - return true - } - - return false -} - -// SetInvest gets a reference to the given bool and assigns it to the Invest field. -func (o *SkillAllOf) SetInvest(v bool) { - o.Invest = &v -} - -// GetKindgiver returns the Kindgiver field value if set, zero value otherwise. -func (o *SkillAllOf) GetKindgiver() bool { - if o == nil || o.Kindgiver == nil { - var ret bool - return ret - } - return *o.Kindgiver -} - -// GetKindgiverOk returns a tuple with the Kindgiver field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *SkillAllOf) GetKindgiverOk() (*bool, bool) { - if o == nil || o.Kindgiver == nil { - return nil, false - } - return o.Kindgiver, true -} - -// HasKindgiver returns a boolean if a field has been set. -func (o *SkillAllOf) HasKindgiver() bool { - if o != nil && o.Kindgiver != nil { - return true - } - - return false -} - -// SetKindgiver gets a reference to the given bool and assigns it to the Kindgiver field. -func (o *SkillAllOf) SetKindgiver(v bool) { - o.Kindgiver = &v -} - -func (o SkillAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.Invest != nil { - toSerialize["invest"] = o.Invest - } - if o.Kindgiver != nil { - toSerialize["kindgiver"] = o.Kindgiver - } - return json.Marshal(toSerialize) -} - -type NullableSkillAllOf struct { - value *SkillAllOf - isSet bool -} - -func (v NullableSkillAllOf) Get() *SkillAllOf { - return v.value -} - -func (v *NullableSkillAllOf) Set(val *SkillAllOf) { - v.value = val - v.isSet = true -} - -func (v NullableSkillAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullableSkillAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableSkillAllOf(val *SkillAllOf) *NullableSkillAllOf { - return &NullableSkillAllOf{value: val, isSet: true} -} - -func (v NullableSkillAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableSkillAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_skill_details.go b/model_skill_details.go index 2091bcec..64475d84 100644 --- a/model_skill_details.go +++ b/model_skill_details.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_group.go b/model_skill_group.go index 4fd92bfa..510a5334 100644 --- a/model_skill_group.go +++ b/model_skill_group.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_level.go b/model_skill_level.go index fb62c429..38833633 100644 --- a/model_skill_level.go +++ b/model_skill_level.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_level_update.go b/model_skill_level_update.go index 9fc9b8de..375fb086 100644 --- a/model_skill_level_update.go +++ b/model_skill_level_update.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_level_update_all_of.go b/model_skill_level_update_all_of.go deleted file mode 100644 index 7ccc9e12..00000000 --- a/model_skill_level_update_all_of.go +++ /dev/null @@ -1,151 +0,0 @@ -/* -YASM (Yet Another Skill Management) API - -This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. - -API version: 1.2.5 -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package client - -import ( - "encoding/json" -) - -// SkillLevelUpdateAllOf struct for SkillLevelUpdateAllOf -type SkillLevelUpdateAllOf struct { - SkillId *string `json:"skillId,omitempty"` - Level *Level `json:"level,omitempty"` -} - -// NewSkillLevelUpdateAllOf instantiates a new SkillLevelUpdateAllOf object -// This constructor will assign default values to properties that have it defined, -// and makes sure properties required by API are set, but the set of arguments -// will change when the set of required properties is changed -func NewSkillLevelUpdateAllOf() *SkillLevelUpdateAllOf { - this := SkillLevelUpdateAllOf{} - return &this -} - -// NewSkillLevelUpdateAllOfWithDefaults instantiates a new SkillLevelUpdateAllOf object -// This constructor will only assign default values to properties that have it defined, -// but it doesn't guarantee that properties required by API are set -func NewSkillLevelUpdateAllOfWithDefaults() *SkillLevelUpdateAllOf { - this := SkillLevelUpdateAllOf{} - return &this -} - -// GetSkillId returns the SkillId field value if set, zero value otherwise. -func (o *SkillLevelUpdateAllOf) GetSkillId() string { - if o == nil || o.SkillId == nil { - var ret string - return ret - } - return *o.SkillId -} - -// GetSkillIdOk returns a tuple with the SkillId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *SkillLevelUpdateAllOf) GetSkillIdOk() (*string, bool) { - if o == nil || o.SkillId == nil { - return nil, false - } - return o.SkillId, true -} - -// HasSkillId returns a boolean if a field has been set. -func (o *SkillLevelUpdateAllOf) HasSkillId() bool { - if o != nil && o.SkillId != nil { - return true - } - - return false -} - -// SetSkillId gets a reference to the given string and assigns it to the SkillId field. -func (o *SkillLevelUpdateAllOf) SetSkillId(v string) { - o.SkillId = &v -} - -// GetLevel returns the Level field value if set, zero value otherwise. -func (o *SkillLevelUpdateAllOf) GetLevel() Level { - if o == nil || o.Level == nil { - var ret Level - return ret - } - return *o.Level -} - -// GetLevelOk returns a tuple with the Level field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *SkillLevelUpdateAllOf) GetLevelOk() (*Level, bool) { - if o == nil || o.Level == nil { - return nil, false - } - return o.Level, true -} - -// HasLevel returns a boolean if a field has been set. -func (o *SkillLevelUpdateAllOf) HasLevel() bool { - if o != nil && o.Level != nil { - return true - } - - return false -} - -// SetLevel gets a reference to the given Level and assigns it to the Level field. -func (o *SkillLevelUpdateAllOf) SetLevel(v Level) { - o.Level = &v -} - -func (o SkillLevelUpdateAllOf) MarshalJSON() ([]byte, error) { - toSerialize := map[string]interface{}{} - if o.SkillId != nil { - toSerialize["skillId"] = o.SkillId - } - if o.Level != nil { - toSerialize["level"] = o.Level - } - return json.Marshal(toSerialize) -} - -type NullableSkillLevelUpdateAllOf struct { - value *SkillLevelUpdateAllOf - isSet bool -} - -func (v NullableSkillLevelUpdateAllOf) Get() *SkillLevelUpdateAllOf { - return v.value -} - -func (v *NullableSkillLevelUpdateAllOf) Set(val *SkillLevelUpdateAllOf) { - v.value = val - v.isSet = true -} - -func (v NullableSkillLevelUpdateAllOf) IsSet() bool { - return v.isSet -} - -func (v *NullableSkillLevelUpdateAllOf) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableSkillLevelUpdateAllOf(val *SkillLevelUpdateAllOf) *NullableSkillLevelUpdateAllOf { - return &NullableSkillLevelUpdateAllOf{value: val, isSet: true} -} - -func (v NullableSkillLevelUpdateAllOf) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableSkillLevelUpdateAllOf) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} - - diff --git a/model_status.go b/model_status.go index bd2ddfe7..fcf529e3 100644 --- a/model_status.go +++ b/model_status.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_suggestable.go b/model_suggestable.go index 258c5337..7d7ae40c 100644 --- a/model_suggestable.go +++ b/model_suggestable.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_synonymable.go b/model_synonymable.go index fb4b7ee9..62030697 100644 --- a/model_synonymable.go +++ b/model_synonymable.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_timeframed.go b/model_timeframed.go index b1015026..5b119662 100644 --- a/model_timeframed.go +++ b/model_timeframed.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_version.go b/model_version.go index 349b44b1..eb2ebd30 100644 --- a/model_version.go +++ b/model_version.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/response.go b/response.go index 058ae5f2..e9656909 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/test/api_availability_test.go b/test/api_availability_test.go new file mode 100644 index 00000000..d1d75241 --- /dev/null +++ b/test/api_availability_test.go @@ -0,0 +1,83 @@ +/* +YASM (Yet Another Skill Management) API + +Testing AvailabilityApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_AvailabilityApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test AvailabilityApiService CreateAvailability", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.AvailabilityApi.CreateAvailability(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AvailabilityApiService DeleteAvailability", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var availabilityId string + + resp, httpRes, err := apiClient.AvailabilityApi.DeleteAvailability(context.Background(), personId, availabilityId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AvailabilityApiService GetAvailabilities", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.AvailabilityApi.GetAvailabilities(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AvailabilityApiService UpdateAvailability", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var availabilityId string + + resp, httpRes, err := apiClient.AvailabilityApi.UpdateAvailability(context.Background(), personId, availabilityId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_certification_test.go b/test/api_certification_test.go new file mode 100644 index 00000000..5ee9bac0 --- /dev/null +++ b/test/api_certification_test.go @@ -0,0 +1,212 @@ +/* +YASM (Yet Another Skill Management) API + +Testing CertificationApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_CertificationApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test CertificationApiService AddPersonCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var certificationId string + + resp, httpRes, err := apiClient.CertificationApi.AddPersonCertification(context.Background(), personId, certificationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService AddSkillToCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var certificationId string + var skillId string + + resp, httpRes, err := apiClient.CertificationApi.AddSkillToCertification(context.Background(), certificationId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService CreateCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.CertificationApi.CreateCertification(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService DeleteCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var certificationId string + + resp, httpRes, err := apiClient.CertificationApi.DeleteCertification(context.Background(), certificationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService DeletePersonCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var certificationId string + + resp, httpRes, err := apiClient.CertificationApi.DeletePersonCertification(context.Background(), personId, certificationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService DeleteSkillFromCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var certificationId string + var skillId string + + resp, httpRes, err := apiClient.CertificationApi.DeleteSkillFromCertification(context.Background(), certificationId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService GetCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var certificationId string + + resp, httpRes, err := apiClient.CertificationApi.GetCertification(context.Background(), certificationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService GetCertifications", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.CertificationApi.GetCertifications(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService GetCertificationsForOrganization", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.CertificationApi.GetCertificationsForOrganization(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService MoveCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var certificateId string + + resp, httpRes, err := apiClient.CertificationApi.MoveCertification(context.Background(), organizationId, certificateId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService UpdateCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var certificationId string + + resp, httpRes, err := apiClient.CertificationApi.UpdateCertification(context.Background(), certificationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService UpdatePersonCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var certificationId string + + resp, httpRes, err := apiClient.CertificationApi.UpdatePersonCertification(context.Background(), personId, certificationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CertificationApiService UpdateSkillInCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var certificationId string + var skillId string + + resp, httpRes, err := apiClient.CertificationApi.UpdateSkillInCertification(context.Background(), certificationId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_country_test.go b/test/api_country_test.go new file mode 100644 index 00000000..5d6e5e05 --- /dev/null +++ b/test/api_country_test.go @@ -0,0 +1,121 @@ +/* +YASM (Yet Another Skill Management) API + +Testing CountryApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_CountryApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test CountryApiService AddLanguageToCountry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var countryId string + var languageId string + + resp, httpRes, err := apiClient.CountryApi.AddLanguageToCountry(context.Background(), countryId, languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CountryApiService CreateCountry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.CountryApi.CreateCountry(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CountryApiService DeleteCountry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var countryId string + + resp, httpRes, err := apiClient.CountryApi.DeleteCountry(context.Background(), countryId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CountryApiService GetCountries", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.CountryApi.GetCountries(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CountryApiService GetCountry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var countryId string + + resp, httpRes, err := apiClient.CountryApi.GetCountry(context.Background(), countryId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CountryApiService RemoveLanguageFromCountry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var countryId string + var languageId string + + resp, httpRes, err := apiClient.CountryApi.RemoveLanguageFromCountry(context.Background(), countryId, languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test CountryApiService UpdateCountry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var countryId string + + resp, httpRes, err := apiClient.CountryApi.UpdateCountry(context.Background(), countryId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_industry_test.go b/test/api_industry_test.go new file mode 100644 index 00000000..27cdd008 --- /dev/null +++ b/test/api_industry_test.go @@ -0,0 +1,121 @@ +/* +YASM (Yet Another Skill Management) API + +Testing IndustryApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_IndustryApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test IndustryApiService AttachOrganizationToIndustry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var industryId string + + resp, httpRes, err := apiClient.IndustryApi.AttachOrganizationToIndustry(context.Background(), organizationId, industryId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test IndustryApiService CreateIndustry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.IndustryApi.CreateIndustry(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test IndustryApiService DeleteIndustry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var industryId string + + resp, httpRes, err := apiClient.IndustryApi.DeleteIndustry(context.Background(), industryId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test IndustryApiService DetachOrganizationFromIndustry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var industryId string + + resp, httpRes, err := apiClient.IndustryApi.DetachOrganizationFromIndustry(context.Background(), organizationId, industryId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test IndustryApiService GetIndustries", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.IndustryApi.GetIndustries(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test IndustryApiService GetIndustry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var industryId string + + resp, httpRes, err := apiClient.IndustryApi.GetIndustry(context.Background(), industryId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test IndustryApiService UpdateIndustry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var industryId string + + resp, httpRes, err := apiClient.IndustryApi.UpdateIndustry(context.Background(), industryId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_language_test.go b/test/api_language_test.go new file mode 100644 index 00000000..9974cf2a --- /dev/null +++ b/test/api_language_test.go @@ -0,0 +1,152 @@ +/* +YASM (Yet Another Skill Management) API + +Testing LanguageApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_LanguageApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test LanguageApiService AddLanguageToCountry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var countryId string + var languageId string + + resp, httpRes, err := apiClient.LanguageApi.AddLanguageToCountry(context.Background(), countryId, languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test LanguageApiService AddPersonLanguage", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var languageId string + + resp, httpRes, err := apiClient.LanguageApi.AddPersonLanguage(context.Background(), personId, languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test LanguageApiService CreateLanguage", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.LanguageApi.CreateLanguage(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test LanguageApiService DeleteLanguage", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var languageId string + + resp, httpRes, err := apiClient.LanguageApi.DeleteLanguage(context.Background(), languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test LanguageApiService GetLanguage", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var languageId string + + resp, httpRes, err := apiClient.LanguageApi.GetLanguage(context.Background(), languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test LanguageApiService GetLanguages", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.LanguageApi.GetLanguages(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test LanguageApiService RemoveLanguageFromCountry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var countryId string + var languageId string + + resp, httpRes, err := apiClient.LanguageApi.RemoveLanguageFromCountry(context.Background(), countryId, languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test LanguageApiService RemovePersonLanguage", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var languageId string + + resp, httpRes, err := apiClient.LanguageApi.RemovePersonLanguage(context.Background(), personId, languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test LanguageApiService UupdatePersonLanguage", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var languageId string + + resp, httpRes, err := apiClient.LanguageApi.UupdatePersonLanguage(context.Background(), personId, languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_office_test.go b/test/api_office_test.go new file mode 100644 index 00000000..d709a5d9 --- /dev/null +++ b/test/api_office_test.go @@ -0,0 +1,114 @@ +/* +YASM (Yet Another Skill Management) API + +Testing OfficeApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_OfficeApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test OfficeApiService AddPersonOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var officeId string + + resp, httpRes, err := apiClient.OfficeApi.AddPersonOffice(context.Background(), personId, officeId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OfficeApiService CreateOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.OfficeApi.CreateOffice(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OfficeApiService DeleteOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var officeId string + + resp, httpRes, err := apiClient.OfficeApi.DeleteOffice(context.Background(), organizationId, officeId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OfficeApiService DeletePersonOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var officeId string + + resp, httpRes, err := apiClient.OfficeApi.DeletePersonOffice(context.Background(), personId, officeId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OfficeApiService GetOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var officeId string + + resp, httpRes, err := apiClient.OfficeApi.GetOffice(context.Background(), organizationId, officeId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OfficeApiService UpdateOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var officeId string + + resp, httpRes, err := apiClient.OfficeApi.UpdateOffice(context.Background(), organizationId, officeId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_organization_test.go b/test/api_organization_test.go new file mode 100644 index 00000000..bc2dfa68 --- /dev/null +++ b/test/api_organization_test.go @@ -0,0 +1,266 @@ +/* +YASM (Yet Another Skill Management) API + +Testing OrganizationApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_OrganizationApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test OrganizationApiService AttachOrganizationToIndustry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var industryId string + + resp, httpRes, err := apiClient.OrganizationApi.AttachOrganizationToIndustry(context.Background(), organizationId, industryId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService CreateCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.OrganizationApi.CreateCertification(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService CreateOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.OrganizationApi.CreateOffice(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService CreateOrganization", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.OrganizationApi.CreateOrganization(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService CreateProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.OrganizationApi.CreateProject(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService DeleteOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var officeId string + + resp, httpRes, err := apiClient.OrganizationApi.DeleteOffice(context.Background(), organizationId, officeId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService DeleteOrganization", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.OrganizationApi.DeleteOrganization(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService DetachOrganizationFromIndustry", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var industryId string + + resp, httpRes, err := apiClient.OrganizationApi.DetachOrganizationFromIndustry(context.Background(), organizationId, industryId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService GetCertificationsForOrganization", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.OrganizationApi.GetCertificationsForOrganization(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService GetOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var officeId string + + resp, httpRes, err := apiClient.OrganizationApi.GetOffice(context.Background(), organizationId, officeId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService GetOrganization", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.OrganizationApi.GetOrganization(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService GetOrganizationProjects", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.OrganizationApi.GetOrganizationProjects(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService GetOrganizations", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.OrganizationApi.GetOrganizations(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService MergeOrganizations", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var otherOrganizationId string + + resp, httpRes, err := apiClient.OrganizationApi.MergeOrganizations(context.Background(), organizationId, otherOrganizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService MoveCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var certificateId string + + resp, httpRes, err := apiClient.OrganizationApi.MoveCertification(context.Background(), organizationId, certificateId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService UpdateOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + var officeId string + + resp, httpRes, err := apiClient.OrganizationApi.UpdateOffice(context.Background(), organizationId, officeId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test OrganizationApiService UpdateOrganization", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.OrganizationApi.UpdateOrganization(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_person_test.go b/test/api_person_test.go new file mode 100644 index 00000000..0486006e --- /dev/null +++ b/test/api_person_test.go @@ -0,0 +1,542 @@ +/* +YASM (Yet Another Skill Management) API + +Testing PersonApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_PersonApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test PersonApiService AddPersonCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var certificationId string + + resp, httpRes, err := apiClient.PersonApi.AddPersonCertification(context.Background(), personId, certificationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService AddPersonInterest", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var skillId string + + resp, httpRes, err := apiClient.PersonApi.AddPersonInterest(context.Background(), personId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService AddPersonLanguage", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var languageId string + + resp, httpRes, err := apiClient.PersonApi.AddPersonLanguage(context.Background(), personId, languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService AddPersonOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var officeId string + + resp, httpRes, err := apiClient.PersonApi.AddPersonOffice(context.Background(), personId, officeId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService AddPersonProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + + resp, httpRes, err := apiClient.PersonApi.AddPersonProject(context.Background(), personId, projectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService AddPersonProjectSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + + resp, httpRes, err := apiClient.PersonApi.AddPersonProjectSkill(context.Background(), personId, projectId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService AddPersonSkillExperience", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var skillId string + + resp, httpRes, err := apiClient.PersonApi.AddPersonSkillExperience(context.Background(), personId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService AddPersonSkillExperiences", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.PersonApi.AddPersonSkillExperiences(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService ConfirmSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + var confirmingPersonId string + + resp, httpRes, err := apiClient.PersonApi.ConfirmSkill(context.Background(), personId, projectId, skillId, confirmingPersonId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService CreateAvailability", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.PersonApi.CreateAvailability(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService CreatePerson", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.PersonApi.CreatePerson(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService DeleteAvailability", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var availabilityId string + + resp, httpRes, err := apiClient.PersonApi.DeleteAvailability(context.Background(), personId, availabilityId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService DeleteConfirmation", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + var confirmingPersonId string + + resp, httpRes, err := apiClient.PersonApi.DeleteConfirmation(context.Background(), personId, projectId, skillId, confirmingPersonId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService DeletePerson", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.PersonApi.DeletePerson(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService DeletePersonCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var certificationId string + + resp, httpRes, err := apiClient.PersonApi.DeletePersonCertification(context.Background(), personId, certificationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService DeletePersonInterest", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var skillId string + + resp, httpRes, err := apiClient.PersonApi.DeletePersonInterest(context.Background(), personId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService DeletePersonOffice", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var officeId string + + resp, httpRes, err := apiClient.PersonApi.DeletePersonOffice(context.Background(), personId, officeId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService DeletePersonProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + + resp, httpRes, err := apiClient.PersonApi.DeletePersonProject(context.Background(), personId, projectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService DeletePersonProjectSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + + resp, httpRes, err := apiClient.PersonApi.DeletePersonProjectSkill(context.Background(), personId, projectId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService DeletePersonSkillExperience", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var skillId string + + resp, httpRes, err := apiClient.PersonApi.DeletePersonSkillExperience(context.Background(), personId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService DeletePersonSkillExperiences", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.PersonApi.DeletePersonSkillExperiences(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService GeneratePersonProfile", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personid string + + resp, httpRes, err := apiClient.PersonApi.GeneratePersonProfile(context.Background(), personid).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService GetAvailabilities", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.PersonApi.GetAvailabilities(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService GetPerson", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.PersonApi.GetPerson(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService ReadPersonProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + + resp, httpRes, err := apiClient.PersonApi.ReadPersonProject(context.Background(), personId, projectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService RemovePersonLanguage", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var languageId string + + resp, httpRes, err := apiClient.PersonApi.RemovePersonLanguage(context.Background(), personId, languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService SearchPersons", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.PersonApi.SearchPersons(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService UpdateAvailability", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var availabilityId string + + resp, httpRes, err := apiClient.PersonApi.UpdateAvailability(context.Background(), personId, availabilityId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService UpdatePerson", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.PersonApi.UpdatePerson(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService UpdatePersonCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var certificationId string + + resp, httpRes, err := apiClient.PersonApi.UpdatePersonCertification(context.Background(), personId, certificationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService UpdatePersonProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + + resp, httpRes, err := apiClient.PersonApi.UpdatePersonProject(context.Background(), personId, projectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService UpdatePersonProjectSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + + resp, httpRes, err := apiClient.PersonApi.UpdatePersonProjectSkill(context.Background(), personId, projectId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService UpdatePersonSkillExperience", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var skillId string + + resp, httpRes, err := apiClient.PersonApi.UpdatePersonSkillExperience(context.Background(), personId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService UpdatePersonSkillExperiences", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.PersonApi.UpdatePersonSkillExperiences(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test PersonApiService UupdatePersonLanguage", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var languageId string + + resp, httpRes, err := apiClient.PersonApi.UupdatePersonLanguage(context.Background(), personId, languageId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_project_test.go b/test/api_project_test.go new file mode 100644 index 00000000..28c44245 --- /dev/null +++ b/test/api_project_test.go @@ -0,0 +1,264 @@ +/* +YASM (Yet Another Skill Management) API + +Testing ProjectApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_ProjectApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test ProjectApiService AddPersonProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + + resp, httpRes, err := apiClient.ProjectApi.AddPersonProject(context.Background(), personId, projectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService AddPersonProjectSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + + resp, httpRes, err := apiClient.ProjectApi.AddPersonProjectSkill(context.Background(), personId, projectId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService ConfirmSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + var confirmingPersonId string + + resp, httpRes, err := apiClient.ProjectApi.ConfirmSkill(context.Background(), personId, projectId, skillId, confirmingPersonId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService CreateProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.ProjectApi.CreateProject(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService DeleteConfirmation", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + var confirmingPersonId string + + resp, httpRes, err := apiClient.ProjectApi.DeleteConfirmation(context.Background(), personId, projectId, skillId, confirmingPersonId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService DeletePersonProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + + resp, httpRes, err := apiClient.ProjectApi.DeletePersonProject(context.Background(), personId, projectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService DeletePersonProjectSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + + resp, httpRes, err := apiClient.ProjectApi.DeletePersonProjectSkill(context.Background(), personId, projectId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService DeleteProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var projectId string + + resp, httpRes, err := apiClient.ProjectApi.DeleteProject(context.Background(), projectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService GetOrganizationProjects", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organizationId string + + resp, httpRes, err := apiClient.ProjectApi.GetOrganizationProjects(context.Background(), organizationId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService GetProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var projectId string + + resp, httpRes, err := apiClient.ProjectApi.GetProject(context.Background(), projectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService MergeProjects", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var projectId string + var otherProjectId string + + resp, httpRes, err := apiClient.ProjectApi.MergeProjects(context.Background(), projectId, otherProjectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService ReadPersonProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + + resp, httpRes, err := apiClient.ProjectApi.ReadPersonProject(context.Background(), personId, projectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService SearchProjects", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.ProjectApi.SearchProjects(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService UpdatePersonProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + + resp, httpRes, err := apiClient.ProjectApi.UpdatePersonProject(context.Background(), personId, projectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService UpdatePersonProjectSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + + resp, httpRes, err := apiClient.ProjectApi.UpdatePersonProjectSkill(context.Background(), personId, projectId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test ProjectApiService UpdateProject", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var projectId string + + resp, httpRes, err := apiClient.ProjectApi.UpdateProject(context.Background(), projectId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_search_test.go b/test/api_search_test.go new file mode 100644 index 00000000..9583f456 --- /dev/null +++ b/test/api_search_test.go @@ -0,0 +1,39 @@ +/* +YASM (Yet Another Skill Management) API + +Testing SearchApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_SearchApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test SearchApiService SearchAll", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var text string + + resp, httpRes, err := apiClient.SearchApi.SearchAll(context.Background(), text).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_skill_test.go b/test/api_skill_test.go new file mode 100644 index 00000000..f45fa1cb --- /dev/null +++ b/test/api_skill_test.go @@ -0,0 +1,394 @@ +/* +YASM (Yet Another Skill Management) API + +Testing SkillApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_SkillApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test SkillApiService AddPersonInterest", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var skillId string + + resp, httpRes, err := apiClient.SkillApi.AddPersonInterest(context.Background(), personId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService AddPersonProjectSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + + resp, httpRes, err := apiClient.SkillApi.AddPersonProjectSkill(context.Background(), personId, projectId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService AddPersonSkillExperience", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var skillId string + + resp, httpRes, err := apiClient.SkillApi.AddPersonSkillExperience(context.Background(), personId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService AddPersonSkillExperiences", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.SkillApi.AddPersonSkillExperiences(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService AddSkillToCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var certificationId string + var skillId string + + resp, httpRes, err := apiClient.SkillApi.AddSkillToCertification(context.Background(), certificationId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService AddSkillToParentSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var skillId string + var parentSkillId string + + resp, httpRes, err := apiClient.SkillApi.AddSkillToParentSkill(context.Background(), skillId, parentSkillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService ConfirmSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + var confirmingPersonId string + + resp, httpRes, err := apiClient.SkillApi.ConfirmSkill(context.Background(), personId, projectId, skillId, confirmingPersonId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService CreateSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.SkillApi.CreateSkill(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService DeleteConfirmation", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + var confirmingPersonId string + + resp, httpRes, err := apiClient.SkillApi.DeleteConfirmation(context.Background(), personId, projectId, skillId, confirmingPersonId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService DeletePersonInterest", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var skillId string + + resp, httpRes, err := apiClient.SkillApi.DeletePersonInterest(context.Background(), personId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService DeletePersonProjectSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + + resp, httpRes, err := apiClient.SkillApi.DeletePersonProjectSkill(context.Background(), personId, projectId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService DeletePersonSkillExperience", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var skillId string + + resp, httpRes, err := apiClient.SkillApi.DeletePersonSkillExperience(context.Background(), personId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService DeletePersonSkillExperiences", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.SkillApi.DeletePersonSkillExperiences(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService DeleteSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var skillId string + + resp, httpRes, err := apiClient.SkillApi.DeleteSkill(context.Background(), skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService DeleteSkillFromCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var certificationId string + var skillId string + + resp, httpRes, err := apiClient.SkillApi.DeleteSkillFromCertification(context.Background(), certificationId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService GetSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var skillId string + + resp, httpRes, err := apiClient.SkillApi.GetSkill(context.Background(), skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService GetSkillParents", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var skillId string + + resp, httpRes, err := apiClient.SkillApi.GetSkillParents(context.Background(), skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService GetSkills", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.SkillApi.GetSkills(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService MergeSkills", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var skillId string + var otherSkillId string + + resp, httpRes, err := apiClient.SkillApi.MergeSkills(context.Background(), skillId, otherSkillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService RemoveSkillFromParentSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var skillId string + var parentSkillId string + + resp, httpRes, err := apiClient.SkillApi.RemoveSkillFromParentSkill(context.Background(), skillId, parentSkillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService UpdatePersonProjectSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var projectId string + var skillId string + + resp, httpRes, err := apiClient.SkillApi.UpdatePersonProjectSkill(context.Background(), personId, projectId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService UpdatePersonSkillExperience", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + var skillId string + + resp, httpRes, err := apiClient.SkillApi.UpdatePersonSkillExperience(context.Background(), personId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService UpdatePersonSkillExperiences", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var personId string + + resp, httpRes, err := apiClient.SkillApi.UpdatePersonSkillExperiences(context.Background(), personId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService UpdateSkill", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var skillId string + + resp, httpRes, err := apiClient.SkillApi.UpdateSkill(context.Background(), skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test SkillApiService UpdateSkillInCertification", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var certificationId string + var skillId string + + resp, httpRes, err := apiClient.SkillApi.UpdateSkillInCertification(context.Background(), certificationId, skillId).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/test/api_status_test.go b/test/api_status_test.go new file mode 100644 index 00000000..cc6a9f3d --- /dev/null +++ b/test/api_status_test.go @@ -0,0 +1,49 @@ +/* +YASM (Yet Another Skill Management) API + +Testing StatusApiService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package client + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "./openapi" +) + +func Test_client_StatusApiService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test StatusApiService GetPing", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.StatusApi.GetPing(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test StatusApiService GetVersion", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.StatusApi.GetVersion(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/utils.go b/utils.go index dc3371be..d80e28b5 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ YASM (Yet Another Skill Management) API This is an example of using OAuth2 Implicit Flow in a specification to describe security to your API. -API version: 1.2.5 +API version: 1.2.6 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.