From 30925fac5e2a5babb6c94b621545852e27441330 Mon Sep 17 00:00:00 2001 From: prodyna Date: Fri, 20 May 2022 12:25:58 +0000 Subject: [PATCH] Update from https://github.com/PRODYNA/yasm-api/commit/25c79d5fe7887c00a1752ac5051803b5d7dc6ea9 --- .openapi-generator/FILES | 14 + README.md | 9 +- api/openapi.yaml | 93 ++-- api_availability.go | 54 +-- api_certification.go | 178 +++---- api_country.go | 94 ++-- api_industry.go | 94 ++-- api_language.go | 120 ++--- api_office.go | 78 +-- api_organization.go | 218 ++++----- api_person.go | 450 +++++++++--------- api_project.go | 192 ++++---- api_search.go | 18 +- api_skill.go | 324 ++++++------- api_status.go | 26 +- client.go | 4 +- configuration.go | 2 +- 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/ProjectParticipationUpdate.md | 8 +- docs/ProjectParticipationUpdateTimeframe.md | 82 ++++ docs/ProjectSearch.md | 32 +- docs/ProjectSearchSkillsInner.md | 51 ++ model_availability.go | 2 +- model_availability_all_of.go | 2 +- model_availability_detail.go | 2 +- model_availability_filter.go | 2 +- model_basic_domain_model.go | 2 +- model_certification.go | 2 +- model_certification_all_of.go | 2 +- model_certification_details.go | 2 +- model_country.go | 2 +- model_country_all_of.go | 2 +- 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 | 2 +- model_geolocation.go | 2 +- model_industry.go | 2 +- model_industry_details.go | 2 +- model_language.go | 2 +- model_language_details.go | 2 +- model_language_level.go | 2 +- model_level.go | 2 +- model_locateable.go | 2 +- model_min_max.go | 2 +- model_min_max_percent.go | 2 +- model_named_domain_model.go | 2 +- model_named_domain_model_all_of.go | 2 +- model_office.go | 2 +- model_organization.go | 2 +- model_organization_all_of.go | 2 +- model_organization_details.go | 2 +- model_page.go | 2 +- model_paged_availabilities.go | 2 +- model_paged_availabilities_all_of.go | 2 +- model_paged_certifications.go | 2 +- model_paged_certifications_all_of.go | 2 +- model_paged_countries.go | 2 +- model_paged_countries_all_of.go | 2 +- model_paged_industries.go | 2 +- model_paged_industries_all_of.go | 2 +- model_paged_languages.go | 2 +- model_paged_languages_all_of.go | 2 +- model_paged_organizations.go | 2 +- model_paged_organizations_all_of.go | 2 +- model_paged_persons.go | 2 +- model_paged_persons_all_of.go | 2 +- model_paged_projects.go | 2 +- model_paged_projects_all_of.go | 2 +- model_paged_skills.go | 2 +- model_paged_skills_all_of.go | 2 +- model_person.go | 2 +- model_person_all_of.go | 2 +- model_person_certification_filter.go | 2 +- model_person_certification_filter_all_of.go | 2 +- model_person_details.go | 2 +- model_person_industry_filter.go | 2 +- model_person_industry_filter_all_of.go | 2 +- model_person_organization_filter.go | 2 +- model_person_organization_filter_all_of.go | 2 +- model_person_project_filter.go | 2 +- model_person_project_filter_all_of.go | 2 +- model_person_score_detail.go | 2 +- 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 | 2 +- model_person_skill_filter_all_of.go | 2 +- model_project.go | 2 +- model_project_all_of.go | 2 +- model_project_details.go | 2 +- model_project_participation.go | 2 +- 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 | 2 +- model_search_result_all_of.go | 2 +- model_search_result_item.go | 2 +- model_seniority.go | 2 +- model_skill.go | 2 +- model_skill_all_of.go | 2 +- model_skill_details.go | 2 +- model_skill_level.go | 2 +- model_skill_level_update.go | 2 +- model_skill_level_update_all_of.go | 2 +- model_status.go | 2 +- model_suggestable.go | 2 +- model_synonymable.go | 2 +- model_timeframed.go | 2 +- model_version.go | 2 +- response.go | 2 +- utils.go | 2 +- 127 files changed, 2940 insertions(+), 1161 deletions(-) create mode 100644 docs/PersonSearchCertificationsInner.md create mode 100644 docs/PersonSearchIndustriesInner.md create mode 100644 docs/PersonSearchOrganizationsInner.md create mode 100644 docs/PersonSearchProjectsInner.md create mode 100644 docs/PersonSearchSkillsInner.md create mode 100644 docs/ProjectParticipationUpdateTimeframe.md create mode 100644 docs/ProjectSearchSkillsInner.md create mode 100644 model_person_search_certifications_inner.go create mode 100644 model_person_search_industries_inner.go create mode 100644 model_person_search_organizations_inner.go create mode 100644 model_person_search_projects_inner.go create mode 100644 model_person_search_skills_inner.go create mode 100644 model_project_participation_update_timeframe.go create mode 100644 model_project_search_skills_inner.go diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index e58e73da..4b505eb8 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -89,6 +89,11 @@ 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 @@ -98,9 +103,11 @@ 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 @@ -187,6 +194,11 @@ 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 @@ -195,9 +207,11 @@ 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 diff --git a/README.md b/README.md index 5813f140..19d1b5f8 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.0.8 +- API version: 1.0.10 - Package version: 0.0.1 - Build package: org.openapitools.codegen.languages.GoClientCodegen @@ -283,6 +283,11 @@ Class | Method | HTTP request | Description - [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) @@ -291,9 +296,11 @@ Class | Method | HTTP request | Description - [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) diff --git a/api/openapi.yaml b/api/openapi.yaml index ebe6cade..da49442f 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.0.8 + version: 1.0.10 servers: - url: /api/v1 security: @@ -3535,20 +3535,20 @@ components: PersonSearch: example: skills: - - "" - - "" + - null + - null officeIds: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 projects: - - "" - - "" + - null + - null industries: - - "" - - "" + - null + - null organizations: - - "" - - "" + - null + - null personIds: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -3557,8 +3557,8 @@ components: max: 100 availability: null certifications: - - "" - - "" + - null + - null seniority: - null - null @@ -3583,28 +3583,23 @@ components: type: array skills: items: - allOf: - - $ref: '#/components/schemas/PersonSkillFilter' + $ref: '#/components/schemas/PersonSearch_skills_inner' type: array projects: items: - allOf: - - $ref: '#/components/schemas/PersonProjectFilter' + $ref: '#/components/schemas/PersonSearch_projects_inner' type: array organizations: items: - allOf: - - $ref: '#/components/schemas/PersonOrganizationFilter' + $ref: '#/components/schemas/PersonSearch_organizations_inner' type: array industries: items: - allOf: - - $ref: '#/components/schemas/PersonIndustryFilter' + $ref: '#/components/schemas/PersonSearch_industries_inner' type: array certifications: items: - allOf: - - $ref: '#/components/schemas/PersonCertificationFilter' + $ref: '#/components/schemas/PersonSearch_certifications_inner' type: array type: object PersonSkillFilter: @@ -3680,14 +3675,12 @@ components: skills: - null - null - timeframe: "{}" + timeframe: null personalDescription: personalDescription descriptionOverwrite: descriptionOverwrite properties: timeframe: - allOf: - - $ref: '#/components/schemas/Timeframed' - type: object + $ref: '#/components/schemas/ProjectParticipationUpdate_timeframe' skills: items: $ref: '#/components/schemas/SkillLevelUpdate' @@ -3700,8 +3693,8 @@ components: ProjectSearch: example: skills: - - "" - - "" + - null + - null minStartDate: 2000-01-23 maxEndDate: 2000-01-23 projectStatuses: @@ -3711,11 +3704,11 @@ components: min: 0 max: 100 industries: - - "" - - "" + - null + - null organizations: - - "" - - "" + - null + - null projectIds: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 @@ -3726,8 +3719,8 @@ components: - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - 046b6c7f-0b8a-43b9-b35d-6489e6daee91 participants: - - "" - - "" + - null + - null properties: projectIds: items: @@ -3755,23 +3748,19 @@ components: $ref: '#/components/schemas/MinMax' skills: items: - allOf: - - $ref: '#/components/schemas/EntityFilter' + $ref: '#/components/schemas/ProjectSearch_skills_inner' type: array participants: items: - allOf: - - $ref: '#/components/schemas/EntityFilter' + $ref: '#/components/schemas/ProjectSearch_skills_inner' type: array industries: items: - allOf: - - $ref: '#/components/schemas/EntityFilter' + $ref: '#/components/schemas/ProjectSearch_skills_inner' type: array organizations: items: - allOf: - - $ref: '#/components/schemas/EntityFilter' + $ref: '#/components/schemas/ProjectSearch_skills_inner' type: array type: object ProjectStatus: @@ -4071,6 +4060,21 @@ components: description: Marks persons not working for the company anymore type: boolean type: object + 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: @@ -4150,6 +4154,13 @@ components: - id - project type: object + ProjectParticipationUpdate_timeframe: + allOf: + - $ref: '#/components/schemas/Timeframed' + type: object + ProjectSearch_skills_inner: + allOf: + - $ref: '#/components/schemas/EntityFilter' Skill_allOf: properties: invest: diff --git a/api_availability.go b/api_availability.go index b1faa7be..ba6d6f63 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,7 +23,7 @@ import ( // AvailabilityApiService AvailabilityApi service type AvailabilityApiService service -type AvailabilityApiApiCreateAvailabilityRequest struct { +type AvailabilityApiCreateAvailabilityRequest struct { ctx context.Context ApiService *AvailabilityApiService personId string @@ -31,12 +31,12 @@ type AvailabilityApiApiCreateAvailabilityRequest struct { } // The availability -func (r AvailabilityApiApiCreateAvailabilityRequest) Availability(availability Availability) AvailabilityApiApiCreateAvailabilityRequest { +func (r AvailabilityApiCreateAvailabilityRequest) Availability(availability Availability) AvailabilityApiCreateAvailabilityRequest { r.availability = &availability return r } -func (r AvailabilityApiApiCreateAvailabilityRequest) Execute() (*AvailabilityDetail, *http.Response, error) { +func (r AvailabilityApiCreateAvailabilityRequest) Execute() (*AvailabilityDetail, *http.Response, error) { return r.ApiService.CreateAvailabilityExecute(r) } @@ -45,10 +45,10 @@ CreateAvailability Create a availability for a person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return AvailabilityApiApiCreateAvailabilityRequest + @return AvailabilityApiCreateAvailabilityRequest */ -func (a *AvailabilityApiService) CreateAvailability(ctx context.Context, personId string) AvailabilityApiApiCreateAvailabilityRequest { - return AvailabilityApiApiCreateAvailabilityRequest{ +func (a *AvailabilityApiService) CreateAvailability(ctx context.Context, personId string) AvailabilityApiCreateAvailabilityRequest { + return AvailabilityApiCreateAvailabilityRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -57,7 +57,7 @@ func (a *AvailabilityApiService) CreateAvailability(ctx context.Context, personI // Execute executes the request // @return AvailabilityDetail -func (a *AvailabilityApiService) CreateAvailabilityExecute(r AvailabilityApiApiCreateAvailabilityRequest) (*AvailabilityDetail, *http.Response, error) { +func (a *AvailabilityApiService) CreateAvailabilityExecute(r AvailabilityApiCreateAvailabilityRequest) (*AvailabilityDetail, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -143,14 +143,14 @@ func (a *AvailabilityApiService) CreateAvailabilityExecute(r AvailabilityApiApiC return localVarReturnValue, localVarHTTPResponse, nil } -type AvailabilityApiApiDeleteAvailabilityRequest struct { +type AvailabilityApiDeleteAvailabilityRequest struct { ctx context.Context ApiService *AvailabilityApiService personId string availabilityId string } -func (r AvailabilityApiApiDeleteAvailabilityRequest) Execute() (*Status, *http.Response, error) { +func (r AvailabilityApiDeleteAvailabilityRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeleteAvailabilityExecute(r) } @@ -160,10 +160,10 @@ DeleteAvailability Delete a person availability @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param availabilityId - @return AvailabilityApiApiDeleteAvailabilityRequest + @return AvailabilityApiDeleteAvailabilityRequest */ -func (a *AvailabilityApiService) DeleteAvailability(ctx context.Context, personId string, availabilityId string) AvailabilityApiApiDeleteAvailabilityRequest { - return AvailabilityApiApiDeleteAvailabilityRequest{ +func (a *AvailabilityApiService) DeleteAvailability(ctx context.Context, personId string, availabilityId string) AvailabilityApiDeleteAvailabilityRequest { + return AvailabilityApiDeleteAvailabilityRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -173,7 +173,7 @@ func (a *AvailabilityApiService) DeleteAvailability(ctx context.Context, personI // Execute executes the request // @return Status -func (a *AvailabilityApiService) DeleteAvailabilityExecute(r AvailabilityApiApiDeleteAvailabilityRequest) (*Status, *http.Response, error) { +func (a *AvailabilityApiService) DeleteAvailabilityExecute(r AvailabilityApiDeleteAvailabilityRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -255,13 +255,13 @@ func (a *AvailabilityApiService) DeleteAvailabilityExecute(r AvailabilityApiApiD return localVarReturnValue, localVarHTTPResponse, nil } -type AvailabilityApiApiGetAvailabilitiesRequest struct { +type AvailabilityApiGetAvailabilitiesRequest struct { ctx context.Context ApiService *AvailabilityApiService personId string } -func (r AvailabilityApiApiGetAvailabilitiesRequest) Execute() (*PagedAvailabilities, *http.Response, error) { +func (r AvailabilityApiGetAvailabilitiesRequest) Execute() (*PagedAvailabilities, *http.Response, error) { return r.ApiService.GetAvailabilitiesExecute(r) } @@ -270,10 +270,10 @@ GetAvailabilities Get a list of all activities for a person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return AvailabilityApiApiGetAvailabilitiesRequest + @return AvailabilityApiGetAvailabilitiesRequest */ -func (a *AvailabilityApiService) GetAvailabilities(ctx context.Context, personId string) AvailabilityApiApiGetAvailabilitiesRequest { - return AvailabilityApiApiGetAvailabilitiesRequest{ +func (a *AvailabilityApiService) GetAvailabilities(ctx context.Context, personId string) AvailabilityApiGetAvailabilitiesRequest { + return AvailabilityApiGetAvailabilitiesRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -282,7 +282,7 @@ func (a *AvailabilityApiService) GetAvailabilities(ctx context.Context, personId // Execute executes the request // @return PagedAvailabilities -func (a *AvailabilityApiService) GetAvailabilitiesExecute(r AvailabilityApiApiGetAvailabilitiesRequest) (*PagedAvailabilities, *http.Response, error) { +func (a *AvailabilityApiService) GetAvailabilitiesExecute(r AvailabilityApiGetAvailabilitiesRequest) (*PagedAvailabilities, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -363,7 +363,7 @@ func (a *AvailabilityApiService) GetAvailabilitiesExecute(r AvailabilityApiApiGe return localVarReturnValue, localVarHTTPResponse, nil } -type AvailabilityApiApiUpdateAvailabilityRequest struct { +type AvailabilityApiUpdateAvailabilityRequest struct { ctx context.Context ApiService *AvailabilityApiService personId string @@ -372,12 +372,12 @@ type AvailabilityApiApiUpdateAvailabilityRequest struct { } // The availability -func (r AvailabilityApiApiUpdateAvailabilityRequest) Availability(availability Availability) AvailabilityApiApiUpdateAvailabilityRequest { +func (r AvailabilityApiUpdateAvailabilityRequest) Availability(availability Availability) AvailabilityApiUpdateAvailabilityRequest { r.availability = &availability return r } -func (r AvailabilityApiApiUpdateAvailabilityRequest) Execute() (*AvailabilityDetail, *http.Response, error) { +func (r AvailabilityApiUpdateAvailabilityRequest) Execute() (*AvailabilityDetail, *http.Response, error) { return r.ApiService.UpdateAvailabilityExecute(r) } @@ -387,10 +387,10 @@ UpdateAvailability Update a person availability @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param availabilityId - @return AvailabilityApiApiUpdateAvailabilityRequest + @return AvailabilityApiUpdateAvailabilityRequest */ -func (a *AvailabilityApiService) UpdateAvailability(ctx context.Context, personId string, availabilityId string) AvailabilityApiApiUpdateAvailabilityRequest { - return AvailabilityApiApiUpdateAvailabilityRequest{ +func (a *AvailabilityApiService) UpdateAvailability(ctx context.Context, personId string, availabilityId string) AvailabilityApiUpdateAvailabilityRequest { + return AvailabilityApiUpdateAvailabilityRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -400,7 +400,7 @@ func (a *AvailabilityApiService) UpdateAvailability(ctx context.Context, personI // Execute executes the request // @return AvailabilityDetail -func (a *AvailabilityApiService) UpdateAvailabilityExecute(r AvailabilityApiApiUpdateAvailabilityRequest) (*AvailabilityDetail, *http.Response, error) { +func (a *AvailabilityApiService) UpdateAvailabilityExecute(r AvailabilityApiUpdateAvailabilityRequest) (*AvailabilityDetail, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} diff --git a/api_certification.go b/api_certification.go index adb5ee16..b0ae519a 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,7 +23,7 @@ import ( // CertificationApiService CertificationApi service type CertificationApiService service -type CertificationApiApiAddPersonCertificationRequest struct { +type CertificationApiAddPersonCertificationRequest struct { ctx context.Context ApiService *CertificationApiService personId string @@ -31,12 +31,12 @@ type CertificationApiApiAddPersonCertificationRequest struct { body *string } -func (r CertificationApiApiAddPersonCertificationRequest) Body(body string) CertificationApiApiAddPersonCertificationRequest { +func (r CertificationApiAddPersonCertificationRequest) Body(body string) CertificationApiAddPersonCertificationRequest { r.body = &body return r } -func (r CertificationApiApiAddPersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r CertificationApiAddPersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonCertificationExecute(r) } @@ -46,10 +46,10 @@ AddPersonCertification Add Certification to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param certificationId - @return CertificationApiApiAddPersonCertificationRequest + @return CertificationApiAddPersonCertificationRequest */ -func (a *CertificationApiService) AddPersonCertification(ctx context.Context, personId string, certificationId string) CertificationApiApiAddPersonCertificationRequest { - return CertificationApiApiAddPersonCertificationRequest{ +func (a *CertificationApiService) AddPersonCertification(ctx context.Context, personId string, certificationId string) CertificationApiAddPersonCertificationRequest { + return CertificationApiAddPersonCertificationRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -59,7 +59,7 @@ func (a *CertificationApiService) AddPersonCertification(ctx context.Context, pe // Execute executes the request // @return PersonDetails -func (a *CertificationApiService) AddPersonCertificationExecute(r CertificationApiApiAddPersonCertificationRequest) (*PersonDetails, *http.Response, error) { +func (a *CertificationApiService) AddPersonCertificationExecute(r CertificationApiAddPersonCertificationRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -146,7 +146,7 @@ func (a *CertificationApiService) AddPersonCertificationExecute(r CertificationA return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiAddSkillToCertificationRequest struct { +type CertificationApiAddSkillToCertificationRequest struct { ctx context.Context ApiService *CertificationApiService certificationId string @@ -154,12 +154,12 @@ type CertificationApiApiAddSkillToCertificationRequest struct { level *Level } -func (r CertificationApiApiAddSkillToCertificationRequest) Level(level Level) CertificationApiApiAddSkillToCertificationRequest { +func (r CertificationApiAddSkillToCertificationRequest) Level(level Level) CertificationApiAddSkillToCertificationRequest { r.level = &level return r } -func (r CertificationApiApiAddSkillToCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r CertificationApiAddSkillToCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.AddSkillToCertificationExecute(r) } @@ -171,10 +171,10 @@ Add Skill to Certification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param certificationId @param skillId - @return CertificationApiApiAddSkillToCertificationRequest + @return CertificationApiAddSkillToCertificationRequest */ -func (a *CertificationApiService) AddSkillToCertification(ctx context.Context, certificationId string, skillId string) CertificationApiApiAddSkillToCertificationRequest { - return CertificationApiApiAddSkillToCertificationRequest{ +func (a *CertificationApiService) AddSkillToCertification(ctx context.Context, certificationId string, skillId string) CertificationApiAddSkillToCertificationRequest { + return CertificationApiAddSkillToCertificationRequest{ ApiService: a, ctx: ctx, certificationId: certificationId, @@ -184,7 +184,7 @@ func (a *CertificationApiService) AddSkillToCertification(ctx context.Context, c // Execute executes the request // @return CertificationDetails -func (a *CertificationApiService) AddSkillToCertificationExecute(r CertificationApiApiAddSkillToCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *CertificationApiService) AddSkillToCertificationExecute(r CertificationApiAddSkillToCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -271,19 +271,19 @@ func (a *CertificationApiService) AddSkillToCertificationExecute(r Certification return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiCreateCertificationRequest struct { +type CertificationApiCreateCertificationRequest struct { ctx context.Context ApiService *CertificationApiService organizationId string certification *Certification } -func (r CertificationApiApiCreateCertificationRequest) Certification(certification Certification) CertificationApiApiCreateCertificationRequest { +func (r CertificationApiCreateCertificationRequest) Certification(certification Certification) CertificationApiCreateCertificationRequest { r.certification = &certification return r } -func (r CertificationApiApiCreateCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r CertificationApiCreateCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.CreateCertificationExecute(r) } @@ -292,10 +292,10 @@ CreateCertification Create a Certification in an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return CertificationApiApiCreateCertificationRequest + @return CertificationApiCreateCertificationRequest */ -func (a *CertificationApiService) CreateCertification(ctx context.Context, organizationId string) CertificationApiApiCreateCertificationRequest { - return CertificationApiApiCreateCertificationRequest{ +func (a *CertificationApiService) CreateCertification(ctx context.Context, organizationId string) CertificationApiCreateCertificationRequest { + return CertificationApiCreateCertificationRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -304,7 +304,7 @@ func (a *CertificationApiService) CreateCertification(ctx context.Context, organ // Execute executes the request // @return CertificationDetails -func (a *CertificationApiService) CreateCertificationExecute(r CertificationApiApiCreateCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *CertificationApiService) CreateCertificationExecute(r CertificationApiCreateCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -390,13 +390,13 @@ func (a *CertificationApiService) CreateCertificationExecute(r CertificationApiA return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiDeleteCertificationRequest struct { +type CertificationApiDeleteCertificationRequest struct { ctx context.Context ApiService *CertificationApiService certificationId string } -func (r CertificationApiApiDeleteCertificationRequest) Execute() (*Status, *http.Response, error) { +func (r CertificationApiDeleteCertificationRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeleteCertificationExecute(r) } @@ -405,10 +405,10 @@ DeleteCertification Delete a Certification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param certificationId - @return CertificationApiApiDeleteCertificationRequest + @return CertificationApiDeleteCertificationRequest */ -func (a *CertificationApiService) DeleteCertification(ctx context.Context, certificationId string) CertificationApiApiDeleteCertificationRequest { - return CertificationApiApiDeleteCertificationRequest{ +func (a *CertificationApiService) DeleteCertification(ctx context.Context, certificationId string) CertificationApiDeleteCertificationRequest { + return CertificationApiDeleteCertificationRequest{ ApiService: a, ctx: ctx, certificationId: certificationId, @@ -417,7 +417,7 @@ func (a *CertificationApiService) DeleteCertification(ctx context.Context, certi // Execute executes the request // @return Status -func (a *CertificationApiService) DeleteCertificationExecute(r CertificationApiApiDeleteCertificationRequest) (*Status, *http.Response, error) { +func (a *CertificationApiService) DeleteCertificationExecute(r CertificationApiDeleteCertificationRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -498,14 +498,14 @@ func (a *CertificationApiService) DeleteCertificationExecute(r CertificationApiA return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiDeletePersonCertificationRequest struct { +type CertificationApiDeletePersonCertificationRequest struct { ctx context.Context ApiService *CertificationApiService personId string certificationId string } -func (r CertificationApiApiDeletePersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r CertificationApiDeletePersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonCertificationExecute(r) } @@ -515,10 +515,10 @@ DeletePersonCertification Remove an Interest to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param certificationId - @return CertificationApiApiDeletePersonCertificationRequest + @return CertificationApiDeletePersonCertificationRequest */ -func (a *CertificationApiService) DeletePersonCertification(ctx context.Context, personId string, certificationId string) CertificationApiApiDeletePersonCertificationRequest { - return CertificationApiApiDeletePersonCertificationRequest{ +func (a *CertificationApiService) DeletePersonCertification(ctx context.Context, personId string, certificationId string) CertificationApiDeletePersonCertificationRequest { + return CertificationApiDeletePersonCertificationRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -528,7 +528,7 @@ func (a *CertificationApiService) DeletePersonCertification(ctx context.Context, // Execute executes the request // @return PersonDetails -func (a *CertificationApiService) DeletePersonCertificationExecute(r CertificationApiApiDeletePersonCertificationRequest) (*PersonDetails, *http.Response, error) { +func (a *CertificationApiService) DeletePersonCertificationExecute(r CertificationApiDeletePersonCertificationRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -610,14 +610,14 @@ func (a *CertificationApiService) DeletePersonCertificationExecute(r Certificati return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiDeleteSkillFromCertificationRequest struct { +type CertificationApiDeleteSkillFromCertificationRequest struct { ctx context.Context ApiService *CertificationApiService certificationId string skillId string } -func (r CertificationApiApiDeleteSkillFromCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r CertificationApiDeleteSkillFromCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.DeleteSkillFromCertificationExecute(r) } @@ -627,10 +627,10 @@ DeleteSkillFromCertification Method for DeleteSkillFromCertification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param certificationId @param skillId - @return CertificationApiApiDeleteSkillFromCertificationRequest + @return CertificationApiDeleteSkillFromCertificationRequest */ -func (a *CertificationApiService) DeleteSkillFromCertification(ctx context.Context, certificationId string, skillId string) CertificationApiApiDeleteSkillFromCertificationRequest { - return CertificationApiApiDeleteSkillFromCertificationRequest{ +func (a *CertificationApiService) DeleteSkillFromCertification(ctx context.Context, certificationId string, skillId string) CertificationApiDeleteSkillFromCertificationRequest { + return CertificationApiDeleteSkillFromCertificationRequest{ ApiService: a, ctx: ctx, certificationId: certificationId, @@ -640,7 +640,7 @@ func (a *CertificationApiService) DeleteSkillFromCertification(ctx context.Conte // Execute executes the request // @return CertificationDetails -func (a *CertificationApiService) DeleteSkillFromCertificationExecute(r CertificationApiApiDeleteSkillFromCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *CertificationApiService) DeleteSkillFromCertificationExecute(r CertificationApiDeleteSkillFromCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -722,13 +722,13 @@ func (a *CertificationApiService) DeleteSkillFromCertificationExecute(r Certific return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiGetCertificationRequest struct { +type CertificationApiGetCertificationRequest struct { ctx context.Context ApiService *CertificationApiService certificationId string } -func (r CertificationApiApiGetCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r CertificationApiGetCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.GetCertificationExecute(r) } @@ -737,10 +737,10 @@ GetCertification Get details about a Certification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param certificationId - @return CertificationApiApiGetCertificationRequest + @return CertificationApiGetCertificationRequest */ -func (a *CertificationApiService) GetCertification(ctx context.Context, certificationId string) CertificationApiApiGetCertificationRequest { - return CertificationApiApiGetCertificationRequest{ +func (a *CertificationApiService) GetCertification(ctx context.Context, certificationId string) CertificationApiGetCertificationRequest { + return CertificationApiGetCertificationRequest{ ApiService: a, ctx: ctx, certificationId: certificationId, @@ -749,7 +749,7 @@ func (a *CertificationApiService) GetCertification(ctx context.Context, certific // Execute executes the request // @return CertificationDetails -func (a *CertificationApiService) GetCertificationExecute(r CertificationApiApiGetCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *CertificationApiService) GetCertificationExecute(r CertificationApiGetCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -830,24 +830,24 @@ func (a *CertificationApiService) GetCertificationExecute(r CertificationApiApiG return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiGetCertificationsRequest struct { +type CertificationApiGetCertificationsRequest struct { ctx context.Context ApiService *CertificationApiService skip *int32 limit *int32 } -func (r CertificationApiApiGetCertificationsRequest) Skip(skip int32) CertificationApiApiGetCertificationsRequest { +func (r CertificationApiGetCertificationsRequest) Skip(skip int32) CertificationApiGetCertificationsRequest { r.skip = &skip return r } -func (r CertificationApiApiGetCertificationsRequest) Limit(limit int32) CertificationApiApiGetCertificationsRequest { +func (r CertificationApiGetCertificationsRequest) Limit(limit int32) CertificationApiGetCertificationsRequest { r.limit = &limit return r } -func (r CertificationApiApiGetCertificationsRequest) Execute() (*PagedCertifications, *http.Response, error) { +func (r CertificationApiGetCertificationsRequest) Execute() (*PagedCertifications, *http.Response, error) { return r.ApiService.GetCertificationsExecute(r) } @@ -855,10 +855,10 @@ func (r CertificationApiApiGetCertificationsRequest) Execute() (*PagedCertificat GetCertifications Get a list of all Certifations indepdenant of the Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return CertificationApiApiGetCertificationsRequest + @return CertificationApiGetCertificationsRequest */ -func (a *CertificationApiService) GetCertifications(ctx context.Context) CertificationApiApiGetCertificationsRequest { - return CertificationApiApiGetCertificationsRequest{ +func (a *CertificationApiService) GetCertifications(ctx context.Context) CertificationApiGetCertificationsRequest { + return CertificationApiGetCertificationsRequest{ ApiService: a, ctx: ctx, } @@ -866,7 +866,7 @@ func (a *CertificationApiService) GetCertifications(ctx context.Context) Certifi // Execute executes the request // @return PagedCertifications -func (a *CertificationApiService) GetCertificationsExecute(r CertificationApiApiGetCertificationsRequest) (*PagedCertifications, *http.Response, error) { +func (a *CertificationApiService) GetCertificationsExecute(r CertificationApiGetCertificationsRequest) (*PagedCertifications, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -952,7 +952,7 @@ func (a *CertificationApiService) GetCertificationsExecute(r CertificationApiApi return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiGetCertificationsForOrganizationRequest struct { +type CertificationApiGetCertificationsForOrganizationRequest struct { ctx context.Context ApiService *CertificationApiService organizationId string @@ -960,17 +960,17 @@ type CertificationApiApiGetCertificationsForOrganizationRequest struct { limit *int32 } -func (r CertificationApiApiGetCertificationsForOrganizationRequest) Skip(skip int32) CertificationApiApiGetCertificationsForOrganizationRequest { +func (r CertificationApiGetCertificationsForOrganizationRequest) Skip(skip int32) CertificationApiGetCertificationsForOrganizationRequest { r.skip = &skip return r } -func (r CertificationApiApiGetCertificationsForOrganizationRequest) Limit(limit int32) CertificationApiApiGetCertificationsForOrganizationRequest { +func (r CertificationApiGetCertificationsForOrganizationRequest) Limit(limit int32) CertificationApiGetCertificationsForOrganizationRequest { r.limit = &limit return r } -func (r CertificationApiApiGetCertificationsForOrganizationRequest) Execute() (*PagedCertifications, *http.Response, error) { +func (r CertificationApiGetCertificationsForOrganizationRequest) Execute() (*PagedCertifications, *http.Response, error) { return r.ApiService.GetCertificationsForOrganizationExecute(r) } @@ -979,10 +979,10 @@ GetCertificationsForOrganization Get a list of all certifications for a organiza @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return CertificationApiApiGetCertificationsForOrganizationRequest + @return CertificationApiGetCertificationsForOrganizationRequest */ -func (a *CertificationApiService) GetCertificationsForOrganization(ctx context.Context, organizationId string) CertificationApiApiGetCertificationsForOrganizationRequest { - return CertificationApiApiGetCertificationsForOrganizationRequest{ +func (a *CertificationApiService) GetCertificationsForOrganization(ctx context.Context, organizationId string) CertificationApiGetCertificationsForOrganizationRequest { + return CertificationApiGetCertificationsForOrganizationRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -991,7 +991,7 @@ func (a *CertificationApiService) GetCertificationsForOrganization(ctx context.C // Execute executes the request // @return PagedCertifications -func (a *CertificationApiService) GetCertificationsForOrganizationExecute(r CertificationApiApiGetCertificationsForOrganizationRequest) (*PagedCertifications, *http.Response, error) { +func (a *CertificationApiService) GetCertificationsForOrganizationExecute(r CertificationApiGetCertificationsForOrganizationRequest) (*PagedCertifications, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1078,14 +1078,14 @@ func (a *CertificationApiService) GetCertificationsForOrganizationExecute(r Cert return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiMoveCertificationRequest struct { +type CertificationApiMoveCertificationRequest struct { ctx context.Context ApiService *CertificationApiService organizationId string certificateId string } -func (r CertificationApiApiMoveCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r CertificationApiMoveCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.MoveCertificationExecute(r) } @@ -1095,10 +1095,10 @@ MoveCertification Move a Certification to an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param certificateId - @return CertificationApiApiMoveCertificationRequest + @return CertificationApiMoveCertificationRequest */ -func (a *CertificationApiService) MoveCertification(ctx context.Context, organizationId string, certificateId string) CertificationApiApiMoveCertificationRequest { - return CertificationApiApiMoveCertificationRequest{ +func (a *CertificationApiService) MoveCertification(ctx context.Context, organizationId string, certificateId string) CertificationApiMoveCertificationRequest { + return CertificationApiMoveCertificationRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -1108,7 +1108,7 @@ func (a *CertificationApiService) MoveCertification(ctx context.Context, organiz // Execute executes the request // @return CertificationDetails -func (a *CertificationApiService) MoveCertificationExecute(r CertificationApiApiMoveCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *CertificationApiService) MoveCertificationExecute(r CertificationApiMoveCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1190,19 +1190,19 @@ func (a *CertificationApiService) MoveCertificationExecute(r CertificationApiApi return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiUpdateCertificationRequest struct { +type CertificationApiUpdateCertificationRequest struct { ctx context.Context ApiService *CertificationApiService certificationId string certification *Certification } -func (r CertificationApiApiUpdateCertificationRequest) Certification(certification Certification) CertificationApiApiUpdateCertificationRequest { +func (r CertificationApiUpdateCertificationRequest) Certification(certification Certification) CertificationApiUpdateCertificationRequest { r.certification = &certification return r } -func (r CertificationApiApiUpdateCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r CertificationApiUpdateCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.UpdateCertificationExecute(r) } @@ -1211,10 +1211,10 @@ UpdateCertification Update a Certification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param certificationId - @return CertificationApiApiUpdateCertificationRequest + @return CertificationApiUpdateCertificationRequest */ -func (a *CertificationApiService) UpdateCertification(ctx context.Context, certificationId string) CertificationApiApiUpdateCertificationRequest { - return CertificationApiApiUpdateCertificationRequest{ +func (a *CertificationApiService) UpdateCertification(ctx context.Context, certificationId string) CertificationApiUpdateCertificationRequest { + return CertificationApiUpdateCertificationRequest{ ApiService: a, ctx: ctx, certificationId: certificationId, @@ -1223,7 +1223,7 @@ func (a *CertificationApiService) UpdateCertification(ctx context.Context, certi // Execute executes the request // @return CertificationDetails -func (a *CertificationApiService) UpdateCertificationExecute(r CertificationApiApiUpdateCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *CertificationApiService) UpdateCertificationExecute(r CertificationApiUpdateCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1309,7 +1309,7 @@ func (a *CertificationApiService) UpdateCertificationExecute(r CertificationApiA return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiUpdatePersonCertificationRequest struct { +type CertificationApiUpdatePersonCertificationRequest struct { ctx context.Context ApiService *CertificationApiService personId string @@ -1317,12 +1317,12 @@ type CertificationApiApiUpdatePersonCertificationRequest struct { body *string } -func (r CertificationApiApiUpdatePersonCertificationRequest) Body(body string) CertificationApiApiUpdatePersonCertificationRequest { +func (r CertificationApiUpdatePersonCertificationRequest) Body(body string) CertificationApiUpdatePersonCertificationRequest { r.body = &body return r } -func (r CertificationApiApiUpdatePersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r CertificationApiUpdatePersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonCertificationExecute(r) } @@ -1332,10 +1332,10 @@ UpdatePersonCertification Update a Certification of a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param certificationId - @return CertificationApiApiUpdatePersonCertificationRequest + @return CertificationApiUpdatePersonCertificationRequest */ -func (a *CertificationApiService) UpdatePersonCertification(ctx context.Context, personId string, certificationId string) CertificationApiApiUpdatePersonCertificationRequest { - return CertificationApiApiUpdatePersonCertificationRequest{ +func (a *CertificationApiService) UpdatePersonCertification(ctx context.Context, personId string, certificationId string) CertificationApiUpdatePersonCertificationRequest { + return CertificationApiUpdatePersonCertificationRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1345,7 +1345,7 @@ func (a *CertificationApiService) UpdatePersonCertification(ctx context.Context, // Execute executes the request // @return PersonDetails -func (a *CertificationApiService) UpdatePersonCertificationExecute(r CertificationApiApiUpdatePersonCertificationRequest) (*PersonDetails, *http.Response, error) { +func (a *CertificationApiService) UpdatePersonCertificationExecute(r CertificationApiUpdatePersonCertificationRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1432,7 +1432,7 @@ func (a *CertificationApiService) UpdatePersonCertificationExecute(r Certificati return localVarReturnValue, localVarHTTPResponse, nil } -type CertificationApiApiUpdateSkillInCertificationRequest struct { +type CertificationApiUpdateSkillInCertificationRequest struct { ctx context.Context ApiService *CertificationApiService certificationId string @@ -1440,12 +1440,12 @@ type CertificationApiApiUpdateSkillInCertificationRequest struct { level *Level } -func (r CertificationApiApiUpdateSkillInCertificationRequest) Level(level Level) CertificationApiApiUpdateSkillInCertificationRequest { +func (r CertificationApiUpdateSkillInCertificationRequest) Level(level Level) CertificationApiUpdateSkillInCertificationRequest { r.level = &level return r } -func (r CertificationApiApiUpdateSkillInCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r CertificationApiUpdateSkillInCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.UpdateSkillInCertificationExecute(r) } @@ -1457,10 +1457,10 @@ Update Skill in Certification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param certificationId @param skillId - @return CertificationApiApiUpdateSkillInCertificationRequest + @return CertificationApiUpdateSkillInCertificationRequest */ -func (a *CertificationApiService) UpdateSkillInCertification(ctx context.Context, certificationId string, skillId string) CertificationApiApiUpdateSkillInCertificationRequest { - return CertificationApiApiUpdateSkillInCertificationRequest{ +func (a *CertificationApiService) UpdateSkillInCertification(ctx context.Context, certificationId string, skillId string) CertificationApiUpdateSkillInCertificationRequest { + return CertificationApiUpdateSkillInCertificationRequest{ ApiService: a, ctx: ctx, certificationId: certificationId, @@ -1470,7 +1470,7 @@ func (a *CertificationApiService) UpdateSkillInCertification(ctx context.Context // Execute executes the request // @return CertificationDetails -func (a *CertificationApiService) UpdateSkillInCertificationExecute(r CertificationApiApiUpdateSkillInCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *CertificationApiService) UpdateSkillInCertificationExecute(r CertificationApiUpdateSkillInCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} diff --git a/api_country.go b/api_country.go index 7fa35974..2ff484b8 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,14 +23,14 @@ import ( // CountryApiService CountryApi service type CountryApiService service -type CountryApiApiAddLanguageToCountryRequest struct { +type CountryApiAddLanguageToCountryRequest struct { ctx context.Context ApiService *CountryApiService countryId string languageId string } -func (r CountryApiApiAddLanguageToCountryRequest) Execute() (*CountryDetails, *http.Response, error) { +func (r CountryApiAddLanguageToCountryRequest) Execute() (*CountryDetails, *http.Response, error) { return r.ApiService.AddLanguageToCountryExecute(r) } @@ -40,10 +40,10 @@ AddLanguageToCountry Assign a language to a country @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param countryId @param languageId - @return CountryApiApiAddLanguageToCountryRequest + @return CountryApiAddLanguageToCountryRequest */ -func (a *CountryApiService) AddLanguageToCountry(ctx context.Context, countryId string, languageId string) CountryApiApiAddLanguageToCountryRequest { - return CountryApiApiAddLanguageToCountryRequest{ +func (a *CountryApiService) AddLanguageToCountry(ctx context.Context, countryId string, languageId string) CountryApiAddLanguageToCountryRequest { + return CountryApiAddLanguageToCountryRequest{ ApiService: a, ctx: ctx, countryId: countryId, @@ -53,7 +53,7 @@ func (a *CountryApiService) AddLanguageToCountry(ctx context.Context, countryId // Execute executes the request // @return CountryDetails -func (a *CountryApiService) AddLanguageToCountryExecute(r CountryApiApiAddLanguageToCountryRequest) (*CountryDetails, *http.Response, error) { +func (a *CountryApiService) AddLanguageToCountryExecute(r CountryApiAddLanguageToCountryRequest) (*CountryDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -135,18 +135,18 @@ func (a *CountryApiService) AddLanguageToCountryExecute(r CountryApiApiAddLangua return localVarReturnValue, localVarHTTPResponse, nil } -type CountryApiApiCreateCountryRequest struct { +type CountryApiCreateCountryRequest struct { ctx context.Context ApiService *CountryApiService country *Country } -func (r CountryApiApiCreateCountryRequest) Country(country Country) CountryApiApiCreateCountryRequest { +func (r CountryApiCreateCountryRequest) Country(country Country) CountryApiCreateCountryRequest { r.country = &country return r } -func (r CountryApiApiCreateCountryRequest) Execute() (*CountryDetails, *http.Response, error) { +func (r CountryApiCreateCountryRequest) Execute() (*CountryDetails, *http.Response, error) { return r.ApiService.CreateCountryExecute(r) } @@ -154,10 +154,10 @@ func (r CountryApiApiCreateCountryRequest) Execute() (*CountryDetails, *http.Res CreateCountry Create a new Country @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return CountryApiApiCreateCountryRequest + @return CountryApiCreateCountryRequest */ -func (a *CountryApiService) CreateCountry(ctx context.Context) CountryApiApiCreateCountryRequest { - return CountryApiApiCreateCountryRequest{ +func (a *CountryApiService) CreateCountry(ctx context.Context) CountryApiCreateCountryRequest { + return CountryApiCreateCountryRequest{ ApiService: a, ctx: ctx, } @@ -165,7 +165,7 @@ func (a *CountryApiService) CreateCountry(ctx context.Context) CountryApiApiCrea // Execute executes the request // @return CountryDetails -func (a *CountryApiService) CreateCountryExecute(r CountryApiApiCreateCountryRequest) (*CountryDetails, *http.Response, error) { +func (a *CountryApiService) CreateCountryExecute(r CountryApiCreateCountryRequest) (*CountryDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -250,13 +250,13 @@ func (a *CountryApiService) CreateCountryExecute(r CountryApiApiCreateCountryReq return localVarReturnValue, localVarHTTPResponse, nil } -type CountryApiApiDeleteCountryRequest struct { +type CountryApiDeleteCountryRequest struct { ctx context.Context ApiService *CountryApiService countryId string } -func (r CountryApiApiDeleteCountryRequest) Execute() (*Status, *http.Response, error) { +func (r CountryApiDeleteCountryRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeleteCountryExecute(r) } @@ -265,10 +265,10 @@ DeleteCountry Delete a Country @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param countryId - @return CountryApiApiDeleteCountryRequest + @return CountryApiDeleteCountryRequest */ -func (a *CountryApiService) DeleteCountry(ctx context.Context, countryId string) CountryApiApiDeleteCountryRequest { - return CountryApiApiDeleteCountryRequest{ +func (a *CountryApiService) DeleteCountry(ctx context.Context, countryId string) CountryApiDeleteCountryRequest { + return CountryApiDeleteCountryRequest{ ApiService: a, ctx: ctx, countryId: countryId, @@ -277,7 +277,7 @@ func (a *CountryApiService) DeleteCountry(ctx context.Context, countryId string) // Execute executes the request // @return Status -func (a *CountryApiService) DeleteCountryExecute(r CountryApiApiDeleteCountryRequest) (*Status, *http.Response, error) { +func (a *CountryApiService) DeleteCountryExecute(r CountryApiDeleteCountryRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -358,24 +358,24 @@ func (a *CountryApiService) DeleteCountryExecute(r CountryApiApiDeleteCountryReq return localVarReturnValue, localVarHTTPResponse, nil } -type CountryApiApiGetCountriesRequest struct { +type CountryApiGetCountriesRequest struct { ctx context.Context ApiService *CountryApiService skip *int32 limit *int32 } -func (r CountryApiApiGetCountriesRequest) Skip(skip int32) CountryApiApiGetCountriesRequest { +func (r CountryApiGetCountriesRequest) Skip(skip int32) CountryApiGetCountriesRequest { r.skip = &skip return r } -func (r CountryApiApiGetCountriesRequest) Limit(limit int32) CountryApiApiGetCountriesRequest { +func (r CountryApiGetCountriesRequest) Limit(limit int32) CountryApiGetCountriesRequest { r.limit = &limit return r } -func (r CountryApiApiGetCountriesRequest) Execute() (*PagedCountries, *http.Response, error) { +func (r CountryApiGetCountriesRequest) Execute() (*PagedCountries, *http.Response, error) { return r.ApiService.GetCountriesExecute(r) } @@ -383,10 +383,10 @@ func (r CountryApiApiGetCountriesRequest) Execute() (*PagedCountries, *http.Resp GetCountries Get all Countries @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return CountryApiApiGetCountriesRequest + @return CountryApiGetCountriesRequest */ -func (a *CountryApiService) GetCountries(ctx context.Context) CountryApiApiGetCountriesRequest { - return CountryApiApiGetCountriesRequest{ +func (a *CountryApiService) GetCountries(ctx context.Context) CountryApiGetCountriesRequest { + return CountryApiGetCountriesRequest{ ApiService: a, ctx: ctx, } @@ -394,7 +394,7 @@ func (a *CountryApiService) GetCountries(ctx context.Context) CountryApiApiGetCo // Execute executes the request // @return PagedCountries -func (a *CountryApiService) GetCountriesExecute(r CountryApiApiGetCountriesRequest) (*PagedCountries, *http.Response, error) { +func (a *CountryApiService) GetCountriesExecute(r CountryApiGetCountriesRequest) (*PagedCountries, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -473,13 +473,13 @@ func (a *CountryApiService) GetCountriesExecute(r CountryApiApiGetCountriesReque return localVarReturnValue, localVarHTTPResponse, nil } -type CountryApiApiGetCountryRequest struct { +type CountryApiGetCountryRequest struct { ctx context.Context ApiService *CountryApiService countryId string } -func (r CountryApiApiGetCountryRequest) Execute() (*CountryDetails, *http.Response, error) { +func (r CountryApiGetCountryRequest) Execute() (*CountryDetails, *http.Response, error) { return r.ApiService.GetCountryExecute(r) } @@ -488,10 +488,10 @@ GetCountry Get details about a Country @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param countryId - @return CountryApiApiGetCountryRequest + @return CountryApiGetCountryRequest */ -func (a *CountryApiService) GetCountry(ctx context.Context, countryId string) CountryApiApiGetCountryRequest { - return CountryApiApiGetCountryRequest{ +func (a *CountryApiService) GetCountry(ctx context.Context, countryId string) CountryApiGetCountryRequest { + return CountryApiGetCountryRequest{ ApiService: a, ctx: ctx, countryId: countryId, @@ -500,7 +500,7 @@ func (a *CountryApiService) GetCountry(ctx context.Context, countryId string) Co // Execute executes the request // @return CountryDetails -func (a *CountryApiService) GetCountryExecute(r CountryApiApiGetCountryRequest) (*CountryDetails, *http.Response, error) { +func (a *CountryApiService) GetCountryExecute(r CountryApiGetCountryRequest) (*CountryDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -581,14 +581,14 @@ func (a *CountryApiService) GetCountryExecute(r CountryApiApiGetCountryRequest) return localVarReturnValue, localVarHTTPResponse, nil } -type CountryApiApiRemoveLanguageFromCountryRequest struct { +type CountryApiRemoveLanguageFromCountryRequest struct { ctx context.Context ApiService *CountryApiService countryId string languageId string } -func (r CountryApiApiRemoveLanguageFromCountryRequest) Execute() (*CountryDetails, *http.Response, error) { +func (r CountryApiRemoveLanguageFromCountryRequest) Execute() (*CountryDetails, *http.Response, error) { return r.ApiService.RemoveLanguageFromCountryExecute(r) } @@ -598,10 +598,10 @@ RemoveLanguageFromCountry Assign a language to a country @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param countryId @param languageId - @return CountryApiApiRemoveLanguageFromCountryRequest + @return CountryApiRemoveLanguageFromCountryRequest */ -func (a *CountryApiService) RemoveLanguageFromCountry(ctx context.Context, countryId string, languageId string) CountryApiApiRemoveLanguageFromCountryRequest { - return CountryApiApiRemoveLanguageFromCountryRequest{ +func (a *CountryApiService) RemoveLanguageFromCountry(ctx context.Context, countryId string, languageId string) CountryApiRemoveLanguageFromCountryRequest { + return CountryApiRemoveLanguageFromCountryRequest{ ApiService: a, ctx: ctx, countryId: countryId, @@ -611,7 +611,7 @@ func (a *CountryApiService) RemoveLanguageFromCountry(ctx context.Context, count // Execute executes the request // @return CountryDetails -func (a *CountryApiService) RemoveLanguageFromCountryExecute(r CountryApiApiRemoveLanguageFromCountryRequest) (*CountryDetails, *http.Response, error) { +func (a *CountryApiService) RemoveLanguageFromCountryExecute(r CountryApiRemoveLanguageFromCountryRequest) (*CountryDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -693,19 +693,19 @@ func (a *CountryApiService) RemoveLanguageFromCountryExecute(r CountryApiApiRemo return localVarReturnValue, localVarHTTPResponse, nil } -type CountryApiApiUpdateCountryRequest struct { +type CountryApiUpdateCountryRequest struct { ctx context.Context ApiService *CountryApiService countryId string country *Country } -func (r CountryApiApiUpdateCountryRequest) Country(country Country) CountryApiApiUpdateCountryRequest { +func (r CountryApiUpdateCountryRequest) Country(country Country) CountryApiUpdateCountryRequest { r.country = &country return r } -func (r CountryApiApiUpdateCountryRequest) Execute() (*CountryDetails, *http.Response, error) { +func (r CountryApiUpdateCountryRequest) Execute() (*CountryDetails, *http.Response, error) { return r.ApiService.UpdateCountryExecute(r) } @@ -714,10 +714,10 @@ UpdateCountry Update a Country @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param countryId - @return CountryApiApiUpdateCountryRequest + @return CountryApiUpdateCountryRequest */ -func (a *CountryApiService) UpdateCountry(ctx context.Context, countryId string) CountryApiApiUpdateCountryRequest { - return CountryApiApiUpdateCountryRequest{ +func (a *CountryApiService) UpdateCountry(ctx context.Context, countryId string) CountryApiUpdateCountryRequest { + return CountryApiUpdateCountryRequest{ ApiService: a, ctx: ctx, countryId: countryId, @@ -726,7 +726,7 @@ func (a *CountryApiService) UpdateCountry(ctx context.Context, countryId string) // Execute executes the request // @return CountryDetails -func (a *CountryApiService) UpdateCountryExecute(r CountryApiApiUpdateCountryRequest) (*CountryDetails, *http.Response, error) { +func (a *CountryApiService) UpdateCountryExecute(r CountryApiUpdateCountryRequest) (*CountryDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} diff --git a/api_industry.go b/api_industry.go index 92c9b0ed..2c52fed1 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,14 +23,14 @@ import ( // IndustryApiService IndustryApi service type IndustryApiService service -type IndustryApiApiAttachOrganizationToIndustryRequest struct { +type IndustryApiAttachOrganizationToIndustryRequest struct { ctx context.Context ApiService *IndustryApiService organizationId string industryId string } -func (r IndustryApiApiAttachOrganizationToIndustryRequest) Execute() (*OrganizationDetails, *http.Response, error) { +func (r IndustryApiAttachOrganizationToIndustryRequest) Execute() (*OrganizationDetails, *http.Response, error) { return r.ApiService.AttachOrganizationToIndustryExecute(r) } @@ -40,10 +40,10 @@ AttachOrganizationToIndustry Add an Organization to an Industry @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param industryId - @return IndustryApiApiAttachOrganizationToIndustryRequest + @return IndustryApiAttachOrganizationToIndustryRequest */ -func (a *IndustryApiService) AttachOrganizationToIndustry(ctx context.Context, organizationId string, industryId string) IndustryApiApiAttachOrganizationToIndustryRequest { - return IndustryApiApiAttachOrganizationToIndustryRequest{ +func (a *IndustryApiService) AttachOrganizationToIndustry(ctx context.Context, organizationId string, industryId string) IndustryApiAttachOrganizationToIndustryRequest { + return IndustryApiAttachOrganizationToIndustryRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -53,7 +53,7 @@ func (a *IndustryApiService) AttachOrganizationToIndustry(ctx context.Context, o // Execute executes the request // @return OrganizationDetails -func (a *IndustryApiService) AttachOrganizationToIndustryExecute(r IndustryApiApiAttachOrganizationToIndustryRequest) (*OrganizationDetails, *http.Response, error) { +func (a *IndustryApiService) AttachOrganizationToIndustryExecute(r IndustryApiAttachOrganizationToIndustryRequest) (*OrganizationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -135,18 +135,18 @@ func (a *IndustryApiService) AttachOrganizationToIndustryExecute(r IndustryApiAp return localVarReturnValue, localVarHTTPResponse, nil } -type IndustryApiApiCreateIndustryRequest struct { +type IndustryApiCreateIndustryRequest struct { ctx context.Context ApiService *IndustryApiService industry *Industry } -func (r IndustryApiApiCreateIndustryRequest) Industry(industry Industry) IndustryApiApiCreateIndustryRequest { +func (r IndustryApiCreateIndustryRequest) Industry(industry Industry) IndustryApiCreateIndustryRequest { r.industry = &industry return r } -func (r IndustryApiApiCreateIndustryRequest) Execute() (*IndustryDetails, *http.Response, error) { +func (r IndustryApiCreateIndustryRequest) Execute() (*IndustryDetails, *http.Response, error) { return r.ApiService.CreateIndustryExecute(r) } @@ -154,10 +154,10 @@ func (r IndustryApiApiCreateIndustryRequest) Execute() (*IndustryDetails, *http. CreateIndustry Create an Industry @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return IndustryApiApiCreateIndustryRequest + @return IndustryApiCreateIndustryRequest */ -func (a *IndustryApiService) CreateIndustry(ctx context.Context) IndustryApiApiCreateIndustryRequest { - return IndustryApiApiCreateIndustryRequest{ +func (a *IndustryApiService) CreateIndustry(ctx context.Context) IndustryApiCreateIndustryRequest { + return IndustryApiCreateIndustryRequest{ ApiService: a, ctx: ctx, } @@ -165,7 +165,7 @@ func (a *IndustryApiService) CreateIndustry(ctx context.Context) IndustryApiApiC // Execute executes the request // @return IndustryDetails -func (a *IndustryApiService) CreateIndustryExecute(r IndustryApiApiCreateIndustryRequest) (*IndustryDetails, *http.Response, error) { +func (a *IndustryApiService) CreateIndustryExecute(r IndustryApiCreateIndustryRequest) (*IndustryDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -250,13 +250,13 @@ func (a *IndustryApiService) CreateIndustryExecute(r IndustryApiApiCreateIndustr return localVarReturnValue, localVarHTTPResponse, nil } -type IndustryApiApiDeleteIndustryRequest struct { +type IndustryApiDeleteIndustryRequest struct { ctx context.Context ApiService *IndustryApiService industryId string } -func (r IndustryApiApiDeleteIndustryRequest) Execute() (*Status, *http.Response, error) { +func (r IndustryApiDeleteIndustryRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeleteIndustryExecute(r) } @@ -265,10 +265,10 @@ DeleteIndustry Delete an Industry @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param industryId - @return IndustryApiApiDeleteIndustryRequest + @return IndustryApiDeleteIndustryRequest */ -func (a *IndustryApiService) DeleteIndustry(ctx context.Context, industryId string) IndustryApiApiDeleteIndustryRequest { - return IndustryApiApiDeleteIndustryRequest{ +func (a *IndustryApiService) DeleteIndustry(ctx context.Context, industryId string) IndustryApiDeleteIndustryRequest { + return IndustryApiDeleteIndustryRequest{ ApiService: a, ctx: ctx, industryId: industryId, @@ -277,7 +277,7 @@ func (a *IndustryApiService) DeleteIndustry(ctx context.Context, industryId stri // Execute executes the request // @return Status -func (a *IndustryApiService) DeleteIndustryExecute(r IndustryApiApiDeleteIndustryRequest) (*Status, *http.Response, error) { +func (a *IndustryApiService) DeleteIndustryExecute(r IndustryApiDeleteIndustryRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -358,14 +358,14 @@ func (a *IndustryApiService) DeleteIndustryExecute(r IndustryApiApiDeleteIndustr return localVarReturnValue, localVarHTTPResponse, nil } -type IndustryApiApiDetachOrganizationFromIndustryRequest struct { +type IndustryApiDetachOrganizationFromIndustryRequest struct { ctx context.Context ApiService *IndustryApiService organizationId string industryId string } -func (r IndustryApiApiDetachOrganizationFromIndustryRequest) Execute() (*OrganizationDetails, *http.Response, error) { +func (r IndustryApiDetachOrganizationFromIndustryRequest) Execute() (*OrganizationDetails, *http.Response, error) { return r.ApiService.DetachOrganizationFromIndustryExecute(r) } @@ -375,10 +375,10 @@ DetachOrganizationFromIndustry Remove an Organization to an Industry @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param industryId - @return IndustryApiApiDetachOrganizationFromIndustryRequest + @return IndustryApiDetachOrganizationFromIndustryRequest */ -func (a *IndustryApiService) DetachOrganizationFromIndustry(ctx context.Context, organizationId string, industryId string) IndustryApiApiDetachOrganizationFromIndustryRequest { - return IndustryApiApiDetachOrganizationFromIndustryRequest{ +func (a *IndustryApiService) DetachOrganizationFromIndustry(ctx context.Context, organizationId string, industryId string) IndustryApiDetachOrganizationFromIndustryRequest { + return IndustryApiDetachOrganizationFromIndustryRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -388,7 +388,7 @@ func (a *IndustryApiService) DetachOrganizationFromIndustry(ctx context.Context, // Execute executes the request // @return OrganizationDetails -func (a *IndustryApiService) DetachOrganizationFromIndustryExecute(r IndustryApiApiDetachOrganizationFromIndustryRequest) (*OrganizationDetails, *http.Response, error) { +func (a *IndustryApiService) DetachOrganizationFromIndustryExecute(r IndustryApiDetachOrganizationFromIndustryRequest) (*OrganizationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -470,24 +470,24 @@ func (a *IndustryApiService) DetachOrganizationFromIndustryExecute(r IndustryApi return localVarReturnValue, localVarHTTPResponse, nil } -type IndustryApiApiGetIndustriesRequest struct { +type IndustryApiGetIndustriesRequest struct { ctx context.Context ApiService *IndustryApiService skip *int32 limit *int32 } -func (r IndustryApiApiGetIndustriesRequest) Skip(skip int32) IndustryApiApiGetIndustriesRequest { +func (r IndustryApiGetIndustriesRequest) Skip(skip int32) IndustryApiGetIndustriesRequest { r.skip = &skip return r } -func (r IndustryApiApiGetIndustriesRequest) Limit(limit int32) IndustryApiApiGetIndustriesRequest { +func (r IndustryApiGetIndustriesRequest) Limit(limit int32) IndustryApiGetIndustriesRequest { r.limit = &limit return r } -func (r IndustryApiApiGetIndustriesRequest) Execute() (*PagedIndustries, *http.Response, error) { +func (r IndustryApiGetIndustriesRequest) Execute() (*PagedIndustries, *http.Response, error) { return r.ApiService.GetIndustriesExecute(r) } @@ -495,10 +495,10 @@ func (r IndustryApiApiGetIndustriesRequest) Execute() (*PagedIndustries, *http.R GetIndustries Get all Industries @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return IndustryApiApiGetIndustriesRequest + @return IndustryApiGetIndustriesRequest */ -func (a *IndustryApiService) GetIndustries(ctx context.Context) IndustryApiApiGetIndustriesRequest { - return IndustryApiApiGetIndustriesRequest{ +func (a *IndustryApiService) GetIndustries(ctx context.Context) IndustryApiGetIndustriesRequest { + return IndustryApiGetIndustriesRequest{ ApiService: a, ctx: ctx, } @@ -506,7 +506,7 @@ func (a *IndustryApiService) GetIndustries(ctx context.Context) IndustryApiApiGe // Execute executes the request // @return PagedIndustries -func (a *IndustryApiService) GetIndustriesExecute(r IndustryApiApiGetIndustriesRequest) (*PagedIndustries, *http.Response, error) { +func (a *IndustryApiService) GetIndustriesExecute(r IndustryApiGetIndustriesRequest) (*PagedIndustries, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -592,13 +592,13 @@ func (a *IndustryApiService) GetIndustriesExecute(r IndustryApiApiGetIndustriesR return localVarReturnValue, localVarHTTPResponse, nil } -type IndustryApiApiGetIndustryRequest struct { +type IndustryApiGetIndustryRequest struct { ctx context.Context ApiService *IndustryApiService industryId string } -func (r IndustryApiApiGetIndustryRequest) Execute() (*IndustryDetails, *http.Response, error) { +func (r IndustryApiGetIndustryRequest) Execute() (*IndustryDetails, *http.Response, error) { return r.ApiService.GetIndustryExecute(r) } @@ -607,10 +607,10 @@ GetIndustry Get details about an Industry @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param industryId - @return IndustryApiApiGetIndustryRequest + @return IndustryApiGetIndustryRequest */ -func (a *IndustryApiService) GetIndustry(ctx context.Context, industryId string) IndustryApiApiGetIndustryRequest { - return IndustryApiApiGetIndustryRequest{ +func (a *IndustryApiService) GetIndustry(ctx context.Context, industryId string) IndustryApiGetIndustryRequest { + return IndustryApiGetIndustryRequest{ ApiService: a, ctx: ctx, industryId: industryId, @@ -619,7 +619,7 @@ func (a *IndustryApiService) GetIndustry(ctx context.Context, industryId string) // Execute executes the request // @return IndustryDetails -func (a *IndustryApiService) GetIndustryExecute(r IndustryApiApiGetIndustryRequest) (*IndustryDetails, *http.Response, error) { +func (a *IndustryApiService) GetIndustryExecute(r IndustryApiGetIndustryRequest) (*IndustryDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -700,19 +700,19 @@ func (a *IndustryApiService) GetIndustryExecute(r IndustryApiApiGetIndustryReque return localVarReturnValue, localVarHTTPResponse, nil } -type IndustryApiApiUpdateIndustryRequest struct { +type IndustryApiUpdateIndustryRequest struct { ctx context.Context ApiService *IndustryApiService industryId string industry *Industry } -func (r IndustryApiApiUpdateIndustryRequest) Industry(industry Industry) IndustryApiApiUpdateIndustryRequest { +func (r IndustryApiUpdateIndustryRequest) Industry(industry Industry) IndustryApiUpdateIndustryRequest { r.industry = &industry return r } -func (r IndustryApiApiUpdateIndustryRequest) Execute() (*IndustryDetails, *http.Response, error) { +func (r IndustryApiUpdateIndustryRequest) Execute() (*IndustryDetails, *http.Response, error) { return r.ApiService.UpdateIndustryExecute(r) } @@ -721,10 +721,10 @@ UpdateIndustry Update an Industry @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param industryId - @return IndustryApiApiUpdateIndustryRequest + @return IndustryApiUpdateIndustryRequest */ -func (a *IndustryApiService) UpdateIndustry(ctx context.Context, industryId string) IndustryApiApiUpdateIndustryRequest { - return IndustryApiApiUpdateIndustryRequest{ +func (a *IndustryApiService) UpdateIndustry(ctx context.Context, industryId string) IndustryApiUpdateIndustryRequest { + return IndustryApiUpdateIndustryRequest{ ApiService: a, ctx: ctx, industryId: industryId, @@ -733,7 +733,7 @@ func (a *IndustryApiService) UpdateIndustry(ctx context.Context, industryId stri // Execute executes the request // @return IndustryDetails -func (a *IndustryApiService) UpdateIndustryExecute(r IndustryApiApiUpdateIndustryRequest) (*IndustryDetails, *http.Response, error) { +func (a *IndustryApiService) UpdateIndustryExecute(r IndustryApiUpdateIndustryRequest) (*IndustryDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} diff --git a/api_language.go b/api_language.go index 4b5497fe..2f33c332 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,14 +23,14 @@ import ( // LanguageApiService LanguageApi service type LanguageApiService service -type LanguageApiApiAddLanguageToCountryRequest struct { +type LanguageApiAddLanguageToCountryRequest struct { ctx context.Context ApiService *LanguageApiService countryId string languageId string } -func (r LanguageApiApiAddLanguageToCountryRequest) Execute() (*CountryDetails, *http.Response, error) { +func (r LanguageApiAddLanguageToCountryRequest) Execute() (*CountryDetails, *http.Response, error) { return r.ApiService.AddLanguageToCountryExecute(r) } @@ -40,10 +40,10 @@ AddLanguageToCountry Assign a language to a country @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param countryId @param languageId - @return LanguageApiApiAddLanguageToCountryRequest + @return LanguageApiAddLanguageToCountryRequest */ -func (a *LanguageApiService) AddLanguageToCountry(ctx context.Context, countryId string, languageId string) LanguageApiApiAddLanguageToCountryRequest { - return LanguageApiApiAddLanguageToCountryRequest{ +func (a *LanguageApiService) AddLanguageToCountry(ctx context.Context, countryId string, languageId string) LanguageApiAddLanguageToCountryRequest { + return LanguageApiAddLanguageToCountryRequest{ ApiService: a, ctx: ctx, countryId: countryId, @@ -53,7 +53,7 @@ func (a *LanguageApiService) AddLanguageToCountry(ctx context.Context, countryId // Execute executes the request // @return CountryDetails -func (a *LanguageApiService) AddLanguageToCountryExecute(r LanguageApiApiAddLanguageToCountryRequest) (*CountryDetails, *http.Response, error) { +func (a *LanguageApiService) AddLanguageToCountryExecute(r LanguageApiAddLanguageToCountryRequest) (*CountryDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -135,7 +135,7 @@ func (a *LanguageApiService) AddLanguageToCountryExecute(r LanguageApiApiAddLang return localVarReturnValue, localVarHTTPResponse, nil } -type LanguageApiApiAddPersonLanguageRequest struct { +type LanguageApiAddPersonLanguageRequest struct { ctx context.Context ApiService *LanguageApiService personId string @@ -143,12 +143,12 @@ type LanguageApiApiAddPersonLanguageRequest struct { level *Level } -func (r LanguageApiApiAddPersonLanguageRequest) Level(level Level) LanguageApiApiAddPersonLanguageRequest { +func (r LanguageApiAddPersonLanguageRequest) Level(level Level) LanguageApiAddPersonLanguageRequest { r.level = &level return r } -func (r LanguageApiApiAddPersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r LanguageApiAddPersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonLanguageExecute(r) } @@ -158,10 +158,10 @@ AddPersonLanguage Assign a language to the person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param languageId - @return LanguageApiApiAddPersonLanguageRequest + @return LanguageApiAddPersonLanguageRequest */ -func (a *LanguageApiService) AddPersonLanguage(ctx context.Context, personId string, languageId string) LanguageApiApiAddPersonLanguageRequest { - return LanguageApiApiAddPersonLanguageRequest{ +func (a *LanguageApiService) AddPersonLanguage(ctx context.Context, personId string, languageId string) LanguageApiAddPersonLanguageRequest { + return LanguageApiAddPersonLanguageRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -171,7 +171,7 @@ func (a *LanguageApiService) AddPersonLanguage(ctx context.Context, personId str // Execute executes the request // @return PersonDetails -func (a *LanguageApiService) AddPersonLanguageExecute(r LanguageApiApiAddPersonLanguageRequest) (*PersonDetails, *http.Response, error) { +func (a *LanguageApiService) AddPersonLanguageExecute(r LanguageApiAddPersonLanguageRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -258,18 +258,18 @@ func (a *LanguageApiService) AddPersonLanguageExecute(r LanguageApiApiAddPersonL return localVarReturnValue, localVarHTTPResponse, nil } -type LanguageApiApiCreateLanguageRequest struct { +type LanguageApiCreateLanguageRequest struct { ctx context.Context ApiService *LanguageApiService language *Language } -func (r LanguageApiApiCreateLanguageRequest) Language(language Language) LanguageApiApiCreateLanguageRequest { +func (r LanguageApiCreateLanguageRequest) Language(language Language) LanguageApiCreateLanguageRequest { r.language = &language return r } -func (r LanguageApiApiCreateLanguageRequest) Execute() (*LanguageDetails, *http.Response, error) { +func (r LanguageApiCreateLanguageRequest) Execute() (*LanguageDetails, *http.Response, error) { return r.ApiService.CreateLanguageExecute(r) } @@ -277,10 +277,10 @@ func (r LanguageApiApiCreateLanguageRequest) Execute() (*LanguageDetails, *http. CreateLanguage Create a new language @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return LanguageApiApiCreateLanguageRequest + @return LanguageApiCreateLanguageRequest */ -func (a *LanguageApiService) CreateLanguage(ctx context.Context) LanguageApiApiCreateLanguageRequest { - return LanguageApiApiCreateLanguageRequest{ +func (a *LanguageApiService) CreateLanguage(ctx context.Context) LanguageApiCreateLanguageRequest { + return LanguageApiCreateLanguageRequest{ ApiService: a, ctx: ctx, } @@ -288,7 +288,7 @@ func (a *LanguageApiService) CreateLanguage(ctx context.Context) LanguageApiApiC // Execute executes the request // @return LanguageDetails -func (a *LanguageApiService) CreateLanguageExecute(r LanguageApiApiCreateLanguageRequest) (*LanguageDetails, *http.Response, error) { +func (a *LanguageApiService) CreateLanguageExecute(r LanguageApiCreateLanguageRequest) (*LanguageDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -373,13 +373,13 @@ func (a *LanguageApiService) CreateLanguageExecute(r LanguageApiApiCreateLanguag return localVarReturnValue, localVarHTTPResponse, nil } -type LanguageApiApiDeleteLanguageRequest struct { +type LanguageApiDeleteLanguageRequest struct { ctx context.Context ApiService *LanguageApiService languageId string } -func (r LanguageApiApiDeleteLanguageRequest) Execute() (*Status, *http.Response, error) { +func (r LanguageApiDeleteLanguageRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeleteLanguageExecute(r) } @@ -388,10 +388,10 @@ DeleteLanguage Delete a language @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param languageId - @return LanguageApiApiDeleteLanguageRequest + @return LanguageApiDeleteLanguageRequest */ -func (a *LanguageApiService) DeleteLanguage(ctx context.Context, languageId string) LanguageApiApiDeleteLanguageRequest { - return LanguageApiApiDeleteLanguageRequest{ +func (a *LanguageApiService) DeleteLanguage(ctx context.Context, languageId string) LanguageApiDeleteLanguageRequest { + return LanguageApiDeleteLanguageRequest{ ApiService: a, ctx: ctx, languageId: languageId, @@ -400,7 +400,7 @@ func (a *LanguageApiService) DeleteLanguage(ctx context.Context, languageId stri // Execute executes the request // @return Status -func (a *LanguageApiService) DeleteLanguageExecute(r LanguageApiApiDeleteLanguageRequest) (*Status, *http.Response, error) { +func (a *LanguageApiService) DeleteLanguageExecute(r LanguageApiDeleteLanguageRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -483,13 +483,13 @@ func (a *LanguageApiService) DeleteLanguageExecute(r LanguageApiApiDeleteLanguag return localVarReturnValue, localVarHTTPResponse, nil } -type LanguageApiApiGetLanguageRequest struct { +type LanguageApiGetLanguageRequest struct { ctx context.Context ApiService *LanguageApiService languageId string } -func (r LanguageApiApiGetLanguageRequest) Execute() (*LanguageDetails, *http.Response, error) { +func (r LanguageApiGetLanguageRequest) Execute() (*LanguageDetails, *http.Response, error) { return r.ApiService.GetLanguageExecute(r) } @@ -498,10 +498,10 @@ GetLanguage Get details about a language @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param languageId - @return LanguageApiApiGetLanguageRequest + @return LanguageApiGetLanguageRequest */ -func (a *LanguageApiService) GetLanguage(ctx context.Context, languageId string) LanguageApiApiGetLanguageRequest { - return LanguageApiApiGetLanguageRequest{ +func (a *LanguageApiService) GetLanguage(ctx context.Context, languageId string) LanguageApiGetLanguageRequest { + return LanguageApiGetLanguageRequest{ ApiService: a, ctx: ctx, languageId: languageId, @@ -510,7 +510,7 @@ func (a *LanguageApiService) GetLanguage(ctx context.Context, languageId string) // Execute executes the request // @return LanguageDetails -func (a *LanguageApiService) GetLanguageExecute(r LanguageApiApiGetLanguageRequest) (*LanguageDetails, *http.Response, error) { +func (a *LanguageApiService) GetLanguageExecute(r LanguageApiGetLanguageRequest) (*LanguageDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -591,24 +591,24 @@ func (a *LanguageApiService) GetLanguageExecute(r LanguageApiApiGetLanguageReque return localVarReturnValue, localVarHTTPResponse, nil } -type LanguageApiApiGetLanguagesRequest struct { +type LanguageApiGetLanguagesRequest struct { ctx context.Context ApiService *LanguageApiService skip *int32 limit *int32 } -func (r LanguageApiApiGetLanguagesRequest) Skip(skip int32) LanguageApiApiGetLanguagesRequest { +func (r LanguageApiGetLanguagesRequest) Skip(skip int32) LanguageApiGetLanguagesRequest { r.skip = &skip return r } -func (r LanguageApiApiGetLanguagesRequest) Limit(limit int32) LanguageApiApiGetLanguagesRequest { +func (r LanguageApiGetLanguagesRequest) Limit(limit int32) LanguageApiGetLanguagesRequest { r.limit = &limit return r } -func (r LanguageApiApiGetLanguagesRequest) Execute() (*PagedLanguages, *http.Response, error) { +func (r LanguageApiGetLanguagesRequest) Execute() (*PagedLanguages, *http.Response, error) { return r.ApiService.GetLanguagesExecute(r) } @@ -616,10 +616,10 @@ func (r LanguageApiApiGetLanguagesRequest) Execute() (*PagedLanguages, *http.Res GetLanguages Get a list of Languages @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return LanguageApiApiGetLanguagesRequest + @return LanguageApiGetLanguagesRequest */ -func (a *LanguageApiService) GetLanguages(ctx context.Context) LanguageApiApiGetLanguagesRequest { - return LanguageApiApiGetLanguagesRequest{ +func (a *LanguageApiService) GetLanguages(ctx context.Context) LanguageApiGetLanguagesRequest { + return LanguageApiGetLanguagesRequest{ ApiService: a, ctx: ctx, } @@ -627,7 +627,7 @@ func (a *LanguageApiService) GetLanguages(ctx context.Context) LanguageApiApiGet // Execute executes the request // @return PagedLanguages -func (a *LanguageApiService) GetLanguagesExecute(r LanguageApiApiGetLanguagesRequest) (*PagedLanguages, *http.Response, error) { +func (a *LanguageApiService) GetLanguagesExecute(r LanguageApiGetLanguagesRequest) (*PagedLanguages, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -713,14 +713,14 @@ func (a *LanguageApiService) GetLanguagesExecute(r LanguageApiApiGetLanguagesReq return localVarReturnValue, localVarHTTPResponse, nil } -type LanguageApiApiRemoveLanguageFromCountryRequest struct { +type LanguageApiRemoveLanguageFromCountryRequest struct { ctx context.Context ApiService *LanguageApiService countryId string languageId string } -func (r LanguageApiApiRemoveLanguageFromCountryRequest) Execute() (*CountryDetails, *http.Response, error) { +func (r LanguageApiRemoveLanguageFromCountryRequest) Execute() (*CountryDetails, *http.Response, error) { return r.ApiService.RemoveLanguageFromCountryExecute(r) } @@ -730,10 +730,10 @@ RemoveLanguageFromCountry Assign a language to a country @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param countryId @param languageId - @return LanguageApiApiRemoveLanguageFromCountryRequest + @return LanguageApiRemoveLanguageFromCountryRequest */ -func (a *LanguageApiService) RemoveLanguageFromCountry(ctx context.Context, countryId string, languageId string) LanguageApiApiRemoveLanguageFromCountryRequest { - return LanguageApiApiRemoveLanguageFromCountryRequest{ +func (a *LanguageApiService) RemoveLanguageFromCountry(ctx context.Context, countryId string, languageId string) LanguageApiRemoveLanguageFromCountryRequest { + return LanguageApiRemoveLanguageFromCountryRequest{ ApiService: a, ctx: ctx, countryId: countryId, @@ -743,7 +743,7 @@ func (a *LanguageApiService) RemoveLanguageFromCountry(ctx context.Context, coun // Execute executes the request // @return CountryDetails -func (a *LanguageApiService) RemoveLanguageFromCountryExecute(r LanguageApiApiRemoveLanguageFromCountryRequest) (*CountryDetails, *http.Response, error) { +func (a *LanguageApiService) RemoveLanguageFromCountryExecute(r LanguageApiRemoveLanguageFromCountryRequest) (*CountryDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -825,14 +825,14 @@ func (a *LanguageApiService) RemoveLanguageFromCountryExecute(r LanguageApiApiRe return localVarReturnValue, localVarHTTPResponse, nil } -type LanguageApiApiRemovePersonLanguageRequest struct { +type LanguageApiRemovePersonLanguageRequest struct { ctx context.Context ApiService *LanguageApiService personId string languageId string } -func (r LanguageApiApiRemovePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r LanguageApiRemovePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.RemovePersonLanguageExecute(r) } @@ -842,10 +842,10 @@ RemovePersonLanguage Remove a language from a person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param languageId - @return LanguageApiApiRemovePersonLanguageRequest + @return LanguageApiRemovePersonLanguageRequest */ -func (a *LanguageApiService) RemovePersonLanguage(ctx context.Context, personId string, languageId string) LanguageApiApiRemovePersonLanguageRequest { - return LanguageApiApiRemovePersonLanguageRequest{ +func (a *LanguageApiService) RemovePersonLanguage(ctx context.Context, personId string, languageId string) LanguageApiRemovePersonLanguageRequest { + return LanguageApiRemovePersonLanguageRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -855,7 +855,7 @@ func (a *LanguageApiService) RemovePersonLanguage(ctx context.Context, personId // Execute executes the request // @return PersonDetails -func (a *LanguageApiService) RemovePersonLanguageExecute(r LanguageApiApiRemovePersonLanguageRequest) (*PersonDetails, *http.Response, error) { +func (a *LanguageApiService) RemovePersonLanguageExecute(r LanguageApiRemovePersonLanguageRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -937,7 +937,7 @@ func (a *LanguageApiService) RemovePersonLanguageExecute(r LanguageApiApiRemoveP return localVarReturnValue, localVarHTTPResponse, nil } -type LanguageApiApiUupdatePersonLanguageRequest struct { +type LanguageApiUupdatePersonLanguageRequest struct { ctx context.Context ApiService *LanguageApiService personId string @@ -945,12 +945,12 @@ type LanguageApiApiUupdatePersonLanguageRequest struct { level *Level } -func (r LanguageApiApiUupdatePersonLanguageRequest) Level(level Level) LanguageApiApiUupdatePersonLanguageRequest { +func (r LanguageApiUupdatePersonLanguageRequest) Level(level Level) LanguageApiUupdatePersonLanguageRequest { r.level = &level return r } -func (r LanguageApiApiUupdatePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r LanguageApiUupdatePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UupdatePersonLanguageExecute(r) } @@ -960,10 +960,10 @@ UupdatePersonLanguage Update a language of a person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param languageId - @return LanguageApiApiUupdatePersonLanguageRequest + @return LanguageApiUupdatePersonLanguageRequest */ -func (a *LanguageApiService) UupdatePersonLanguage(ctx context.Context, personId string, languageId string) LanguageApiApiUupdatePersonLanguageRequest { - return LanguageApiApiUupdatePersonLanguageRequest{ +func (a *LanguageApiService) UupdatePersonLanguage(ctx context.Context, personId string, languageId string) LanguageApiUupdatePersonLanguageRequest { + return LanguageApiUupdatePersonLanguageRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -973,7 +973,7 @@ func (a *LanguageApiService) UupdatePersonLanguage(ctx context.Context, personId // Execute executes the request // @return PersonDetails -func (a *LanguageApiService) UupdatePersonLanguageExecute(r LanguageApiApiUupdatePersonLanguageRequest) (*PersonDetails, *http.Response, error) { +func (a *LanguageApiService) UupdatePersonLanguageExecute(r LanguageApiUupdatePersonLanguageRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} diff --git a/api_office.go b/api_office.go index 96edace2..05cdcd78 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,14 +23,14 @@ import ( // OfficeApiService OfficeApi service type OfficeApiService service -type OfficeApiApiAddPersonOfficeRequest struct { +type OfficeApiAddPersonOfficeRequest struct { ctx context.Context ApiService *OfficeApiService personId string officeId string } -func (r OfficeApiApiAddPersonOfficeRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r OfficeApiAddPersonOfficeRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonOfficeExecute(r) } @@ -40,10 +40,10 @@ AddPersonOffice Assing a person to an office @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param officeId - @return OfficeApiApiAddPersonOfficeRequest + @return OfficeApiAddPersonOfficeRequest */ -func (a *OfficeApiService) AddPersonOffice(ctx context.Context, personId string, officeId string) OfficeApiApiAddPersonOfficeRequest { - return OfficeApiApiAddPersonOfficeRequest{ +func (a *OfficeApiService) AddPersonOffice(ctx context.Context, personId string, officeId string) OfficeApiAddPersonOfficeRequest { + return OfficeApiAddPersonOfficeRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -53,7 +53,7 @@ func (a *OfficeApiService) AddPersonOffice(ctx context.Context, personId string, // Execute executes the request // @return PersonDetails -func (a *OfficeApiService) AddPersonOfficeExecute(r OfficeApiApiAddPersonOfficeRequest) (*PersonDetails, *http.Response, error) { +func (a *OfficeApiService) AddPersonOfficeExecute(r OfficeApiAddPersonOfficeRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -135,19 +135,19 @@ func (a *OfficeApiService) AddPersonOfficeExecute(r OfficeApiApiAddPersonOfficeR return localVarReturnValue, localVarHTTPResponse, nil } -type OfficeApiApiCreateOfficeRequest struct { +type OfficeApiCreateOfficeRequest struct { ctx context.Context ApiService *OfficeApiService organizationId string office *Office } -func (r OfficeApiApiCreateOfficeRequest) Office(office Office) OfficeApiApiCreateOfficeRequest { +func (r OfficeApiCreateOfficeRequest) Office(office Office) OfficeApiCreateOfficeRequest { r.office = &office return r } -func (r OfficeApiApiCreateOfficeRequest) Execute() (*OrganizationDetails, *http.Response, error) { +func (r OfficeApiCreateOfficeRequest) Execute() (*OrganizationDetails, *http.Response, error) { return r.ApiService.CreateOfficeExecute(r) } @@ -156,10 +156,10 @@ CreateOffice Create an Office in an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return OfficeApiApiCreateOfficeRequest + @return OfficeApiCreateOfficeRequest */ -func (a *OfficeApiService) CreateOffice(ctx context.Context, organizationId string) OfficeApiApiCreateOfficeRequest { - return OfficeApiApiCreateOfficeRequest{ +func (a *OfficeApiService) CreateOffice(ctx context.Context, organizationId string) OfficeApiCreateOfficeRequest { + return OfficeApiCreateOfficeRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -168,7 +168,7 @@ func (a *OfficeApiService) CreateOffice(ctx context.Context, organizationId stri // Execute executes the request // @return OrganizationDetails -func (a *OfficeApiService) CreateOfficeExecute(r OfficeApiApiCreateOfficeRequest) (*OrganizationDetails, *http.Response, error) { +func (a *OfficeApiService) CreateOfficeExecute(r OfficeApiCreateOfficeRequest) (*OrganizationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -254,14 +254,14 @@ func (a *OfficeApiService) CreateOfficeExecute(r OfficeApiApiCreateOfficeRequest return localVarReturnValue, localVarHTTPResponse, nil } -type OfficeApiApiDeleteOfficeRequest struct { +type OfficeApiDeleteOfficeRequest struct { ctx context.Context ApiService *OfficeApiService organizationId string officeId string } -func (r OfficeApiApiDeleteOfficeRequest) Execute() (*Status, *http.Response, error) { +func (r OfficeApiDeleteOfficeRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeleteOfficeExecute(r) } @@ -271,10 +271,10 @@ DeleteOffice Delte an Office from an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param officeId - @return OfficeApiApiDeleteOfficeRequest + @return OfficeApiDeleteOfficeRequest */ -func (a *OfficeApiService) DeleteOffice(ctx context.Context, organizationId string, officeId string) OfficeApiApiDeleteOfficeRequest { - return OfficeApiApiDeleteOfficeRequest{ +func (a *OfficeApiService) DeleteOffice(ctx context.Context, organizationId string, officeId string) OfficeApiDeleteOfficeRequest { + return OfficeApiDeleteOfficeRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -284,7 +284,7 @@ func (a *OfficeApiService) DeleteOffice(ctx context.Context, organizationId stri // Execute executes the request // @return Status -func (a *OfficeApiService) DeleteOfficeExecute(r OfficeApiApiDeleteOfficeRequest) (*Status, *http.Response, error) { +func (a *OfficeApiService) DeleteOfficeExecute(r OfficeApiDeleteOfficeRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -366,14 +366,14 @@ func (a *OfficeApiService) DeleteOfficeExecute(r OfficeApiApiDeleteOfficeRequest return localVarReturnValue, localVarHTTPResponse, nil } -type OfficeApiApiDeletePersonOfficeRequest struct { +type OfficeApiDeletePersonOfficeRequest struct { ctx context.Context ApiService *OfficeApiService personId string officeId string } -func (r OfficeApiApiDeletePersonOfficeRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r OfficeApiDeletePersonOfficeRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonOfficeExecute(r) } @@ -383,10 +383,10 @@ DeletePersonOffice Delete the office from a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param officeId - @return OfficeApiApiDeletePersonOfficeRequest + @return OfficeApiDeletePersonOfficeRequest */ -func (a *OfficeApiService) DeletePersonOffice(ctx context.Context, personId string, officeId string) OfficeApiApiDeletePersonOfficeRequest { - return OfficeApiApiDeletePersonOfficeRequest{ +func (a *OfficeApiService) DeletePersonOffice(ctx context.Context, personId string, officeId string) OfficeApiDeletePersonOfficeRequest { + return OfficeApiDeletePersonOfficeRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -396,7 +396,7 @@ func (a *OfficeApiService) DeletePersonOffice(ctx context.Context, personId stri // Execute executes the request // @return PersonDetails -func (a *OfficeApiService) DeletePersonOfficeExecute(r OfficeApiApiDeletePersonOfficeRequest) (*PersonDetails, *http.Response, error) { +func (a *OfficeApiService) DeletePersonOfficeExecute(r OfficeApiDeletePersonOfficeRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -478,14 +478,14 @@ func (a *OfficeApiService) DeletePersonOfficeExecute(r OfficeApiApiDeletePersonO return localVarReturnValue, localVarHTTPResponse, nil } -type OfficeApiApiGetOfficeRequest struct { +type OfficeApiGetOfficeRequest struct { ctx context.Context ApiService *OfficeApiService organizationId string officeId string } -func (r OfficeApiApiGetOfficeRequest) Execute() (*Office, *http.Response, error) { +func (r OfficeApiGetOfficeRequest) Execute() (*Office, *http.Response, error) { return r.ApiService.GetOfficeExecute(r) } @@ -495,10 +495,10 @@ GetOffice Get an Office for an Organiaztion @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param officeId - @return OfficeApiApiGetOfficeRequest + @return OfficeApiGetOfficeRequest */ -func (a *OfficeApiService) GetOffice(ctx context.Context, organizationId string, officeId string) OfficeApiApiGetOfficeRequest { - return OfficeApiApiGetOfficeRequest{ +func (a *OfficeApiService) GetOffice(ctx context.Context, organizationId string, officeId string) OfficeApiGetOfficeRequest { + return OfficeApiGetOfficeRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -508,7 +508,7 @@ func (a *OfficeApiService) GetOffice(ctx context.Context, organizationId string, // Execute executes the request // @return Office -func (a *OfficeApiService) GetOfficeExecute(r OfficeApiApiGetOfficeRequest) (*Office, *http.Response, error) { +func (a *OfficeApiService) GetOfficeExecute(r OfficeApiGetOfficeRequest) (*Office, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -590,7 +590,7 @@ func (a *OfficeApiService) GetOfficeExecute(r OfficeApiApiGetOfficeRequest) (*Of return localVarReturnValue, localVarHTTPResponse, nil } -type OfficeApiApiUpdateOfficeRequest struct { +type OfficeApiUpdateOfficeRequest struct { ctx context.Context ApiService *OfficeApiService organizationId string @@ -598,12 +598,12 @@ type OfficeApiApiUpdateOfficeRequest struct { office *Office } -func (r OfficeApiApiUpdateOfficeRequest) Office(office Office) OfficeApiApiUpdateOfficeRequest { +func (r OfficeApiUpdateOfficeRequest) Office(office Office) OfficeApiUpdateOfficeRequest { r.office = &office return r } -func (r OfficeApiApiUpdateOfficeRequest) Execute() (*Office, *http.Response, error) { +func (r OfficeApiUpdateOfficeRequest) Execute() (*Office, *http.Response, error) { return r.ApiService.UpdateOfficeExecute(r) } @@ -613,10 +613,10 @@ UpdateOffice Update an Office for an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param officeId - @return OfficeApiApiUpdateOfficeRequest + @return OfficeApiUpdateOfficeRequest */ -func (a *OfficeApiService) UpdateOffice(ctx context.Context, organizationId string, officeId string) OfficeApiApiUpdateOfficeRequest { - return OfficeApiApiUpdateOfficeRequest{ +func (a *OfficeApiService) UpdateOffice(ctx context.Context, organizationId string, officeId string) OfficeApiUpdateOfficeRequest { + return OfficeApiUpdateOfficeRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -626,7 +626,7 @@ func (a *OfficeApiService) UpdateOffice(ctx context.Context, organizationId stri // Execute executes the request // @return Office -func (a *OfficeApiService) UpdateOfficeExecute(r OfficeApiApiUpdateOfficeRequest) (*Office, *http.Response, error) { +func (a *OfficeApiService) UpdateOfficeExecute(r OfficeApiUpdateOfficeRequest) (*Office, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} diff --git a/api_organization.go b/api_organization.go index 43ff2a01..c45229bd 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,14 +23,14 @@ import ( // OrganizationApiService OrganizationApi service type OrganizationApiService service -type OrganizationApiApiAttachOrganizationToIndustryRequest struct { +type OrganizationApiAttachOrganizationToIndustryRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string industryId string } -func (r OrganizationApiApiAttachOrganizationToIndustryRequest) Execute() (*OrganizationDetails, *http.Response, error) { +func (r OrganizationApiAttachOrganizationToIndustryRequest) Execute() (*OrganizationDetails, *http.Response, error) { return r.ApiService.AttachOrganizationToIndustryExecute(r) } @@ -40,10 +40,10 @@ AttachOrganizationToIndustry Add an Organization to an Industry @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param industryId - @return OrganizationApiApiAttachOrganizationToIndustryRequest + @return OrganizationApiAttachOrganizationToIndustryRequest */ -func (a *OrganizationApiService) AttachOrganizationToIndustry(ctx context.Context, organizationId string, industryId string) OrganizationApiApiAttachOrganizationToIndustryRequest { - return OrganizationApiApiAttachOrganizationToIndustryRequest{ +func (a *OrganizationApiService) AttachOrganizationToIndustry(ctx context.Context, organizationId string, industryId string) OrganizationApiAttachOrganizationToIndustryRequest { + return OrganizationApiAttachOrganizationToIndustryRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -53,7 +53,7 @@ func (a *OrganizationApiService) AttachOrganizationToIndustry(ctx context.Contex // Execute executes the request // @return OrganizationDetails -func (a *OrganizationApiService) AttachOrganizationToIndustryExecute(r OrganizationApiApiAttachOrganizationToIndustryRequest) (*OrganizationDetails, *http.Response, error) { +func (a *OrganizationApiService) AttachOrganizationToIndustryExecute(r OrganizationApiAttachOrganizationToIndustryRequest) (*OrganizationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -135,19 +135,19 @@ func (a *OrganizationApiService) AttachOrganizationToIndustryExecute(r Organizat return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiCreateCertificationRequest struct { +type OrganizationApiCreateCertificationRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string certification *Certification } -func (r OrganizationApiApiCreateCertificationRequest) Certification(certification Certification) OrganizationApiApiCreateCertificationRequest { +func (r OrganizationApiCreateCertificationRequest) Certification(certification Certification) OrganizationApiCreateCertificationRequest { r.certification = &certification return r } -func (r OrganizationApiApiCreateCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r OrganizationApiCreateCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.CreateCertificationExecute(r) } @@ -156,10 +156,10 @@ CreateCertification Create a Certification in an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return OrganizationApiApiCreateCertificationRequest + @return OrganizationApiCreateCertificationRequest */ -func (a *OrganizationApiService) CreateCertification(ctx context.Context, organizationId string) OrganizationApiApiCreateCertificationRequest { - return OrganizationApiApiCreateCertificationRequest{ +func (a *OrganizationApiService) CreateCertification(ctx context.Context, organizationId string) OrganizationApiCreateCertificationRequest { + return OrganizationApiCreateCertificationRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -168,7 +168,7 @@ func (a *OrganizationApiService) CreateCertification(ctx context.Context, organi // Execute executes the request // @return CertificationDetails -func (a *OrganizationApiService) CreateCertificationExecute(r OrganizationApiApiCreateCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *OrganizationApiService) CreateCertificationExecute(r OrganizationApiCreateCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -254,19 +254,19 @@ func (a *OrganizationApiService) CreateCertificationExecute(r OrganizationApiApi return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiCreateOfficeRequest struct { +type OrganizationApiCreateOfficeRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string office *Office } -func (r OrganizationApiApiCreateOfficeRequest) Office(office Office) OrganizationApiApiCreateOfficeRequest { +func (r OrganizationApiCreateOfficeRequest) Office(office Office) OrganizationApiCreateOfficeRequest { r.office = &office return r } -func (r OrganizationApiApiCreateOfficeRequest) Execute() (*OrganizationDetails, *http.Response, error) { +func (r OrganizationApiCreateOfficeRequest) Execute() (*OrganizationDetails, *http.Response, error) { return r.ApiService.CreateOfficeExecute(r) } @@ -275,10 +275,10 @@ CreateOffice Create an Office in an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return OrganizationApiApiCreateOfficeRequest + @return OrganizationApiCreateOfficeRequest */ -func (a *OrganizationApiService) CreateOffice(ctx context.Context, organizationId string) OrganizationApiApiCreateOfficeRequest { - return OrganizationApiApiCreateOfficeRequest{ +func (a *OrganizationApiService) CreateOffice(ctx context.Context, organizationId string) OrganizationApiCreateOfficeRequest { + return OrganizationApiCreateOfficeRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -287,7 +287,7 @@ func (a *OrganizationApiService) CreateOffice(ctx context.Context, organizationI // Execute executes the request // @return OrganizationDetails -func (a *OrganizationApiService) CreateOfficeExecute(r OrganizationApiApiCreateOfficeRequest) (*OrganizationDetails, *http.Response, error) { +func (a *OrganizationApiService) CreateOfficeExecute(r OrganizationApiCreateOfficeRequest) (*OrganizationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -373,19 +373,19 @@ func (a *OrganizationApiService) CreateOfficeExecute(r OrganizationApiApiCreateO return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiCreateOrganizationRequest struct { +type OrganizationApiCreateOrganizationRequest struct { ctx context.Context ApiService *OrganizationApiService organization *Organization } // Details about the Organization -func (r OrganizationApiApiCreateOrganizationRequest) Organization(organization Organization) OrganizationApiApiCreateOrganizationRequest { +func (r OrganizationApiCreateOrganizationRequest) Organization(organization Organization) OrganizationApiCreateOrganizationRequest { r.organization = &organization return r } -func (r OrganizationApiApiCreateOrganizationRequest) Execute() (*OrganizationDetails, *http.Response, error) { +func (r OrganizationApiCreateOrganizationRequest) Execute() (*OrganizationDetails, *http.Response, error) { return r.ApiService.CreateOrganizationExecute(r) } @@ -393,10 +393,10 @@ func (r OrganizationApiApiCreateOrganizationRequest) Execute() (*OrganizationDet CreateOrganization Create an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return OrganizationApiApiCreateOrganizationRequest + @return OrganizationApiCreateOrganizationRequest */ -func (a *OrganizationApiService) CreateOrganization(ctx context.Context) OrganizationApiApiCreateOrganizationRequest { - return OrganizationApiApiCreateOrganizationRequest{ +func (a *OrganizationApiService) CreateOrganization(ctx context.Context) OrganizationApiCreateOrganizationRequest { + return OrganizationApiCreateOrganizationRequest{ ApiService: a, ctx: ctx, } @@ -404,7 +404,7 @@ func (a *OrganizationApiService) CreateOrganization(ctx context.Context) Organiz // Execute executes the request // @return OrganizationDetails -func (a *OrganizationApiService) CreateOrganizationExecute(r OrganizationApiApiCreateOrganizationRequest) (*OrganizationDetails, *http.Response, error) { +func (a *OrganizationApiService) CreateOrganizationExecute(r OrganizationApiCreateOrganizationRequest) (*OrganizationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -489,19 +489,19 @@ func (a *OrganizationApiService) CreateOrganizationExecute(r OrganizationApiApiC return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiCreateProjectRequest struct { +type OrganizationApiCreateProjectRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string project *Project } -func (r OrganizationApiApiCreateProjectRequest) Project(project Project) OrganizationApiApiCreateProjectRequest { +func (r OrganizationApiCreateProjectRequest) Project(project Project) OrganizationApiCreateProjectRequest { r.project = &project return r } -func (r OrganizationApiApiCreateProjectRequest) Execute() (*ProjectDetails, *http.Response, error) { +func (r OrganizationApiCreateProjectRequest) Execute() (*ProjectDetails, *http.Response, error) { return r.ApiService.CreateProjectExecute(r) } @@ -510,10 +510,10 @@ CreateProject Create a Project in an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return OrganizationApiApiCreateProjectRequest + @return OrganizationApiCreateProjectRequest */ -func (a *OrganizationApiService) CreateProject(ctx context.Context, organizationId string) OrganizationApiApiCreateProjectRequest { - return OrganizationApiApiCreateProjectRequest{ +func (a *OrganizationApiService) CreateProject(ctx context.Context, organizationId string) OrganizationApiCreateProjectRequest { + return OrganizationApiCreateProjectRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -522,7 +522,7 @@ func (a *OrganizationApiService) CreateProject(ctx context.Context, organization // Execute executes the request // @return ProjectDetails -func (a *OrganizationApiService) CreateProjectExecute(r OrganizationApiApiCreateProjectRequest) (*ProjectDetails, *http.Response, error) { +func (a *OrganizationApiService) CreateProjectExecute(r OrganizationApiCreateProjectRequest) (*ProjectDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -608,14 +608,14 @@ func (a *OrganizationApiService) CreateProjectExecute(r OrganizationApiApiCreate return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiDeleteOfficeRequest struct { +type OrganizationApiDeleteOfficeRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string officeId string } -func (r OrganizationApiApiDeleteOfficeRequest) Execute() (*Status, *http.Response, error) { +func (r OrganizationApiDeleteOfficeRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeleteOfficeExecute(r) } @@ -625,10 +625,10 @@ DeleteOffice Delte an Office from an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param officeId - @return OrganizationApiApiDeleteOfficeRequest + @return OrganizationApiDeleteOfficeRequest */ -func (a *OrganizationApiService) DeleteOffice(ctx context.Context, organizationId string, officeId string) OrganizationApiApiDeleteOfficeRequest { - return OrganizationApiApiDeleteOfficeRequest{ +func (a *OrganizationApiService) DeleteOffice(ctx context.Context, organizationId string, officeId string) OrganizationApiDeleteOfficeRequest { + return OrganizationApiDeleteOfficeRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -638,7 +638,7 @@ func (a *OrganizationApiService) DeleteOffice(ctx context.Context, organizationI // Execute executes the request // @return Status -func (a *OrganizationApiService) DeleteOfficeExecute(r OrganizationApiApiDeleteOfficeRequest) (*Status, *http.Response, error) { +func (a *OrganizationApiService) DeleteOfficeExecute(r OrganizationApiDeleteOfficeRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -720,13 +720,13 @@ func (a *OrganizationApiService) DeleteOfficeExecute(r OrganizationApiApiDeleteO return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiDeleteOrganizationRequest struct { +type OrganizationApiDeleteOrganizationRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string } -func (r OrganizationApiApiDeleteOrganizationRequest) Execute() (*Status, *http.Response, error) { +func (r OrganizationApiDeleteOrganizationRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeleteOrganizationExecute(r) } @@ -735,10 +735,10 @@ DeleteOrganization Delete an organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return OrganizationApiApiDeleteOrganizationRequest + @return OrganizationApiDeleteOrganizationRequest */ -func (a *OrganizationApiService) DeleteOrganization(ctx context.Context, organizationId string) OrganizationApiApiDeleteOrganizationRequest { - return OrganizationApiApiDeleteOrganizationRequest{ +func (a *OrganizationApiService) DeleteOrganization(ctx context.Context, organizationId string) OrganizationApiDeleteOrganizationRequest { + return OrganizationApiDeleteOrganizationRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -747,7 +747,7 @@ func (a *OrganizationApiService) DeleteOrganization(ctx context.Context, organiz // Execute executes the request // @return Status -func (a *OrganizationApiService) DeleteOrganizationExecute(r OrganizationApiApiDeleteOrganizationRequest) (*Status, *http.Response, error) { +func (a *OrganizationApiService) DeleteOrganizationExecute(r OrganizationApiDeleteOrganizationRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -828,14 +828,14 @@ func (a *OrganizationApiService) DeleteOrganizationExecute(r OrganizationApiApiD return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiDetachOrganizationFromIndustryRequest struct { +type OrganizationApiDetachOrganizationFromIndustryRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string industryId string } -func (r OrganizationApiApiDetachOrganizationFromIndustryRequest) Execute() (*OrganizationDetails, *http.Response, error) { +func (r OrganizationApiDetachOrganizationFromIndustryRequest) Execute() (*OrganizationDetails, *http.Response, error) { return r.ApiService.DetachOrganizationFromIndustryExecute(r) } @@ -845,10 +845,10 @@ DetachOrganizationFromIndustry Remove an Organization to an Industry @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param industryId - @return OrganizationApiApiDetachOrganizationFromIndustryRequest + @return OrganizationApiDetachOrganizationFromIndustryRequest */ -func (a *OrganizationApiService) DetachOrganizationFromIndustry(ctx context.Context, organizationId string, industryId string) OrganizationApiApiDetachOrganizationFromIndustryRequest { - return OrganizationApiApiDetachOrganizationFromIndustryRequest{ +func (a *OrganizationApiService) DetachOrganizationFromIndustry(ctx context.Context, organizationId string, industryId string) OrganizationApiDetachOrganizationFromIndustryRequest { + return OrganizationApiDetachOrganizationFromIndustryRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -858,7 +858,7 @@ func (a *OrganizationApiService) DetachOrganizationFromIndustry(ctx context.Cont // Execute executes the request // @return OrganizationDetails -func (a *OrganizationApiService) DetachOrganizationFromIndustryExecute(r OrganizationApiApiDetachOrganizationFromIndustryRequest) (*OrganizationDetails, *http.Response, error) { +func (a *OrganizationApiService) DetachOrganizationFromIndustryExecute(r OrganizationApiDetachOrganizationFromIndustryRequest) (*OrganizationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -940,7 +940,7 @@ func (a *OrganizationApiService) DetachOrganizationFromIndustryExecute(r Organiz return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiGetCertificationsForOrganizationRequest struct { +type OrganizationApiGetCertificationsForOrganizationRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string @@ -948,17 +948,17 @@ type OrganizationApiApiGetCertificationsForOrganizationRequest struct { limit *int32 } -func (r OrganizationApiApiGetCertificationsForOrganizationRequest) Skip(skip int32) OrganizationApiApiGetCertificationsForOrganizationRequest { +func (r OrganizationApiGetCertificationsForOrganizationRequest) Skip(skip int32) OrganizationApiGetCertificationsForOrganizationRequest { r.skip = &skip return r } -func (r OrganizationApiApiGetCertificationsForOrganizationRequest) Limit(limit int32) OrganizationApiApiGetCertificationsForOrganizationRequest { +func (r OrganizationApiGetCertificationsForOrganizationRequest) Limit(limit int32) OrganizationApiGetCertificationsForOrganizationRequest { r.limit = &limit return r } -func (r OrganizationApiApiGetCertificationsForOrganizationRequest) Execute() (*PagedCertifications, *http.Response, error) { +func (r OrganizationApiGetCertificationsForOrganizationRequest) Execute() (*PagedCertifications, *http.Response, error) { return r.ApiService.GetCertificationsForOrganizationExecute(r) } @@ -967,10 +967,10 @@ GetCertificationsForOrganization Get a list of all certifications for a organiza @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return OrganizationApiApiGetCertificationsForOrganizationRequest + @return OrganizationApiGetCertificationsForOrganizationRequest */ -func (a *OrganizationApiService) GetCertificationsForOrganization(ctx context.Context, organizationId string) OrganizationApiApiGetCertificationsForOrganizationRequest { - return OrganizationApiApiGetCertificationsForOrganizationRequest{ +func (a *OrganizationApiService) GetCertificationsForOrganization(ctx context.Context, organizationId string) OrganizationApiGetCertificationsForOrganizationRequest { + return OrganizationApiGetCertificationsForOrganizationRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -979,7 +979,7 @@ func (a *OrganizationApiService) GetCertificationsForOrganization(ctx context.Co // Execute executes the request // @return PagedCertifications -func (a *OrganizationApiService) GetCertificationsForOrganizationExecute(r OrganizationApiApiGetCertificationsForOrganizationRequest) (*PagedCertifications, *http.Response, error) { +func (a *OrganizationApiService) GetCertificationsForOrganizationExecute(r OrganizationApiGetCertificationsForOrganizationRequest) (*PagedCertifications, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1066,14 +1066,14 @@ func (a *OrganizationApiService) GetCertificationsForOrganizationExecute(r Organ return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiGetOfficeRequest struct { +type OrganizationApiGetOfficeRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string officeId string } -func (r OrganizationApiApiGetOfficeRequest) Execute() (*Office, *http.Response, error) { +func (r OrganizationApiGetOfficeRequest) Execute() (*Office, *http.Response, error) { return r.ApiService.GetOfficeExecute(r) } @@ -1083,10 +1083,10 @@ GetOffice Get an Office for an Organiaztion @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param officeId - @return OrganizationApiApiGetOfficeRequest + @return OrganizationApiGetOfficeRequest */ -func (a *OrganizationApiService) GetOffice(ctx context.Context, organizationId string, officeId string) OrganizationApiApiGetOfficeRequest { - return OrganizationApiApiGetOfficeRequest{ +func (a *OrganizationApiService) GetOffice(ctx context.Context, organizationId string, officeId string) OrganizationApiGetOfficeRequest { + return OrganizationApiGetOfficeRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -1096,7 +1096,7 @@ func (a *OrganizationApiService) GetOffice(ctx context.Context, organizationId s // Execute executes the request // @return Office -func (a *OrganizationApiService) GetOfficeExecute(r OrganizationApiApiGetOfficeRequest) (*Office, *http.Response, error) { +func (a *OrganizationApiService) GetOfficeExecute(r OrganizationApiGetOfficeRequest) (*Office, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1178,13 +1178,13 @@ func (a *OrganizationApiService) GetOfficeExecute(r OrganizationApiApiGetOfficeR return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiGetOrganizationRequest struct { +type OrganizationApiGetOrganizationRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string } -func (r OrganizationApiApiGetOrganizationRequest) Execute() (*OrganizationDetails, *http.Response, error) { +func (r OrganizationApiGetOrganizationRequest) Execute() (*OrganizationDetails, *http.Response, error) { return r.ApiService.GetOrganizationExecute(r) } @@ -1193,10 +1193,10 @@ GetOrganization Get details about an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return OrganizationApiApiGetOrganizationRequest + @return OrganizationApiGetOrganizationRequest */ -func (a *OrganizationApiService) GetOrganization(ctx context.Context, organizationId string) OrganizationApiApiGetOrganizationRequest { - return OrganizationApiApiGetOrganizationRequest{ +func (a *OrganizationApiService) GetOrganization(ctx context.Context, organizationId string) OrganizationApiGetOrganizationRequest { + return OrganizationApiGetOrganizationRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -1205,7 +1205,7 @@ func (a *OrganizationApiService) GetOrganization(ctx context.Context, organizati // Execute executes the request // @return OrganizationDetails -func (a *OrganizationApiService) GetOrganizationExecute(r OrganizationApiApiGetOrganizationRequest) (*OrganizationDetails, *http.Response, error) { +func (a *OrganizationApiService) GetOrganizationExecute(r OrganizationApiGetOrganizationRequest) (*OrganizationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1286,7 +1286,7 @@ func (a *OrganizationApiService) GetOrganizationExecute(r OrganizationApiApiGetO return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiGetOrganizationProjectsRequest struct { +type OrganizationApiGetOrganizationProjectsRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string @@ -1294,17 +1294,17 @@ type OrganizationApiApiGetOrganizationProjectsRequest struct { limit *int32 } -func (r OrganizationApiApiGetOrganizationProjectsRequest) Skip(skip int32) OrganizationApiApiGetOrganizationProjectsRequest { +func (r OrganizationApiGetOrganizationProjectsRequest) Skip(skip int32) OrganizationApiGetOrganizationProjectsRequest { r.skip = &skip return r } -func (r OrganizationApiApiGetOrganizationProjectsRequest) Limit(limit int32) OrganizationApiApiGetOrganizationProjectsRequest { +func (r OrganizationApiGetOrganizationProjectsRequest) Limit(limit int32) OrganizationApiGetOrganizationProjectsRequest { r.limit = &limit return r } -func (r OrganizationApiApiGetOrganizationProjectsRequest) Execute() (*PagedProjects, *http.Response, error) { +func (r OrganizationApiGetOrganizationProjectsRequest) Execute() (*PagedProjects, *http.Response, error) { return r.ApiService.GetOrganizationProjectsExecute(r) } @@ -1313,10 +1313,10 @@ GetOrganizationProjects Get a list of all Projects for an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return OrganizationApiApiGetOrganizationProjectsRequest + @return OrganizationApiGetOrganizationProjectsRequest */ -func (a *OrganizationApiService) GetOrganizationProjects(ctx context.Context, organizationId string) OrganizationApiApiGetOrganizationProjectsRequest { - return OrganizationApiApiGetOrganizationProjectsRequest{ +func (a *OrganizationApiService) GetOrganizationProjects(ctx context.Context, organizationId string) OrganizationApiGetOrganizationProjectsRequest { + return OrganizationApiGetOrganizationProjectsRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -1325,7 +1325,7 @@ func (a *OrganizationApiService) GetOrganizationProjects(ctx context.Context, or // Execute executes the request // @return PagedProjects -func (a *OrganizationApiService) GetOrganizationProjectsExecute(r OrganizationApiApiGetOrganizationProjectsRequest) (*PagedProjects, *http.Response, error) { +func (a *OrganizationApiService) GetOrganizationProjectsExecute(r OrganizationApiGetOrganizationProjectsRequest) (*PagedProjects, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1412,24 +1412,24 @@ func (a *OrganizationApiService) GetOrganizationProjectsExecute(r OrganizationAp return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiGetOrganizationsRequest struct { +type OrganizationApiGetOrganizationsRequest struct { ctx context.Context ApiService *OrganizationApiService skip *int32 limit *int32 } -func (r OrganizationApiApiGetOrganizationsRequest) Skip(skip int32) OrganizationApiApiGetOrganizationsRequest { +func (r OrganizationApiGetOrganizationsRequest) Skip(skip int32) OrganizationApiGetOrganizationsRequest { r.skip = &skip return r } -func (r OrganizationApiApiGetOrganizationsRequest) Limit(limit int32) OrganizationApiApiGetOrganizationsRequest { +func (r OrganizationApiGetOrganizationsRequest) Limit(limit int32) OrganizationApiGetOrganizationsRequest { r.limit = &limit return r } -func (r OrganizationApiApiGetOrganizationsRequest) Execute() (*PagedOrganizations, *http.Response, error) { +func (r OrganizationApiGetOrganizationsRequest) Execute() (*PagedOrganizations, *http.Response, error) { return r.ApiService.GetOrganizationsExecute(r) } @@ -1437,10 +1437,10 @@ func (r OrganizationApiApiGetOrganizationsRequest) Execute() (*PagedOrganization GetOrganizations Get a list of all Organizations @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return OrganizationApiApiGetOrganizationsRequest + @return OrganizationApiGetOrganizationsRequest */ -func (a *OrganizationApiService) GetOrganizations(ctx context.Context) OrganizationApiApiGetOrganizationsRequest { - return OrganizationApiApiGetOrganizationsRequest{ +func (a *OrganizationApiService) GetOrganizations(ctx context.Context) OrganizationApiGetOrganizationsRequest { + return OrganizationApiGetOrganizationsRequest{ ApiService: a, ctx: ctx, } @@ -1448,7 +1448,7 @@ func (a *OrganizationApiService) GetOrganizations(ctx context.Context) Organizat // Execute executes the request // @return PagedOrganizations -func (a *OrganizationApiService) GetOrganizationsExecute(r OrganizationApiApiGetOrganizationsRequest) (*PagedOrganizations, *http.Response, error) { +func (a *OrganizationApiService) GetOrganizationsExecute(r OrganizationApiGetOrganizationsRequest) (*PagedOrganizations, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1534,14 +1534,14 @@ func (a *OrganizationApiService) GetOrganizationsExecute(r OrganizationApiApiGet return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiMoveCertificationRequest struct { +type OrganizationApiMoveCertificationRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string certificateId string } -func (r OrganizationApiApiMoveCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r OrganizationApiMoveCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.MoveCertificationExecute(r) } @@ -1551,10 +1551,10 @@ MoveCertification Move a Certification to an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param certificateId - @return OrganizationApiApiMoveCertificationRequest + @return OrganizationApiMoveCertificationRequest */ -func (a *OrganizationApiService) MoveCertification(ctx context.Context, organizationId string, certificateId string) OrganizationApiApiMoveCertificationRequest { - return OrganizationApiApiMoveCertificationRequest{ +func (a *OrganizationApiService) MoveCertification(ctx context.Context, organizationId string, certificateId string) OrganizationApiMoveCertificationRequest { + return OrganizationApiMoveCertificationRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -1564,7 +1564,7 @@ func (a *OrganizationApiService) MoveCertification(ctx context.Context, organiza // Execute executes the request // @return CertificationDetails -func (a *OrganizationApiService) MoveCertificationExecute(r OrganizationApiApiMoveCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *OrganizationApiService) MoveCertificationExecute(r OrganizationApiMoveCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1646,7 +1646,7 @@ func (a *OrganizationApiService) MoveCertificationExecute(r OrganizationApiApiMo return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiUpdateOfficeRequest struct { +type OrganizationApiUpdateOfficeRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string @@ -1654,12 +1654,12 @@ type OrganizationApiApiUpdateOfficeRequest struct { office *Office } -func (r OrganizationApiApiUpdateOfficeRequest) Office(office Office) OrganizationApiApiUpdateOfficeRequest { +func (r OrganizationApiUpdateOfficeRequest) Office(office Office) OrganizationApiUpdateOfficeRequest { r.office = &office return r } -func (r OrganizationApiApiUpdateOfficeRequest) Execute() (*Office, *http.Response, error) { +func (r OrganizationApiUpdateOfficeRequest) Execute() (*Office, *http.Response, error) { return r.ApiService.UpdateOfficeExecute(r) } @@ -1669,10 +1669,10 @@ UpdateOffice Update an Office for an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId @param officeId - @return OrganizationApiApiUpdateOfficeRequest + @return OrganizationApiUpdateOfficeRequest */ -func (a *OrganizationApiService) UpdateOffice(ctx context.Context, organizationId string, officeId string) OrganizationApiApiUpdateOfficeRequest { - return OrganizationApiApiUpdateOfficeRequest{ +func (a *OrganizationApiService) UpdateOffice(ctx context.Context, organizationId string, officeId string) OrganizationApiUpdateOfficeRequest { + return OrganizationApiUpdateOfficeRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -1682,7 +1682,7 @@ func (a *OrganizationApiService) UpdateOffice(ctx context.Context, organizationI // Execute executes the request // @return Office -func (a *OrganizationApiService) UpdateOfficeExecute(r OrganizationApiApiUpdateOfficeRequest) (*Office, *http.Response, error) { +func (a *OrganizationApiService) UpdateOfficeExecute(r OrganizationApiUpdateOfficeRequest) (*Office, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1769,7 +1769,7 @@ func (a *OrganizationApiService) UpdateOfficeExecute(r OrganizationApiApiUpdateO return localVarReturnValue, localVarHTTPResponse, nil } -type OrganizationApiApiUpdateOrganizationRequest struct { +type OrganizationApiUpdateOrganizationRequest struct { ctx context.Context ApiService *OrganizationApiService organizationId string @@ -1777,12 +1777,12 @@ type OrganizationApiApiUpdateOrganizationRequest struct { } // Details about the organization -func (r OrganizationApiApiUpdateOrganizationRequest) Organization(organization Organization) OrganizationApiApiUpdateOrganizationRequest { +func (r OrganizationApiUpdateOrganizationRequest) Organization(organization Organization) OrganizationApiUpdateOrganizationRequest { r.organization = &organization return r } -func (r OrganizationApiApiUpdateOrganizationRequest) Execute() (*OrganizationDetails, *http.Response, error) { +func (r OrganizationApiUpdateOrganizationRequest) Execute() (*OrganizationDetails, *http.Response, error) { return r.ApiService.UpdateOrganizationExecute(r) } @@ -1791,10 +1791,10 @@ UpdateOrganization Update an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return OrganizationApiApiUpdateOrganizationRequest + @return OrganizationApiUpdateOrganizationRequest */ -func (a *OrganizationApiService) UpdateOrganization(ctx context.Context, organizationId string) OrganizationApiApiUpdateOrganizationRequest { - return OrganizationApiApiUpdateOrganizationRequest{ +func (a *OrganizationApiService) UpdateOrganization(ctx context.Context, organizationId string) OrganizationApiUpdateOrganizationRequest { + return OrganizationApiUpdateOrganizationRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -1803,7 +1803,7 @@ func (a *OrganizationApiService) UpdateOrganization(ctx context.Context, organiz // Execute executes the request // @return OrganizationDetails -func (a *OrganizationApiService) UpdateOrganizationExecute(r OrganizationApiApiUpdateOrganizationRequest) (*OrganizationDetails, *http.Response, error) { +func (a *OrganizationApiService) UpdateOrganizationExecute(r OrganizationApiUpdateOrganizationRequest) (*OrganizationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} diff --git a/api_person.go b/api_person.go index fb0f2c25..45f5f8fb 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -24,7 +24,7 @@ import ( // PersonApiService PersonApi service type PersonApiService service -type PersonApiApiAddPersonCertificationRequest struct { +type PersonApiAddPersonCertificationRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -32,12 +32,12 @@ type PersonApiApiAddPersonCertificationRequest struct { body *string } -func (r PersonApiApiAddPersonCertificationRequest) Body(body string) PersonApiApiAddPersonCertificationRequest { +func (r PersonApiAddPersonCertificationRequest) Body(body string) PersonApiAddPersonCertificationRequest { r.body = &body return r } -func (r PersonApiApiAddPersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiAddPersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonCertificationExecute(r) } @@ -47,10 +47,10 @@ AddPersonCertification Add Certification to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param certificationId - @return PersonApiApiAddPersonCertificationRequest + @return PersonApiAddPersonCertificationRequest */ -func (a *PersonApiService) AddPersonCertification(ctx context.Context, personId string, certificationId string) PersonApiApiAddPersonCertificationRequest { - return PersonApiApiAddPersonCertificationRequest{ +func (a *PersonApiService) AddPersonCertification(ctx context.Context, personId string, certificationId string) PersonApiAddPersonCertificationRequest { + return PersonApiAddPersonCertificationRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -60,7 +60,7 @@ func (a *PersonApiService) AddPersonCertification(ctx context.Context, personId // Execute executes the request // @return PersonDetails -func (a *PersonApiService) AddPersonCertificationExecute(r PersonApiApiAddPersonCertificationRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) AddPersonCertificationExecute(r PersonApiAddPersonCertificationRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -147,14 +147,14 @@ func (a *PersonApiService) AddPersonCertificationExecute(r PersonApiApiAddPerson return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiAddPersonInterestRequest struct { +type PersonApiAddPersonInterestRequest struct { ctx context.Context ApiService *PersonApiService personId string skillId string } -func (r PersonApiApiAddPersonInterestRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiAddPersonInterestRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonInterestExecute(r) } @@ -164,10 +164,10 @@ AddPersonInterest Add an Interest to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param skillId - @return PersonApiApiAddPersonInterestRequest + @return PersonApiAddPersonInterestRequest */ -func (a *PersonApiService) AddPersonInterest(ctx context.Context, personId string, skillId string) PersonApiApiAddPersonInterestRequest { - return PersonApiApiAddPersonInterestRequest{ +func (a *PersonApiService) AddPersonInterest(ctx context.Context, personId string, skillId string) PersonApiAddPersonInterestRequest { + return PersonApiAddPersonInterestRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -177,7 +177,7 @@ func (a *PersonApiService) AddPersonInterest(ctx context.Context, personId strin // Execute executes the request // @return PersonDetails -func (a *PersonApiService) AddPersonInterestExecute(r PersonApiApiAddPersonInterestRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) AddPersonInterestExecute(r PersonApiAddPersonInterestRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -259,7 +259,7 @@ func (a *PersonApiService) AddPersonInterestExecute(r PersonApiApiAddPersonInter return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiAddPersonLanguageRequest struct { +type PersonApiAddPersonLanguageRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -267,12 +267,12 @@ type PersonApiApiAddPersonLanguageRequest struct { level *Level } -func (r PersonApiApiAddPersonLanguageRequest) Level(level Level) PersonApiApiAddPersonLanguageRequest { +func (r PersonApiAddPersonLanguageRequest) Level(level Level) PersonApiAddPersonLanguageRequest { r.level = &level return r } -func (r PersonApiApiAddPersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiAddPersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonLanguageExecute(r) } @@ -282,10 +282,10 @@ AddPersonLanguage Assign a language to the person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param languageId - @return PersonApiApiAddPersonLanguageRequest + @return PersonApiAddPersonLanguageRequest */ -func (a *PersonApiService) AddPersonLanguage(ctx context.Context, personId string, languageId string) PersonApiApiAddPersonLanguageRequest { - return PersonApiApiAddPersonLanguageRequest{ +func (a *PersonApiService) AddPersonLanguage(ctx context.Context, personId string, languageId string) PersonApiAddPersonLanguageRequest { + return PersonApiAddPersonLanguageRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -295,7 +295,7 @@ func (a *PersonApiService) AddPersonLanguage(ctx context.Context, personId strin // Execute executes the request // @return PersonDetails -func (a *PersonApiService) AddPersonLanguageExecute(r PersonApiApiAddPersonLanguageRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) AddPersonLanguageExecute(r PersonApiAddPersonLanguageRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -382,14 +382,14 @@ func (a *PersonApiService) AddPersonLanguageExecute(r PersonApiApiAddPersonLangu return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiAddPersonOfficeRequest struct { +type PersonApiAddPersonOfficeRequest struct { ctx context.Context ApiService *PersonApiService personId string officeId string } -func (r PersonApiApiAddPersonOfficeRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiAddPersonOfficeRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonOfficeExecute(r) } @@ -399,10 +399,10 @@ AddPersonOffice Assing a person to an office @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param officeId - @return PersonApiApiAddPersonOfficeRequest + @return PersonApiAddPersonOfficeRequest */ -func (a *PersonApiService) AddPersonOffice(ctx context.Context, personId string, officeId string) PersonApiApiAddPersonOfficeRequest { - return PersonApiApiAddPersonOfficeRequest{ +func (a *PersonApiService) AddPersonOffice(ctx context.Context, personId string, officeId string) PersonApiAddPersonOfficeRequest { + return PersonApiAddPersonOfficeRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -412,7 +412,7 @@ func (a *PersonApiService) AddPersonOffice(ctx context.Context, personId string, // Execute executes the request // @return PersonDetails -func (a *PersonApiService) AddPersonOfficeExecute(r PersonApiApiAddPersonOfficeRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) AddPersonOfficeExecute(r PersonApiAddPersonOfficeRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -494,7 +494,7 @@ func (a *PersonApiService) AddPersonOfficeExecute(r PersonApiApiAddPersonOfficeR return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiAddPersonProjectRequest struct { +type PersonApiAddPersonProjectRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -503,12 +503,12 @@ type PersonApiApiAddPersonProjectRequest struct { } // List of Skills with level and timeframe -func (r PersonApiApiAddPersonProjectRequest) ProjectParticipationUpdate(projectParticipationUpdate ProjectParticipationUpdate) PersonApiApiAddPersonProjectRequest { +func (r PersonApiAddPersonProjectRequest) ProjectParticipationUpdate(projectParticipationUpdate ProjectParticipationUpdate) PersonApiAddPersonProjectRequest { r.projectParticipationUpdate = &projectParticipationUpdate return r } -func (r PersonApiApiAddPersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiAddPersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonProjectExecute(r) } @@ -518,10 +518,10 @@ AddPersonProject Add Project to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param projectId - @return PersonApiApiAddPersonProjectRequest + @return PersonApiAddPersonProjectRequest */ -func (a *PersonApiService) AddPersonProject(ctx context.Context, personId string, projectId string) PersonApiApiAddPersonProjectRequest { - return PersonApiApiAddPersonProjectRequest{ +func (a *PersonApiService) AddPersonProject(ctx context.Context, personId string, projectId string) PersonApiAddPersonProjectRequest { + return PersonApiAddPersonProjectRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -531,7 +531,7 @@ func (a *PersonApiService) AddPersonProject(ctx context.Context, personId string // Execute executes the request // @return PersonDetails -func (a *PersonApiService) AddPersonProjectExecute(r PersonApiApiAddPersonProjectRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) AddPersonProjectExecute(r PersonApiAddPersonProjectRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -618,7 +618,7 @@ func (a *PersonApiService) AddPersonProjectExecute(r PersonApiApiAddPersonProjec return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiAddPersonProjectSkillRequest struct { +type PersonApiAddPersonProjectSkillRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -628,12 +628,12 @@ type PersonApiApiAddPersonProjectSkillRequest struct { } // The Skill Level -func (r PersonApiApiAddPersonProjectSkillRequest) Level(level Level) PersonApiApiAddPersonProjectSkillRequest { +func (r PersonApiAddPersonProjectSkillRequest) Level(level Level) PersonApiAddPersonProjectSkillRequest { r.level = &level return r } -func (r PersonApiApiAddPersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiAddPersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonProjectSkillExecute(r) } @@ -644,10 +644,10 @@ AddPersonProjectSkill Add Skill to a Project participation @param personId @param projectId @param skillId - @return PersonApiApiAddPersonProjectSkillRequest + @return PersonApiAddPersonProjectSkillRequest */ -func (a *PersonApiService) AddPersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) PersonApiApiAddPersonProjectSkillRequest { - return PersonApiApiAddPersonProjectSkillRequest{ +func (a *PersonApiService) AddPersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) PersonApiAddPersonProjectSkillRequest { + return PersonApiAddPersonProjectSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -658,7 +658,7 @@ func (a *PersonApiService) AddPersonProjectSkill(ctx context.Context, personId s // Execute executes the request // @return PersonDetails -func (a *PersonApiService) AddPersonProjectSkillExecute(r PersonApiApiAddPersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) AddPersonProjectSkillExecute(r PersonApiAddPersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -746,7 +746,7 @@ func (a *PersonApiService) AddPersonProjectSkillExecute(r PersonApiApiAddPersonP return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiAddPersonSkillExperienceRequest struct { +type PersonApiAddPersonSkillExperienceRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -754,12 +754,12 @@ type PersonApiApiAddPersonSkillExperienceRequest struct { level *Level } -func (r PersonApiApiAddPersonSkillExperienceRequest) Level(level Level) PersonApiApiAddPersonSkillExperienceRequest { +func (r PersonApiAddPersonSkillExperienceRequest) Level(level Level) PersonApiAddPersonSkillExperienceRequest { r.level = &level return r } -func (r PersonApiApiAddPersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiAddPersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonSkillExperienceExecute(r) } @@ -769,10 +769,10 @@ AddPersonSkillExperience Add an Skill experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param skillId - @return PersonApiApiAddPersonSkillExperienceRequest + @return PersonApiAddPersonSkillExperienceRequest */ -func (a *PersonApiService) AddPersonSkillExperience(ctx context.Context, personId string, skillId string) PersonApiApiAddPersonSkillExperienceRequest { - return PersonApiApiAddPersonSkillExperienceRequest{ +func (a *PersonApiService) AddPersonSkillExperience(ctx context.Context, personId string, skillId string) PersonApiAddPersonSkillExperienceRequest { + return PersonApiAddPersonSkillExperienceRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -782,7 +782,7 @@ func (a *PersonApiService) AddPersonSkillExperience(ctx context.Context, personI // Execute executes the request // @return PersonDetails -func (a *PersonApiService) AddPersonSkillExperienceExecute(r PersonApiApiAddPersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) AddPersonSkillExperienceExecute(r PersonApiAddPersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -869,19 +869,19 @@ func (a *PersonApiService) AddPersonSkillExperienceExecute(r PersonApiApiAddPers return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiAddPersonSkillExperiencesRequest struct { +type PersonApiAddPersonSkillExperiencesRequest struct { ctx context.Context ApiService *PersonApiService personId string skillLevelUpdate *[]SkillLevelUpdate } -func (r PersonApiApiAddPersonSkillExperiencesRequest) SkillLevelUpdate(skillLevelUpdate []SkillLevelUpdate) PersonApiApiAddPersonSkillExperiencesRequest { +func (r PersonApiAddPersonSkillExperiencesRequest) SkillLevelUpdate(skillLevelUpdate []SkillLevelUpdate) PersonApiAddPersonSkillExperiencesRequest { r.skillLevelUpdate = &skillLevelUpdate return r } -func (r PersonApiApiAddPersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiAddPersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonSkillExperiencesExecute(r) } @@ -890,10 +890,10 @@ AddPersonSkillExperiences Add an Skill experience to a Person (bulk) @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return PersonApiApiAddPersonSkillExperiencesRequest + @return PersonApiAddPersonSkillExperiencesRequest */ -func (a *PersonApiService) AddPersonSkillExperiences(ctx context.Context, personId string) PersonApiApiAddPersonSkillExperiencesRequest { - return PersonApiApiAddPersonSkillExperiencesRequest{ +func (a *PersonApiService) AddPersonSkillExperiences(ctx context.Context, personId string) PersonApiAddPersonSkillExperiencesRequest { + return PersonApiAddPersonSkillExperiencesRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -902,7 +902,7 @@ func (a *PersonApiService) AddPersonSkillExperiences(ctx context.Context, person // Execute executes the request // @return PersonDetails -func (a *PersonApiService) AddPersonSkillExperiencesExecute(r PersonApiApiAddPersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) AddPersonSkillExperiencesExecute(r PersonApiAddPersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -988,7 +988,7 @@ func (a *PersonApiService) AddPersonSkillExperiencesExecute(r PersonApiApiAddPer return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiConfirmSkillRequest struct { +type PersonApiConfirmSkillRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -997,7 +997,7 @@ type PersonApiApiConfirmSkillRequest struct { confirmingPersonId string } -func (r PersonApiApiConfirmSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiConfirmSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.ConfirmSkillExecute(r) } @@ -1009,10 +1009,10 @@ ConfirmSkill Confirm Skill @param projectId @param skillId @param confirmingPersonId - @return PersonApiApiConfirmSkillRequest + @return PersonApiConfirmSkillRequest */ -func (a *PersonApiService) ConfirmSkill(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) PersonApiApiConfirmSkillRequest { - return PersonApiApiConfirmSkillRequest{ +func (a *PersonApiService) ConfirmSkill(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) PersonApiConfirmSkillRequest { + return PersonApiConfirmSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1024,7 +1024,7 @@ func (a *PersonApiService) ConfirmSkill(ctx context.Context, personId string, pr // Execute executes the request // @return PersonDetails -func (a *PersonApiService) ConfirmSkillExecute(r PersonApiApiConfirmSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) ConfirmSkillExecute(r PersonApiConfirmSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -1108,7 +1108,7 @@ func (a *PersonApiService) ConfirmSkillExecute(r PersonApiApiConfirmSkillRequest return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiCreateAvailabilityRequest struct { +type PersonApiCreateAvailabilityRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -1116,12 +1116,12 @@ type PersonApiApiCreateAvailabilityRequest struct { } // The availability -func (r PersonApiApiCreateAvailabilityRequest) Availability(availability Availability) PersonApiApiCreateAvailabilityRequest { +func (r PersonApiCreateAvailabilityRequest) Availability(availability Availability) PersonApiCreateAvailabilityRequest { r.availability = &availability return r } -func (r PersonApiApiCreateAvailabilityRequest) Execute() (*AvailabilityDetail, *http.Response, error) { +func (r PersonApiCreateAvailabilityRequest) Execute() (*AvailabilityDetail, *http.Response, error) { return r.ApiService.CreateAvailabilityExecute(r) } @@ -1130,10 +1130,10 @@ CreateAvailability Create a availability for a person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return PersonApiApiCreateAvailabilityRequest + @return PersonApiCreateAvailabilityRequest */ -func (a *PersonApiService) CreateAvailability(ctx context.Context, personId string) PersonApiApiCreateAvailabilityRequest { - return PersonApiApiCreateAvailabilityRequest{ +func (a *PersonApiService) CreateAvailability(ctx context.Context, personId string) PersonApiCreateAvailabilityRequest { + return PersonApiCreateAvailabilityRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1142,7 +1142,7 @@ func (a *PersonApiService) CreateAvailability(ctx context.Context, personId stri // Execute executes the request // @return AvailabilityDetail -func (a *PersonApiService) CreateAvailabilityExecute(r PersonApiApiCreateAvailabilityRequest) (*AvailabilityDetail, *http.Response, error) { +func (a *PersonApiService) CreateAvailabilityExecute(r PersonApiCreateAvailabilityRequest) (*AvailabilityDetail, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -1228,18 +1228,18 @@ func (a *PersonApiService) CreateAvailabilityExecute(r PersonApiApiCreateAvailab return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiCreatePersonRequest struct { +type PersonApiCreatePersonRequest struct { ctx context.Context ApiService *PersonApiService person *Person } -func (r PersonApiApiCreatePersonRequest) Person(person Person) PersonApiApiCreatePersonRequest { +func (r PersonApiCreatePersonRequest) Person(person Person) PersonApiCreatePersonRequest { r.person = &person return r } -func (r PersonApiApiCreatePersonRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiCreatePersonRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.CreatePersonExecute(r) } @@ -1247,10 +1247,10 @@ func (r PersonApiApiCreatePersonRequest) Execute() (*PersonDetails, *http.Respon CreatePerson Create a new Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return PersonApiApiCreatePersonRequest + @return PersonApiCreatePersonRequest */ -func (a *PersonApiService) CreatePerson(ctx context.Context) PersonApiApiCreatePersonRequest { - return PersonApiApiCreatePersonRequest{ +func (a *PersonApiService) CreatePerson(ctx context.Context) PersonApiCreatePersonRequest { + return PersonApiCreatePersonRequest{ ApiService: a, ctx: ctx, } @@ -1258,7 +1258,7 @@ func (a *PersonApiService) CreatePerson(ctx context.Context) PersonApiApiCreateP // Execute executes the request // @return PersonDetails -func (a *PersonApiService) CreatePersonExecute(r PersonApiApiCreatePersonRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) CreatePersonExecute(r PersonApiCreatePersonRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -1343,14 +1343,14 @@ func (a *PersonApiService) CreatePersonExecute(r PersonApiApiCreatePersonRequest return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiDeleteAvailabilityRequest struct { +type PersonApiDeleteAvailabilityRequest struct { ctx context.Context ApiService *PersonApiService personId string availabilityId string } -func (r PersonApiApiDeleteAvailabilityRequest) Execute() (*Status, *http.Response, error) { +func (r PersonApiDeleteAvailabilityRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeleteAvailabilityExecute(r) } @@ -1360,10 +1360,10 @@ DeleteAvailability Delete a person availability @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param availabilityId - @return PersonApiApiDeleteAvailabilityRequest + @return PersonApiDeleteAvailabilityRequest */ -func (a *PersonApiService) DeleteAvailability(ctx context.Context, personId string, availabilityId string) PersonApiApiDeleteAvailabilityRequest { - return PersonApiApiDeleteAvailabilityRequest{ +func (a *PersonApiService) DeleteAvailability(ctx context.Context, personId string, availabilityId string) PersonApiDeleteAvailabilityRequest { + return PersonApiDeleteAvailabilityRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1373,7 +1373,7 @@ func (a *PersonApiService) DeleteAvailability(ctx context.Context, personId stri // Execute executes the request // @return Status -func (a *PersonApiService) DeleteAvailabilityExecute(r PersonApiApiDeleteAvailabilityRequest) (*Status, *http.Response, error) { +func (a *PersonApiService) DeleteAvailabilityExecute(r PersonApiDeleteAvailabilityRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1455,7 +1455,7 @@ func (a *PersonApiService) DeleteAvailabilityExecute(r PersonApiApiDeleteAvailab return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiDeleteConfirmationRequest struct { +type PersonApiDeleteConfirmationRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -1464,7 +1464,7 @@ type PersonApiApiDeleteConfirmationRequest struct { confirmingPersonId string } -func (r PersonApiApiDeleteConfirmationRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiDeleteConfirmationRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeleteConfirmationExecute(r) } @@ -1476,10 +1476,10 @@ DeleteConfirmation Remove a confirmation @param projectId @param skillId @param confirmingPersonId - @return PersonApiApiDeleteConfirmationRequest + @return PersonApiDeleteConfirmationRequest */ -func (a *PersonApiService) DeleteConfirmation(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) PersonApiApiDeleteConfirmationRequest { - return PersonApiApiDeleteConfirmationRequest{ +func (a *PersonApiService) DeleteConfirmation(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) PersonApiDeleteConfirmationRequest { + return PersonApiDeleteConfirmationRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1491,7 +1491,7 @@ func (a *PersonApiService) DeleteConfirmation(ctx context.Context, personId stri // Execute executes the request // @return PersonDetails -func (a *PersonApiService) DeleteConfirmationExecute(r PersonApiApiDeleteConfirmationRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) DeleteConfirmationExecute(r PersonApiDeleteConfirmationRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1575,13 +1575,13 @@ func (a *PersonApiService) DeleteConfirmationExecute(r PersonApiApiDeleteConfirm return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiDeletePersonRequest struct { +type PersonApiDeletePersonRequest struct { ctx context.Context ApiService *PersonApiService personId string } -func (r PersonApiApiDeletePersonRequest) Execute() (*Status, *http.Response, error) { +func (r PersonApiDeletePersonRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeletePersonExecute(r) } @@ -1590,10 +1590,10 @@ DeletePerson Delete an existing Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return PersonApiApiDeletePersonRequest + @return PersonApiDeletePersonRequest */ -func (a *PersonApiService) DeletePerson(ctx context.Context, personId string) PersonApiApiDeletePersonRequest { - return PersonApiApiDeletePersonRequest{ +func (a *PersonApiService) DeletePerson(ctx context.Context, personId string) PersonApiDeletePersonRequest { + return PersonApiDeletePersonRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1602,7 +1602,7 @@ func (a *PersonApiService) DeletePerson(ctx context.Context, personId string) Pe // Execute executes the request // @return Status -func (a *PersonApiService) DeletePersonExecute(r PersonApiApiDeletePersonRequest) (*Status, *http.Response, error) { +func (a *PersonApiService) DeletePersonExecute(r PersonApiDeletePersonRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1683,14 +1683,14 @@ func (a *PersonApiService) DeletePersonExecute(r PersonApiApiDeletePersonRequest return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiDeletePersonCertificationRequest struct { +type PersonApiDeletePersonCertificationRequest struct { ctx context.Context ApiService *PersonApiService personId string certificationId string } -func (r PersonApiApiDeletePersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiDeletePersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonCertificationExecute(r) } @@ -1700,10 +1700,10 @@ DeletePersonCertification Remove an Interest to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param certificationId - @return PersonApiApiDeletePersonCertificationRequest + @return PersonApiDeletePersonCertificationRequest */ -func (a *PersonApiService) DeletePersonCertification(ctx context.Context, personId string, certificationId string) PersonApiApiDeletePersonCertificationRequest { - return PersonApiApiDeletePersonCertificationRequest{ +func (a *PersonApiService) DeletePersonCertification(ctx context.Context, personId string, certificationId string) PersonApiDeletePersonCertificationRequest { + return PersonApiDeletePersonCertificationRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1713,7 +1713,7 @@ func (a *PersonApiService) DeletePersonCertification(ctx context.Context, person // Execute executes the request // @return PersonDetails -func (a *PersonApiService) DeletePersonCertificationExecute(r PersonApiApiDeletePersonCertificationRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) DeletePersonCertificationExecute(r PersonApiDeletePersonCertificationRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1795,14 +1795,14 @@ func (a *PersonApiService) DeletePersonCertificationExecute(r PersonApiApiDelete return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiDeletePersonInterestRequest struct { +type PersonApiDeletePersonInterestRequest struct { ctx context.Context ApiService *PersonApiService personId string skillId string } -func (r PersonApiApiDeletePersonInterestRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiDeletePersonInterestRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonInterestExecute(r) } @@ -1812,10 +1812,10 @@ DeletePersonInterest Remove an Interest to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param skillId - @return PersonApiApiDeletePersonInterestRequest + @return PersonApiDeletePersonInterestRequest */ -func (a *PersonApiService) DeletePersonInterest(ctx context.Context, personId string, skillId string) PersonApiApiDeletePersonInterestRequest { - return PersonApiApiDeletePersonInterestRequest{ +func (a *PersonApiService) DeletePersonInterest(ctx context.Context, personId string, skillId string) PersonApiDeletePersonInterestRequest { + return PersonApiDeletePersonInterestRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1825,7 +1825,7 @@ func (a *PersonApiService) DeletePersonInterest(ctx context.Context, personId st // Execute executes the request // @return PersonDetails -func (a *PersonApiService) DeletePersonInterestExecute(r PersonApiApiDeletePersonInterestRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) DeletePersonInterestExecute(r PersonApiDeletePersonInterestRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1907,14 +1907,14 @@ func (a *PersonApiService) DeletePersonInterestExecute(r PersonApiApiDeletePerso return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiDeletePersonOfficeRequest struct { +type PersonApiDeletePersonOfficeRequest struct { ctx context.Context ApiService *PersonApiService personId string officeId string } -func (r PersonApiApiDeletePersonOfficeRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiDeletePersonOfficeRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonOfficeExecute(r) } @@ -1924,10 +1924,10 @@ DeletePersonOffice Delete the office from a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param officeId - @return PersonApiApiDeletePersonOfficeRequest + @return PersonApiDeletePersonOfficeRequest */ -func (a *PersonApiService) DeletePersonOffice(ctx context.Context, personId string, officeId string) PersonApiApiDeletePersonOfficeRequest { - return PersonApiApiDeletePersonOfficeRequest{ +func (a *PersonApiService) DeletePersonOffice(ctx context.Context, personId string, officeId string) PersonApiDeletePersonOfficeRequest { + return PersonApiDeletePersonOfficeRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1937,7 +1937,7 @@ func (a *PersonApiService) DeletePersonOffice(ctx context.Context, personId stri // Execute executes the request // @return PersonDetails -func (a *PersonApiService) DeletePersonOfficeExecute(r PersonApiApiDeletePersonOfficeRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) DeletePersonOfficeExecute(r PersonApiDeletePersonOfficeRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -2019,14 +2019,14 @@ func (a *PersonApiService) DeletePersonOfficeExecute(r PersonApiApiDeletePersonO return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiDeletePersonProjectRequest struct { +type PersonApiDeletePersonProjectRequest struct { ctx context.Context ApiService *PersonApiService personId string projectId string } -func (r PersonApiApiDeletePersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiDeletePersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonProjectExecute(r) } @@ -2036,10 +2036,10 @@ DeletePersonProject Remove an Project from a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param projectId - @return PersonApiApiDeletePersonProjectRequest + @return PersonApiDeletePersonProjectRequest */ -func (a *PersonApiService) DeletePersonProject(ctx context.Context, personId string, projectId string) PersonApiApiDeletePersonProjectRequest { - return PersonApiApiDeletePersonProjectRequest{ +func (a *PersonApiService) DeletePersonProject(ctx context.Context, personId string, projectId string) PersonApiDeletePersonProjectRequest { + return PersonApiDeletePersonProjectRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -2049,7 +2049,7 @@ func (a *PersonApiService) DeletePersonProject(ctx context.Context, personId str // Execute executes the request // @return PersonDetails -func (a *PersonApiService) DeletePersonProjectExecute(r PersonApiApiDeletePersonProjectRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) DeletePersonProjectExecute(r PersonApiDeletePersonProjectRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -2131,7 +2131,7 @@ func (a *PersonApiService) DeletePersonProjectExecute(r PersonApiApiDeletePerson return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiDeletePersonProjectSkillRequest struct { +type PersonApiDeletePersonProjectSkillRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -2139,7 +2139,7 @@ type PersonApiApiDeletePersonProjectSkillRequest struct { skillId string } -func (r PersonApiApiDeletePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiDeletePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonProjectSkillExecute(r) } @@ -2150,10 +2150,10 @@ DeletePersonProjectSkill Remove a Skill from a Project participation @param personId @param projectId @param skillId - @return PersonApiApiDeletePersonProjectSkillRequest + @return PersonApiDeletePersonProjectSkillRequest */ -func (a *PersonApiService) DeletePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) PersonApiApiDeletePersonProjectSkillRequest { - return PersonApiApiDeletePersonProjectSkillRequest{ +func (a *PersonApiService) DeletePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) PersonApiDeletePersonProjectSkillRequest { + return PersonApiDeletePersonProjectSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -2164,7 +2164,7 @@ func (a *PersonApiService) DeletePersonProjectSkill(ctx context.Context, personI // Execute executes the request // @return PersonDetails -func (a *PersonApiService) DeletePersonProjectSkillExecute(r PersonApiApiDeletePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) DeletePersonProjectSkillExecute(r PersonApiDeletePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -2247,14 +2247,14 @@ func (a *PersonApiService) DeletePersonProjectSkillExecute(r PersonApiApiDeleteP return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiDeletePersonSkillExperienceRequest struct { +type PersonApiDeletePersonSkillExperienceRequest struct { ctx context.Context ApiService *PersonApiService personId string skillId string } -func (r PersonApiApiDeletePersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiDeletePersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonSkillExperienceExecute(r) } @@ -2264,10 +2264,10 @@ DeletePersonSkillExperience Remove an Skill Experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param skillId - @return PersonApiApiDeletePersonSkillExperienceRequest + @return PersonApiDeletePersonSkillExperienceRequest */ -func (a *PersonApiService) DeletePersonSkillExperience(ctx context.Context, personId string, skillId string) PersonApiApiDeletePersonSkillExperienceRequest { - return PersonApiApiDeletePersonSkillExperienceRequest{ +func (a *PersonApiService) DeletePersonSkillExperience(ctx context.Context, personId string, skillId string) PersonApiDeletePersonSkillExperienceRequest { + return PersonApiDeletePersonSkillExperienceRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -2277,7 +2277,7 @@ func (a *PersonApiService) DeletePersonSkillExperience(ctx context.Context, pers // Execute executes the request // @return PersonDetails -func (a *PersonApiService) DeletePersonSkillExperienceExecute(r PersonApiApiDeletePersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) DeletePersonSkillExperienceExecute(r PersonApiDeletePersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -2359,7 +2359,7 @@ func (a *PersonApiService) DeletePersonSkillExperienceExecute(r PersonApiApiDele return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiDeletePersonSkillExperiencesRequest struct { +type PersonApiDeletePersonSkillExperiencesRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -2367,12 +2367,12 @@ type PersonApiApiDeletePersonSkillExperiencesRequest struct { } // A list of skillIds -func (r PersonApiApiDeletePersonSkillExperiencesRequest) RequestBody(requestBody []string) PersonApiApiDeletePersonSkillExperiencesRequest { +func (r PersonApiDeletePersonSkillExperiencesRequest) RequestBody(requestBody []string) PersonApiDeletePersonSkillExperiencesRequest { r.requestBody = &requestBody return r } -func (r PersonApiApiDeletePersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiDeletePersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonSkillExperiencesExecute(r) } @@ -2381,10 +2381,10 @@ DeletePersonSkillExperiences Remove an Skill Experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return PersonApiApiDeletePersonSkillExperiencesRequest + @return PersonApiDeletePersonSkillExperiencesRequest */ -func (a *PersonApiService) DeletePersonSkillExperiences(ctx context.Context, personId string) PersonApiApiDeletePersonSkillExperiencesRequest { - return PersonApiApiDeletePersonSkillExperiencesRequest{ +func (a *PersonApiService) DeletePersonSkillExperiences(ctx context.Context, personId string) PersonApiDeletePersonSkillExperiencesRequest { + return PersonApiDeletePersonSkillExperiencesRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -2393,7 +2393,7 @@ func (a *PersonApiService) DeletePersonSkillExperiences(ctx context.Context, per // Execute executes the request // @return PersonDetails -func (a *PersonApiService) DeletePersonSkillExperiencesExecute(r PersonApiApiDeletePersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) DeletePersonSkillExperiencesExecute(r PersonApiDeletePersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -2479,13 +2479,13 @@ func (a *PersonApiService) DeletePersonSkillExperiencesExecute(r PersonApiApiDel return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiGeneratePersonProfileRequest struct { +type PersonApiGeneratePersonProfileRequest struct { ctx context.Context ApiService *PersonApiService personid string } -func (r PersonApiApiGeneratePersonProfileRequest) Execute() (**os.File, *http.Response, error) { +func (r PersonApiGeneratePersonProfileRequest) Execute() (**os.File, *http.Response, error) { return r.ApiService.GeneratePersonProfileExecute(r) } @@ -2494,10 +2494,10 @@ GeneratePersonProfile Generate a PDF profile from a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personid - @return PersonApiApiGeneratePersonProfileRequest + @return PersonApiGeneratePersonProfileRequest */ -func (a *PersonApiService) GeneratePersonProfile(ctx context.Context, personid string) PersonApiApiGeneratePersonProfileRequest { - return PersonApiApiGeneratePersonProfileRequest{ +func (a *PersonApiService) GeneratePersonProfile(ctx context.Context, personid string) PersonApiGeneratePersonProfileRequest { + return PersonApiGeneratePersonProfileRequest{ ApiService: a, ctx: ctx, personid: personid, @@ -2506,7 +2506,7 @@ func (a *PersonApiService) GeneratePersonProfile(ctx context.Context, personid s // Execute executes the request // @return *os.File -func (a *PersonApiService) GeneratePersonProfileExecute(r PersonApiApiGeneratePersonProfileRequest) (**os.File, *http.Response, error) { +func (a *PersonApiService) GeneratePersonProfileExecute(r PersonApiGeneratePersonProfileRequest) (**os.File, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -2587,13 +2587,13 @@ func (a *PersonApiService) GeneratePersonProfileExecute(r PersonApiApiGeneratePe return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiGetAvailabilitiesRequest struct { +type PersonApiGetAvailabilitiesRequest struct { ctx context.Context ApiService *PersonApiService personId string } -func (r PersonApiApiGetAvailabilitiesRequest) Execute() (*PagedAvailabilities, *http.Response, error) { +func (r PersonApiGetAvailabilitiesRequest) Execute() (*PagedAvailabilities, *http.Response, error) { return r.ApiService.GetAvailabilitiesExecute(r) } @@ -2602,10 +2602,10 @@ GetAvailabilities Get a list of all activities for a person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return PersonApiApiGetAvailabilitiesRequest + @return PersonApiGetAvailabilitiesRequest */ -func (a *PersonApiService) GetAvailabilities(ctx context.Context, personId string) PersonApiApiGetAvailabilitiesRequest { - return PersonApiApiGetAvailabilitiesRequest{ +func (a *PersonApiService) GetAvailabilities(ctx context.Context, personId string) PersonApiGetAvailabilitiesRequest { + return PersonApiGetAvailabilitiesRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -2614,7 +2614,7 @@ func (a *PersonApiService) GetAvailabilities(ctx context.Context, personId strin // Execute executes the request // @return PagedAvailabilities -func (a *PersonApiService) GetAvailabilitiesExecute(r PersonApiApiGetAvailabilitiesRequest) (*PagedAvailabilities, *http.Response, error) { +func (a *PersonApiService) GetAvailabilitiesExecute(r PersonApiGetAvailabilitiesRequest) (*PagedAvailabilities, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -2695,13 +2695,13 @@ func (a *PersonApiService) GetAvailabilitiesExecute(r PersonApiApiGetAvailabilit return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiGetPersonRequest struct { +type PersonApiGetPersonRequest struct { ctx context.Context ApiService *PersonApiService personId string } -func (r PersonApiApiGetPersonRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiGetPersonRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.GetPersonExecute(r) } @@ -2710,10 +2710,10 @@ GetPerson Get basic info about a person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return PersonApiApiGetPersonRequest + @return PersonApiGetPersonRequest */ -func (a *PersonApiService) GetPerson(ctx context.Context, personId string) PersonApiApiGetPersonRequest { - return PersonApiApiGetPersonRequest{ +func (a *PersonApiService) GetPerson(ctx context.Context, personId string) PersonApiGetPersonRequest { + return PersonApiGetPersonRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -2722,7 +2722,7 @@ func (a *PersonApiService) GetPerson(ctx context.Context, personId string) Perso // Execute executes the request // @return PersonDetails -func (a *PersonApiService) GetPersonExecute(r PersonApiApiGetPersonRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) GetPersonExecute(r PersonApiGetPersonRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -2803,14 +2803,14 @@ func (a *PersonApiService) GetPersonExecute(r PersonApiApiGetPersonRequest) (*Pe return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiRemovePersonLanguageRequest struct { +type PersonApiRemovePersonLanguageRequest struct { ctx context.Context ApiService *PersonApiService personId string languageId string } -func (r PersonApiApiRemovePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiRemovePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.RemovePersonLanguageExecute(r) } @@ -2820,10 +2820,10 @@ RemovePersonLanguage Remove a language from a person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param languageId - @return PersonApiApiRemovePersonLanguageRequest + @return PersonApiRemovePersonLanguageRequest */ -func (a *PersonApiService) RemovePersonLanguage(ctx context.Context, personId string, languageId string) PersonApiApiRemovePersonLanguageRequest { - return PersonApiApiRemovePersonLanguageRequest{ +func (a *PersonApiService) RemovePersonLanguage(ctx context.Context, personId string, languageId string) PersonApiRemovePersonLanguageRequest { + return PersonApiRemovePersonLanguageRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -2833,7 +2833,7 @@ func (a *PersonApiService) RemovePersonLanguage(ctx context.Context, personId st // Execute executes the request // @return PersonDetails -func (a *PersonApiService) RemovePersonLanguageExecute(r PersonApiApiRemovePersonLanguageRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) RemovePersonLanguageExecute(r PersonApiRemovePersonLanguageRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -2915,7 +2915,7 @@ func (a *PersonApiService) RemovePersonLanguageExecute(r PersonApiApiRemovePerso return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiSearchPersonsRequest struct { +type PersonApiSearchPersonsRequest struct { ctx context.Context ApiService *PersonApiService personSearch *PersonSearch @@ -2923,22 +2923,22 @@ type PersonApiApiSearchPersonsRequest struct { limit *int32 } -func (r PersonApiApiSearchPersonsRequest) PersonSearch(personSearch PersonSearch) PersonApiApiSearchPersonsRequest { +func (r PersonApiSearchPersonsRequest) PersonSearch(personSearch PersonSearch) PersonApiSearchPersonsRequest { r.personSearch = &personSearch return r } -func (r PersonApiApiSearchPersonsRequest) Skip(skip int32) PersonApiApiSearchPersonsRequest { +func (r PersonApiSearchPersonsRequest) Skip(skip int32) PersonApiSearchPersonsRequest { r.skip = &skip return r } -func (r PersonApiApiSearchPersonsRequest) Limit(limit int32) PersonApiApiSearchPersonsRequest { +func (r PersonApiSearchPersonsRequest) Limit(limit int32) PersonApiSearchPersonsRequest { r.limit = &limit return r } -func (r PersonApiApiSearchPersonsRequest) Execute() (*PagedPersons, *http.Response, error) { +func (r PersonApiSearchPersonsRequest) Execute() (*PagedPersons, *http.Response, error) { return r.ApiService.SearchPersonsExecute(r) } @@ -2946,10 +2946,10 @@ func (r PersonApiApiSearchPersonsRequest) Execute() (*PagedPersons, *http.Respon SearchPersons Complex search over person entities @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return PersonApiApiSearchPersonsRequest + @return PersonApiSearchPersonsRequest */ -func (a *PersonApiService) SearchPersons(ctx context.Context) PersonApiApiSearchPersonsRequest { - return PersonApiApiSearchPersonsRequest{ +func (a *PersonApiService) SearchPersons(ctx context.Context) PersonApiSearchPersonsRequest { + return PersonApiSearchPersonsRequest{ ApiService: a, ctx: ctx, } @@ -2957,7 +2957,7 @@ func (a *PersonApiService) SearchPersons(ctx context.Context) PersonApiApiSearch // Execute executes the request // @return PagedPersons -func (a *PersonApiService) SearchPersonsExecute(r PersonApiApiSearchPersonsRequest) (*PagedPersons, *http.Response, error) { +func (a *PersonApiService) SearchPersonsExecute(r PersonApiSearchPersonsRequest) (*PagedPersons, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -3048,7 +3048,7 @@ func (a *PersonApiService) SearchPersonsExecute(r PersonApiApiSearchPersonsReque return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiUpdateAvailabilityRequest struct { +type PersonApiUpdateAvailabilityRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -3057,12 +3057,12 @@ type PersonApiApiUpdateAvailabilityRequest struct { } // The availability -func (r PersonApiApiUpdateAvailabilityRequest) Availability(availability Availability) PersonApiApiUpdateAvailabilityRequest { +func (r PersonApiUpdateAvailabilityRequest) Availability(availability Availability) PersonApiUpdateAvailabilityRequest { r.availability = &availability return r } -func (r PersonApiApiUpdateAvailabilityRequest) Execute() (*AvailabilityDetail, *http.Response, error) { +func (r PersonApiUpdateAvailabilityRequest) Execute() (*AvailabilityDetail, *http.Response, error) { return r.ApiService.UpdateAvailabilityExecute(r) } @@ -3072,10 +3072,10 @@ UpdateAvailability Update a person availability @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param availabilityId - @return PersonApiApiUpdateAvailabilityRequest + @return PersonApiUpdateAvailabilityRequest */ -func (a *PersonApiService) UpdateAvailability(ctx context.Context, personId string, availabilityId string) PersonApiApiUpdateAvailabilityRequest { - return PersonApiApiUpdateAvailabilityRequest{ +func (a *PersonApiService) UpdateAvailability(ctx context.Context, personId string, availabilityId string) PersonApiUpdateAvailabilityRequest { + return PersonApiUpdateAvailabilityRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -3085,7 +3085,7 @@ func (a *PersonApiService) UpdateAvailability(ctx context.Context, personId stri // Execute executes the request // @return AvailabilityDetail -func (a *PersonApiService) UpdateAvailabilityExecute(r PersonApiApiUpdateAvailabilityRequest) (*AvailabilityDetail, *http.Response, error) { +func (a *PersonApiService) UpdateAvailabilityExecute(r PersonApiUpdateAvailabilityRequest) (*AvailabilityDetail, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -3172,19 +3172,19 @@ func (a *PersonApiService) UpdateAvailabilityExecute(r PersonApiApiUpdateAvailab return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiUpdatePersonRequest struct { +type PersonApiUpdatePersonRequest struct { ctx context.Context ApiService *PersonApiService personId string person *Person } -func (r PersonApiApiUpdatePersonRequest) Person(person Person) PersonApiApiUpdatePersonRequest { +func (r PersonApiUpdatePersonRequest) Person(person Person) PersonApiUpdatePersonRequest { r.person = &person return r } -func (r PersonApiApiUpdatePersonRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiUpdatePersonRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonExecute(r) } @@ -3193,10 +3193,10 @@ UpdatePerson Update an existing Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return PersonApiApiUpdatePersonRequest + @return PersonApiUpdatePersonRequest */ -func (a *PersonApiService) UpdatePerson(ctx context.Context, personId string) PersonApiApiUpdatePersonRequest { - return PersonApiApiUpdatePersonRequest{ +func (a *PersonApiService) UpdatePerson(ctx context.Context, personId string) PersonApiUpdatePersonRequest { + return PersonApiUpdatePersonRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -3205,7 +3205,7 @@ func (a *PersonApiService) UpdatePerson(ctx context.Context, personId string) Pe // Execute executes the request // @return PersonDetails -func (a *PersonApiService) UpdatePersonExecute(r PersonApiApiUpdatePersonRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) UpdatePersonExecute(r PersonApiUpdatePersonRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -3291,7 +3291,7 @@ func (a *PersonApiService) UpdatePersonExecute(r PersonApiApiUpdatePersonRequest return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiUpdatePersonCertificationRequest struct { +type PersonApiUpdatePersonCertificationRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -3299,12 +3299,12 @@ type PersonApiApiUpdatePersonCertificationRequest struct { body *string } -func (r PersonApiApiUpdatePersonCertificationRequest) Body(body string) PersonApiApiUpdatePersonCertificationRequest { +func (r PersonApiUpdatePersonCertificationRequest) Body(body string) PersonApiUpdatePersonCertificationRequest { r.body = &body return r } -func (r PersonApiApiUpdatePersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiUpdatePersonCertificationRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonCertificationExecute(r) } @@ -3314,10 +3314,10 @@ UpdatePersonCertification Update a Certification of a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param certificationId - @return PersonApiApiUpdatePersonCertificationRequest + @return PersonApiUpdatePersonCertificationRequest */ -func (a *PersonApiService) UpdatePersonCertification(ctx context.Context, personId string, certificationId string) PersonApiApiUpdatePersonCertificationRequest { - return PersonApiApiUpdatePersonCertificationRequest{ +func (a *PersonApiService) UpdatePersonCertification(ctx context.Context, personId string, certificationId string) PersonApiUpdatePersonCertificationRequest { + return PersonApiUpdatePersonCertificationRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -3327,7 +3327,7 @@ func (a *PersonApiService) UpdatePersonCertification(ctx context.Context, person // Execute executes the request // @return PersonDetails -func (a *PersonApiService) UpdatePersonCertificationExecute(r PersonApiApiUpdatePersonCertificationRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) UpdatePersonCertificationExecute(r PersonApiUpdatePersonCertificationRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -3414,7 +3414,7 @@ func (a *PersonApiService) UpdatePersonCertificationExecute(r PersonApiApiUpdate return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiUpdatePersonProjectRequest struct { +type PersonApiUpdatePersonProjectRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -3423,12 +3423,12 @@ type PersonApiApiUpdatePersonProjectRequest struct { } // A time frame and a list of Skills -func (r PersonApiApiUpdatePersonProjectRequest) ProjectParticipationUpdate(projectParticipationUpdate ProjectParticipationUpdate) PersonApiApiUpdatePersonProjectRequest { +func (r PersonApiUpdatePersonProjectRequest) ProjectParticipationUpdate(projectParticipationUpdate ProjectParticipationUpdate) PersonApiUpdatePersonProjectRequest { r.projectParticipationUpdate = &projectParticipationUpdate return r } -func (r PersonApiApiUpdatePersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiUpdatePersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonProjectExecute(r) } @@ -3438,10 +3438,10 @@ UpdatePersonProject Update a Project of a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param projectId - @return PersonApiApiUpdatePersonProjectRequest + @return PersonApiUpdatePersonProjectRequest */ -func (a *PersonApiService) UpdatePersonProject(ctx context.Context, personId string, projectId string) PersonApiApiUpdatePersonProjectRequest { - return PersonApiApiUpdatePersonProjectRequest{ +func (a *PersonApiService) UpdatePersonProject(ctx context.Context, personId string, projectId string) PersonApiUpdatePersonProjectRequest { + return PersonApiUpdatePersonProjectRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -3451,7 +3451,7 @@ func (a *PersonApiService) UpdatePersonProject(ctx context.Context, personId str // Execute executes the request // @return PersonDetails -func (a *PersonApiService) UpdatePersonProjectExecute(r PersonApiApiUpdatePersonProjectRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) UpdatePersonProjectExecute(r PersonApiUpdatePersonProjectRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -3538,7 +3538,7 @@ func (a *PersonApiService) UpdatePersonProjectExecute(r PersonApiApiUpdatePerson return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiUpdatePersonProjectSkillRequest struct { +type PersonApiUpdatePersonProjectSkillRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -3548,12 +3548,12 @@ type PersonApiApiUpdatePersonProjectSkillRequest struct { } // The Skill Level -func (r PersonApiApiUpdatePersonProjectSkillRequest) Level(level Level) PersonApiApiUpdatePersonProjectSkillRequest { +func (r PersonApiUpdatePersonProjectSkillRequest) Level(level Level) PersonApiUpdatePersonProjectSkillRequest { r.level = &level return r } -func (r PersonApiApiUpdatePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiUpdatePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonProjectSkillExecute(r) } @@ -3564,10 +3564,10 @@ UpdatePersonProjectSkill Update the level of a Skill in a Project participation @param personId @param projectId @param skillId - @return PersonApiApiUpdatePersonProjectSkillRequest + @return PersonApiUpdatePersonProjectSkillRequest */ -func (a *PersonApiService) UpdatePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) PersonApiApiUpdatePersonProjectSkillRequest { - return PersonApiApiUpdatePersonProjectSkillRequest{ +func (a *PersonApiService) UpdatePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) PersonApiUpdatePersonProjectSkillRequest { + return PersonApiUpdatePersonProjectSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -3578,7 +3578,7 @@ func (a *PersonApiService) UpdatePersonProjectSkill(ctx context.Context, personI // Execute executes the request // @return PersonDetails -func (a *PersonApiService) UpdatePersonProjectSkillExecute(r PersonApiApiUpdatePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) UpdatePersonProjectSkillExecute(r PersonApiUpdatePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -3666,7 +3666,7 @@ func (a *PersonApiService) UpdatePersonProjectSkillExecute(r PersonApiApiUpdateP return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiUpdatePersonSkillExperienceRequest struct { +type PersonApiUpdatePersonSkillExperienceRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -3674,12 +3674,12 @@ type PersonApiApiUpdatePersonSkillExperienceRequest struct { level *Level } -func (r PersonApiApiUpdatePersonSkillExperienceRequest) Level(level Level) PersonApiApiUpdatePersonSkillExperienceRequest { +func (r PersonApiUpdatePersonSkillExperienceRequest) Level(level Level) PersonApiUpdatePersonSkillExperienceRequest { r.level = &level return r } -func (r PersonApiApiUpdatePersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiUpdatePersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonSkillExperienceExecute(r) } @@ -3689,10 +3689,10 @@ UpdatePersonSkillExperience Edit an Skill experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param skillId - @return PersonApiApiUpdatePersonSkillExperienceRequest + @return PersonApiUpdatePersonSkillExperienceRequest */ -func (a *PersonApiService) UpdatePersonSkillExperience(ctx context.Context, personId string, skillId string) PersonApiApiUpdatePersonSkillExperienceRequest { - return PersonApiApiUpdatePersonSkillExperienceRequest{ +func (a *PersonApiService) UpdatePersonSkillExperience(ctx context.Context, personId string, skillId string) PersonApiUpdatePersonSkillExperienceRequest { + return PersonApiUpdatePersonSkillExperienceRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -3702,7 +3702,7 @@ func (a *PersonApiService) UpdatePersonSkillExperience(ctx context.Context, pers // Execute executes the request // @return PersonDetails -func (a *PersonApiService) UpdatePersonSkillExperienceExecute(r PersonApiApiUpdatePersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) UpdatePersonSkillExperienceExecute(r PersonApiUpdatePersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -3789,19 +3789,19 @@ func (a *PersonApiService) UpdatePersonSkillExperienceExecute(r PersonApiApiUpda return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiUpdatePersonSkillExperiencesRequest struct { +type PersonApiUpdatePersonSkillExperiencesRequest struct { ctx context.Context ApiService *PersonApiService personId string skillLevelUpdate *[]SkillLevelUpdate } -func (r PersonApiApiUpdatePersonSkillExperiencesRequest) SkillLevelUpdate(skillLevelUpdate []SkillLevelUpdate) PersonApiApiUpdatePersonSkillExperiencesRequest { +func (r PersonApiUpdatePersonSkillExperiencesRequest) SkillLevelUpdate(skillLevelUpdate []SkillLevelUpdate) PersonApiUpdatePersonSkillExperiencesRequest { r.skillLevelUpdate = &skillLevelUpdate return r } -func (r PersonApiApiUpdatePersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiUpdatePersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonSkillExperiencesExecute(r) } @@ -3810,10 +3810,10 @@ UpdatePersonSkillExperiences Edit an Skill experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return PersonApiApiUpdatePersonSkillExperiencesRequest + @return PersonApiUpdatePersonSkillExperiencesRequest */ -func (a *PersonApiService) UpdatePersonSkillExperiences(ctx context.Context, personId string) PersonApiApiUpdatePersonSkillExperiencesRequest { - return PersonApiApiUpdatePersonSkillExperiencesRequest{ +func (a *PersonApiService) UpdatePersonSkillExperiences(ctx context.Context, personId string) PersonApiUpdatePersonSkillExperiencesRequest { + return PersonApiUpdatePersonSkillExperiencesRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -3822,7 +3822,7 @@ func (a *PersonApiService) UpdatePersonSkillExperiences(ctx context.Context, per // Execute executes the request // @return PersonDetails -func (a *PersonApiService) UpdatePersonSkillExperiencesExecute(r PersonApiApiUpdatePersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) UpdatePersonSkillExperiencesExecute(r PersonApiUpdatePersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -3908,7 +3908,7 @@ func (a *PersonApiService) UpdatePersonSkillExperiencesExecute(r PersonApiApiUpd return localVarReturnValue, localVarHTTPResponse, nil } -type PersonApiApiUupdatePersonLanguageRequest struct { +type PersonApiUupdatePersonLanguageRequest struct { ctx context.Context ApiService *PersonApiService personId string @@ -3916,12 +3916,12 @@ type PersonApiApiUupdatePersonLanguageRequest struct { level *Level } -func (r PersonApiApiUupdatePersonLanguageRequest) Level(level Level) PersonApiApiUupdatePersonLanguageRequest { +func (r PersonApiUupdatePersonLanguageRequest) Level(level Level) PersonApiUupdatePersonLanguageRequest { r.level = &level return r } -func (r PersonApiApiUupdatePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r PersonApiUupdatePersonLanguageRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UupdatePersonLanguageExecute(r) } @@ -3931,10 +3931,10 @@ UupdatePersonLanguage Update a language of a person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param languageId - @return PersonApiApiUupdatePersonLanguageRequest + @return PersonApiUupdatePersonLanguageRequest */ -func (a *PersonApiService) UupdatePersonLanguage(ctx context.Context, personId string, languageId string) PersonApiApiUupdatePersonLanguageRequest { - return PersonApiApiUupdatePersonLanguageRequest{ +func (a *PersonApiService) UupdatePersonLanguage(ctx context.Context, personId string, languageId string) PersonApiUupdatePersonLanguageRequest { + return PersonApiUupdatePersonLanguageRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -3944,7 +3944,7 @@ func (a *PersonApiService) UupdatePersonLanguage(ctx context.Context, personId s // Execute executes the request // @return PersonDetails -func (a *PersonApiService) UupdatePersonLanguageExecute(r PersonApiApiUupdatePersonLanguageRequest) (*PersonDetails, *http.Response, error) { +func (a *PersonApiService) UupdatePersonLanguageExecute(r PersonApiUupdatePersonLanguageRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} diff --git a/api_project.go b/api_project.go index aa8f9f80..ce326062 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,7 +23,7 @@ import ( // ProjectApiService ProjectApi service type ProjectApiService service -type ProjectApiApiAddPersonProjectRequest struct { +type ProjectApiAddPersonProjectRequest struct { ctx context.Context ApiService *ProjectApiService personId string @@ -32,12 +32,12 @@ type ProjectApiApiAddPersonProjectRequest struct { } // List of Skills with level and timeframe -func (r ProjectApiApiAddPersonProjectRequest) ProjectParticipationUpdate(projectParticipationUpdate ProjectParticipationUpdate) ProjectApiApiAddPersonProjectRequest { +func (r ProjectApiAddPersonProjectRequest) ProjectParticipationUpdate(projectParticipationUpdate ProjectParticipationUpdate) ProjectApiAddPersonProjectRequest { r.projectParticipationUpdate = &projectParticipationUpdate return r } -func (r ProjectApiApiAddPersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r ProjectApiAddPersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonProjectExecute(r) } @@ -47,10 +47,10 @@ AddPersonProject Add Project to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param projectId - @return ProjectApiApiAddPersonProjectRequest + @return ProjectApiAddPersonProjectRequest */ -func (a *ProjectApiService) AddPersonProject(ctx context.Context, personId string, projectId string) ProjectApiApiAddPersonProjectRequest { - return ProjectApiApiAddPersonProjectRequest{ +func (a *ProjectApiService) AddPersonProject(ctx context.Context, personId string, projectId string) ProjectApiAddPersonProjectRequest { + return ProjectApiAddPersonProjectRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -60,7 +60,7 @@ func (a *ProjectApiService) AddPersonProject(ctx context.Context, personId strin // Execute executes the request // @return PersonDetails -func (a *ProjectApiService) AddPersonProjectExecute(r ProjectApiApiAddPersonProjectRequest) (*PersonDetails, *http.Response, error) { +func (a *ProjectApiService) AddPersonProjectExecute(r ProjectApiAddPersonProjectRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -147,7 +147,7 @@ func (a *ProjectApiService) AddPersonProjectExecute(r ProjectApiApiAddPersonProj return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiAddPersonProjectSkillRequest struct { +type ProjectApiAddPersonProjectSkillRequest struct { ctx context.Context ApiService *ProjectApiService personId string @@ -157,12 +157,12 @@ type ProjectApiApiAddPersonProjectSkillRequest struct { } // The Skill Level -func (r ProjectApiApiAddPersonProjectSkillRequest) Level(level Level) ProjectApiApiAddPersonProjectSkillRequest { +func (r ProjectApiAddPersonProjectSkillRequest) Level(level Level) ProjectApiAddPersonProjectSkillRequest { r.level = &level return r } -func (r ProjectApiApiAddPersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r ProjectApiAddPersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonProjectSkillExecute(r) } @@ -173,10 +173,10 @@ AddPersonProjectSkill Add Skill to a Project participation @param personId @param projectId @param skillId - @return ProjectApiApiAddPersonProjectSkillRequest + @return ProjectApiAddPersonProjectSkillRequest */ -func (a *ProjectApiService) AddPersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) ProjectApiApiAddPersonProjectSkillRequest { - return ProjectApiApiAddPersonProjectSkillRequest{ +func (a *ProjectApiService) AddPersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) ProjectApiAddPersonProjectSkillRequest { + return ProjectApiAddPersonProjectSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -187,7 +187,7 @@ func (a *ProjectApiService) AddPersonProjectSkill(ctx context.Context, personId // Execute executes the request // @return PersonDetails -func (a *ProjectApiService) AddPersonProjectSkillExecute(r ProjectApiApiAddPersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *ProjectApiService) AddPersonProjectSkillExecute(r ProjectApiAddPersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -275,7 +275,7 @@ func (a *ProjectApiService) AddPersonProjectSkillExecute(r ProjectApiApiAddPerso return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiConfirmSkillRequest struct { +type ProjectApiConfirmSkillRequest struct { ctx context.Context ApiService *ProjectApiService personId string @@ -284,7 +284,7 @@ type ProjectApiApiConfirmSkillRequest struct { confirmingPersonId string } -func (r ProjectApiApiConfirmSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r ProjectApiConfirmSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.ConfirmSkillExecute(r) } @@ -296,10 +296,10 @@ ConfirmSkill Confirm Skill @param projectId @param skillId @param confirmingPersonId - @return ProjectApiApiConfirmSkillRequest + @return ProjectApiConfirmSkillRequest */ -func (a *ProjectApiService) ConfirmSkill(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) ProjectApiApiConfirmSkillRequest { - return ProjectApiApiConfirmSkillRequest{ +func (a *ProjectApiService) ConfirmSkill(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) ProjectApiConfirmSkillRequest { + return ProjectApiConfirmSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -311,7 +311,7 @@ func (a *ProjectApiService) ConfirmSkill(ctx context.Context, personId string, p // Execute executes the request // @return PersonDetails -func (a *ProjectApiService) ConfirmSkillExecute(r ProjectApiApiConfirmSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *ProjectApiService) ConfirmSkillExecute(r ProjectApiConfirmSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -395,19 +395,19 @@ func (a *ProjectApiService) ConfirmSkillExecute(r ProjectApiApiConfirmSkillReque return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiCreateProjectRequest struct { +type ProjectApiCreateProjectRequest struct { ctx context.Context ApiService *ProjectApiService organizationId string project *Project } -func (r ProjectApiApiCreateProjectRequest) Project(project Project) ProjectApiApiCreateProjectRequest { +func (r ProjectApiCreateProjectRequest) Project(project Project) ProjectApiCreateProjectRequest { r.project = &project return r } -func (r ProjectApiApiCreateProjectRequest) Execute() (*ProjectDetails, *http.Response, error) { +func (r ProjectApiCreateProjectRequest) Execute() (*ProjectDetails, *http.Response, error) { return r.ApiService.CreateProjectExecute(r) } @@ -416,10 +416,10 @@ CreateProject Create a Project in an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return ProjectApiApiCreateProjectRequest + @return ProjectApiCreateProjectRequest */ -func (a *ProjectApiService) CreateProject(ctx context.Context, organizationId string) ProjectApiApiCreateProjectRequest { - return ProjectApiApiCreateProjectRequest{ +func (a *ProjectApiService) CreateProject(ctx context.Context, organizationId string) ProjectApiCreateProjectRequest { + return ProjectApiCreateProjectRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -428,7 +428,7 @@ func (a *ProjectApiService) CreateProject(ctx context.Context, organizationId st // Execute executes the request // @return ProjectDetails -func (a *ProjectApiService) CreateProjectExecute(r ProjectApiApiCreateProjectRequest) (*ProjectDetails, *http.Response, error) { +func (a *ProjectApiService) CreateProjectExecute(r ProjectApiCreateProjectRequest) (*ProjectDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -514,7 +514,7 @@ func (a *ProjectApiService) CreateProjectExecute(r ProjectApiApiCreateProjectReq return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiDeleteConfirmationRequest struct { +type ProjectApiDeleteConfirmationRequest struct { ctx context.Context ApiService *ProjectApiService personId string @@ -523,7 +523,7 @@ type ProjectApiApiDeleteConfirmationRequest struct { confirmingPersonId string } -func (r ProjectApiApiDeleteConfirmationRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r ProjectApiDeleteConfirmationRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeleteConfirmationExecute(r) } @@ -535,10 +535,10 @@ DeleteConfirmation Remove a confirmation @param projectId @param skillId @param confirmingPersonId - @return ProjectApiApiDeleteConfirmationRequest + @return ProjectApiDeleteConfirmationRequest */ -func (a *ProjectApiService) DeleteConfirmation(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) ProjectApiApiDeleteConfirmationRequest { - return ProjectApiApiDeleteConfirmationRequest{ +func (a *ProjectApiService) DeleteConfirmation(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) ProjectApiDeleteConfirmationRequest { + return ProjectApiDeleteConfirmationRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -550,7 +550,7 @@ func (a *ProjectApiService) DeleteConfirmation(ctx context.Context, personId str // Execute executes the request // @return PersonDetails -func (a *ProjectApiService) DeleteConfirmationExecute(r ProjectApiApiDeleteConfirmationRequest) (*PersonDetails, *http.Response, error) { +func (a *ProjectApiService) DeleteConfirmationExecute(r ProjectApiDeleteConfirmationRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -634,14 +634,14 @@ func (a *ProjectApiService) DeleteConfirmationExecute(r ProjectApiApiDeleteConfi return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiDeletePersonProjectRequest struct { +type ProjectApiDeletePersonProjectRequest struct { ctx context.Context ApiService *ProjectApiService personId string projectId string } -func (r ProjectApiApiDeletePersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r ProjectApiDeletePersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonProjectExecute(r) } @@ -651,10 +651,10 @@ DeletePersonProject Remove an Project from a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param projectId - @return ProjectApiApiDeletePersonProjectRequest + @return ProjectApiDeletePersonProjectRequest */ -func (a *ProjectApiService) DeletePersonProject(ctx context.Context, personId string, projectId string) ProjectApiApiDeletePersonProjectRequest { - return ProjectApiApiDeletePersonProjectRequest{ +func (a *ProjectApiService) DeletePersonProject(ctx context.Context, personId string, projectId string) ProjectApiDeletePersonProjectRequest { + return ProjectApiDeletePersonProjectRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -664,7 +664,7 @@ func (a *ProjectApiService) DeletePersonProject(ctx context.Context, personId st // Execute executes the request // @return PersonDetails -func (a *ProjectApiService) DeletePersonProjectExecute(r ProjectApiApiDeletePersonProjectRequest) (*PersonDetails, *http.Response, error) { +func (a *ProjectApiService) DeletePersonProjectExecute(r ProjectApiDeletePersonProjectRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -746,7 +746,7 @@ func (a *ProjectApiService) DeletePersonProjectExecute(r ProjectApiApiDeletePers return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiDeletePersonProjectSkillRequest struct { +type ProjectApiDeletePersonProjectSkillRequest struct { ctx context.Context ApiService *ProjectApiService personId string @@ -754,7 +754,7 @@ type ProjectApiApiDeletePersonProjectSkillRequest struct { skillId string } -func (r ProjectApiApiDeletePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r ProjectApiDeletePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonProjectSkillExecute(r) } @@ -765,10 +765,10 @@ DeletePersonProjectSkill Remove a Skill from a Project participation @param personId @param projectId @param skillId - @return ProjectApiApiDeletePersonProjectSkillRequest + @return ProjectApiDeletePersonProjectSkillRequest */ -func (a *ProjectApiService) DeletePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) ProjectApiApiDeletePersonProjectSkillRequest { - return ProjectApiApiDeletePersonProjectSkillRequest{ +func (a *ProjectApiService) DeletePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) ProjectApiDeletePersonProjectSkillRequest { + return ProjectApiDeletePersonProjectSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -779,7 +779,7 @@ func (a *ProjectApiService) DeletePersonProjectSkill(ctx context.Context, person // Execute executes the request // @return PersonDetails -func (a *ProjectApiService) DeletePersonProjectSkillExecute(r ProjectApiApiDeletePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *ProjectApiService) DeletePersonProjectSkillExecute(r ProjectApiDeletePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -862,13 +862,13 @@ func (a *ProjectApiService) DeletePersonProjectSkillExecute(r ProjectApiApiDelet return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiDeleteProjectRequest struct { +type ProjectApiDeleteProjectRequest struct { ctx context.Context ApiService *ProjectApiService projectId string } -func (r ProjectApiApiDeleteProjectRequest) Execute() (*Status, *http.Response, error) { +func (r ProjectApiDeleteProjectRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeleteProjectExecute(r) } @@ -877,10 +877,10 @@ DeleteProject Delete a project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId - @return ProjectApiApiDeleteProjectRequest + @return ProjectApiDeleteProjectRequest */ -func (a *ProjectApiService) DeleteProject(ctx context.Context, projectId string) ProjectApiApiDeleteProjectRequest { - return ProjectApiApiDeleteProjectRequest{ +func (a *ProjectApiService) DeleteProject(ctx context.Context, projectId string) ProjectApiDeleteProjectRequest { + return ProjectApiDeleteProjectRequest{ ApiService: a, ctx: ctx, projectId: projectId, @@ -889,7 +889,7 @@ func (a *ProjectApiService) DeleteProject(ctx context.Context, projectId string) // Execute executes the request // @return Status -func (a *ProjectApiService) DeleteProjectExecute(r ProjectApiApiDeleteProjectRequest) (*Status, *http.Response, error) { +func (a *ProjectApiService) DeleteProjectExecute(r ProjectApiDeleteProjectRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -970,7 +970,7 @@ func (a *ProjectApiService) DeleteProjectExecute(r ProjectApiApiDeleteProjectReq return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiGetOrganizationProjectsRequest struct { +type ProjectApiGetOrganizationProjectsRequest struct { ctx context.Context ApiService *ProjectApiService organizationId string @@ -978,17 +978,17 @@ type ProjectApiApiGetOrganizationProjectsRequest struct { limit *int32 } -func (r ProjectApiApiGetOrganizationProjectsRequest) Skip(skip int32) ProjectApiApiGetOrganizationProjectsRequest { +func (r ProjectApiGetOrganizationProjectsRequest) Skip(skip int32) ProjectApiGetOrganizationProjectsRequest { r.skip = &skip return r } -func (r ProjectApiApiGetOrganizationProjectsRequest) Limit(limit int32) ProjectApiApiGetOrganizationProjectsRequest { +func (r ProjectApiGetOrganizationProjectsRequest) Limit(limit int32) ProjectApiGetOrganizationProjectsRequest { r.limit = &limit return r } -func (r ProjectApiApiGetOrganizationProjectsRequest) Execute() (*PagedProjects, *http.Response, error) { +func (r ProjectApiGetOrganizationProjectsRequest) Execute() (*PagedProjects, *http.Response, error) { return r.ApiService.GetOrganizationProjectsExecute(r) } @@ -997,10 +997,10 @@ GetOrganizationProjects Get a list of all Projects for an Organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organizationId - @return ProjectApiApiGetOrganizationProjectsRequest + @return ProjectApiGetOrganizationProjectsRequest */ -func (a *ProjectApiService) GetOrganizationProjects(ctx context.Context, organizationId string) ProjectApiApiGetOrganizationProjectsRequest { - return ProjectApiApiGetOrganizationProjectsRequest{ +func (a *ProjectApiService) GetOrganizationProjects(ctx context.Context, organizationId string) ProjectApiGetOrganizationProjectsRequest { + return ProjectApiGetOrganizationProjectsRequest{ ApiService: a, ctx: ctx, organizationId: organizationId, @@ -1009,7 +1009,7 @@ func (a *ProjectApiService) GetOrganizationProjects(ctx context.Context, organiz // Execute executes the request // @return PagedProjects -func (a *ProjectApiService) GetOrganizationProjectsExecute(r ProjectApiApiGetOrganizationProjectsRequest) (*PagedProjects, *http.Response, error) { +func (a *ProjectApiService) GetOrganizationProjectsExecute(r ProjectApiGetOrganizationProjectsRequest) (*PagedProjects, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1096,13 +1096,13 @@ func (a *ProjectApiService) GetOrganizationProjectsExecute(r ProjectApiApiGetOrg return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiGetProjectRequest struct { +type ProjectApiGetProjectRequest struct { ctx context.Context ApiService *ProjectApiService projectId string } -func (r ProjectApiApiGetProjectRequest) Execute() (*ProjectDetails, *http.Response, error) { +func (r ProjectApiGetProjectRequest) Execute() (*ProjectDetails, *http.Response, error) { return r.ApiService.GetProjectExecute(r) } @@ -1111,10 +1111,10 @@ GetProject Get details about a Project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId - @return ProjectApiApiGetProjectRequest + @return ProjectApiGetProjectRequest */ -func (a *ProjectApiService) GetProject(ctx context.Context, projectId string) ProjectApiApiGetProjectRequest { - return ProjectApiApiGetProjectRequest{ +func (a *ProjectApiService) GetProject(ctx context.Context, projectId string) ProjectApiGetProjectRequest { + return ProjectApiGetProjectRequest{ ApiService: a, ctx: ctx, projectId: projectId, @@ -1123,7 +1123,7 @@ func (a *ProjectApiService) GetProject(ctx context.Context, projectId string) Pr // Execute executes the request // @return ProjectDetails -func (a *ProjectApiService) GetProjectExecute(r ProjectApiApiGetProjectRequest) (*ProjectDetails, *http.Response, error) { +func (a *ProjectApiService) GetProjectExecute(r ProjectApiGetProjectRequest) (*ProjectDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1204,7 +1204,7 @@ func (a *ProjectApiService) GetProjectExecute(r ProjectApiApiGetProjectRequest) return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiSearchProjectsRequest struct { +type ProjectApiSearchProjectsRequest struct { ctx context.Context ApiService *ProjectApiService projectSearch *ProjectSearch @@ -1212,22 +1212,22 @@ type ProjectApiApiSearchProjectsRequest struct { limit *int32 } -func (r ProjectApiApiSearchProjectsRequest) ProjectSearch(projectSearch ProjectSearch) ProjectApiApiSearchProjectsRequest { +func (r ProjectApiSearchProjectsRequest) ProjectSearch(projectSearch ProjectSearch) ProjectApiSearchProjectsRequest { r.projectSearch = &projectSearch return r } -func (r ProjectApiApiSearchProjectsRequest) Skip(skip int32) ProjectApiApiSearchProjectsRequest { +func (r ProjectApiSearchProjectsRequest) Skip(skip int32) ProjectApiSearchProjectsRequest { r.skip = &skip return r } -func (r ProjectApiApiSearchProjectsRequest) Limit(limit int32) ProjectApiApiSearchProjectsRequest { +func (r ProjectApiSearchProjectsRequest) Limit(limit int32) ProjectApiSearchProjectsRequest { r.limit = &limit return r } -func (r ProjectApiApiSearchProjectsRequest) Execute() (*PagedProjects, *http.Response, error) { +func (r ProjectApiSearchProjectsRequest) Execute() (*PagedProjects, *http.Response, error) { return r.ApiService.SearchProjectsExecute(r) } @@ -1235,10 +1235,10 @@ func (r ProjectApiApiSearchProjectsRequest) Execute() (*PagedProjects, *http.Res SearchProjects Complex search over project entities @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ProjectApiApiSearchProjectsRequest + @return ProjectApiSearchProjectsRequest */ -func (a *ProjectApiService) SearchProjects(ctx context.Context) ProjectApiApiSearchProjectsRequest { - return ProjectApiApiSearchProjectsRequest{ +func (a *ProjectApiService) SearchProjects(ctx context.Context) ProjectApiSearchProjectsRequest { + return ProjectApiSearchProjectsRequest{ ApiService: a, ctx: ctx, } @@ -1246,7 +1246,7 @@ func (a *ProjectApiService) SearchProjects(ctx context.Context) ProjectApiApiSea // Execute executes the request // @return PagedProjects -func (a *ProjectApiService) SearchProjectsExecute(r ProjectApiApiSearchProjectsRequest) (*PagedProjects, *http.Response, error) { +func (a *ProjectApiService) SearchProjectsExecute(r ProjectApiSearchProjectsRequest) (*PagedProjects, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -1337,7 +1337,7 @@ func (a *ProjectApiService) SearchProjectsExecute(r ProjectApiApiSearchProjectsR return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiUpdatePersonProjectRequest struct { +type ProjectApiUpdatePersonProjectRequest struct { ctx context.Context ApiService *ProjectApiService personId string @@ -1346,12 +1346,12 @@ type ProjectApiApiUpdatePersonProjectRequest struct { } // A time frame and a list of Skills -func (r ProjectApiApiUpdatePersonProjectRequest) ProjectParticipationUpdate(projectParticipationUpdate ProjectParticipationUpdate) ProjectApiApiUpdatePersonProjectRequest { +func (r ProjectApiUpdatePersonProjectRequest) ProjectParticipationUpdate(projectParticipationUpdate ProjectParticipationUpdate) ProjectApiUpdatePersonProjectRequest { r.projectParticipationUpdate = &projectParticipationUpdate return r } -func (r ProjectApiApiUpdatePersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r ProjectApiUpdatePersonProjectRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonProjectExecute(r) } @@ -1361,10 +1361,10 @@ UpdatePersonProject Update a Project of a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param projectId - @return ProjectApiApiUpdatePersonProjectRequest + @return ProjectApiUpdatePersonProjectRequest */ -func (a *ProjectApiService) UpdatePersonProject(ctx context.Context, personId string, projectId string) ProjectApiApiUpdatePersonProjectRequest { - return ProjectApiApiUpdatePersonProjectRequest{ +func (a *ProjectApiService) UpdatePersonProject(ctx context.Context, personId string, projectId string) ProjectApiUpdatePersonProjectRequest { + return ProjectApiUpdatePersonProjectRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1374,7 +1374,7 @@ func (a *ProjectApiService) UpdatePersonProject(ctx context.Context, personId st // Execute executes the request // @return PersonDetails -func (a *ProjectApiService) UpdatePersonProjectExecute(r ProjectApiApiUpdatePersonProjectRequest) (*PersonDetails, *http.Response, error) { +func (a *ProjectApiService) UpdatePersonProjectExecute(r ProjectApiUpdatePersonProjectRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1461,7 +1461,7 @@ func (a *ProjectApiService) UpdatePersonProjectExecute(r ProjectApiApiUpdatePers return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiUpdatePersonProjectSkillRequest struct { +type ProjectApiUpdatePersonProjectSkillRequest struct { ctx context.Context ApiService *ProjectApiService personId string @@ -1471,12 +1471,12 @@ type ProjectApiApiUpdatePersonProjectSkillRequest struct { } // The Skill Level -func (r ProjectApiApiUpdatePersonProjectSkillRequest) Level(level Level) ProjectApiApiUpdatePersonProjectSkillRequest { +func (r ProjectApiUpdatePersonProjectSkillRequest) Level(level Level) ProjectApiUpdatePersonProjectSkillRequest { r.level = &level return r } -func (r ProjectApiApiUpdatePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r ProjectApiUpdatePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonProjectSkillExecute(r) } @@ -1487,10 +1487,10 @@ UpdatePersonProjectSkill Update the level of a Skill in a Project participation @param personId @param projectId @param skillId - @return ProjectApiApiUpdatePersonProjectSkillRequest + @return ProjectApiUpdatePersonProjectSkillRequest */ -func (a *ProjectApiService) UpdatePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) ProjectApiApiUpdatePersonProjectSkillRequest { - return ProjectApiApiUpdatePersonProjectSkillRequest{ +func (a *ProjectApiService) UpdatePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) ProjectApiUpdatePersonProjectSkillRequest { + return ProjectApiUpdatePersonProjectSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1501,7 +1501,7 @@ func (a *ProjectApiService) UpdatePersonProjectSkill(ctx context.Context, person // Execute executes the request // @return PersonDetails -func (a *ProjectApiService) UpdatePersonProjectSkillExecute(r ProjectApiApiUpdatePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *ProjectApiService) UpdatePersonProjectSkillExecute(r ProjectApiUpdatePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -1589,19 +1589,19 @@ func (a *ProjectApiService) UpdatePersonProjectSkillExecute(r ProjectApiApiUpdat return localVarReturnValue, localVarHTTPResponse, nil } -type ProjectApiApiUpdateProjectRequest struct { +type ProjectApiUpdateProjectRequest struct { ctx context.Context ApiService *ProjectApiService projectId string project *Project } -func (r ProjectApiApiUpdateProjectRequest) Project(project Project) ProjectApiApiUpdateProjectRequest { +func (r ProjectApiUpdateProjectRequest) Project(project Project) ProjectApiUpdateProjectRequest { r.project = &project return r } -func (r ProjectApiApiUpdateProjectRequest) Execute() (*ProjectDetails, *http.Response, error) { +func (r ProjectApiUpdateProjectRequest) Execute() (*ProjectDetails, *http.Response, error) { return r.ApiService.UpdateProjectExecute(r) } @@ -1610,10 +1610,10 @@ UpdateProject Update a Project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId - @return ProjectApiApiUpdateProjectRequest + @return ProjectApiUpdateProjectRequest */ -func (a *ProjectApiService) UpdateProject(ctx context.Context, projectId string) ProjectApiApiUpdateProjectRequest { - return ProjectApiApiUpdateProjectRequest{ +func (a *ProjectApiService) UpdateProject(ctx context.Context, projectId string) ProjectApiUpdateProjectRequest { + return ProjectApiUpdateProjectRequest{ ApiService: a, ctx: ctx, projectId: projectId, @@ -1622,7 +1622,7 @@ func (a *ProjectApiService) UpdateProject(ctx context.Context, projectId string) // Execute executes the request // @return ProjectDetails -func (a *ProjectApiService) UpdateProjectExecute(r ProjectApiApiUpdateProjectRequest) (*ProjectDetails, *http.Response, error) { +func (a *ProjectApiService) UpdateProjectExecute(r ProjectApiUpdateProjectRequest) (*ProjectDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} diff --git a/api_search.go b/api_search.go index d246f9a2..748f8377 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,7 +23,7 @@ import ( // SearchApiService SearchApi service type SearchApiService service -type SearchApiApiSearchAllRequest struct { +type SearchApiSearchAllRequest struct { ctx context.Context ApiService *SearchApiService text string @@ -31,17 +31,17 @@ type SearchApiApiSearchAllRequest struct { limit *int32 } -func (r SearchApiApiSearchAllRequest) Skip(skip int32) SearchApiApiSearchAllRequest { +func (r SearchApiSearchAllRequest) Skip(skip int32) SearchApiSearchAllRequest { r.skip = &skip return r } -func (r SearchApiApiSearchAllRequest) Limit(limit int32) SearchApiApiSearchAllRequest { +func (r SearchApiSearchAllRequest) Limit(limit int32) SearchApiSearchAllRequest { r.limit = &limit return r } -func (r SearchApiApiSearchAllRequest) Execute() (*SearchResult, *http.Response, error) { +func (r SearchApiSearchAllRequest) Execute() (*SearchResult, *http.Response, error) { return r.ApiService.SearchAllExecute(r) } @@ -50,10 +50,10 @@ SearchAll Fulltext search on all kinds of objects @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param text - @return SearchApiApiSearchAllRequest + @return SearchApiSearchAllRequest */ -func (a *SearchApiService) SearchAll(ctx context.Context, text string) SearchApiApiSearchAllRequest { - return SearchApiApiSearchAllRequest{ +func (a *SearchApiService) SearchAll(ctx context.Context, text string) SearchApiSearchAllRequest { + return SearchApiSearchAllRequest{ ApiService: a, ctx: ctx, text: text, @@ -62,7 +62,7 @@ func (a *SearchApiService) SearchAll(ctx context.Context, text string) SearchApi // Execute executes the request // @return SearchResult -func (a *SearchApiService) SearchAllExecute(r SearchApiApiSearchAllRequest) (*SearchResult, *http.Response, error) { +func (a *SearchApiService) SearchAllExecute(r SearchApiSearchAllRequest) (*SearchResult, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} diff --git a/api_skill.go b/api_skill.go index aae9387a..c36980e8 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -23,14 +23,14 @@ import ( // SkillApiService SkillApi service type SkillApiService service -type SkillApiApiAddPersonInterestRequest struct { +type SkillApiAddPersonInterestRequest struct { ctx context.Context ApiService *SkillApiService personId string skillId string } -func (r SkillApiApiAddPersonInterestRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiAddPersonInterestRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonInterestExecute(r) } @@ -40,10 +40,10 @@ AddPersonInterest Add an Interest to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param skillId - @return SkillApiApiAddPersonInterestRequest + @return SkillApiAddPersonInterestRequest */ -func (a *SkillApiService) AddPersonInterest(ctx context.Context, personId string, skillId string) SkillApiApiAddPersonInterestRequest { - return SkillApiApiAddPersonInterestRequest{ +func (a *SkillApiService) AddPersonInterest(ctx context.Context, personId string, skillId string) SkillApiAddPersonInterestRequest { + return SkillApiAddPersonInterestRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -53,7 +53,7 @@ func (a *SkillApiService) AddPersonInterest(ctx context.Context, personId string // Execute executes the request // @return PersonDetails -func (a *SkillApiService) AddPersonInterestExecute(r SkillApiApiAddPersonInterestRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) AddPersonInterestExecute(r SkillApiAddPersonInterestRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -135,7 +135,7 @@ func (a *SkillApiService) AddPersonInterestExecute(r SkillApiApiAddPersonInteres return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiAddPersonProjectSkillRequest struct { +type SkillApiAddPersonProjectSkillRequest struct { ctx context.Context ApiService *SkillApiService personId string @@ -145,12 +145,12 @@ type SkillApiApiAddPersonProjectSkillRequest struct { } // The Skill Level -func (r SkillApiApiAddPersonProjectSkillRequest) Level(level Level) SkillApiApiAddPersonProjectSkillRequest { +func (r SkillApiAddPersonProjectSkillRequest) Level(level Level) SkillApiAddPersonProjectSkillRequest { r.level = &level return r } -func (r SkillApiApiAddPersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiAddPersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonProjectSkillExecute(r) } @@ -161,10 +161,10 @@ AddPersonProjectSkill Add Skill to a Project participation @param personId @param projectId @param skillId - @return SkillApiApiAddPersonProjectSkillRequest + @return SkillApiAddPersonProjectSkillRequest */ -func (a *SkillApiService) AddPersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) SkillApiApiAddPersonProjectSkillRequest { - return SkillApiApiAddPersonProjectSkillRequest{ +func (a *SkillApiService) AddPersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) SkillApiAddPersonProjectSkillRequest { + return SkillApiAddPersonProjectSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -175,7 +175,7 @@ func (a *SkillApiService) AddPersonProjectSkill(ctx context.Context, personId st // Execute executes the request // @return PersonDetails -func (a *SkillApiService) AddPersonProjectSkillExecute(r SkillApiApiAddPersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) AddPersonProjectSkillExecute(r SkillApiAddPersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -263,7 +263,7 @@ func (a *SkillApiService) AddPersonProjectSkillExecute(r SkillApiApiAddPersonPro return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiAddPersonSkillExperienceRequest struct { +type SkillApiAddPersonSkillExperienceRequest struct { ctx context.Context ApiService *SkillApiService personId string @@ -271,12 +271,12 @@ type SkillApiApiAddPersonSkillExperienceRequest struct { level *Level } -func (r SkillApiApiAddPersonSkillExperienceRequest) Level(level Level) SkillApiApiAddPersonSkillExperienceRequest { +func (r SkillApiAddPersonSkillExperienceRequest) Level(level Level) SkillApiAddPersonSkillExperienceRequest { r.level = &level return r } -func (r SkillApiApiAddPersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiAddPersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonSkillExperienceExecute(r) } @@ -286,10 +286,10 @@ AddPersonSkillExperience Add an Skill experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param skillId - @return SkillApiApiAddPersonSkillExperienceRequest + @return SkillApiAddPersonSkillExperienceRequest */ -func (a *SkillApiService) AddPersonSkillExperience(ctx context.Context, personId string, skillId string) SkillApiApiAddPersonSkillExperienceRequest { - return SkillApiApiAddPersonSkillExperienceRequest{ +func (a *SkillApiService) AddPersonSkillExperience(ctx context.Context, personId string, skillId string) SkillApiAddPersonSkillExperienceRequest { + return SkillApiAddPersonSkillExperienceRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -299,7 +299,7 @@ func (a *SkillApiService) AddPersonSkillExperience(ctx context.Context, personId // Execute executes the request // @return PersonDetails -func (a *SkillApiService) AddPersonSkillExperienceExecute(r SkillApiApiAddPersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) AddPersonSkillExperienceExecute(r SkillApiAddPersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -386,19 +386,19 @@ func (a *SkillApiService) AddPersonSkillExperienceExecute(r SkillApiApiAddPerson return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiAddPersonSkillExperiencesRequest struct { +type SkillApiAddPersonSkillExperiencesRequest struct { ctx context.Context ApiService *SkillApiService personId string skillLevelUpdate *[]SkillLevelUpdate } -func (r SkillApiApiAddPersonSkillExperiencesRequest) SkillLevelUpdate(skillLevelUpdate []SkillLevelUpdate) SkillApiApiAddPersonSkillExperiencesRequest { +func (r SkillApiAddPersonSkillExperiencesRequest) SkillLevelUpdate(skillLevelUpdate []SkillLevelUpdate) SkillApiAddPersonSkillExperiencesRequest { r.skillLevelUpdate = &skillLevelUpdate return r } -func (r SkillApiApiAddPersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiAddPersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.AddPersonSkillExperiencesExecute(r) } @@ -407,10 +407,10 @@ AddPersonSkillExperiences Add an Skill experience to a Person (bulk) @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return SkillApiApiAddPersonSkillExperiencesRequest + @return SkillApiAddPersonSkillExperiencesRequest */ -func (a *SkillApiService) AddPersonSkillExperiences(ctx context.Context, personId string) SkillApiApiAddPersonSkillExperiencesRequest { - return SkillApiApiAddPersonSkillExperiencesRequest{ +func (a *SkillApiService) AddPersonSkillExperiences(ctx context.Context, personId string) SkillApiAddPersonSkillExperiencesRequest { + return SkillApiAddPersonSkillExperiencesRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -419,7 +419,7 @@ func (a *SkillApiService) AddPersonSkillExperiences(ctx context.Context, personI // Execute executes the request // @return PersonDetails -func (a *SkillApiService) AddPersonSkillExperiencesExecute(r SkillApiApiAddPersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) AddPersonSkillExperiencesExecute(r SkillApiAddPersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -505,7 +505,7 @@ func (a *SkillApiService) AddPersonSkillExperiencesExecute(r SkillApiApiAddPerso return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiAddSkillToCertificationRequest struct { +type SkillApiAddSkillToCertificationRequest struct { ctx context.Context ApiService *SkillApiService certificationId string @@ -513,12 +513,12 @@ type SkillApiApiAddSkillToCertificationRequest struct { level *Level } -func (r SkillApiApiAddSkillToCertificationRequest) Level(level Level) SkillApiApiAddSkillToCertificationRequest { +func (r SkillApiAddSkillToCertificationRequest) Level(level Level) SkillApiAddSkillToCertificationRequest { r.level = &level return r } -func (r SkillApiApiAddSkillToCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r SkillApiAddSkillToCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.AddSkillToCertificationExecute(r) } @@ -530,10 +530,10 @@ Add Skill to Certification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param certificationId @param skillId - @return SkillApiApiAddSkillToCertificationRequest + @return SkillApiAddSkillToCertificationRequest */ -func (a *SkillApiService) AddSkillToCertification(ctx context.Context, certificationId string, skillId string) SkillApiApiAddSkillToCertificationRequest { - return SkillApiApiAddSkillToCertificationRequest{ +func (a *SkillApiService) AddSkillToCertification(ctx context.Context, certificationId string, skillId string) SkillApiAddSkillToCertificationRequest { + return SkillApiAddSkillToCertificationRequest{ ApiService: a, ctx: ctx, certificationId: certificationId, @@ -543,7 +543,7 @@ func (a *SkillApiService) AddSkillToCertification(ctx context.Context, certifica // Execute executes the request // @return CertificationDetails -func (a *SkillApiService) AddSkillToCertificationExecute(r SkillApiApiAddSkillToCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *SkillApiService) AddSkillToCertificationExecute(r SkillApiAddSkillToCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -630,14 +630,14 @@ func (a *SkillApiService) AddSkillToCertificationExecute(r SkillApiApiAddSkillTo return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiAddSkillToParentSkillRequest struct { +type SkillApiAddSkillToParentSkillRequest struct { ctx context.Context ApiService *SkillApiService skillId string parentSkillId string } -func (r SkillApiApiAddSkillToParentSkillRequest) Execute() (*SkillDetails, *http.Response, error) { +func (r SkillApiAddSkillToParentSkillRequest) Execute() (*SkillDetails, *http.Response, error) { return r.ApiService.AddSkillToParentSkillExecute(r) } @@ -647,10 +647,10 @@ AddSkillToParentSkill Attach a Skill to a parent Skill, returns the parent Skill @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param skillId @param parentSkillId - @return SkillApiApiAddSkillToParentSkillRequest + @return SkillApiAddSkillToParentSkillRequest */ -func (a *SkillApiService) AddSkillToParentSkill(ctx context.Context, skillId string, parentSkillId string) SkillApiApiAddSkillToParentSkillRequest { - return SkillApiApiAddSkillToParentSkillRequest{ +func (a *SkillApiService) AddSkillToParentSkill(ctx context.Context, skillId string, parentSkillId string) SkillApiAddSkillToParentSkillRequest { + return SkillApiAddSkillToParentSkillRequest{ ApiService: a, ctx: ctx, skillId: skillId, @@ -660,7 +660,7 @@ func (a *SkillApiService) AddSkillToParentSkill(ctx context.Context, skillId str // Execute executes the request // @return SkillDetails -func (a *SkillApiService) AddSkillToParentSkillExecute(r SkillApiApiAddSkillToParentSkillRequest) (*SkillDetails, *http.Response, error) { +func (a *SkillApiService) AddSkillToParentSkillExecute(r SkillApiAddSkillToParentSkillRequest) (*SkillDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -742,7 +742,7 @@ func (a *SkillApiService) AddSkillToParentSkillExecute(r SkillApiApiAddSkillToPa return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiConfirmSkillRequest struct { +type SkillApiConfirmSkillRequest struct { ctx context.Context ApiService *SkillApiService personId string @@ -751,7 +751,7 @@ type SkillApiApiConfirmSkillRequest struct { confirmingPersonId string } -func (r SkillApiApiConfirmSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiConfirmSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.ConfirmSkillExecute(r) } @@ -763,10 +763,10 @@ ConfirmSkill Confirm Skill @param projectId @param skillId @param confirmingPersonId - @return SkillApiApiConfirmSkillRequest + @return SkillApiConfirmSkillRequest */ -func (a *SkillApiService) ConfirmSkill(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) SkillApiApiConfirmSkillRequest { - return SkillApiApiConfirmSkillRequest{ +func (a *SkillApiService) ConfirmSkill(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) SkillApiConfirmSkillRequest { + return SkillApiConfirmSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -778,7 +778,7 @@ func (a *SkillApiService) ConfirmSkill(ctx context.Context, personId string, pro // Execute executes the request // @return PersonDetails -func (a *SkillApiService) ConfirmSkillExecute(r SkillApiApiConfirmSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) ConfirmSkillExecute(r SkillApiConfirmSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -862,18 +862,18 @@ func (a *SkillApiService) ConfirmSkillExecute(r SkillApiApiConfirmSkillRequest) return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiCreateSkillRequest struct { +type SkillApiCreateSkillRequest struct { ctx context.Context ApiService *SkillApiService skill *Skill } -func (r SkillApiApiCreateSkillRequest) Skill(skill Skill) SkillApiApiCreateSkillRequest { +func (r SkillApiCreateSkillRequest) Skill(skill Skill) SkillApiCreateSkillRequest { r.skill = &skill return r } -func (r SkillApiApiCreateSkillRequest) Execute() (*SkillDetails, *http.Response, error) { +func (r SkillApiCreateSkillRequest) Execute() (*SkillDetails, *http.Response, error) { return r.ApiService.CreateSkillExecute(r) } @@ -881,10 +881,10 @@ func (r SkillApiApiCreateSkillRequest) Execute() (*SkillDetails, *http.Response, CreateSkill Create a Skill @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return SkillApiApiCreateSkillRequest + @return SkillApiCreateSkillRequest */ -func (a *SkillApiService) CreateSkill(ctx context.Context) SkillApiApiCreateSkillRequest { - return SkillApiApiCreateSkillRequest{ +func (a *SkillApiService) CreateSkill(ctx context.Context) SkillApiCreateSkillRequest { + return SkillApiCreateSkillRequest{ ApiService: a, ctx: ctx, } @@ -892,7 +892,7 @@ func (a *SkillApiService) CreateSkill(ctx context.Context) SkillApiApiCreateSkil // Execute executes the request // @return SkillDetails -func (a *SkillApiService) CreateSkillExecute(r SkillApiApiCreateSkillRequest) (*SkillDetails, *http.Response, error) { +func (a *SkillApiService) CreateSkillExecute(r SkillApiCreateSkillRequest) (*SkillDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} @@ -977,7 +977,7 @@ func (a *SkillApiService) CreateSkillExecute(r SkillApiApiCreateSkillRequest) (* return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiDeleteConfirmationRequest struct { +type SkillApiDeleteConfirmationRequest struct { ctx context.Context ApiService *SkillApiService personId string @@ -986,7 +986,7 @@ type SkillApiApiDeleteConfirmationRequest struct { confirmingPersonId string } -func (r SkillApiApiDeleteConfirmationRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiDeleteConfirmationRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeleteConfirmationExecute(r) } @@ -998,10 +998,10 @@ DeleteConfirmation Remove a confirmation @param projectId @param skillId @param confirmingPersonId - @return SkillApiApiDeleteConfirmationRequest + @return SkillApiDeleteConfirmationRequest */ -func (a *SkillApiService) DeleteConfirmation(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) SkillApiApiDeleteConfirmationRequest { - return SkillApiApiDeleteConfirmationRequest{ +func (a *SkillApiService) DeleteConfirmation(ctx context.Context, personId string, projectId string, skillId string, confirmingPersonId string) SkillApiDeleteConfirmationRequest { + return SkillApiDeleteConfirmationRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1013,7 +1013,7 @@ func (a *SkillApiService) DeleteConfirmation(ctx context.Context, personId strin // Execute executes the request // @return PersonDetails -func (a *SkillApiService) DeleteConfirmationExecute(r SkillApiApiDeleteConfirmationRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) DeleteConfirmationExecute(r SkillApiDeleteConfirmationRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1097,14 +1097,14 @@ func (a *SkillApiService) DeleteConfirmationExecute(r SkillApiApiDeleteConfirmat return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiDeletePersonInterestRequest struct { +type SkillApiDeletePersonInterestRequest struct { ctx context.Context ApiService *SkillApiService personId string skillId string } -func (r SkillApiApiDeletePersonInterestRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiDeletePersonInterestRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonInterestExecute(r) } @@ -1114,10 +1114,10 @@ DeletePersonInterest Remove an Interest to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param skillId - @return SkillApiApiDeletePersonInterestRequest + @return SkillApiDeletePersonInterestRequest */ -func (a *SkillApiService) DeletePersonInterest(ctx context.Context, personId string, skillId string) SkillApiApiDeletePersonInterestRequest { - return SkillApiApiDeletePersonInterestRequest{ +func (a *SkillApiService) DeletePersonInterest(ctx context.Context, personId string, skillId string) SkillApiDeletePersonInterestRequest { + return SkillApiDeletePersonInterestRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1127,7 +1127,7 @@ func (a *SkillApiService) DeletePersonInterest(ctx context.Context, personId str // Execute executes the request // @return PersonDetails -func (a *SkillApiService) DeletePersonInterestExecute(r SkillApiApiDeletePersonInterestRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) DeletePersonInterestExecute(r SkillApiDeletePersonInterestRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1209,7 +1209,7 @@ func (a *SkillApiService) DeletePersonInterestExecute(r SkillApiApiDeletePersonI return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiDeletePersonProjectSkillRequest struct { +type SkillApiDeletePersonProjectSkillRequest struct { ctx context.Context ApiService *SkillApiService personId string @@ -1217,7 +1217,7 @@ type SkillApiApiDeletePersonProjectSkillRequest struct { skillId string } -func (r SkillApiApiDeletePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiDeletePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonProjectSkillExecute(r) } @@ -1228,10 +1228,10 @@ DeletePersonProjectSkill Remove a Skill from a Project participation @param personId @param projectId @param skillId - @return SkillApiApiDeletePersonProjectSkillRequest + @return SkillApiDeletePersonProjectSkillRequest */ -func (a *SkillApiService) DeletePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) SkillApiApiDeletePersonProjectSkillRequest { - return SkillApiApiDeletePersonProjectSkillRequest{ +func (a *SkillApiService) DeletePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) SkillApiDeletePersonProjectSkillRequest { + return SkillApiDeletePersonProjectSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1242,7 +1242,7 @@ func (a *SkillApiService) DeletePersonProjectSkill(ctx context.Context, personId // Execute executes the request // @return PersonDetails -func (a *SkillApiService) DeletePersonProjectSkillExecute(r SkillApiApiDeletePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) DeletePersonProjectSkillExecute(r SkillApiDeletePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1325,14 +1325,14 @@ func (a *SkillApiService) DeletePersonProjectSkillExecute(r SkillApiApiDeletePer return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiDeletePersonSkillExperienceRequest struct { +type SkillApiDeletePersonSkillExperienceRequest struct { ctx context.Context ApiService *SkillApiService personId string skillId string } -func (r SkillApiApiDeletePersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiDeletePersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonSkillExperienceExecute(r) } @@ -1342,10 +1342,10 @@ DeletePersonSkillExperience Remove an Skill Experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param skillId - @return SkillApiApiDeletePersonSkillExperienceRequest + @return SkillApiDeletePersonSkillExperienceRequest */ -func (a *SkillApiService) DeletePersonSkillExperience(ctx context.Context, personId string, skillId string) SkillApiApiDeletePersonSkillExperienceRequest { - return SkillApiApiDeletePersonSkillExperienceRequest{ +func (a *SkillApiService) DeletePersonSkillExperience(ctx context.Context, personId string, skillId string) SkillApiDeletePersonSkillExperienceRequest { + return SkillApiDeletePersonSkillExperienceRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1355,7 +1355,7 @@ func (a *SkillApiService) DeletePersonSkillExperience(ctx context.Context, perso // Execute executes the request // @return PersonDetails -func (a *SkillApiService) DeletePersonSkillExperienceExecute(r SkillApiApiDeletePersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) DeletePersonSkillExperienceExecute(r SkillApiDeletePersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1437,7 +1437,7 @@ func (a *SkillApiService) DeletePersonSkillExperienceExecute(r SkillApiApiDelete return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiDeletePersonSkillExperiencesRequest struct { +type SkillApiDeletePersonSkillExperiencesRequest struct { ctx context.Context ApiService *SkillApiService personId string @@ -1445,12 +1445,12 @@ type SkillApiApiDeletePersonSkillExperiencesRequest struct { } // A list of skillIds -func (r SkillApiApiDeletePersonSkillExperiencesRequest) RequestBody(requestBody []string) SkillApiApiDeletePersonSkillExperiencesRequest { +func (r SkillApiDeletePersonSkillExperiencesRequest) RequestBody(requestBody []string) SkillApiDeletePersonSkillExperiencesRequest { r.requestBody = &requestBody return r } -func (r SkillApiApiDeletePersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiDeletePersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.DeletePersonSkillExperiencesExecute(r) } @@ -1459,10 +1459,10 @@ DeletePersonSkillExperiences Remove an Skill Experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return SkillApiApiDeletePersonSkillExperiencesRequest + @return SkillApiDeletePersonSkillExperiencesRequest */ -func (a *SkillApiService) DeletePersonSkillExperiences(ctx context.Context, personId string) SkillApiApiDeletePersonSkillExperiencesRequest { - return SkillApiApiDeletePersonSkillExperiencesRequest{ +func (a *SkillApiService) DeletePersonSkillExperiences(ctx context.Context, personId string) SkillApiDeletePersonSkillExperiencesRequest { + return SkillApiDeletePersonSkillExperiencesRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -1471,7 +1471,7 @@ func (a *SkillApiService) DeletePersonSkillExperiences(ctx context.Context, pers // Execute executes the request // @return PersonDetails -func (a *SkillApiService) DeletePersonSkillExperiencesExecute(r SkillApiApiDeletePersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) DeletePersonSkillExperiencesExecute(r SkillApiDeletePersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1557,13 +1557,13 @@ func (a *SkillApiService) DeletePersonSkillExperiencesExecute(r SkillApiApiDelet return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiDeleteSkillRequest struct { +type SkillApiDeleteSkillRequest struct { ctx context.Context ApiService *SkillApiService skillId string } -func (r SkillApiApiDeleteSkillRequest) Execute() (*Status, *http.Response, error) { +func (r SkillApiDeleteSkillRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.DeleteSkillExecute(r) } @@ -1572,10 +1572,10 @@ DeleteSkill Delete a Skill @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param skillId - @return SkillApiApiDeleteSkillRequest + @return SkillApiDeleteSkillRequest */ -func (a *SkillApiService) DeleteSkill(ctx context.Context, skillId string) SkillApiApiDeleteSkillRequest { - return SkillApiApiDeleteSkillRequest{ +func (a *SkillApiService) DeleteSkill(ctx context.Context, skillId string) SkillApiDeleteSkillRequest { + return SkillApiDeleteSkillRequest{ ApiService: a, ctx: ctx, skillId: skillId, @@ -1584,7 +1584,7 @@ func (a *SkillApiService) DeleteSkill(ctx context.Context, skillId string) Skill // Execute executes the request // @return Status -func (a *SkillApiService) DeleteSkillExecute(r SkillApiApiDeleteSkillRequest) (*Status, *http.Response, error) { +func (a *SkillApiService) DeleteSkillExecute(r SkillApiDeleteSkillRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1665,14 +1665,14 @@ func (a *SkillApiService) DeleteSkillExecute(r SkillApiApiDeleteSkillRequest) (* return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiDeleteSkillFromCertificationRequest struct { +type SkillApiDeleteSkillFromCertificationRequest struct { ctx context.Context ApiService *SkillApiService certificationId string skillId string } -func (r SkillApiApiDeleteSkillFromCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r SkillApiDeleteSkillFromCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.DeleteSkillFromCertificationExecute(r) } @@ -1682,10 +1682,10 @@ DeleteSkillFromCertification Method for DeleteSkillFromCertification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param certificationId @param skillId - @return SkillApiApiDeleteSkillFromCertificationRequest + @return SkillApiDeleteSkillFromCertificationRequest */ -func (a *SkillApiService) DeleteSkillFromCertification(ctx context.Context, certificationId string, skillId string) SkillApiApiDeleteSkillFromCertificationRequest { - return SkillApiApiDeleteSkillFromCertificationRequest{ +func (a *SkillApiService) DeleteSkillFromCertification(ctx context.Context, certificationId string, skillId string) SkillApiDeleteSkillFromCertificationRequest { + return SkillApiDeleteSkillFromCertificationRequest{ ApiService: a, ctx: ctx, certificationId: certificationId, @@ -1695,7 +1695,7 @@ func (a *SkillApiService) DeleteSkillFromCertification(ctx context.Context, cert // Execute executes the request // @return CertificationDetails -func (a *SkillApiService) DeleteSkillFromCertificationExecute(r SkillApiApiDeleteSkillFromCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *SkillApiService) DeleteSkillFromCertificationExecute(r SkillApiDeleteSkillFromCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -1777,13 +1777,13 @@ func (a *SkillApiService) DeleteSkillFromCertificationExecute(r SkillApiApiDelet return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiGetSkillRequest struct { +type SkillApiGetSkillRequest struct { ctx context.Context ApiService *SkillApiService skillId string } -func (r SkillApiApiGetSkillRequest) Execute() (*SkillDetails, *http.Response, error) { +func (r SkillApiGetSkillRequest) Execute() (*SkillDetails, *http.Response, error) { return r.ApiService.GetSkillExecute(r) } @@ -1792,10 +1792,10 @@ GetSkill Get details for a single skill @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param skillId - @return SkillApiApiGetSkillRequest + @return SkillApiGetSkillRequest */ -func (a *SkillApiService) GetSkill(ctx context.Context, skillId string) SkillApiApiGetSkillRequest { - return SkillApiApiGetSkillRequest{ +func (a *SkillApiService) GetSkill(ctx context.Context, skillId string) SkillApiGetSkillRequest { + return SkillApiGetSkillRequest{ ApiService: a, ctx: ctx, skillId: skillId, @@ -1804,7 +1804,7 @@ func (a *SkillApiService) GetSkill(ctx context.Context, skillId string) SkillApi // Execute executes the request // @return SkillDetails -func (a *SkillApiService) GetSkillExecute(r SkillApiApiGetSkillRequest) (*SkillDetails, *http.Response, error) { +func (a *SkillApiService) GetSkillExecute(r SkillApiGetSkillRequest) (*SkillDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -1885,7 +1885,7 @@ func (a *SkillApiService) GetSkillExecute(r SkillApiApiGetSkillRequest) (*SkillD return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiGetSkillParentsRequest struct { +type SkillApiGetSkillParentsRequest struct { ctx context.Context ApiService *SkillApiService skillId string @@ -1893,17 +1893,17 @@ type SkillApiApiGetSkillParentsRequest struct { limit *int32 } -func (r SkillApiApiGetSkillParentsRequest) Skip(skip int32) SkillApiApiGetSkillParentsRequest { +func (r SkillApiGetSkillParentsRequest) Skip(skip int32) SkillApiGetSkillParentsRequest { r.skip = &skip return r } -func (r SkillApiApiGetSkillParentsRequest) Limit(limit int32) SkillApiApiGetSkillParentsRequest { +func (r SkillApiGetSkillParentsRequest) Limit(limit int32) SkillApiGetSkillParentsRequest { r.limit = &limit return r } -func (r SkillApiApiGetSkillParentsRequest) Execute() (*PagedSkills, *http.Response, error) { +func (r SkillApiGetSkillParentsRequest) Execute() (*PagedSkills, *http.Response, error) { return r.ApiService.GetSkillParentsExecute(r) } @@ -1912,10 +1912,10 @@ GetSkillParents Get ghe list of parents for a skill @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param skillId - @return SkillApiApiGetSkillParentsRequest + @return SkillApiGetSkillParentsRequest */ -func (a *SkillApiService) GetSkillParents(ctx context.Context, skillId string) SkillApiApiGetSkillParentsRequest { - return SkillApiApiGetSkillParentsRequest{ +func (a *SkillApiService) GetSkillParents(ctx context.Context, skillId string) SkillApiGetSkillParentsRequest { + return SkillApiGetSkillParentsRequest{ ApiService: a, ctx: ctx, skillId: skillId, @@ -1924,7 +1924,7 @@ func (a *SkillApiService) GetSkillParents(ctx context.Context, skillId string) S // Execute executes the request // @return PagedSkills -func (a *SkillApiService) GetSkillParentsExecute(r SkillApiApiGetSkillParentsRequest) (*PagedSkills, *http.Response, error) { +func (a *SkillApiService) GetSkillParentsExecute(r SkillApiGetSkillParentsRequest) (*PagedSkills, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -2011,7 +2011,7 @@ func (a *SkillApiService) GetSkillParentsExecute(r SkillApiApiGetSkillParentsReq return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiGetSkillsRequest struct { +type SkillApiGetSkillsRequest struct { ctx context.Context ApiService *SkillApiService types *string @@ -2021,28 +2021,28 @@ type SkillApiApiGetSkillsRequest struct { } // Gives you either all skills, only the root kills or those which are defining kinds -func (r SkillApiApiGetSkillsRequest) Types(types string) SkillApiApiGetSkillsRequest { +func (r SkillApiGetSkillsRequest) Types(types string) SkillApiGetSkillsRequest { r.types = &types return r } // Optionally filter skills based on suggestion -func (r SkillApiApiGetSkillsRequest) Suggestions(suggestions string) SkillApiApiGetSkillsRequest { +func (r SkillApiGetSkillsRequest) Suggestions(suggestions string) SkillApiGetSkillsRequest { r.suggestions = &suggestions return r } -func (r SkillApiApiGetSkillsRequest) Skip(skip int32) SkillApiApiGetSkillsRequest { +func (r SkillApiGetSkillsRequest) Skip(skip int32) SkillApiGetSkillsRequest { r.skip = &skip return r } -func (r SkillApiApiGetSkillsRequest) Limit(limit int32) SkillApiApiGetSkillsRequest { +func (r SkillApiGetSkillsRequest) Limit(limit int32) SkillApiGetSkillsRequest { r.limit = &limit return r } -func (r SkillApiApiGetSkillsRequest) Execute() (*PagedSkills, *http.Response, error) { +func (r SkillApiGetSkillsRequest) Execute() (*PagedSkills, *http.Response, error) { return r.ApiService.GetSkillsExecute(r) } @@ -2050,10 +2050,10 @@ func (r SkillApiApiGetSkillsRequest) Execute() (*PagedSkills, *http.Response, er GetSkills Get a list of all skills, optionally only root, optionally only kinds @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return SkillApiApiGetSkillsRequest + @return SkillApiGetSkillsRequest */ -func (a *SkillApiService) GetSkills(ctx context.Context) SkillApiApiGetSkillsRequest { - return SkillApiApiGetSkillsRequest{ +func (a *SkillApiService) GetSkills(ctx context.Context) SkillApiGetSkillsRequest { + return SkillApiGetSkillsRequest{ ApiService: a, ctx: ctx, } @@ -2061,7 +2061,7 @@ func (a *SkillApiService) GetSkills(ctx context.Context) SkillApiApiGetSkillsReq // Execute executes the request // @return PagedSkills -func (a *SkillApiService) GetSkillsExecute(r SkillApiApiGetSkillsRequest) (*PagedSkills, *http.Response, error) { +func (a *SkillApiService) GetSkillsExecute(r SkillApiGetSkillsRequest) (*PagedSkills, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -2153,14 +2153,14 @@ func (a *SkillApiService) GetSkillsExecute(r SkillApiApiGetSkillsRequest) (*Page return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiRemoveSkillFromParentSkillRequest struct { +type SkillApiRemoveSkillFromParentSkillRequest struct { ctx context.Context ApiService *SkillApiService skillId string parentSkillId string } -func (r SkillApiApiRemoveSkillFromParentSkillRequest) Execute() (*SkillDetails, *http.Response, error) { +func (r SkillApiRemoveSkillFromParentSkillRequest) Execute() (*SkillDetails, *http.Response, error) { return r.ApiService.RemoveSkillFromParentSkillExecute(r) } @@ -2170,10 +2170,10 @@ RemoveSkillFromParentSkill Detaches a Skill from parent Skill, return the parent @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param skillId @param parentSkillId - @return SkillApiApiRemoveSkillFromParentSkillRequest + @return SkillApiRemoveSkillFromParentSkillRequest */ -func (a *SkillApiService) RemoveSkillFromParentSkill(ctx context.Context, skillId string, parentSkillId string) SkillApiApiRemoveSkillFromParentSkillRequest { - return SkillApiApiRemoveSkillFromParentSkillRequest{ +func (a *SkillApiService) RemoveSkillFromParentSkill(ctx context.Context, skillId string, parentSkillId string) SkillApiRemoveSkillFromParentSkillRequest { + return SkillApiRemoveSkillFromParentSkillRequest{ ApiService: a, ctx: ctx, skillId: skillId, @@ -2183,7 +2183,7 @@ func (a *SkillApiService) RemoveSkillFromParentSkill(ctx context.Context, skillI // Execute executes the request // @return SkillDetails -func (a *SkillApiService) RemoveSkillFromParentSkillExecute(r SkillApiApiRemoveSkillFromParentSkillRequest) (*SkillDetails, *http.Response, error) { +func (a *SkillApiService) RemoveSkillFromParentSkillExecute(r SkillApiRemoveSkillFromParentSkillRequest) (*SkillDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodDelete localVarPostBody interface{} @@ -2265,7 +2265,7 @@ func (a *SkillApiService) RemoveSkillFromParentSkillExecute(r SkillApiApiRemoveS return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiUpdatePersonProjectSkillRequest struct { +type SkillApiUpdatePersonProjectSkillRequest struct { ctx context.Context ApiService *SkillApiService personId string @@ -2275,12 +2275,12 @@ type SkillApiApiUpdatePersonProjectSkillRequest struct { } // The Skill Level -func (r SkillApiApiUpdatePersonProjectSkillRequest) Level(level Level) SkillApiApiUpdatePersonProjectSkillRequest { +func (r SkillApiUpdatePersonProjectSkillRequest) Level(level Level) SkillApiUpdatePersonProjectSkillRequest { r.level = &level return r } -func (r SkillApiApiUpdatePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiUpdatePersonProjectSkillRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonProjectSkillExecute(r) } @@ -2291,10 +2291,10 @@ UpdatePersonProjectSkill Update the level of a Skill in a Project participation @param personId @param projectId @param skillId - @return SkillApiApiUpdatePersonProjectSkillRequest + @return SkillApiUpdatePersonProjectSkillRequest */ -func (a *SkillApiService) UpdatePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) SkillApiApiUpdatePersonProjectSkillRequest { - return SkillApiApiUpdatePersonProjectSkillRequest{ +func (a *SkillApiService) UpdatePersonProjectSkill(ctx context.Context, personId string, projectId string, skillId string) SkillApiUpdatePersonProjectSkillRequest { + return SkillApiUpdatePersonProjectSkillRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -2305,7 +2305,7 @@ func (a *SkillApiService) UpdatePersonProjectSkill(ctx context.Context, personId // Execute executes the request // @return PersonDetails -func (a *SkillApiService) UpdatePersonProjectSkillExecute(r SkillApiApiUpdatePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) UpdatePersonProjectSkillExecute(r SkillApiUpdatePersonProjectSkillRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -2393,7 +2393,7 @@ func (a *SkillApiService) UpdatePersonProjectSkillExecute(r SkillApiApiUpdatePer return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiUpdatePersonSkillExperienceRequest struct { +type SkillApiUpdatePersonSkillExperienceRequest struct { ctx context.Context ApiService *SkillApiService personId string @@ -2401,12 +2401,12 @@ type SkillApiApiUpdatePersonSkillExperienceRequest struct { level *Level } -func (r SkillApiApiUpdatePersonSkillExperienceRequest) Level(level Level) SkillApiApiUpdatePersonSkillExperienceRequest { +func (r SkillApiUpdatePersonSkillExperienceRequest) Level(level Level) SkillApiUpdatePersonSkillExperienceRequest { r.level = &level return r } -func (r SkillApiApiUpdatePersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiUpdatePersonSkillExperienceRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonSkillExperienceExecute(r) } @@ -2416,10 +2416,10 @@ UpdatePersonSkillExperience Edit an Skill experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId @param skillId - @return SkillApiApiUpdatePersonSkillExperienceRequest + @return SkillApiUpdatePersonSkillExperienceRequest */ -func (a *SkillApiService) UpdatePersonSkillExperience(ctx context.Context, personId string, skillId string) SkillApiApiUpdatePersonSkillExperienceRequest { - return SkillApiApiUpdatePersonSkillExperienceRequest{ +func (a *SkillApiService) UpdatePersonSkillExperience(ctx context.Context, personId string, skillId string) SkillApiUpdatePersonSkillExperienceRequest { + return SkillApiUpdatePersonSkillExperienceRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -2429,7 +2429,7 @@ func (a *SkillApiService) UpdatePersonSkillExperience(ctx context.Context, perso // Execute executes the request // @return PersonDetails -func (a *SkillApiService) UpdatePersonSkillExperienceExecute(r SkillApiApiUpdatePersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) UpdatePersonSkillExperienceExecute(r SkillApiUpdatePersonSkillExperienceRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -2516,19 +2516,19 @@ func (a *SkillApiService) UpdatePersonSkillExperienceExecute(r SkillApiApiUpdate return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiUpdatePersonSkillExperiencesRequest struct { +type SkillApiUpdatePersonSkillExperiencesRequest struct { ctx context.Context ApiService *SkillApiService personId string skillLevelUpdate *[]SkillLevelUpdate } -func (r SkillApiApiUpdatePersonSkillExperiencesRequest) SkillLevelUpdate(skillLevelUpdate []SkillLevelUpdate) SkillApiApiUpdatePersonSkillExperiencesRequest { +func (r SkillApiUpdatePersonSkillExperiencesRequest) SkillLevelUpdate(skillLevelUpdate []SkillLevelUpdate) SkillApiUpdatePersonSkillExperiencesRequest { r.skillLevelUpdate = &skillLevelUpdate return r } -func (r SkillApiApiUpdatePersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { +func (r SkillApiUpdatePersonSkillExperiencesRequest) Execute() (*PersonDetails, *http.Response, error) { return r.ApiService.UpdatePersonSkillExperiencesExecute(r) } @@ -2537,10 +2537,10 @@ UpdatePersonSkillExperiences Edit an Skill experience to a Person @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param personId - @return SkillApiApiUpdatePersonSkillExperiencesRequest + @return SkillApiUpdatePersonSkillExperiencesRequest */ -func (a *SkillApiService) UpdatePersonSkillExperiences(ctx context.Context, personId string) SkillApiApiUpdatePersonSkillExperiencesRequest { - return SkillApiApiUpdatePersonSkillExperiencesRequest{ +func (a *SkillApiService) UpdatePersonSkillExperiences(ctx context.Context, personId string) SkillApiUpdatePersonSkillExperiencesRequest { + return SkillApiUpdatePersonSkillExperiencesRequest{ ApiService: a, ctx: ctx, personId: personId, @@ -2549,7 +2549,7 @@ func (a *SkillApiService) UpdatePersonSkillExperiences(ctx context.Context, pers // Execute executes the request // @return PersonDetails -func (a *SkillApiService) UpdatePersonSkillExperiencesExecute(r SkillApiApiUpdatePersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { +func (a *SkillApiService) UpdatePersonSkillExperiencesExecute(r SkillApiUpdatePersonSkillExperiencesRequest) (*PersonDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -2635,19 +2635,19 @@ func (a *SkillApiService) UpdatePersonSkillExperiencesExecute(r SkillApiApiUpdat return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiUpdateSkillRequest struct { +type SkillApiUpdateSkillRequest struct { ctx context.Context ApiService *SkillApiService skillId string skill *Skill } -func (r SkillApiApiUpdateSkillRequest) Skill(skill Skill) SkillApiApiUpdateSkillRequest { +func (r SkillApiUpdateSkillRequest) Skill(skill Skill) SkillApiUpdateSkillRequest { r.skill = &skill return r } -func (r SkillApiApiUpdateSkillRequest) Execute() (*SkillDetails, *http.Response, error) { +func (r SkillApiUpdateSkillRequest) Execute() (*SkillDetails, *http.Response, error) { return r.ApiService.UpdateSkillExecute(r) } @@ -2656,10 +2656,10 @@ UpdateSkill Update a Skill @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param skillId - @return SkillApiApiUpdateSkillRequest + @return SkillApiUpdateSkillRequest */ -func (a *SkillApiService) UpdateSkill(ctx context.Context, skillId string) SkillApiApiUpdateSkillRequest { - return SkillApiApiUpdateSkillRequest{ +func (a *SkillApiService) UpdateSkill(ctx context.Context, skillId string) SkillApiUpdateSkillRequest { + return SkillApiUpdateSkillRequest{ ApiService: a, ctx: ctx, skillId: skillId, @@ -2668,7 +2668,7 @@ func (a *SkillApiService) UpdateSkill(ctx context.Context, skillId string) Skill // Execute executes the request // @return SkillDetails -func (a *SkillApiService) UpdateSkillExecute(r SkillApiApiUpdateSkillRequest) (*SkillDetails, *http.Response, error) { +func (a *SkillApiService) UpdateSkillExecute(r SkillApiUpdateSkillRequest) (*SkillDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} @@ -2754,7 +2754,7 @@ func (a *SkillApiService) UpdateSkillExecute(r SkillApiApiUpdateSkillRequest) (* return localVarReturnValue, localVarHTTPResponse, nil } -type SkillApiApiUpdateSkillInCertificationRequest struct { +type SkillApiUpdateSkillInCertificationRequest struct { ctx context.Context ApiService *SkillApiService certificationId string @@ -2762,12 +2762,12 @@ type SkillApiApiUpdateSkillInCertificationRequest struct { level *Level } -func (r SkillApiApiUpdateSkillInCertificationRequest) Level(level Level) SkillApiApiUpdateSkillInCertificationRequest { +func (r SkillApiUpdateSkillInCertificationRequest) Level(level Level) SkillApiUpdateSkillInCertificationRequest { r.level = &level return r } -func (r SkillApiApiUpdateSkillInCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { +func (r SkillApiUpdateSkillInCertificationRequest) Execute() (*CertificationDetails, *http.Response, error) { return r.ApiService.UpdateSkillInCertificationExecute(r) } @@ -2779,10 +2779,10 @@ Update Skill in Certification @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param certificationId @param skillId - @return SkillApiApiUpdateSkillInCertificationRequest + @return SkillApiUpdateSkillInCertificationRequest */ -func (a *SkillApiService) UpdateSkillInCertification(ctx context.Context, certificationId string, skillId string) SkillApiApiUpdateSkillInCertificationRequest { - return SkillApiApiUpdateSkillInCertificationRequest{ +func (a *SkillApiService) UpdateSkillInCertification(ctx context.Context, certificationId string, skillId string) SkillApiUpdateSkillInCertificationRequest { + return SkillApiUpdateSkillInCertificationRequest{ ApiService: a, ctx: ctx, certificationId: certificationId, @@ -2792,7 +2792,7 @@ func (a *SkillApiService) UpdateSkillInCertification(ctx context.Context, certif // Execute executes the request // @return CertificationDetails -func (a *SkillApiService) UpdateSkillInCertificationExecute(r SkillApiApiUpdateSkillInCertificationRequest) (*CertificationDetails, *http.Response, error) { +func (a *SkillApiService) UpdateSkillInCertificationExecute(r SkillApiUpdateSkillInCertificationRequest) (*CertificationDetails, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPut localVarPostBody interface{} diff --git a/api_status.go b/api_status.go index a97d796c..262a39d6 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -22,12 +22,12 @@ import ( // StatusApiService StatusApi service type StatusApiService service -type StatusApiApiGetPingRequest struct { +type StatusApiGetPingRequest struct { ctx context.Context ApiService *StatusApiService } -func (r StatusApiApiGetPingRequest) Execute() (*Status, *http.Response, error) { +func (r StatusApiGetPingRequest) Execute() (*Status, *http.Response, error) { return r.ApiService.GetPingExecute(r) } @@ -37,10 +37,10 @@ GetPing Server heartbeat operation This operation shows how to override the global security defined above, as we want to open it up for all users. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return StatusApiApiGetPingRequest + @return StatusApiGetPingRequest */ -func (a *StatusApiService) GetPing(ctx context.Context) StatusApiApiGetPingRequest { - return StatusApiApiGetPingRequest{ +func (a *StatusApiService) GetPing(ctx context.Context) StatusApiGetPingRequest { + return StatusApiGetPingRequest{ ApiService: a, ctx: ctx, } @@ -48,7 +48,7 @@ func (a *StatusApiService) GetPing(ctx context.Context) StatusApiApiGetPingReque // Execute executes the request // @return Status -func (a *StatusApiService) GetPingExecute(r StatusApiApiGetPingRequest) (*Status, *http.Response, error) { +func (a *StatusApiService) GetPingExecute(r StatusApiGetPingRequest) (*Status, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} @@ -128,12 +128,12 @@ func (a *StatusApiService) GetPingExecute(r StatusApiApiGetPingRequest) (*Status return localVarReturnValue, localVarHTTPResponse, nil } -type StatusApiApiGetVersionRequest struct { +type StatusApiGetVersionRequest struct { ctx context.Context ApiService *StatusApiService } -func (r StatusApiApiGetVersionRequest) Execute() (*Version, *http.Response, error) { +func (r StatusApiGetVersionRequest) Execute() (*Version, *http.Response, error) { return r.ApiService.GetVersionExecute(r) } @@ -143,10 +143,10 @@ GetVersion Information about the server This operation shows how to override the global security defined above, as we want to open it up for all users. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return StatusApiApiGetVersionRequest + @return StatusApiGetVersionRequest */ -func (a *StatusApiService) GetVersion(ctx context.Context) StatusApiApiGetVersionRequest { - return StatusApiApiGetVersionRequest{ +func (a *StatusApiService) GetVersion(ctx context.Context) StatusApiGetVersionRequest { + return StatusApiGetVersionRequest{ ApiService: a, ctx: ctx, } @@ -154,7 +154,7 @@ func (a *StatusApiService) GetVersion(ctx context.Context) StatusApiApiGetVersio // Execute executes the request // @return Version -func (a *StatusApiService) GetVersionExecute(r StatusApiApiGetVersionRequest) (*Version, *http.Response, error) { +func (a *StatusApiService) GetVersionExecute(r StatusApiGetVersionRequest) (*Version, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} diff --git a/client.go b/client.go index f527cae5..23108b8e 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.0.8 +API version: 1.0.10 */ // 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.0.8 +// APIClient manages communication with the YASM (Yet Another Skill Management) API API v1.0.10 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/configuration.go b/configuration.go index b1b70539..26d4af28 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/docs/PersonSearch.md b/docs/PersonSearch.md index 364c68d8..9fa0828d 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 [**[]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] +**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] ## Methods @@ -161,20 +161,20 @@ HasSeniority returns a boolean if a field has been set. ### GetSkills -`func (o *PersonSearch) GetSkills() []PersonSkillFilter` +`func (o *PersonSearch) GetSkills() []PersonSearchSkillsInner` GetSkills returns the Skills field if non-nil, zero value otherwise. ### GetSkillsOk -`func (o *PersonSearch) GetSkillsOk() (*[]PersonSkillFilter, bool)` +`func (o *PersonSearch) GetSkillsOk() (*[]PersonSearchSkillsInner, 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 []PersonSkillFilter)` +`func (o *PersonSearch) SetSkills(v []PersonSearchSkillsInner)` 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() []PersonProjectFilter` +`func (o *PersonSearch) GetProjects() []PersonSearchProjectsInner` GetProjects returns the Projects field if non-nil, zero value otherwise. ### GetProjectsOk -`func (o *PersonSearch) GetProjectsOk() (*[]PersonProjectFilter, bool)` +`func (o *PersonSearch) GetProjectsOk() (*[]PersonSearchProjectsInner, 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 []PersonProjectFilter)` +`func (o *PersonSearch) SetProjects(v []PersonSearchProjectsInner)` 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() []PersonOrganizationFilter` +`func (o *PersonSearch) GetOrganizations() []PersonSearchOrganizationsInner` GetOrganizations returns the Organizations field if non-nil, zero value otherwise. ### GetOrganizationsOk -`func (o *PersonSearch) GetOrganizationsOk() (*[]PersonOrganizationFilter, bool)` +`func (o *PersonSearch) GetOrganizationsOk() (*[]PersonSearchOrganizationsInner, 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 []PersonOrganizationFilter)` +`func (o *PersonSearch) SetOrganizations(v []PersonSearchOrganizationsInner)` 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() []PersonIndustryFilter` +`func (o *PersonSearch) GetIndustries() []PersonSearchIndustriesInner` GetIndustries returns the Industries field if non-nil, zero value otherwise. ### GetIndustriesOk -`func (o *PersonSearch) GetIndustriesOk() (*[]PersonIndustryFilter, bool)` +`func (o *PersonSearch) GetIndustriesOk() (*[]PersonSearchIndustriesInner, 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 []PersonIndustryFilter)` +`func (o *PersonSearch) SetIndustries(v []PersonSearchIndustriesInner)` 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() []PersonCertificationFilter` +`func (o *PersonSearch) GetCertifications() []PersonSearchCertificationsInner` GetCertifications returns the Certifications field if non-nil, zero value otherwise. ### GetCertificationsOk -`func (o *PersonSearch) GetCertificationsOk() (*[]PersonCertificationFilter, bool)` +`func (o *PersonSearch) GetCertificationsOk() (*[]PersonSearchCertificationsInner, 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 []PersonCertificationFilter)` +`func (o *PersonSearch) SetCertifications(v []PersonSearchCertificationsInner)` SetCertifications sets Certifications field to given value. diff --git a/docs/PersonSearchCertificationsInner.md b/docs/PersonSearchCertificationsInner.md new file mode 100644 index 00000000..e904e136 --- /dev/null +++ b/docs/PersonSearchCertificationsInner.md @@ -0,0 +1,77 @@ +# 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 new file mode 100644 index 00000000..3add6a19 --- /dev/null +++ b/docs/PersonSearchIndustriesInner.md @@ -0,0 +1,129 @@ +# 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 new file mode 100644 index 00000000..1342f754 --- /dev/null +++ b/docs/PersonSearchOrganizationsInner.md @@ -0,0 +1,77 @@ +# 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 new file mode 100644 index 00000000..411e9e73 --- /dev/null +++ b/docs/PersonSearchProjectsInner.md @@ -0,0 +1,103 @@ +# 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 new file mode 100644 index 00000000..d43ad4aa --- /dev/null +++ b/docs/PersonSearchSkillsInner.md @@ -0,0 +1,103 @@ +# 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/ProjectParticipationUpdate.md b/docs/ProjectParticipationUpdate.md index 848cf1ad..f117bb1f 100644 --- a/docs/ProjectParticipationUpdate.md +++ b/docs/ProjectParticipationUpdate.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Timeframe** | Pointer to [**Timeframed**](Timeframed.md) | | [optional] +**Timeframe** | Pointer to [**ProjectParticipationUpdateTimeframe**](ProjectParticipationUpdateTimeframe.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() Timeframed` +`func (o *ProjectParticipationUpdate) GetTimeframe() ProjectParticipationUpdateTimeframe` GetTimeframe returns the Timeframe field if non-nil, zero value otherwise. ### GetTimeframeOk -`func (o *ProjectParticipationUpdate) GetTimeframeOk() (*Timeframed, bool)` +`func (o *ProjectParticipationUpdate) GetTimeframeOk() (*ProjectParticipationUpdateTimeframe, 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 Timeframed)` +`func (o *ProjectParticipationUpdate) SetTimeframe(v ProjectParticipationUpdateTimeframe)` SetTimeframe sets Timeframe field to given value. diff --git a/docs/ProjectParticipationUpdateTimeframe.md b/docs/ProjectParticipationUpdateTimeframe.md new file mode 100644 index 00000000..9ee27a18 --- /dev/null +++ b/docs/ProjectParticipationUpdateTimeframe.md @@ -0,0 +1,82 @@ +# 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 cd7b3404..5b9245f7 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 [**[]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] +**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] ## Methods @@ -212,20 +212,20 @@ HasAmountOfInvolvedPersons returns a boolean if a field has been set. ### GetSkills -`func (o *ProjectSearch) GetSkills() []EntityFilter` +`func (o *ProjectSearch) GetSkills() []ProjectSearchSkillsInner` GetSkills returns the Skills field if non-nil, zero value otherwise. ### GetSkillsOk -`func (o *ProjectSearch) GetSkillsOk() (*[]EntityFilter, bool)` +`func (o *ProjectSearch) GetSkillsOk() (*[]ProjectSearchSkillsInner, 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 []EntityFilter)` +`func (o *ProjectSearch) SetSkills(v []ProjectSearchSkillsInner)` 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() []EntityFilter` +`func (o *ProjectSearch) GetParticipants() []ProjectSearchSkillsInner` GetParticipants returns the Participants field if non-nil, zero value otherwise. ### GetParticipantsOk -`func (o *ProjectSearch) GetParticipantsOk() (*[]EntityFilter, bool)` +`func (o *ProjectSearch) GetParticipantsOk() (*[]ProjectSearchSkillsInner, 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 []EntityFilter)` +`func (o *ProjectSearch) SetParticipants(v []ProjectSearchSkillsInner)` 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() []EntityFilter` +`func (o *ProjectSearch) GetIndustries() []ProjectSearchSkillsInner` GetIndustries returns the Industries field if non-nil, zero value otherwise. ### GetIndustriesOk -`func (o *ProjectSearch) GetIndustriesOk() (*[]EntityFilter, bool)` +`func (o *ProjectSearch) GetIndustriesOk() (*[]ProjectSearchSkillsInner, 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 []EntityFilter)` +`func (o *ProjectSearch) SetIndustries(v []ProjectSearchSkillsInner)` 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() []EntityFilter` +`func (o *ProjectSearch) GetOrganizations() []ProjectSearchSkillsInner` GetOrganizations returns the Organizations field if non-nil, zero value otherwise. ### GetOrganizationsOk -`func (o *ProjectSearch) GetOrganizationsOk() (*[]EntityFilter, bool)` +`func (o *ProjectSearch) GetOrganizationsOk() (*[]ProjectSearchSkillsInner, 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 []EntityFilter)` +`func (o *ProjectSearch) SetOrganizations(v []ProjectSearchSkillsInner)` SetOrganizations sets Organizations field to given value. diff --git a/docs/ProjectSearchSkillsInner.md b/docs/ProjectSearchSkillsInner.md new file mode 100644 index 00000000..af8a41b2 --- /dev/null +++ b/docs/ProjectSearchSkillsInner.md @@ -0,0 +1,51 @@ +# 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/model_availability.go b/model_availability.go index 5670c4de..35386e36 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_availability_all_of.go b/model_availability_all_of.go index 6b1206d5..7e4d0887 100644 --- a/model_availability_all_of.go +++ b/model_availability_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_availability_detail.go b/model_availability_detail.go index ff094400..1e6beab4 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.0.8 +API version: 1.0.10 */ // 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 fe98f729..cdd71b36 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.0.8 +API version: 1.0.10 */ // 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 bab12952..03add47a 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_certification.go b/model_certification.go index 3de6f525..d7af2da9 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_certification_all_of.go b/model_certification_all_of.go index 2646dd9e..e989de67 100644 --- a/model_certification_all_of.go +++ b/model_certification_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_certification_details.go b/model_certification_details.go index e4021692..e47542cc 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_country.go b/model_country.go index cc34fca4..f6fa4c29 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_country_all_of.go b/model_country_all_of.go index 4097cfb1..86cfdcf2 100644 --- a/model_country_all_of.go +++ b/model_country_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_country_details.go b/model_country_details.go index bf145edc..a9915c4c 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_descriptable.go b/model_descriptable.go index d52a1cf9..496daecd 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.0.8 +API version: 1.0.10 */ // 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 5459dcc5..2f4a1b53 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_error.go b/model_error.go index e2988b70..78aaa538 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_experience.go b/model_experience.go index 4de280e3..465122a7 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.0.8 +API version: 1.0.10 */ // 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 index b6a25c50..522021b8 100644 --- a/model_experience_all_of.go +++ b/model_experience_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_geolocation.go b/model_geolocation.go index c5bf3ca3..4c7b5dff 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_industry.go b/model_industry.go index ebf18b76..f4f2fc9d 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_industry_details.go b/model_industry_details.go index 9bbbcbf1..af265468 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_language.go b/model_language.go index ddecc706..9b5db556 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_language_details.go b/model_language_details.go index 060080bd..cc731fe9 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.0.8 +API version: 1.0.10 */ // 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 6c6782de..1daf20df 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_level.go b/model_level.go index 24429825..17e13d59 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_locateable.go b/model_locateable.go index c91ba208..7b83a310 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.0.8 +API version: 1.0.10 */ // 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 52aaa287..839f99e3 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.0.8 +API version: 1.0.10 */ // 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 9d72677c..93c1cf2c 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.0.8 +API version: 1.0.10 */ // 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 8548c537..43855442 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_named_domain_model_all_of.go b/model_named_domain_model_all_of.go index 5a572e84..554576c0 100644 --- a/model_named_domain_model_all_of.go +++ b/model_named_domain_model_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_office.go b/model_office.go index 92eddedb..1ef11ec3 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_organization.go b/model_organization.go index b78c54bd..558c541a 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_organization_all_of.go b/model_organization_all_of.go index 7371bea4..317c3e03 100644 --- a/model_organization_all_of.go +++ b/model_organization_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_organization_details.go b/model_organization_details.go index fb98cdff..0eba748f 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_page.go b/model_page.go index bfaa278f..af194066 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.0.8 +API version: 1.0.10 */ // 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 f2f8e809..b4f5c1e3 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_availabilities_all_of.go b/model_paged_availabilities_all_of.go index a432dc7f..3a315392 100644 --- a/model_paged_availabilities_all_of.go +++ b/model_paged_availabilities_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_certifications.go b/model_paged_certifications.go index 64f98a3c..d259987f 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_certifications_all_of.go b/model_paged_certifications_all_of.go index 4c9ef21d..b70bc134 100644 --- a/model_paged_certifications_all_of.go +++ b/model_paged_certifications_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_countries.go b/model_paged_countries.go index 97a0ed9a..3afd1c88 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_countries_all_of.go b/model_paged_countries_all_of.go index 0a032ebb..11074322 100644 --- a/model_paged_countries_all_of.go +++ b/model_paged_countries_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_industries.go b/model_paged_industries.go index eab21eff..309905d2 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_industries_all_of.go b/model_paged_industries_all_of.go index 704a2e0d..a0cb07b4 100644 --- a/model_paged_industries_all_of.go +++ b/model_paged_industries_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_languages.go b/model_paged_languages.go index 24109eab..f270a7f8 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_languages_all_of.go b/model_paged_languages_all_of.go index f1c31cfc..46a9a2c8 100644 --- a/model_paged_languages_all_of.go +++ b/model_paged_languages_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_organizations.go b/model_paged_organizations.go index 6a3117c9..f45a07c8 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_organizations_all_of.go b/model_paged_organizations_all_of.go index 44f5535f..787ba66c 100644 --- a/model_paged_organizations_all_of.go +++ b/model_paged_organizations_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_persons.go b/model_paged_persons.go index 1d14c191..51473498 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_persons_all_of.go b/model_paged_persons_all_of.go index 45cc8f11..27a4f572 100644 --- a/model_paged_persons_all_of.go +++ b/model_paged_persons_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_projects.go b/model_paged_projects.go index 7d3b6508..1305437d 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_projects_all_of.go b/model_paged_projects_all_of.go index 03bbbee3..f0753ec7 100644 --- a/model_paged_projects_all_of.go +++ b/model_paged_projects_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_skills.go b/model_paged_skills.go index 27de5e94..b9d04677 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_paged_skills_all_of.go b/model_paged_skills_all_of.go index 01b79e1d..60703579 100644 --- a/model_paged_skills_all_of.go +++ b/model_paged_skills_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person.go b/model_person.go index 2352d41b..ba5000de 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_all_of.go b/model_person_all_of.go index 45edc70d..24ab881c 100644 --- a/model_person_all_of.go +++ b/model_person_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_certification_filter.go b/model_person_certification_filter.go index 8d2d186e..1d4d602a 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_certification_filter_all_of.go b/model_person_certification_filter_all_of.go index a4f4d3ec..f151d425 100644 --- a/model_person_certification_filter_all_of.go +++ b/model_person_certification_filter_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_details.go b/model_person_details.go index 7cf8dbef..a1785af2 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.0.8 +API version: 1.0.10 */ // 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 aa9e39ad..5b089f08 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_industry_filter_all_of.go b/model_person_industry_filter_all_of.go index 30d43179..1074b5ea 100644 --- a/model_person_industry_filter_all_of.go +++ b/model_person_industry_filter_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_organization_filter.go b/model_person_organization_filter.go index daede27e..949c0a4f 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_organization_filter_all_of.go b/model_person_organization_filter_all_of.go index 5b040f64..641e5903 100644 --- a/model_person_organization_filter_all_of.go +++ b/model_person_organization_filter_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_project_filter.go b/model_person_project_filter.go index 770096d5..20eb0702 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_project_filter_all_of.go b/model_person_project_filter_all_of.go index aea142d8..8a88a5fa 100644 --- a/model_person_project_filter_all_of.go +++ b/model_person_project_filter_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_score_detail.go b/model_person_score_detail.go index 37bc5906..e481228e 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_search.go b/model_person_search.go index 4015fe5b..ac5a47d2 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.0.8 +API version: 1.0.10 */ // 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 []PersonSkillFilter `json:"skills,omitempty"` - Projects []PersonProjectFilter `json:"projects,omitempty"` - Organizations []PersonOrganizationFilter `json:"organizations,omitempty"` - Industries []PersonIndustryFilter `json:"industries,omitempty"` - Certifications []PersonCertificationFilter `json:"certifications,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"` } // 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() []PersonSkillFilter { +func (o *PersonSearch) GetSkills() []PersonSearchSkillsInner { if o == nil || o.Skills == nil { - var ret []PersonSkillFilter + var ret []PersonSearchSkillsInner return ret } return o.Skills @@ -216,7 +216,7 @@ func (o *PersonSearch) GetSkills() []PersonSkillFilter { // 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() ([]PersonSkillFilter, bool) { +func (o *PersonSearch) GetSkillsOk() ([]PersonSearchSkillsInner, 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 []PersonSkillFilter and assigns it to the Skills field. -func (o *PersonSearch) SetSkills(v []PersonSkillFilter) { +// SetSkills gets a reference to the given []PersonSearchSkillsInner and assigns it to the Skills field. +func (o *PersonSearch) SetSkills(v []PersonSearchSkillsInner) { o.Skills = v } // GetProjects returns the Projects field value if set, zero value otherwise. -func (o *PersonSearch) GetProjects() []PersonProjectFilter { +func (o *PersonSearch) GetProjects() []PersonSearchProjectsInner { if o == nil || o.Projects == nil { - var ret []PersonProjectFilter + var ret []PersonSearchProjectsInner return ret } return o.Projects @@ -248,7 +248,7 @@ func (o *PersonSearch) GetProjects() []PersonProjectFilter { // 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() ([]PersonProjectFilter, bool) { +func (o *PersonSearch) GetProjectsOk() ([]PersonSearchProjectsInner, 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 []PersonProjectFilter and assigns it to the Projects field. -func (o *PersonSearch) SetProjects(v []PersonProjectFilter) { +// SetProjects gets a reference to the given []PersonSearchProjectsInner and assigns it to the Projects field. +func (o *PersonSearch) SetProjects(v []PersonSearchProjectsInner) { o.Projects = v } // GetOrganizations returns the Organizations field value if set, zero value otherwise. -func (o *PersonSearch) GetOrganizations() []PersonOrganizationFilter { +func (o *PersonSearch) GetOrganizations() []PersonSearchOrganizationsInner { if o == nil || o.Organizations == nil { - var ret []PersonOrganizationFilter + var ret []PersonSearchOrganizationsInner return ret } return o.Organizations @@ -280,7 +280,7 @@ func (o *PersonSearch) GetOrganizations() []PersonOrganizationFilter { // 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() ([]PersonOrganizationFilter, bool) { +func (o *PersonSearch) GetOrganizationsOk() ([]PersonSearchOrganizationsInner, 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 []PersonOrganizationFilter and assigns it to the Organizations field. -func (o *PersonSearch) SetOrganizations(v []PersonOrganizationFilter) { +// SetOrganizations gets a reference to the given []PersonSearchOrganizationsInner and assigns it to the Organizations field. +func (o *PersonSearch) SetOrganizations(v []PersonSearchOrganizationsInner) { o.Organizations = v } // GetIndustries returns the Industries field value if set, zero value otherwise. -func (o *PersonSearch) GetIndustries() []PersonIndustryFilter { +func (o *PersonSearch) GetIndustries() []PersonSearchIndustriesInner { if o == nil || o.Industries == nil { - var ret []PersonIndustryFilter + var ret []PersonSearchIndustriesInner return ret } return o.Industries @@ -312,7 +312,7 @@ func (o *PersonSearch) GetIndustries() []PersonIndustryFilter { // 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() ([]PersonIndustryFilter, bool) { +func (o *PersonSearch) GetIndustriesOk() ([]PersonSearchIndustriesInner, 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 []PersonIndustryFilter and assigns it to the Industries field. -func (o *PersonSearch) SetIndustries(v []PersonIndustryFilter) { +// SetIndustries gets a reference to the given []PersonSearchIndustriesInner and assigns it to the Industries field. +func (o *PersonSearch) SetIndustries(v []PersonSearchIndustriesInner) { o.Industries = v } // GetCertifications returns the Certifications field value if set, zero value otherwise. -func (o *PersonSearch) GetCertifications() []PersonCertificationFilter { +func (o *PersonSearch) GetCertifications() []PersonSearchCertificationsInner { if o == nil || o.Certifications == nil { - var ret []PersonCertificationFilter + var ret []PersonSearchCertificationsInner return ret } return o.Certifications @@ -344,7 +344,7 @@ func (o *PersonSearch) GetCertifications() []PersonCertificationFilter { // 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() ([]PersonCertificationFilter, bool) { +func (o *PersonSearch) GetCertificationsOk() ([]PersonSearchCertificationsInner, 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 []PersonCertificationFilter and assigns it to the Certifications field. -func (o *PersonSearch) SetCertifications(v []PersonCertificationFilter) { +// SetCertifications gets a reference to the given []PersonSearchCertificationsInner and assigns it to the Certifications field. +func (o *PersonSearch) SetCertifications(v []PersonSearchCertificationsInner) { o.Certifications = v } diff --git a/model_person_search_certifications_inner.go b/model_person_search_certifications_inner.go new file mode 100644 index 00000000..bccfbf93 --- /dev/null +++ b/model_person_search_certifications_inner.go @@ -0,0 +1,145 @@ +/* +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.0.10 +*/ + +// 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 new file mode 100644 index 00000000..3801aab5 --- /dev/null +++ b/model_person_search_industries_inner.go @@ -0,0 +1,216 @@ +/* +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.0.10 +*/ + +// 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 new file mode 100644 index 00000000..a7e93a90 --- /dev/null +++ b/model_person_search_organizations_inner.go @@ -0,0 +1,144 @@ +/* +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.0.10 +*/ + +// 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 new file mode 100644 index 00000000..def5870a --- /dev/null +++ b/model_person_search_projects_inner.go @@ -0,0 +1,180 @@ +/* +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.0.10 +*/ + +// 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 new file mode 100644 index 00000000..762f2f6c --- /dev/null +++ b/model_person_search_skills_inner.go @@ -0,0 +1,181 @@ +/* +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.0.10 +*/ + +// 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 e79ea304..c2bcb85b 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_person_skill_filter_all_of.go b/model_person_skill_filter_all_of.go index 841d6470..da9767d7 100644 --- a/model_person_skill_filter_all_of.go +++ b/model_person_skill_filter_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project.go b/model_project.go index eac472a0..e250582e 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_all_of.go b/model_project_all_of.go index 3c5f79d2..83150dd3 100644 --- a/model_project_all_of.go +++ b/model_project_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_details.go b/model_project_details.go index c9fdddc1..29714592 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.0.8 +API version: 1.0.10 */ // 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 547d0d95..c278ab25 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_project_participation_all_of.go b/model_project_participation_all_of.go index cc167d1f..e673bfa2 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.0.8 +API version: 1.0.10 */ // 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 5d63fb60..a76a3693 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.0.8 +API version: 1.0.10 */ // 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 *Timeframed `json:"timeframe,omitempty"` + Timeframe *ProjectParticipationUpdateTimeframe `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() Timeframed { +func (o *ProjectParticipationUpdate) GetTimeframe() ProjectParticipationUpdateTimeframe { if o == nil || o.Timeframe == nil { - var ret Timeframed + var ret ProjectParticipationUpdateTimeframe return ret } return *o.Timeframe @@ -50,7 +50,7 @@ func (o *ProjectParticipationUpdate) GetTimeframe() Timeframed { // 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() (*Timeframed, bool) { +func (o *ProjectParticipationUpdate) GetTimeframeOk() (*ProjectParticipationUpdateTimeframe, 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 Timeframed and assigns it to the Timeframe field. -func (o *ProjectParticipationUpdate) SetTimeframe(v Timeframed) { +// SetTimeframe gets a reference to the given ProjectParticipationUpdateTimeframe and assigns it to the Timeframe field. +func (o *ProjectParticipationUpdate) SetTimeframe(v ProjectParticipationUpdateTimeframe) { o.Timeframe = &v } diff --git a/model_project_participation_update_timeframe.go b/model_project_participation_update_timeframe.go new file mode 100644 index 00000000..abab15d7 --- /dev/null +++ b/model_project_participation_update_timeframe.go @@ -0,0 +1,151 @@ +/* +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.0.10 +*/ + +// 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 cc87b3a4..2f016c5a 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.0.8 +API version: 1.0.10 */ // 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 3c17565c..69bc98fe 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.0.8 +API version: 1.0.10 */ // 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 9d48f067..b060edc2 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.0.8 +API version: 1.0.10 */ // 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 []EntityFilter `json:"skills,omitempty"` - Participants []EntityFilter `json:"participants,omitempty"` - Industries []EntityFilter `json:"industries,omitempty"` - Organizations []EntityFilter `json:"organizations,omitempty"` + Skills []ProjectSearchSkillsInner `json:"skills,omitempty"` + Participants []ProjectSearchSkillsInner `json:"participants,omitempty"` + Industries []ProjectSearchSkillsInner `json:"industries,omitempty"` + Organizations []ProjectSearchSkillsInner `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() []EntityFilter { +func (o *ProjectSearch) GetSkills() []ProjectSearchSkillsInner { if o == nil || o.Skills == nil { - var ret []EntityFilter + var ret []ProjectSearchSkillsInner return ret } return o.Skills @@ -281,7 +281,7 @@ func (o *ProjectSearch) GetSkills() []EntityFilter { // 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() ([]EntityFilter, bool) { +func (o *ProjectSearch) GetSkillsOk() ([]ProjectSearchSkillsInner, 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 []EntityFilter and assigns it to the Skills field. -func (o *ProjectSearch) SetSkills(v []EntityFilter) { +// SetSkills gets a reference to the given []ProjectSearchSkillsInner and assigns it to the Skills field. +func (o *ProjectSearch) SetSkills(v []ProjectSearchSkillsInner) { o.Skills = v } // GetParticipants returns the Participants field value if set, zero value otherwise. -func (o *ProjectSearch) GetParticipants() []EntityFilter { +func (o *ProjectSearch) GetParticipants() []ProjectSearchSkillsInner { if o == nil || o.Participants == nil { - var ret []EntityFilter + var ret []ProjectSearchSkillsInner return ret } return o.Participants @@ -313,7 +313,7 @@ func (o *ProjectSearch) GetParticipants() []EntityFilter { // 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() ([]EntityFilter, bool) { +func (o *ProjectSearch) GetParticipantsOk() ([]ProjectSearchSkillsInner, 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 []EntityFilter and assigns it to the Participants field. -func (o *ProjectSearch) SetParticipants(v []EntityFilter) { +// SetParticipants gets a reference to the given []ProjectSearchSkillsInner and assigns it to the Participants field. +func (o *ProjectSearch) SetParticipants(v []ProjectSearchSkillsInner) { o.Participants = v } // GetIndustries returns the Industries field value if set, zero value otherwise. -func (o *ProjectSearch) GetIndustries() []EntityFilter { +func (o *ProjectSearch) GetIndustries() []ProjectSearchSkillsInner { if o == nil || o.Industries == nil { - var ret []EntityFilter + var ret []ProjectSearchSkillsInner return ret } return o.Industries @@ -345,7 +345,7 @@ func (o *ProjectSearch) GetIndustries() []EntityFilter { // 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() ([]EntityFilter, bool) { +func (o *ProjectSearch) GetIndustriesOk() ([]ProjectSearchSkillsInner, 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 []EntityFilter and assigns it to the Industries field. -func (o *ProjectSearch) SetIndustries(v []EntityFilter) { +// SetIndustries gets a reference to the given []ProjectSearchSkillsInner and assigns it to the Industries field. +func (o *ProjectSearch) SetIndustries(v []ProjectSearchSkillsInner) { o.Industries = v } // GetOrganizations returns the Organizations field value if set, zero value otherwise. -func (o *ProjectSearch) GetOrganizations() []EntityFilter { +func (o *ProjectSearch) GetOrganizations() []ProjectSearchSkillsInner { if o == nil || o.Organizations == nil { - var ret []EntityFilter + var ret []ProjectSearchSkillsInner return ret } return o.Organizations @@ -377,7 +377,7 @@ func (o *ProjectSearch) GetOrganizations() []EntityFilter { // 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() ([]EntityFilter, bool) { +func (o *ProjectSearch) GetOrganizationsOk() ([]ProjectSearchSkillsInner, 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 []EntityFilter and assigns it to the Organizations field. -func (o *ProjectSearch) SetOrganizations(v []EntityFilter) { +// SetOrganizations gets a reference to the given []ProjectSearchSkillsInner and assigns it to the Organizations field. +func (o *ProjectSearch) SetOrganizations(v []ProjectSearchSkillsInner) { o.Organizations = v } diff --git a/model_project_search_skills_inner.go b/model_project_search_skills_inner.go new file mode 100644 index 00000000..2ab6b7cf --- /dev/null +++ b/model_project_search_skills_inner.go @@ -0,0 +1,108 @@ +/* +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.0.10 +*/ + +// 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 ae1c9f4c..7ecd7573 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.0.8 +API version: 1.0.10 */ // 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 ffd72379..041018cb 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_search_result_all_of.go b/model_search_result_all_of.go index 4fa8586a..c76b5118 100644 --- a/model_search_result_all_of.go +++ b/model_search_result_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_search_result_item.go b/model_search_result_item.go index 37487dee..72244e1e 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_seniority.go b/model_seniority.go index 4e909e2c..a01c29e2 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill.go b/model_skill.go index d6e09c1f..8662cae1 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_all_of.go b/model_skill_all_of.go index 454eecc2..c3b75b9f 100644 --- a/model_skill_all_of.go +++ b/model_skill_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_skill_details.go b/model_skill_details.go index a3c905ed..60577d92 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.0.8 +API version: 1.0.10 */ // 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 04bae7c6..0eb25a11 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.0.8 +API version: 1.0.10 */ // 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 b40b60db..a3345291 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.0.8 +API version: 1.0.10 */ // 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 index 912f7239..5e36c85b 100644 --- a/model_skill_level_update_all_of.go +++ b/model_skill_level_update_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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_status.go b/model_status.go index 237b0d29..9e025ead 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_suggestable.go b/model_suggestable.go index f1ad5803..4982ff44 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_synonymable.go b/model_synonymable.go index 85145a84..567ff724 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_timeframed.go b/model_timeframed.go index a49bc34f..b0c135df 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_version.go b/model_version.go index 3b02fe31..af9ee08f 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/response.go b/response.go index 4cc4b753..b85677d8 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/utils.go b/utils.go index 987bfffe..888424f4 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.0.8 +API version: 1.0.10 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.