diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 48213eab..455d8393 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 90080b12-9e47-459d-875f-5a0a3b2545d2 management: - docChecksum: e202af757b647240aea68a777557bd5c + docChecksum: 7b42b9b01cd3c032d2aea9f2e940de06 docVersion: 1.0.0 - speakeasyVersion: 1.634.2 - generationVersion: 2.721.3 - releaseVersion: 0.14.2 - configChecksum: 723d0395c057e3629b65071df1f13fa7 + speakeasyVersion: 1.636.3 + generationVersion: 2.723.11 + releaseVersion: 0.14.3 + configChecksum: e8c3975c5f49193499af473c0ea6f1f1 repoURL: https://github.com/StackOneHQ/stackone-client-java.git published: true features: @@ -21,7 +21,7 @@ features: globalSecurity: 2.83.1 globalSecurityCallbacks: 0.1.0 globalServerURLs: 2.82.2 - groups: 2.81.2 + groups: 2.81.3 methodSecurity: 2.82.2 nameOverrides: 2.81.3 nullables: 0.1.0 @@ -118,6 +118,7 @@ generatedFiles: - docs/models/components/AnswerType.md - docs/models/components/AnswerValue.md - docs/models/components/Application.md + - docs/models/components/ApplicationApplicationStage.md - docs/models/components/ApplicationAttachment.md - docs/models/components/ApplicationAttachmentContentType.md - docs/models/components/ApplicationAttachmentSourceValue.md @@ -416,7 +417,6 @@ generatedFiles: - docs/models/components/CreateEmploymentApiModelContractTypeContractType.md - docs/models/components/CreateEmploymentApiModelContractTypeSourceValue.md - docs/models/components/CreateEmploymentApiModelContractTypeValue.md - - docs/models/components/CreateEmploymentApiModelDurationUnit.md - docs/models/components/CreateEmploymentApiModelEmploymentContractType.md - docs/models/components/CreateEmploymentApiModelEmploymentContractTypeSourceValue.md - docs/models/components/CreateEmploymentApiModelEmploymentContractTypeValue.md @@ -428,6 +428,7 @@ generatedFiles: - docs/models/components/CreateEmploymentApiModelPayFrequencySourceValue.md - docs/models/components/CreateEmploymentApiModelPayFrequencyValue.md - docs/models/components/CreateEmploymentApiModelPayPeriod.md + - docs/models/components/CreateEmploymentApiModelPeriod.md - docs/models/components/CreateEmploymentApiModelSourceValue.md - docs/models/components/CreateEmploymentApiModelSourceValue4.md - docs/models/components/CreateEmploymentApiModelSourceValueContractType4.md @@ -575,7 +576,6 @@ generatedFiles: - docs/models/components/EmploymentDivisionSourceValue.md - docs/models/components/EmploymentDivisionType.md - docs/models/components/EmploymentDivisionValue.md - - docs/models/components/EmploymentDurationUnit.md - docs/models/components/EmploymentEmploymentContractType.md - docs/models/components/EmploymentEmploymentContractTypeSourceValue.md - docs/models/components/EmploymentEmploymentContractTypeValue.md @@ -728,7 +728,6 @@ generatedFiles: - docs/models/components/HrisCreateEmployeeRequestDtoAvatar.md - docs/models/components/HrisCreateEmployeeRequestDtoContractType.md - docs/models/components/HrisCreateEmployeeRequestDtoCountry.md - - docs/models/components/HrisCreateEmployeeRequestDtoDurationUnit.md - docs/models/components/HrisCreateEmployeeRequestDtoEmployment.md - docs/models/components/HrisCreateEmployeeRequestDtoEmploymentContractType.md - docs/models/components/HrisCreateEmployeeRequestDtoEmploymentContractTypeContractType.md @@ -778,6 +777,7 @@ generatedFiles: - docs/models/components/HrisCreateEmployeeRequestDtoNationalIdentityNumberValue.md - docs/models/components/HrisCreateEmployeeRequestDtoPayFrequency.md - docs/models/components/HrisCreateEmployeeRequestDtoPayPeriod.md + - docs/models/components/HrisCreateEmployeeRequestDtoPeriod.md - docs/models/components/HrisCreateEmployeeRequestDtoPreferredLanguage.md - docs/models/components/HrisCreateEmployeeRequestDtoPreferredLanguageSourceValue.md - docs/models/components/HrisCreateEmployeeRequestDtoPreferredLanguageValue.md @@ -816,7 +816,6 @@ generatedFiles: - docs/models/components/HrisCreateEmploymentRequestDtoContractTypeContractType.md - docs/models/components/HrisCreateEmploymentRequestDtoContractTypeSourceValue.md - docs/models/components/HrisCreateEmploymentRequestDtoContractTypeValue.md - - docs/models/components/HrisCreateEmploymentRequestDtoDurationUnit.md - docs/models/components/HrisCreateEmploymentRequestDtoEmploymentContractType.md - docs/models/components/HrisCreateEmploymentRequestDtoEmploymentContractTypeSourceValue.md - docs/models/components/HrisCreateEmploymentRequestDtoEmploymentContractTypeValue.md @@ -828,6 +827,7 @@ generatedFiles: - docs/models/components/HrisCreateEmploymentRequestDtoPayFrequencySourceValue.md - docs/models/components/HrisCreateEmploymentRequestDtoPayFrequencyValue.md - docs/models/components/HrisCreateEmploymentRequestDtoPayPeriod.md + - docs/models/components/HrisCreateEmploymentRequestDtoPeriod.md - docs/models/components/HrisCreateEmploymentRequestDtoSourceValue.md - docs/models/components/HrisCreateEmploymentRequestDtoSourceValue4.md - docs/models/components/HrisCreateEmploymentRequestDtoSourceValueContractType4.md @@ -930,7 +930,6 @@ generatedFiles: - docs/models/components/HrisUpdateEmployeeRequestDtoAvatar.md - docs/models/components/HrisUpdateEmployeeRequestDtoContractType.md - docs/models/components/HrisUpdateEmployeeRequestDtoCountry.md - - docs/models/components/HrisUpdateEmployeeRequestDtoDurationUnit.md - docs/models/components/HrisUpdateEmployeeRequestDtoEmployment.md - docs/models/components/HrisUpdateEmployeeRequestDtoEmploymentContractType.md - docs/models/components/HrisUpdateEmployeeRequestDtoEmploymentContractTypeContractType.md @@ -980,6 +979,7 @@ generatedFiles: - docs/models/components/HrisUpdateEmployeeRequestDtoNationalIdentityNumberValue.md - docs/models/components/HrisUpdateEmployeeRequestDtoPayFrequency.md - docs/models/components/HrisUpdateEmployeeRequestDtoPayPeriod.md + - docs/models/components/HrisUpdateEmployeeRequestDtoPeriod.md - docs/models/components/HrisUpdateEmployeeRequestDtoPreferredLanguage.md - docs/models/components/HrisUpdateEmployeeRequestDtoPreferredLanguageSourceValue.md - docs/models/components/HrisUpdateEmployeeRequestDtoPreferredLanguageValue.md @@ -1019,7 +1019,6 @@ generatedFiles: - docs/models/components/HrisUpdateEmploymentRequestDtoContractTypeContractType.md - docs/models/components/HrisUpdateEmploymentRequestDtoContractTypeSourceValue.md - docs/models/components/HrisUpdateEmploymentRequestDtoContractTypeValue.md - - docs/models/components/HrisUpdateEmploymentRequestDtoDurationUnit.md - docs/models/components/HrisUpdateEmploymentRequestDtoEmploymentContractType.md - docs/models/components/HrisUpdateEmploymentRequestDtoEmploymentContractTypeSourceValue.md - docs/models/components/HrisUpdateEmploymentRequestDtoEmploymentContractTypeValue.md @@ -1031,6 +1030,7 @@ generatedFiles: - docs/models/components/HrisUpdateEmploymentRequestDtoPayFrequencySourceValue.md - docs/models/components/HrisUpdateEmploymentRequestDtoPayFrequencyValue.md - docs/models/components/HrisUpdateEmploymentRequestDtoPayPeriod.md + - docs/models/components/HrisUpdateEmploymentRequestDtoPeriod.md - docs/models/components/HrisUpdateEmploymentRequestDtoSourceValue.md - docs/models/components/HrisUpdateEmploymentRequestDtoSourceValue4.md - docs/models/components/HrisUpdateEmploymentRequestDtoSourceValueContractType4.md @@ -1138,6 +1138,8 @@ generatedFiles: - docs/models/components/IsPaid2.md - docs/models/components/IsRoot.md - docs/models/components/IsRoot2.md + - docs/models/components/IsUnlimited.md + - docs/models/components/IsUnlimited2.md - docs/models/components/IssuedBy.md - docs/models/components/Job.md - docs/models/components/JobDescription.md @@ -1343,6 +1345,7 @@ generatedFiles: - docs/models/components/PatchAccountExternalDtoType.md - docs/models/components/PayFrequency.md - docs/models/components/PayPeriod.md + - docs/models/components/Period.md - docs/models/components/PhoneNumber.md - docs/models/components/PhoneNumberType.md - docs/models/components/PlatformLog.md @@ -2452,7 +2455,6 @@ generatedFiles: - docs/sdks/proxy/README.md - docs/sdks/requestlogs/README.md - docs/sdks/screening/README.md - - docs/sdks/stackone/README.md - docs/sdks/ticketing/README.md - docs/utils/Blob.md - gradle.properties @@ -2593,6 +2595,7 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/AnswerType.java - src/main/java/com/stackone/stackone_client_java/models/components/AnswerValue.java - src/main/java/com/stackone/stackone_client_java/models/components/Application.java + - src/main/java/com/stackone/stackone_client_java/models/components/ApplicationApplicationStage.java - src/main/java/com/stackone/stackone_client_java/models/components/ApplicationAttachment.java - src/main/java/com/stackone/stackone_client_java/models/components/ApplicationAttachmentContentType.java - src/main/java/com/stackone/stackone_client_java/models/components/ApplicationAttachmentSourceValue.java @@ -2891,7 +2894,6 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelContractTypeContractType.java - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelContractTypeSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelContractTypeValue.java - - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelDurationUnit.java - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelEmploymentContractType.java - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelEmploymentContractTypeSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelEmploymentContractTypeValue.java @@ -2903,6 +2905,7 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelPayFrequencySourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelPayFrequencyValue.java - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelPayPeriod.java + - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelPeriod.java - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelSourceValue4.java - src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelSourceValueContractType4.java @@ -3050,7 +3053,6 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/EmploymentDivisionSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/EmploymentDivisionType.java - src/main/java/com/stackone/stackone_client_java/models/components/EmploymentDivisionValue.java - - src/main/java/com/stackone/stackone_client_java/models/components/EmploymentDurationUnit.java - src/main/java/com/stackone/stackone_client_java/models/components/EmploymentEmploymentContractType.java - src/main/java/com/stackone/stackone_client_java/models/components/EmploymentEmploymentContractTypeSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/EmploymentEmploymentContractTypeValue.java @@ -3203,7 +3205,6 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoAvatar.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoContractType.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoCountry.java - - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoDurationUnit.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoEmployment.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoEmploymentContractType.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoEmploymentContractTypeContractType.java @@ -3253,6 +3254,7 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoNationalIdentityNumberValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoPayFrequency.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoPayPeriod.java + - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoPeriod.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoPreferredLanguage.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoPreferredLanguageSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoPreferredLanguageValue.java @@ -3291,7 +3293,6 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoContractTypeContractType.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoContractTypeSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoContractTypeValue.java - - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoDurationUnit.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoEmploymentContractType.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoEmploymentContractTypeSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoEmploymentContractTypeValue.java @@ -3303,6 +3304,7 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoPayFrequencySourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoPayFrequencyValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoPayPeriod.java + - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoPeriod.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoSourceValue4.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoSourceValueContractType4.java @@ -3405,7 +3407,6 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoAvatar.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoContractType.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoCountry.java - - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoDurationUnit.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoEmployment.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoEmploymentContractType.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoEmploymentContractTypeContractType.java @@ -3455,6 +3456,7 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoNationalIdentityNumberValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoPayFrequency.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoPayPeriod.java + - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoPeriod.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoPreferredLanguage.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoPreferredLanguageSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoPreferredLanguageValue.java @@ -3494,7 +3496,6 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoContractTypeContractType.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoContractTypeSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoContractTypeValue.java - - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoDurationUnit.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoEmploymentContractType.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoEmploymentContractTypeSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoEmploymentContractTypeValue.java @@ -3506,6 +3507,7 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoPayFrequencySourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoPayFrequencyValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoPayPeriod.java + - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoPeriod.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoSourceValue.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoSourceValue4.java - src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoSourceValueContractType4.java @@ -3613,6 +3615,8 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/IsPaid2.java - src/main/java/com/stackone/stackone_client_java/models/components/IsRoot.java - src/main/java/com/stackone/stackone_client_java/models/components/IsRoot2.java + - src/main/java/com/stackone/stackone_client_java/models/components/IsUnlimited.java + - src/main/java/com/stackone/stackone_client_java/models/components/IsUnlimited2.java - src/main/java/com/stackone/stackone_client_java/models/components/IssuedBy.java - src/main/java/com/stackone/stackone_client_java/models/components/Job.java - src/main/java/com/stackone/stackone_client_java/models/components/JobDescription.java @@ -3818,6 +3822,7 @@ generatedFiles: - src/main/java/com/stackone/stackone_client_java/models/components/PatchAccountExternalDtoType.java - src/main/java/com/stackone/stackone_client_java/models/components/PayFrequency.java - src/main/java/com/stackone/stackone_client_java/models/components/PayPeriod.java + - src/main/java/com/stackone/stackone_client_java/models/components/Period.java - src/main/java/com/stackone/stackone_client_java/models/components/PhoneNumber.java - src/main/java/com/stackone/stackone_client_java/models/components/PhoneNumberType.java - src/main/java/com/stackone/stackone_client_java/models/components/PlatformLog.java @@ -6781,7 +6786,7 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "first_name": "Isaac", "last_name": "Newton", "name": "Isaac Newton", "display_name": "Sir Isaac Newton", "avatar_url": "https://example.com/avatar.png", "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "work_email": "newton@example.com", "work_phone_number": "+1234567890", "job_title": "Physicist", "groups": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "type": {"value": "team"}}], "gender": {}, "preferred_language": {"value": "eng"}, "ethnicity": {}, "date_of_birth": "1990-01-01T00:00:00.000Z", "birthday": "2021-01-01T00:00:00Z", "marital_status": {}, "avatar": {}, "hire_date": "2021-01-01T00:00:00.000Z", "start_date": "2021-01-01T00:00:00.000Z", "tenure": 2, "work_anniversary": "2021-01-01T00:00:00Z", "employment_status": {}, "termination_date": "2021-01-01T00:00:00Z", "company_id": "1234567890", "citizenships": [{"value": "US"}], "home_location": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "city": "Grantham", "state": "Lincolnshire", "zip_code": "NG33 5NR", "country": {"value": "US"}, "location_type": {"value": "home", "source_value": "Home"}, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "work_location": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "city": "Grantham", "state": "Lincolnshire", "zip_code": "NG33 5NR", "country": null, "location_type": {"value": "home", "source_value": "Home"}, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "company": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "StackOne Technologies PLC", "full_name": "American Express Company", "display_name": "StackOne", "created_at": "2023-02-23T00:00:00.000Z", "updated_at": "2024-02-23T00:00:00.000Z"}, "employments": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": {"id": "1687-3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "1687-4", "description": "Mid-level employee demonstrating proficiency and autonomy."}, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S", "duration_unit": {"value": "month"}}, "payroll_code": "PC1", "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "fte": 1, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z", "active": true, "department": null, "cost_centers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "distribution_percentage": 85, "type": {"value": "team"}}], "division": null, "job": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer", "description": null, "owner_id": "5356", "parent_id": "7577"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "role_type": {"value": "admin"}}}]}], "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "value": "Completed", "value_id": "value_456", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48"}], "benefits": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "description": "Health insurance for employees", "created_at": "2021-01-01T00:00:00Z", "updated_at": "2021-01-01T00:00:00Z"}], "employee_number": "125", "national_identity_numbers": [{"value": "123456789", "type": {"value": "ssn"}, "country": {"value": "US"}}], "skills": [{"id": "16873-IT345", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Information-Technology", "active": true, "language": {"value": "en_GB"}, "maximum_proficiency": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Expert"}, "minimum_proficiency": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Expert"}}], "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}} + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "first_name": "Isaac", "last_name": "Newton", "name": "Isaac Newton", "display_name": "Sir Isaac Newton", "avatar_url": "https://example.com/avatar.png", "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "work_email": "newton@example.com", "work_phone_number": "+1234567890", "job_title": "Physicist", "groups": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "type": {"value": "team"}}], "gender": {}, "preferred_language": {"value": "eng"}, "ethnicity": {}, "date_of_birth": "1990-01-01T00:00:00.000Z", "birthday": "2021-01-01T00:00:00Z", "marital_status": {}, "avatar": {}, "hire_date": "2021-01-01T00:00:00.000Z", "start_date": "2021-01-01T00:00:00.000Z", "tenure": 2, "work_anniversary": "2021-01-01T00:00:00Z", "employment_status": {}, "termination_date": "2021-01-01T00:00:00Z", "company_id": "1234567890", "citizenships": [{"value": "US"}], "home_location": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "city": "Grantham", "state": "Lincolnshire", "zip_code": "NG33 5NR", "country": {"value": "US"}, "location_type": {"value": "home", "source_value": "Home"}, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "work_location": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "city": "Grantham", "state": "Lincolnshire", "zip_code": "NG33 5NR", "country": null, "location_type": {"value": "home", "source_value": "Home"}, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "company": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "StackOne Technologies PLC", "full_name": "American Express Company", "display_name": "StackOne", "created_at": "2023-02-23T00:00:00.000Z", "updated_at": "2024-02-23T00:00:00.000Z"}, "employments": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": {"id": "1687-3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "1687-4", "description": "Mid-level employee demonstrating proficiency and autonomy."}, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S"}, "payroll_code": "PC1", "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "fte": 1, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z", "active": true, "department": null, "cost_centers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "distribution_percentage": 85, "type": {"value": "team"}}], "division": null, "job": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer", "description": null, "owner_id": "5356", "parent_id": "7577"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "role_type": {"value": "admin"}}}]}], "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "value": "Completed", "value_id": "value_456", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48"}], "benefits": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "description": "Health insurance for employees", "created_at": "2021-01-01T00:00:00Z", "updated_at": "2021-01-01T00:00:00Z"}], "employee_number": "125", "national_identity_numbers": [{"value": "123456789", "type": {"value": "ssn"}, "country": {"value": "US"}}], "skills": [{"id": "16873-IT345", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Information-Technology", "active": true, "language": {"value": "en_GB"}, "maximum_proficiency": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Expert"}, "minimum_proficiency": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Expert"}}], "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}} "400": application/json: {"statusCode": 400, "message": "Bad Request", "timestamp": "2023-05-30T00:00:00.000Z", "data": {"statusCode": 400, "message": "Bad Request", "headers": {}}, "provider_errors": [{"status": 400, "url": "https://api.provider.com/v1/resource", "raw": {}, "headers": {}}]} "401": @@ -7505,7 +7510,7 @@ examples: path: id: "" query: - fields: "id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at,unified_custom_fields" + fields: "id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,is_unlimited,updated_at,unified_custom_fields" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} expand: "policy" header: @@ -7544,13 +7549,13 @@ examples: id: "" subResourceId: "" query: - fields: "id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at,unified_custom_fields" + fields: "id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,is_unlimited,updated_at,unified_custom_fields" expand: "policy" header: x-account-id: "" responses: "200": - application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "employee_id": "cx280928937", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "policy_id": "cx280928937", "remote_policy_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "policy": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Holidays", "description": "Usable for regional and national holidays of employees.", "type": {"value": "holiday"}, "duration_unit": {"value": "hours"}, "reasons": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "current_balance": 8, "initial_balance": 8, "balance_unit": {"value": "hours"}, "balance_start_date": "2021-01-01T01:01:01.000Z", "balance_expiry_date": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}} + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "employee_id": "cx280928937", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "policy_id": "cx280928937", "remote_policy_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "policy": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Holidays", "description": "Usable for regional and national holidays of employees.", "type": {"value": "holiday"}, "duration_unit": {"value": "hours"}, "reasons": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}], "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "current_balance": 8, "initial_balance": 8, "balance_unit": {"value": "hours"}, "balance_start_date": "2021-01-01T01:01:01.000Z", "balance_expiry_date": "2021-01-01T01:01:01.000Z", "is_unlimited": true, "updated_at": "2021-01-01T01:01:01.000Z"}} "400": application/json: {"statusCode": 400, "message": "Bad Request", "timestamp": "2023-05-30T00:00:00.000Z", "data": {"statusCode": 400, "message": "Bad Request", "headers": {}}, "provider_errors": [{"status": 400, "url": "https://api.provider.com/v1/resource", "raw": {}, "headers": {}}]} "401": @@ -7623,7 +7628,7 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": null, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S", "duration_unit": {"value": "month"}}, "payroll_code": "PC1", "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "fte": 1, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z", "active": true, "department": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "type": null}, "cost_centers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "distribution_percentage": 85, "type": {"value": "team"}}], "division": null, "job": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer", "description": null, "owner_id": "5356", "parent_id": "7577"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "role_type": {"value": "admin"}}}]}} + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": null, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S", "period": {"value": "month"}}, "payroll_code": "PC1", "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "fte": 1, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z", "active": true, "department": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "type": null}, "cost_centers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "distribution_percentage": 85, "type": {"value": "team"}}], "division": null, "job": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer", "description": null, "owner_id": "5356", "parent_id": "7577"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "role_type": {"value": "admin"}}}]}} "400": application/json: {"statusCode": 400, "message": "Bad Request", "timestamp": "2023-05-30T00:00:00.000Z", "data": {"statusCode": 400, "message": "Bad Request", "headers": {}}, "provider_errors": [{"status": 400, "url": "https://api.provider.com/v1/resource", "raw": {}, "headers": {}}]} "401": @@ -7694,7 +7699,7 @@ examples: header: x-account-id: "" requestBody: - application/json: {"unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": {"id": "1687-3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "1687-4", "description": "Mid-level employee demonstrating proficiency and autonomy."}, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S", "duration_unit": {"value": "month"}}, "payroll_code": "PC1", "job_id": "5290", "passthrough": {"other_known_names": "John Doe"}} + application/json: {"unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": {"id": "1687-3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "1687-4", "description": "Mid-level employee demonstrating proficiency and autonomy."}, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S", "period": {"value": "month"}}, "payroll_code": "PC1", "job_id": "5290", "passthrough": {"other_known_names": "John Doe"}} responses: "201": application/json: {"statusCode": 201, "message": "Record created successfully.", "timestamp": "2021-01-01T01:01:01.000Z", "data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3"}} @@ -7735,7 +7740,7 @@ examples: x-account-id: "" responses: "200": - application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": {"id": "1687-3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "1687-4", "description": "Mid-level employee demonstrating proficiency and autonomy."}, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S", "duration_unit": {"value": "month"}}, "payroll_code": "PC1", "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "fte": 1, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z", "active": true, "department": null, "cost_centers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "distribution_percentage": 85, "type": {"value": "team"}}], "division": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "type": {"value": "team"}}, "job": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer", "description": {"text": "Testing the laws of motion"}, "owner_id": "5356", "parent_id": "7577"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "role_type": {"value": "admin"}}}]}} + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": {"id": "1687-3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "1687-4", "description": "Mid-level employee demonstrating proficiency and autonomy."}, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S", "period": {"value": "month"}}, "payroll_code": "PC1", "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "fte": 1, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z", "active": true, "department": null, "cost_centers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "distribution_percentage": 85, "type": {"value": "team"}}], "division": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "type": {"value": "team"}}, "job": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer", "description": {"text": "Testing the laws of motion"}, "owner_id": "5356", "parent_id": "7577"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "role_type": {"value": "admin"}}}]}} "400": application/json: {"statusCode": 400, "message": "Bad Request", "timestamp": "2023-05-30T00:00:00.000Z", "data": {"statusCode": 400, "message": "Bad Request", "headers": {}}, "provider_errors": [{"status": 400, "url": "https://api.provider.com/v1/resource", "raw": {}, "headers": {}}]} "401": @@ -7769,7 +7774,7 @@ examples: header: x-account-id: "" requestBody: - application/json: {"unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": {"id": "1687-3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "1687-4", "description": "Mid-level employee demonstrating proficiency and autonomy."}, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S", "duration_unit": {"value": "month"}}, "payroll_code": "PC1", "passthrough": {"other_known_names": "John Doe"}} + application/json: {"unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": {"id": "1687-3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "1687-4", "description": "Mid-level employee demonstrating proficiency and autonomy."}, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S", "period": {"value": "month"}}, "payroll_code": "PC1", "passthrough": {"other_known_names": "John Doe"}} responses: "200": application/json: {"statusCode": 200, "message": "Record updated successfully.", "timestamp": "2021-01-01T01:01:01.000Z"} @@ -8807,7 +8812,7 @@ examples: speakeasy-default-ats-list-applications: parameters: query: - fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields" + fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,application_stage,application_stage_id,remote_application_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields" filter: {"updated_after": "2020-01-01T00:00:00.000Z", "created_after": "2020-01-01T00:00:00.000Z"} expand: "documents" include: "attachments,custom_fields" @@ -8880,14 +8885,14 @@ examples: path: id: "" query: - fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields" + fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,application_stage,application_stage_id,remote_application_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields" expand: "documents" include: "attachments,custom_fields" header: x-account-id: "" responses: "200": - application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "remote_job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "interview_stage": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "remote_interview_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "rejected_reasons": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "label": "Failed Phone Screen", "rejected_reason_type": {"value": "rejected_by_organization", "source_value": "RejectedByOrg"}}], "rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "remote_rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "rejected_at": "2021-01-01T01:01:01.000Z", "location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "remote_location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "application_status": {"value": "hired", "source_value": "Hired"}, "questionnaires": [{"id": "right_to_work", "answers": [{"id": "answer1", "type": {"value": "short_text", "source_value": "Short Text"}, "values": ["Yes"]}]}], "candidate": null, "documents": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "category": {}, "category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-02T01:01:01.000Z", "remote_url": "https://example.com/file.pdf", "file_format": {"value": "pdf", "source_value": "application/pdf"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "result_links": [{"label": "test result link", "url": "http://example.com/test-result/4565765/data"}], "source": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "LinkedIn"}, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "value": "Completed", "value_id": "value_456", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48"}]}} + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "remote_candidate_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "remote_job_id": "4071538b-3cac-4fbf-ac76-f78ed250ffdd", "application_stage": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Review", "order": 1, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "application_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "remote_application_stage_id": "18bcbb1b-3cbc-4198-a999-460861d19480", "rejected_reasons": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "label": "Failed Phone Screen", "rejected_reason_type": {"value": "rejected_by_organization", "source_value": "RejectedByOrg"}}], "rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "remote_rejected_reason_ids": ["f223d7f6-908b-48f0-9237-b201c307f609"], "rejected_at": "2021-01-01T01:01:01.000Z", "location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "remote_location_ids": ["dd8d41d1-5eb8-4408-9c87-9ba44604eae4"], "application_status": {"value": "hired", "source_value": "Hired"}, "questionnaires": [{"id": "right_to_work", "answers": [{"id": "answer1", "type": {"value": "short_text", "source_value": "Short Text"}, "values": ["Yes"]}]}], "candidate": null, "documents": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "My Document", "category": {}, "category_id": "6530", "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-02T01:01:01.000Z", "remote_url": "https://example.com/file.pdf", "file_format": {"value": "pdf", "source_value": "application/pdf"}, "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}}], "result_links": [{"label": "test result link", "url": "http://example.com/test-result/4565765/data"}], "source": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "LinkedIn"}, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z", "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "value": "Completed", "value_id": "value_456", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48"}]}} "400": application/json: {"statusCode": 400, "message": "Bad Request", "timestamp": "2023-05-30T00:00:00.000Z", "data": {"statusCode": 400, "message": "Bad Request", "headers": {}}, "provider_errors": [{"status": 400, "url": "https://api.provider.com/v1/resource", "raw": {}, "headers": {}}]} "401": @@ -9359,7 +9364,7 @@ examples: id: "" subResourceId: "" query: - fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields" + fields: "id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,application_stage,application_stage_id,remote_application_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields" header: x-account-id: "" responses: @@ -16889,3 +16894,4 @@ examples: application/json: {"statusCode": 502, "message": "Bad Gateway", "timestamp": "2023-05-30T00:00:00.000Z"} examplesVersion: 1.0.2 generatedTests: {} +releaseNotes: "## Java SDK Changes Detected:\n* `stackone.hris.listEmployeeEmployments()`: `response.data.[].workTime` **Changed** **Breaking** :warning:\n* `stackone.hris.createEmployeeEmployment()`: \n * `request.hriscreateemploymentrequestdto.workTime` **Changed** **Breaking** :warning:\n* `stackone.hris.createEmployee()`: `request.hriscreateemployeerequestdto` **Changed** **Breaking** :warning:\n* `stackone.hris.getEmployee()`: `response.data.employments.[].workTime` **Changed** **Breaking** :warning:\n* `stackone.hris.updateEmployee()`: \n * `request.hrisupdateemployeerequestdto.employment.workTime` **Changed** **Breaking** :warning:\n* `stackone.hris.updateEmployeeEmployment()`: \n * `request.hrisupdateemploymentrequestdto.workTime` **Changed** **Breaking** :warning:\n* `stackone.hris.listEmployees()`: `response.data.[].employments.[].workTime` **Changed** **Breaking** :warning:\n* `stackone.hris.getEmployment()`: `response.data.workTime` **Changed** **Breaking** :warning:\n* `stackone.hris.getEmployeeEmployment()`: `response.data.workTime` **Changed** **Breaking** :warning:\n* `stackone.hris.listEmployments()`: `response.data.[].workTime` **Changed** **Breaking** :warning:\n* `stackone.accounts.updateAccount()`: \n * `request.patchaccountexternaldto.type` **Changed**\n* `stackone.hris.getEmployeeTimeOffBalance()`: `response.data.isUnlimited` **Added**\n* `stackone.hris.listEmployeeTimeOffBalances()`: `response.data.[].isUnlimited` **Added**\n* `stackone.ats.listApplications()`: \n * `request.filter` **Changed**\n * `response.data.[]` **Changed**\n* `stackone.ats.getApplication()`: `response.data` **Changed**\n" diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 27b7a144..4a44d21a 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -22,7 +22,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false java: - version: 0.14.2 + version: 0.14.3 additionalDependencies: [] additionalPlugins: [] artifactID: stackone-client-java diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 8002ba64..272b0d60 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.634.2 +speakeasyVersion: 1.636.3 sources: StackOne-OAS: sourceNamespace: stackone-oas - sourceRevisionDigest: sha256:e1580ce09bf5e899f4390a42b4afc931ab40fe728ca61e7b31d3c2523102603d - sourceBlobDigest: sha256:2c76908f287ff7c58e75e928e972442223947d47b0e1d4e29d5567fee8cec610 + sourceRevisionDigest: sha256:d7fd910c2d17c56e99b772a5b8cbcf60188396393096d7fd816fe5626f6ff91d + sourceBlobDigest: sha256:a2b6f32eff36f507ffdb54b05281fae6d0687a1746c84df4c3bb716c047f4e48 tags: - latest - - speakeasy-sdk-regen-1759536374 + - speakeasy-sdk-regen-1759881963 - 1.0.0 targets: stackone: source: StackOne-OAS sourceNamespace: stackone-oas - sourceRevisionDigest: sha256:e1580ce09bf5e899f4390a42b4afc931ab40fe728ca61e7b31d3c2523102603d - sourceBlobDigest: sha256:2c76908f287ff7c58e75e928e972442223947d47b0e1d4e29d5567fee8cec610 + sourceRevisionDigest: sha256:d7fd910c2d17c56e99b772a5b8cbcf60188396393096d7fd816fe5626f6ff91d + sourceBlobDigest: sha256:a2b6f32eff36f507ffdb54b05281fae6d0687a1746c84df4c3bb716c047f4e48 codeSamplesNamespace: stack-one-oas-java-code-samples - codeSamplesRevisionDigest: sha256:8ae91b86088c5009d16d4e8d85785591f95f64228a976f97cb39c9d724e0f340 + codeSamplesRevisionDigest: sha256:e243e6e2fe78b31dee03cf2a1c53f4d32a8a7f0be300f01478016e00def633f1 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index ae4bfe76..66fdd2c5 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.stackone:stackone-client-java:0.14.2' +implementation 'com.stackone:stackone-client-java:0.14.3' ``` Maven: @@ -53,7 +53,7 @@ Maven: com.stackone stackone-client-java - 0.14.2 + 0.14.3 ``` @@ -505,7 +505,6 @@ public class Application { * [webhookScreeningResult](docs/sdks/screening/README.md#webhookscreeningresult) - Webhook Screening Result * [createScreeningOrder](docs/sdks/screening/README.md#createscreeningorder) - Create Screening Order - ### [ticketing()](docs/sdks/ticketing/README.md) * [listTickets](docs/sdks/ticketing/README.md#listtickets) - List Tickets diff --git a/RELEASES.md b/RELEASES.md index af709693..25ec4209 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -248,4 +248,14 @@ Based on: ### Generated - [java v0.14.2] . ### Releases -- [Maven Central v0.14.2] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.14.2 - . \ No newline at end of file +- [Maven Central v0.14.2] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.14.2 - . + +## 2025-10-16 00:05:59 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v0.14.3] . +### Releases +- [Maven Central v0.14.3] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.14.3 - . \ No newline at end of file diff --git a/docs/models/components/Application.md b/docs/models/components/Application.md index 7bae59fc..341b7063 100644 --- a/docs/models/components/Application.md +++ b/docs/models/components/Application.md @@ -3,33 +3,36 @@ ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *JsonNullable\* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `remoteId` | *JsonNullable\* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | -| `unifiedCustomFields` | Map\ | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | -| `candidateId` | *JsonNullable\* | :heavy_minus_sign: | Unique identifier of the candidate | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | -| `remoteCandidateId` | *JsonNullable\* | :heavy_minus_sign: | Provider's unique identifier of the candidate | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | -| `jobId` | *JsonNullable\* | :heavy_minus_sign: | Unique identifier of the job | 4071538b-3cac-4fbf-ac76-f78ed250ffdd | -| `remoteJobId` | *JsonNullable\* | :heavy_minus_sign: | Provider's unique identifier of the job | 4071538b-3cac-4fbf-ac76-f78ed250ffdd | -| `interviewStage` | [JsonNullable\](../../models/components/ApplicationInterviewStage.md) | :heavy_minus_sign: | N/A | | -| `interviewStageId` | *JsonNullable\* | :heavy_minus_sign: | Unique identifier of the interview stage | 18bcbb1b-3cbc-4198-a999-460861d19480 | -| `remoteInterviewStageId` | *JsonNullable\* | :heavy_minus_sign: | Provider's unique identifier of the interview stage | 18bcbb1b-3cbc-4198-a999-460861d19480 | -| `rejectedReasons` | List\<[RejectedReason](../../models/components/RejectedReason.md)> | :heavy_minus_sign: | N/A | | -| `rejectedReasonIds` | List\<*String*> | :heavy_minus_sign: | Unique identifiers of the rejection reasons | [
"f223d7f6-908b-48f0-9237-b201c307f609"
] | -| `remoteRejectedReasonIds` | List\<*String*> | :heavy_minus_sign: | Provider's unique identifiers of the rejection reasons | [
"f223d7f6-908b-48f0-9237-b201c307f609"
] | -| `rejectedAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date of rejection | 2021-01-01T01:01:01.000Z | -| ~~`locationId`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Unique identifier of the location | dd8d41d1-5eb8-4408-9c87-9ba44604eae4 | -| ~~`remoteLocationId`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Provider's unique identifier of the location | dd8d41d1-5eb8-4408-9c87-9ba44604eae4 | -| `locationIds` | List\<*String*> | :heavy_minus_sign: | Unique identifiers of the locations | [
"dd8d41d1-5eb8-4408-9c87-9ba44604eae4"
] | -| `remoteLocationIds` | List\<*String*> | :heavy_minus_sign: | Remote's unique identifiers of the locations | [
"dd8d41d1-5eb8-4408-9c87-9ba44604eae4"
] | -| `applicationStatus` | [JsonNullable\](../../models/components/ApplicationStatus.md) | :heavy_minus_sign: | N/A | | -| `questionnaires` | List\<[Questionnaire](../../models/components/Questionnaire.md)> | :heavy_minus_sign: | Questionnaires associated with the application | {
"id": "right_to_work",
"answers": [
{
"id": "answer1",
"type": "text",
"values": [
"Yes"
]
}
]
} | -| `candidate` | [JsonNullable\](../../models/components/ApplicationCandidate.md) | :heavy_minus_sign: | N/A | | -| ~~`attachments`~~ | List\<[ApplicationAttachment](../../models/components/ApplicationAttachment.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use `documents` expand instead | | -| `documents` | List\<[AtsDocumentApiModel](../../models/components/AtsDocumentApiModel.md)> | :heavy_minus_sign: | The documents attached to this application (eg. resume, cover letter etc.) | | -| `resultLinks` | List\<[ResultLink](../../models/components/ResultLink.md)> | :heavy_minus_sign: | N/A | | -| `source` | [JsonNullable\](../../models/components/Source.md) | :heavy_minus_sign: | N/A | | -| `createdAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date of creation | 2021-01-01T01:01:01.000Z | -| `updatedAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date of last update | 2021-01-01T01:01:01.000Z | -| `customFields` | List\<[CustomFields](../../models/components/CustomFields.md)> | :heavy_minus_sign: | The application custom fields | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *JsonNullable\* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remoteId` | *JsonNullable\* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unifiedCustomFields` | Map\ | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `candidateId` | *JsonNullable\* | :heavy_minus_sign: | Unique identifier of the candidate | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| `remoteCandidateId` | *JsonNullable\* | :heavy_minus_sign: | Provider's unique identifier of the candidate | e3cb75bf-aa84-466e-a6c1-b8322b257a48 | +| `jobId` | *JsonNullable\* | :heavy_minus_sign: | Unique identifier of the job | 4071538b-3cac-4fbf-ac76-f78ed250ffdd | +| `remoteJobId` | *JsonNullable\* | :heavy_minus_sign: | Provider's unique identifier of the job | 4071538b-3cac-4fbf-ac76-f78ed250ffdd | +| ~~`interviewStage`~~ | [JsonNullable\](../../models/components/ApplicationInterviewStage.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | +| `applicationStage` | [JsonNullable\](../../models/components/ApplicationApplicationStage.md) | :heavy_minus_sign: | N/A | | +| ~~`interviewStageId`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Unique identifier of the interview stage | 18bcbb1b-3cbc-4198-a999-460861d19480 | +| ~~`remoteInterviewStageId`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Provider's unique identifier of the interview stage | 18bcbb1b-3cbc-4198-a999-460861d19480 | +| `applicationStageId` | *JsonNullable\* | :heavy_minus_sign: | Unique identifier of the application stage | 18bcbb1b-3cbc-4198-a999-460861d19480 | +| `remoteApplicationStageId` | *JsonNullable\* | :heavy_minus_sign: | Unique identifier of the application stage | 18bcbb1b-3cbc-4198-a999-460861d19480 | +| `rejectedReasons` | List\<[RejectedReason](../../models/components/RejectedReason.md)> | :heavy_minus_sign: | N/A | | +| `rejectedReasonIds` | List\<*String*> | :heavy_minus_sign: | Unique identifiers of the rejection reasons | [
"f223d7f6-908b-48f0-9237-b201c307f609"
] | +| `remoteRejectedReasonIds` | List\<*String*> | :heavy_minus_sign: | Provider's unique identifiers of the rejection reasons | [
"f223d7f6-908b-48f0-9237-b201c307f609"
] | +| `rejectedAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date of rejection | 2021-01-01T01:01:01.000Z | +| ~~`locationId`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Unique identifier of the location | dd8d41d1-5eb8-4408-9c87-9ba44604eae4 | +| ~~`remoteLocationId`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Provider's unique identifier of the location | dd8d41d1-5eb8-4408-9c87-9ba44604eae4 | +| `locationIds` | List\<*String*> | :heavy_minus_sign: | Unique identifiers of the locations | [
"dd8d41d1-5eb8-4408-9c87-9ba44604eae4"
] | +| `remoteLocationIds` | List\<*String*> | :heavy_minus_sign: | Remote's unique identifiers of the locations | [
"dd8d41d1-5eb8-4408-9c87-9ba44604eae4"
] | +| `applicationStatus` | [JsonNullable\](../../models/components/ApplicationStatus.md) | :heavy_minus_sign: | N/A | | +| `questionnaires` | List\<[Questionnaire](../../models/components/Questionnaire.md)> | :heavy_minus_sign: | Questionnaires associated with the application | {
"id": "right_to_work",
"answers": [
{
"id": "answer1",
"type": "text",
"values": [
"Yes"
]
}
]
} | +| `candidate` | [JsonNullable\](../../models/components/ApplicationCandidate.md) | :heavy_minus_sign: | N/A | | +| ~~`attachments`~~ | List\<[ApplicationAttachment](../../models/components/ApplicationAttachment.md)> | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use `documents` expand instead | | +| `documents` | List\<[AtsDocumentApiModel](../../models/components/AtsDocumentApiModel.md)> | :heavy_minus_sign: | The documents attached to this application (eg. resume, cover letter etc.) | | +| `resultLinks` | List\<[ResultLink](../../models/components/ResultLink.md)> | :heavy_minus_sign: | N/A | | +| `source` | [JsonNullable\](../../models/components/Source.md) | :heavy_minus_sign: | N/A | | +| `createdAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date of creation | 2021-01-01T01:01:01.000Z | +| `updatedAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Date of last update | 2021-01-01T01:01:01.000Z | +| `customFields` | List\<[CustomFields](../../models/components/CustomFields.md)> | :heavy_minus_sign: | The application custom fields | | \ No newline at end of file diff --git a/docs/models/components/ApplicationApplicationStage.md b/docs/models/components/ApplicationApplicationStage.md new file mode 100644 index 00000000..9d9b3d3a --- /dev/null +++ b/docs/models/components/ApplicationApplicationStage.md @@ -0,0 +1,14 @@ +# ApplicationApplicationStage + + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `id` | *JsonNullable\* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remoteId` | *JsonNullable\* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `unifiedCustomFields` | Map\ | :heavy_minus_sign: | Custom Unified Fields configured in your StackOne project | {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
} | +| `name` | *JsonNullable\* | :heavy_minus_sign: | Application Stage name | Review | +| `order` | *JsonNullable\* | :heavy_minus_sign: | Application Stage order | 1 | +| `createdAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Application Stage created date | 2021-01-01T01:01:01.000Z | +| `updatedAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Application Stage updated date | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/components/ApplicationChangesDataModel.md b/docs/models/components/ApplicationChangesDataModel.md index 39ef9f2e..82fe6835 100644 --- a/docs/models/components/ApplicationChangesDataModel.md +++ b/docs/models/components/ApplicationChangesDataModel.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `interviewStageId` | *JsonNullable\* | :heavy_minus_sign: | Unique identifier of the interview stage | 18bcbb1b-3cbc-4198-a999-460861d19480 | -| `rejectedReasonIds` | List\<*String*> | :heavy_minus_sign: | Unique identifiers of the rejection reasons | [
"f223d7f6-908b-48f0-9237-b201c307f609"
] | -| `applicationStatus` | [JsonNullable\](../../models/components/ApplicationChangesDataModelApplicationStatus.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ~~`interviewStageId`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Unique identifier of the interview stage | 18bcbb1b-3cbc-4198-a999-460861d19480 | +| `rejectedReasonIds` | List\<*String*> | :heavy_minus_sign: | Unique identifiers of the rejection reasons | [
"f223d7f6-908b-48f0-9237-b201c307f609"
] | +| `applicationStatus` | [JsonNullable\](../../models/components/ApplicationChangesDataModelApplicationStatus.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/components/ApplicationInterviewStage.md b/docs/models/components/ApplicationInterviewStage.md index e71e15f7..c0459e2a 100644 --- a/docs/models/components/ApplicationInterviewStage.md +++ b/docs/models/components/ApplicationInterviewStage.md @@ -1,4 +1,6 @@ -# ApplicationInterviewStage +# ~~ApplicationInterviewStage~~ + +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ## Fields diff --git a/docs/models/components/AssignmentLearningObjectTypeSourceValue.md b/docs/models/components/AssignmentLearningObjectTypeSourceValue.md index 62944c31..844a095e 100644 --- a/docs/models/components/AssignmentLearningObjectTypeSourceValue.md +++ b/docs/models/components/AssignmentLearningObjectTypeSourceValue.md @@ -1,2 +1,4 @@ # AssignmentLearningObjectTypeSourceValue +The original learning object type from the provider before normalization. + diff --git a/docs/models/components/AssignmentLearningObjectTypeValue.md b/docs/models/components/AssignmentLearningObjectTypeValue.md index 353e8be1..3313bcec 100644 --- a/docs/models/components/AssignmentLearningObjectTypeValue.md +++ b/docs/models/components/AssignmentLearningObjectTypeValue.md @@ -1,5 +1,7 @@ # AssignmentLearningObjectTypeValue +The StackOne unified learning object type. + ## Values diff --git a/docs/models/components/AssignmentResult1.md b/docs/models/components/AssignmentResult1.md index 9cd87458..2e4a0e16 100644 --- a/docs/models/components/AssignmentResult1.md +++ b/docs/models/components/AssignmentResult1.md @@ -7,5 +7,5 @@ The result of the assignment | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/AssignmentResultValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/AssignmentResultSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `value` | [JsonNullable\](../../models/components/AssignmentResultValue.md) | :heavy_minus_sign: | The StackOne unified result status. | +| `sourceValue` | [JsonNullable\](../../models/components/AssignmentResultSourceValue.md) | :heavy_minus_sign: | The original result status from the provider before normalization. | \ No newline at end of file diff --git a/docs/models/components/AssignmentResultSourceValue.md b/docs/models/components/AssignmentResultSourceValue.md index 9d896728..b7946374 100644 --- a/docs/models/components/AssignmentResultSourceValue.md +++ b/docs/models/components/AssignmentResultSourceValue.md @@ -1,2 +1,4 @@ # AssignmentResultSourceValue +The original result status from the provider before normalization. + diff --git a/docs/models/components/AssignmentResultValue.md b/docs/models/components/AssignmentResultValue.md index 3ea25f9f..c7cdc50e 100644 --- a/docs/models/components/AssignmentResultValue.md +++ b/docs/models/components/AssignmentResultValue.md @@ -1,5 +1,7 @@ # AssignmentResultValue +The StackOne unified result status. + ## Values diff --git a/docs/models/components/AssignmentSourceValue.md b/docs/models/components/AssignmentSourceValue.md index 9102bbf2..87194469 100644 --- a/docs/models/components/AssignmentSourceValue.md +++ b/docs/models/components/AssignmentSourceValue.md @@ -1,2 +1,4 @@ # AssignmentSourceValue +The original status value from the provider before normalization. + diff --git a/docs/models/components/AssignmentStatus.md b/docs/models/components/AssignmentStatus.md index 91b680ce..74db3b35 100644 --- a/docs/models/components/AssignmentStatus.md +++ b/docs/models/components/AssignmentStatus.md @@ -7,5 +7,5 @@ The status of the assignment | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/AssignmentValue.md) | :heavy_minus_sign: | N/A | in_progress | -| `sourceValue` | [JsonNullable\](../../models/components/AssignmentSourceValue.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `value` | [JsonNullable\](../../models/components/AssignmentValue.md) | :heavy_minus_sign: | The StackOne unified assignment status. | in_progress | +| `sourceValue` | [JsonNullable\](../../models/components/AssignmentSourceValue.md) | :heavy_minus_sign: | The original status value from the provider before normalization. | | \ No newline at end of file diff --git a/docs/models/components/AssignmentValue.md b/docs/models/components/AssignmentValue.md index acc09daf..3b1eeae8 100644 --- a/docs/models/components/AssignmentValue.md +++ b/docs/models/components/AssignmentValue.md @@ -1,5 +1,7 @@ # AssignmentValue +The StackOne unified assignment status. + ## Values diff --git a/docs/models/components/CategoryLanguage.md b/docs/models/components/CategoryLanguage.md index ee0250ee..717433ae 100644 --- a/docs/models/components/CategoryLanguage.md +++ b/docs/models/components/CategoryLanguage.md @@ -5,7 +5,7 @@ The language associated with this category ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/CategoryLanguageValue.md) | :heavy_minus_sign: | The Locale Code of the language | en_GB | -| `sourceValue` | [JsonNullable\](../../models/components/CategoryLanguageSourceValue.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/CategoryLanguageValue.md) | :heavy_minus_sign: | The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | en_GB | +| `sourceValue` | [JsonNullable\](../../models/components/CategoryLanguageSourceValue.md) | :heavy_minus_sign: | For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | | \ No newline at end of file diff --git a/docs/models/components/CategoryLanguageSourceValue.md b/docs/models/components/CategoryLanguageSourceValue.md index 0b925d5b..b04ebebb 100644 --- a/docs/models/components/CategoryLanguageSourceValue.md +++ b/docs/models/components/CategoryLanguageSourceValue.md @@ -1,2 +1,4 @@ # CategoryLanguageSourceValue +For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/CategoryLanguageValue.md b/docs/models/components/CategoryLanguageValue.md index d5622e7d..52e71d2e 100644 --- a/docs/models/components/CategoryLanguageValue.md +++ b/docs/models/components/CategoryLanguageValue.md @@ -1,6 +1,6 @@ # CategoryLanguageValue -The Locale Code of the language +The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. ## Values diff --git a/docs/models/components/CategoryLevelSourceValue.md b/docs/models/components/CategoryLevelSourceValue.md index b1edfc31..8ffd1783 100644 --- a/docs/models/components/CategoryLevelSourceValue.md +++ b/docs/models/components/CategoryLevelSourceValue.md @@ -1,2 +1,4 @@ # CategoryLevelSourceValue +For read operations: the original category level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/CategoryLevelValue.md b/docs/models/components/CategoryLevelValue.md index 88b7bcd8..90571676 100644 --- a/docs/models/components/CategoryLevelValue.md +++ b/docs/models/components/CategoryLevelValue.md @@ -1,5 +1,7 @@ # CategoryLevelValue +The unified category level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. + ## Values diff --git a/docs/models/components/CategorySourceValue.md b/docs/models/components/CategorySourceValue.md index adb696d6..37294833 100644 --- a/docs/models/components/CategorySourceValue.md +++ b/docs/models/components/CategorySourceValue.md @@ -1,2 +1,4 @@ # CategorySourceValue +For read operations: the original category level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/CategoryValue.md b/docs/models/components/CategoryValue.md index d5267b35..3834a7f2 100644 --- a/docs/models/components/CategoryValue.md +++ b/docs/models/components/CategoryValue.md @@ -1,5 +1,7 @@ # CategoryValue +The unified category level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. + ## Values diff --git a/docs/models/components/CompletionLearningObjectType.md b/docs/models/components/CompletionLearningObjectType.md index 01f1e3d0..472f2983 100644 --- a/docs/models/components/CompletionLearningObjectType.md +++ b/docs/models/components/CompletionLearningObjectType.md @@ -7,5 +7,5 @@ The learning object type of the completion | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/CompletionLearningObjectTypeValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/CompletionLearningObjectTypeSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `value` | [JsonNullable\](../../models/components/CompletionLearningObjectTypeValue.md) | :heavy_minus_sign: | The StackOne unified learning object type. | +| `sourceValue` | [JsonNullable\](../../models/components/CompletionLearningObjectTypeSourceValue.md) | :heavy_minus_sign: | The original learning object type from the provider before normalization. | \ No newline at end of file diff --git a/docs/models/components/CompletionLearningObjectTypeSourceValue.md b/docs/models/components/CompletionLearningObjectTypeSourceValue.md index 25b76f01..e3b373cf 100644 --- a/docs/models/components/CompletionLearningObjectTypeSourceValue.md +++ b/docs/models/components/CompletionLearningObjectTypeSourceValue.md @@ -1,2 +1,4 @@ # CompletionLearningObjectTypeSourceValue +The original learning object type from the provider before normalization. + diff --git a/docs/models/components/CompletionLearningObjectTypeValue.md b/docs/models/components/CompletionLearningObjectTypeValue.md index ea957d24..0f03a5e2 100644 --- a/docs/models/components/CompletionLearningObjectTypeValue.md +++ b/docs/models/components/CompletionLearningObjectTypeValue.md @@ -1,5 +1,7 @@ # CompletionLearningObjectTypeValue +The StackOne unified learning object type. + ## Values diff --git a/docs/models/components/CompletionResult1.md b/docs/models/components/CompletionResult1.md index 77677b70..7680e52a 100644 --- a/docs/models/components/CompletionResult1.md +++ b/docs/models/components/CompletionResult1.md @@ -7,5 +7,5 @@ The result of the completion | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/CompletionValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/CompletionSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `value` | [JsonNullable\](../../models/components/CompletionValue.md) | :heavy_minus_sign: | The StackOne unified result status. | +| `sourceValue` | [JsonNullable\](../../models/components/CompletionSourceValue.md) | :heavy_minus_sign: | The original result status from the provider before normalization. | \ No newline at end of file diff --git a/docs/models/components/CompletionSourceValue.md b/docs/models/components/CompletionSourceValue.md index 22994375..3b752f35 100644 --- a/docs/models/components/CompletionSourceValue.md +++ b/docs/models/components/CompletionSourceValue.md @@ -1,2 +1,4 @@ # CompletionSourceValue +The original result status from the provider before normalization. + diff --git a/docs/models/components/CompletionValue.md b/docs/models/components/CompletionValue.md index 994cf0c6..89fc9a4e 100644 --- a/docs/models/components/CompletionValue.md +++ b/docs/models/components/CompletionValue.md @@ -1,5 +1,7 @@ # CompletionValue +The StackOne unified result status. + ## Values diff --git a/docs/models/components/ContentSourceValue.md b/docs/models/components/ContentSourceValue.md index 2193c5a9..2eef5d72 100644 --- a/docs/models/components/ContentSourceValue.md +++ b/docs/models/components/ContentSourceValue.md @@ -1,2 +1,4 @@ # ContentSourceValue +The original value from the provider before normalization. + diff --git a/docs/models/components/ContentType.md b/docs/models/components/ContentType.md index 511aad1b..6b502afc 100644 --- a/docs/models/components/ContentType.md +++ b/docs/models/components/ContentType.md @@ -7,5 +7,5 @@ The type of content | Field | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/ContentValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/ContentSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `value` | [JsonNullable\](../../models/components/ContentValue.md) | :heavy_minus_sign: | The StackOne unified content type. | +| `sourceValue` | [JsonNullable\](../../models/components/ContentSourceValue.md) | :heavy_minus_sign: | The original value from the provider before normalization. | \ No newline at end of file diff --git a/docs/models/components/ContentValue.md b/docs/models/components/ContentValue.md index 6bfa43d4..e54a040f 100644 --- a/docs/models/components/ContentValue.md +++ b/docs/models/components/ContentValue.md @@ -1,5 +1,7 @@ # ContentValue +The StackOne unified content type. + ## Values diff --git a/docs/models/components/CreateCategoriesApiModelHierarchy.md b/docs/models/components/CreateCategoriesApiModelHierarchy.md index 252af638..c5d1ecef 100644 --- a/docs/models/components/CreateCategoriesApiModelHierarchy.md +++ b/docs/models/components/CreateCategoriesApiModelHierarchy.md @@ -5,7 +5,7 @@ The hierarchal level of the category ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/CreateCategoriesApiModelValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/CreateCategoriesApiModelSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `value` | [JsonNullable\](../../models/components/CreateCategoriesApiModelValue.md) | :heavy_minus_sign: | The unified category level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | +| `sourceValue` | [JsonNullable\](../../models/components/CreateCategoriesApiModelSourceValue.md) | :heavy_minus_sign: | For read operations: the original category level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | \ No newline at end of file diff --git a/docs/models/components/CreateCategoriesApiModelLanguage.md b/docs/models/components/CreateCategoriesApiModelLanguage.md index a2f834b6..f1eeba7e 100644 --- a/docs/models/components/CreateCategoriesApiModelLanguage.md +++ b/docs/models/components/CreateCategoriesApiModelLanguage.md @@ -5,7 +5,7 @@ The language associated with this category ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `value` | [JsonNullable\](../../models/components/CreateCategoriesApiModelLanguageValue.md) | :heavy_minus_sign: | The Locale Code of the language | en_GB | -| `sourceValue` | [JsonNullable\](../../models/components/CreateCategoriesApiModelLanguageSourceValue.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/CreateCategoriesApiModelLanguageValue.md) | :heavy_minus_sign: | The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | en_GB | +| `sourceValue` | [JsonNullable\](../../models/components/CreateCategoriesApiModelLanguageSourceValue.md) | :heavy_minus_sign: | For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | | \ No newline at end of file diff --git a/docs/models/components/CreateCategoriesApiModelLanguageSourceValue.md b/docs/models/components/CreateCategoriesApiModelLanguageSourceValue.md index f2e645c5..27ffb0c8 100644 --- a/docs/models/components/CreateCategoriesApiModelLanguageSourceValue.md +++ b/docs/models/components/CreateCategoriesApiModelLanguageSourceValue.md @@ -1,2 +1,4 @@ # CreateCategoriesApiModelLanguageSourceValue +For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/CreateCategoriesApiModelLanguageValue.md b/docs/models/components/CreateCategoriesApiModelLanguageValue.md index dbe75b6e..73565ae2 100644 --- a/docs/models/components/CreateCategoriesApiModelLanguageValue.md +++ b/docs/models/components/CreateCategoriesApiModelLanguageValue.md @@ -1,6 +1,6 @@ # CreateCategoriesApiModelLanguageValue -The Locale Code of the language +The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. ## Values diff --git a/docs/models/components/CreateCategoriesApiModelLevel.md b/docs/models/components/CreateCategoriesApiModelLevel.md index 4fd74a4d..6a8a1410 100644 --- a/docs/models/components/CreateCategoriesApiModelLevel.md +++ b/docs/models/components/CreateCategoriesApiModelLevel.md @@ -7,7 +7,7 @@ The hierarchal level of the category ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `value` | [JsonNullable\](../../models/components/CreateCategoriesApiModelLevelValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/CreateCategoriesApiModelLevelSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `value` | [JsonNullable\](../../models/components/CreateCategoriesApiModelLevelValue.md) | :heavy_minus_sign: | The unified category level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | +| `sourceValue` | [JsonNullable\](../../models/components/CreateCategoriesApiModelLevelSourceValue.md) | :heavy_minus_sign: | For read operations: the original category level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | \ No newline at end of file diff --git a/docs/models/components/CreateCategoriesApiModelLevelSourceValue.md b/docs/models/components/CreateCategoriesApiModelLevelSourceValue.md index d901db60..27341235 100644 --- a/docs/models/components/CreateCategoriesApiModelLevelSourceValue.md +++ b/docs/models/components/CreateCategoriesApiModelLevelSourceValue.md @@ -1,2 +1,4 @@ # CreateCategoriesApiModelLevelSourceValue +For read operations: the original category level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/CreateCategoriesApiModelLevelValue.md b/docs/models/components/CreateCategoriesApiModelLevelValue.md index ad7ee7b6..efe6b277 100644 --- a/docs/models/components/CreateCategoriesApiModelLevelValue.md +++ b/docs/models/components/CreateCategoriesApiModelLevelValue.md @@ -1,5 +1,7 @@ # CreateCategoriesApiModelLevelValue +The unified category level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. + ## Values diff --git a/docs/models/components/CreateCategoriesApiModelSourceValue.md b/docs/models/components/CreateCategoriesApiModelSourceValue.md index 43009514..f0bfab16 100644 --- a/docs/models/components/CreateCategoriesApiModelSourceValue.md +++ b/docs/models/components/CreateCategoriesApiModelSourceValue.md @@ -1,2 +1,4 @@ # CreateCategoriesApiModelSourceValue +For read operations: the original category level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/CreateCategoriesApiModelValue.md b/docs/models/components/CreateCategoriesApiModelValue.md index 15ae7ddb..1276ce0e 100644 --- a/docs/models/components/CreateCategoriesApiModelValue.md +++ b/docs/models/components/CreateCategoriesApiModelValue.md @@ -1,5 +1,7 @@ # CreateCategoriesApiModelValue +The unified category level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. + ## Values diff --git a/docs/models/components/CreateEmploymentApiModelDurationUnit.md b/docs/models/components/CreateEmploymentApiModelPeriod.md similarity index 97% rename from docs/models/components/CreateEmploymentApiModelDurationUnit.md rename to docs/models/components/CreateEmploymentApiModelPeriod.md index 76591cd3..90425aae 100644 --- a/docs/models/components/CreateEmploymentApiModelDurationUnit.md +++ b/docs/models/components/CreateEmploymentApiModelPeriod.md @@ -1,6 +1,6 @@ -# CreateEmploymentApiModelDurationUnit +# CreateEmploymentApiModelPeriod -The duration unit of the work time +The period of the work time ## Fields diff --git a/docs/models/components/CreateEmploymentApiModelWorkTime.md b/docs/models/components/CreateEmploymentApiModelWorkTime.md index 929e4813..2e6cca80 100644 --- a/docs/models/components/CreateEmploymentApiModelWorkTime.md +++ b/docs/models/components/CreateEmploymentApiModelWorkTime.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | -| `durationUnit` | [JsonNullable\](../../models/components/CreateEmploymentApiModelDurationUnit.md) | :heavy_minus_sign: | The duration unit of the work time | month | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | +| `period` | [JsonNullable\](../../models/components/CreateEmploymentApiModelPeriod.md) | :heavy_minus_sign: | The period of the work time | month | \ No newline at end of file diff --git a/docs/models/components/CreateSkillsApiModelHierarchy.md b/docs/models/components/CreateSkillsApiModelHierarchy.md index 2ca35480..bda4f56c 100644 --- a/docs/models/components/CreateSkillsApiModelHierarchy.md +++ b/docs/models/components/CreateSkillsApiModelHierarchy.md @@ -5,7 +5,7 @@ The hierarchal level of the skill ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `value` | [JsonNullable\](../../models/components/CreateSkillsApiModelValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/CreateSkillsApiModelSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/CreateSkillsApiModelValue.md) | :heavy_minus_sign: | The unified skill level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | +| `sourceValue` | [JsonNullable\](../../models/components/CreateSkillsApiModelSourceValue.md) | :heavy_minus_sign: | For read operations: the original skill level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | \ No newline at end of file diff --git a/docs/models/components/CreateSkillsApiModelLanguage.md b/docs/models/components/CreateSkillsApiModelLanguage.md index 85cfdf8c..3037f186 100644 --- a/docs/models/components/CreateSkillsApiModelLanguage.md +++ b/docs/models/components/CreateSkillsApiModelLanguage.md @@ -5,7 +5,7 @@ The language associated with this skill ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/CreateSkillsApiModelLanguageValue.md) | :heavy_minus_sign: | The Locale Code of the language | en_GB | -| `sourceValue` | [JsonNullable\](../../models/components/CreateSkillsApiModelLanguageSourceValue.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/CreateSkillsApiModelLanguageValue.md) | :heavy_minus_sign: | The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | en_GB | +| `sourceValue` | [JsonNullable\](../../models/components/CreateSkillsApiModelLanguageSourceValue.md) | :heavy_minus_sign: | For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | | \ No newline at end of file diff --git a/docs/models/components/CreateSkillsApiModelLanguageSourceValue.md b/docs/models/components/CreateSkillsApiModelLanguageSourceValue.md index 6ee6bfc2..9fff6ee3 100644 --- a/docs/models/components/CreateSkillsApiModelLanguageSourceValue.md +++ b/docs/models/components/CreateSkillsApiModelLanguageSourceValue.md @@ -1,2 +1,4 @@ # CreateSkillsApiModelLanguageSourceValue +For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/CreateSkillsApiModelLanguageValue.md b/docs/models/components/CreateSkillsApiModelLanguageValue.md index af5f2cf9..6d642926 100644 --- a/docs/models/components/CreateSkillsApiModelLanguageValue.md +++ b/docs/models/components/CreateSkillsApiModelLanguageValue.md @@ -1,6 +1,6 @@ # CreateSkillsApiModelLanguageValue -The Locale Code of the language +The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. ## Values diff --git a/docs/models/components/CreateSkillsApiModelLevel.md b/docs/models/components/CreateSkillsApiModelLevel.md index e052dc2c..fcc85ec9 100644 --- a/docs/models/components/CreateSkillsApiModelLevel.md +++ b/docs/models/components/CreateSkillsApiModelLevel.md @@ -7,7 +7,7 @@ The hierarchal level of the skill ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/CreateSkillsApiModelLevelValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/CreateSkillsApiModelLevelSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/CreateSkillsApiModelLevelValue.md) | :heavy_minus_sign: | The unified skill level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | +| `sourceValue` | [JsonNullable\](../../models/components/CreateSkillsApiModelLevelSourceValue.md) | :heavy_minus_sign: | For read operations: the original skill level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | \ No newline at end of file diff --git a/docs/models/components/CreateSkillsApiModelLevelSourceValue.md b/docs/models/components/CreateSkillsApiModelLevelSourceValue.md index 8c5ad164..8299be4d 100644 --- a/docs/models/components/CreateSkillsApiModelLevelSourceValue.md +++ b/docs/models/components/CreateSkillsApiModelLevelSourceValue.md @@ -1,2 +1,4 @@ # CreateSkillsApiModelLevelSourceValue +For read operations: the original skill level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/CreateSkillsApiModelLevelValue.md b/docs/models/components/CreateSkillsApiModelLevelValue.md index 947dfd59..afc98f77 100644 --- a/docs/models/components/CreateSkillsApiModelLevelValue.md +++ b/docs/models/components/CreateSkillsApiModelLevelValue.md @@ -1,5 +1,7 @@ # CreateSkillsApiModelLevelValue +The unified skill level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. + ## Values diff --git a/docs/models/components/CreateSkillsApiModelSourceValue.md b/docs/models/components/CreateSkillsApiModelSourceValue.md index b0867d63..0e946d56 100644 --- a/docs/models/components/CreateSkillsApiModelSourceValue.md +++ b/docs/models/components/CreateSkillsApiModelSourceValue.md @@ -1,2 +1,4 @@ # CreateSkillsApiModelSourceValue +For read operations: the original skill level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/CreateSkillsApiModelValue.md b/docs/models/components/CreateSkillsApiModelValue.md index a9ce4634..8c02f452 100644 --- a/docs/models/components/CreateSkillsApiModelValue.md +++ b/docs/models/components/CreateSkillsApiModelValue.md @@ -1,5 +1,7 @@ # CreateSkillsApiModelValue +The unified skill level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. + ## Values diff --git a/docs/models/components/EntitySkillsSourceValue.md b/docs/models/components/EntitySkillsSourceValue.md index a8ecadee..ccf94f50 100644 --- a/docs/models/components/EntitySkillsSourceValue.md +++ b/docs/models/components/EntitySkillsSourceValue.md @@ -1,2 +1,4 @@ # EntitySkillsSourceValue +For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/EntitySkillsValue.md b/docs/models/components/EntitySkillsValue.md index 0b1451b9..ef360b9c 100644 --- a/docs/models/components/EntitySkillsValue.md +++ b/docs/models/components/EntitySkillsValue.md @@ -1,6 +1,6 @@ # EntitySkillsValue -The Locale Code of the language +The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. ## Values diff --git a/docs/models/components/Hierarchy.md b/docs/models/components/Hierarchy.md index 2a018203..c1268501 100644 --- a/docs/models/components/Hierarchy.md +++ b/docs/models/components/Hierarchy.md @@ -5,7 +5,7 @@ The hierarchal level of the category ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `value` | [JsonNullable\](../../models/components/CategoryValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/CategorySourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `value` | [JsonNullable\](../../models/components/CategoryValue.md) | :heavy_minus_sign: | The unified category level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | +| `sourceValue` | [JsonNullable\](../../models/components/CategorySourceValue.md) | :heavy_minus_sign: | For read operations: the original category level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | \ No newline at end of file diff --git a/docs/models/components/HrisCreateEmployeeRequestDtoDurationUnit.md b/docs/models/components/HrisCreateEmployeeRequestDtoPeriod.md similarity index 97% rename from docs/models/components/HrisCreateEmployeeRequestDtoDurationUnit.md rename to docs/models/components/HrisCreateEmployeeRequestDtoPeriod.md index d9dab84a..b78dcab1 100644 --- a/docs/models/components/HrisCreateEmployeeRequestDtoDurationUnit.md +++ b/docs/models/components/HrisCreateEmployeeRequestDtoPeriod.md @@ -1,6 +1,6 @@ -# HrisCreateEmployeeRequestDtoDurationUnit +# HrisCreateEmployeeRequestDtoPeriod -The duration unit of the work time +The period of the work time ## Fields diff --git a/docs/models/components/HrisCreateEmployeeRequestDtoWorkTime.md b/docs/models/components/HrisCreateEmployeeRequestDtoWorkTime.md index cc32692e..761d4608 100644 --- a/docs/models/components/HrisCreateEmployeeRequestDtoWorkTime.md +++ b/docs/models/components/HrisCreateEmployeeRequestDtoWorkTime.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | -| `durationUnit` | [JsonNullable\](../../models/components/HrisCreateEmployeeRequestDtoDurationUnit.md) | :heavy_minus_sign: | The duration unit of the work time | month | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | +| `period` | [JsonNullable\](../../models/components/HrisCreateEmployeeRequestDtoPeriod.md) | :heavy_minus_sign: | The period of the work time | month | \ No newline at end of file diff --git a/docs/models/components/HrisCreateEmploymentRequestDtoDurationUnit.md b/docs/models/components/HrisCreateEmploymentRequestDtoPeriod.md similarity index 97% rename from docs/models/components/HrisCreateEmploymentRequestDtoDurationUnit.md rename to docs/models/components/HrisCreateEmploymentRequestDtoPeriod.md index 6f17deae..f8f1641a 100644 --- a/docs/models/components/HrisCreateEmploymentRequestDtoDurationUnit.md +++ b/docs/models/components/HrisCreateEmploymentRequestDtoPeriod.md @@ -1,6 +1,6 @@ -# HrisCreateEmploymentRequestDtoDurationUnit +# HrisCreateEmploymentRequestDtoPeriod -The duration unit of the work time +The period of the work time ## Fields diff --git a/docs/models/components/HrisCreateEmploymentRequestDtoWorkTime.md b/docs/models/components/HrisCreateEmploymentRequestDtoWorkTime.md index 89c2c35c..9bf1d196 100644 --- a/docs/models/components/HrisCreateEmploymentRequestDtoWorkTime.md +++ b/docs/models/components/HrisCreateEmploymentRequestDtoWorkTime.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | -| `durationUnit` | [JsonNullable\](../../models/components/HrisCreateEmploymentRequestDtoDurationUnit.md) | :heavy_minus_sign: | The duration unit of the work time | month | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | +| `period` | [JsonNullable\](../../models/components/HrisCreateEmploymentRequestDtoPeriod.md) | :heavy_minus_sign: | The period of the work time | month | \ No newline at end of file diff --git a/docs/models/components/HrisUpdateEmployeeRequestDtoDurationUnit.md b/docs/models/components/HrisUpdateEmployeeRequestDtoPeriod.md similarity index 97% rename from docs/models/components/HrisUpdateEmployeeRequestDtoDurationUnit.md rename to docs/models/components/HrisUpdateEmployeeRequestDtoPeriod.md index 14b281d8..252bd21c 100644 --- a/docs/models/components/HrisUpdateEmployeeRequestDtoDurationUnit.md +++ b/docs/models/components/HrisUpdateEmployeeRequestDtoPeriod.md @@ -1,6 +1,6 @@ -# HrisUpdateEmployeeRequestDtoDurationUnit +# HrisUpdateEmployeeRequestDtoPeriod -The duration unit of the work time +The period of the work time ## Fields diff --git a/docs/models/components/HrisUpdateEmployeeRequestDtoWorkTime.md b/docs/models/components/HrisUpdateEmployeeRequestDtoWorkTime.md index ef3283ed..1d1bc367 100644 --- a/docs/models/components/HrisUpdateEmployeeRequestDtoWorkTime.md +++ b/docs/models/components/HrisUpdateEmployeeRequestDtoWorkTime.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | -| `durationUnit` | [JsonNullable\](../../models/components/HrisUpdateEmployeeRequestDtoDurationUnit.md) | :heavy_minus_sign: | The duration unit of the work time | month | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | +| `period` | [JsonNullable\](../../models/components/HrisUpdateEmployeeRequestDtoPeriod.md) | :heavy_minus_sign: | The period of the work time | month | \ No newline at end of file diff --git a/docs/models/components/HrisUpdateEmploymentRequestDtoDurationUnit.md b/docs/models/components/HrisUpdateEmploymentRequestDtoPeriod.md similarity index 97% rename from docs/models/components/HrisUpdateEmploymentRequestDtoDurationUnit.md rename to docs/models/components/HrisUpdateEmploymentRequestDtoPeriod.md index 3d239a0c..a3090ce0 100644 --- a/docs/models/components/HrisUpdateEmploymentRequestDtoDurationUnit.md +++ b/docs/models/components/HrisUpdateEmploymentRequestDtoPeriod.md @@ -1,6 +1,6 @@ -# HrisUpdateEmploymentRequestDtoDurationUnit +# HrisUpdateEmploymentRequestDtoPeriod -The duration unit of the work time +The period of the work time ## Fields diff --git a/docs/models/components/HrisUpdateEmploymentRequestDtoWorkTime.md b/docs/models/components/HrisUpdateEmploymentRequestDtoWorkTime.md index ea947ef2..4b90f5b2 100644 --- a/docs/models/components/HrisUpdateEmploymentRequestDtoWorkTime.md +++ b/docs/models/components/HrisUpdateEmploymentRequestDtoWorkTime.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | -| `durationUnit` | [JsonNullable\](../../models/components/HrisUpdateEmploymentRequestDtoDurationUnit.md) | :heavy_minus_sign: | The duration unit of the work time | month | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | +| `period` | [JsonNullable\](../../models/components/HrisUpdateEmploymentRequestDtoPeriod.md) | :heavy_minus_sign: | The period of the work time | month | \ No newline at end of file diff --git a/docs/models/components/IsUnlimited.md b/docs/models/components/IsUnlimited.md new file mode 100644 index 00000000..c2866e51 --- /dev/null +++ b/docs/models/components/IsUnlimited.md @@ -0,0 +1,4 @@ +# IsUnlimited + +Indicates if this time off balance represents unlimited leave + diff --git a/docs/models/components/IsUnlimited2.md b/docs/models/components/IsUnlimited2.md new file mode 100644 index 00000000..de0c70cb --- /dev/null +++ b/docs/models/components/IsUnlimited2.md @@ -0,0 +1,9 @@ +# IsUnlimited2 + + +## Values + +| Name | Value | +| ------- | ------- | +| `TRUE` | true | +| `FALSE` | false | \ No newline at end of file diff --git a/docs/models/components/Language.md b/docs/models/components/Language.md index 5b720790..2b7b0258 100644 --- a/docs/models/components/Language.md +++ b/docs/models/components/Language.md @@ -5,7 +5,7 @@ The language associated with this skill ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/EntitySkillsValue.md) | :heavy_minus_sign: | The Locale Code of the language | en_GB | -| `sourceValue` | [JsonNullable\](../../models/components/EntitySkillsSourceValue.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/EntitySkillsValue.md) | :heavy_minus_sign: | The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | en_GB | +| `sourceValue` | [JsonNullable\](../../models/components/EntitySkillsSourceValue.md) | :heavy_minus_sign: | For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | | \ No newline at end of file diff --git a/docs/models/components/LanguageEnum.md b/docs/models/components/LanguageEnum.md index 415d3da8..673ca212 100644 --- a/docs/models/components/LanguageEnum.md +++ b/docs/models/components/LanguageEnum.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/LanguageEnumValue.md) | :heavy_minus_sign: | The Locale Code of the language | en_GB | -| `sourceValue` | [JsonNullable\](../../models/components/LanguageEnumSourceValue.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/LanguageEnumValue.md) | :heavy_minus_sign: | The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | en_GB | +| `sourceValue` | [JsonNullable\](../../models/components/LanguageEnumSourceValue.md) | :heavy_minus_sign: | For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | | \ No newline at end of file diff --git a/docs/models/components/LanguageEnumSourceValue.md b/docs/models/components/LanguageEnumSourceValue.md index 32939b9f..495d0b98 100644 --- a/docs/models/components/LanguageEnumSourceValue.md +++ b/docs/models/components/LanguageEnumSourceValue.md @@ -1,2 +1,4 @@ # LanguageEnumSourceValue +For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/LanguageEnumValue.md b/docs/models/components/LanguageEnumValue.md index 3444f383..0a8c63f0 100644 --- a/docs/models/components/LanguageEnumValue.md +++ b/docs/models/components/LanguageEnumValue.md @@ -1,6 +1,6 @@ # LanguageEnumValue -The Locale Code of the language +The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. ## Values diff --git a/docs/models/components/LearningObjectType.md b/docs/models/components/LearningObjectType.md index 594067da..13a5f66f 100644 --- a/docs/models/components/LearningObjectType.md +++ b/docs/models/components/LearningObjectType.md @@ -7,5 +7,5 @@ The learning object type of the assignment | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/AssignmentLearningObjectTypeValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/AssignmentLearningObjectTypeSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `value` | [JsonNullable\](../../models/components/AssignmentLearningObjectTypeValue.md) | :heavy_minus_sign: | The StackOne unified learning object type. | +| `sourceValue` | [JsonNullable\](../../models/components/AssignmentLearningObjectTypeSourceValue.md) | :heavy_minus_sign: | The original learning object type from the provider before normalization. | \ No newline at end of file diff --git a/docs/models/components/Level.md b/docs/models/components/Level.md index 68f159fe..3d0f19a8 100644 --- a/docs/models/components/Level.md +++ b/docs/models/components/Level.md @@ -7,7 +7,7 @@ The hierarchal level of the category ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/CategoryLevelValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/CategoryLevelSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `value` | [JsonNullable\](../../models/components/CategoryLevelValue.md) | :heavy_minus_sign: | The unified category level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | +| `sourceValue` | [JsonNullable\](../../models/components/CategoryLevelSourceValue.md) | :heavy_minus_sign: | For read operations: the original category level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | \ No newline at end of file diff --git a/docs/models/components/LmsCreateAssignmentRequestDtoSourceValue.md b/docs/models/components/LmsCreateAssignmentRequestDtoSourceValue.md index ecc88572..2486ac6b 100644 --- a/docs/models/components/LmsCreateAssignmentRequestDtoSourceValue.md +++ b/docs/models/components/LmsCreateAssignmentRequestDtoSourceValue.md @@ -1,2 +1,4 @@ # LmsCreateAssignmentRequestDtoSourceValue +The original status value from the provider before normalization. + diff --git a/docs/models/components/LmsCreateAssignmentRequestDtoStatus.md b/docs/models/components/LmsCreateAssignmentRequestDtoStatus.md index 912676f8..96bffeab 100644 --- a/docs/models/components/LmsCreateAssignmentRequestDtoStatus.md +++ b/docs/models/components/LmsCreateAssignmentRequestDtoStatus.md @@ -7,5 +7,5 @@ The status of the assignment | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `value` | [JsonNullable\](../../models/components/LmsCreateAssignmentRequestDtoValue.md) | :heavy_minus_sign: | N/A | in_progress | -| `sourceValue` | [JsonNullable\](../../models/components/LmsCreateAssignmentRequestDtoSourceValue.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `value` | [JsonNullable\](../../models/components/LmsCreateAssignmentRequestDtoValue.md) | :heavy_minus_sign: | The StackOne unified assignment status. | in_progress | +| `sourceValue` | [JsonNullable\](../../models/components/LmsCreateAssignmentRequestDtoSourceValue.md) | :heavy_minus_sign: | The original status value from the provider before normalization. | | \ No newline at end of file diff --git a/docs/models/components/LmsCreateAssignmentRequestDtoValue.md b/docs/models/components/LmsCreateAssignmentRequestDtoValue.md index 508249cc..2719764f 100644 --- a/docs/models/components/LmsCreateAssignmentRequestDtoValue.md +++ b/docs/models/components/LmsCreateAssignmentRequestDtoValue.md @@ -1,5 +1,7 @@ # LmsCreateAssignmentRequestDtoValue +The StackOne unified assignment status. + ## Values diff --git a/docs/models/components/LmsCreateCompletionRequestDtoResult.md b/docs/models/components/LmsCreateCompletionRequestDtoResult.md index 6ef6da42..948acb19 100644 --- a/docs/models/components/LmsCreateCompletionRequestDtoResult.md +++ b/docs/models/components/LmsCreateCompletionRequestDtoResult.md @@ -7,5 +7,5 @@ The result of the completion | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `value` | [JsonNullable\](../../models/components/LmsCreateCompletionRequestDtoValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/LmsCreateCompletionRequestDtoSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `value` | [JsonNullable\](../../models/components/LmsCreateCompletionRequestDtoValue.md) | :heavy_minus_sign: | The StackOne unified result status. | +| `sourceValue` | [JsonNullable\](../../models/components/LmsCreateCompletionRequestDtoSourceValue.md) | :heavy_minus_sign: | The original result status from the provider before normalization. | \ No newline at end of file diff --git a/docs/models/components/LmsCreateCompletionRequestDtoSourceValue.md b/docs/models/components/LmsCreateCompletionRequestDtoSourceValue.md index dba90692..5283dc93 100644 --- a/docs/models/components/LmsCreateCompletionRequestDtoSourceValue.md +++ b/docs/models/components/LmsCreateCompletionRequestDtoSourceValue.md @@ -1,2 +1,4 @@ # LmsCreateCompletionRequestDtoSourceValue +The original result status from the provider before normalization. + diff --git a/docs/models/components/LmsCreateCompletionRequestDtoValue.md b/docs/models/components/LmsCreateCompletionRequestDtoValue.md index 07d94a66..f9493451 100644 --- a/docs/models/components/LmsCreateCompletionRequestDtoValue.md +++ b/docs/models/components/LmsCreateCompletionRequestDtoValue.md @@ -1,5 +1,7 @@ # LmsCreateCompletionRequestDtoValue +The StackOne unified result status. + ## Values diff --git a/docs/models/components/LmsCreateContentRequestDtoContentType.md b/docs/models/components/LmsCreateContentRequestDtoContentType.md index c6f31cb8..086074a8 100644 --- a/docs/models/components/LmsCreateContentRequestDtoContentType.md +++ b/docs/models/components/LmsCreateContentRequestDtoContentType.md @@ -7,5 +7,5 @@ The type of content | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `value` | [JsonNullable\](../../models/components/LmsCreateContentRequestDtoValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/LmsCreateContentRequestDtoSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `value` | [JsonNullable\](../../models/components/LmsCreateContentRequestDtoValue.md) | :heavy_minus_sign: | The StackOne unified content type. | +| `sourceValue` | [JsonNullable\](../../models/components/LmsCreateContentRequestDtoSourceValue.md) | :heavy_minus_sign: | The original value from the provider before normalization. | \ No newline at end of file diff --git a/docs/models/components/LmsCreateContentRequestDtoSourceValue.md b/docs/models/components/LmsCreateContentRequestDtoSourceValue.md index d29a6dc3..846f6c0e 100644 --- a/docs/models/components/LmsCreateContentRequestDtoSourceValue.md +++ b/docs/models/components/LmsCreateContentRequestDtoSourceValue.md @@ -1,2 +1,4 @@ # LmsCreateContentRequestDtoSourceValue +The original value from the provider before normalization. + diff --git a/docs/models/components/LmsCreateContentRequestDtoValue.md b/docs/models/components/LmsCreateContentRequestDtoValue.md index 77f353a0..9ab9137d 100644 --- a/docs/models/components/LmsCreateContentRequestDtoValue.md +++ b/docs/models/components/LmsCreateContentRequestDtoValue.md @@ -1,5 +1,7 @@ # LmsCreateContentRequestDtoValue +The StackOne unified content type. + ## Values diff --git a/docs/models/components/LmsUpsertContentRequestDtoContentType.md b/docs/models/components/LmsUpsertContentRequestDtoContentType.md index 44f2fcbe..9e4c98b1 100644 --- a/docs/models/components/LmsUpsertContentRequestDtoContentType.md +++ b/docs/models/components/LmsUpsertContentRequestDtoContentType.md @@ -5,7 +5,7 @@ The type of content ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `value` | [JsonNullable\](../../models/components/LmsUpsertContentRequestDtoValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/LmsUpsertContentRequestDtoSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/LmsUpsertContentRequestDtoValue.md) | :heavy_minus_sign: | The content type for write operations. Provide one of the listed enum values. If omitted or set to "unmapped_value", the source_value will be sent to the provider instead. | +| `sourceValue` | [JsonNullable\](../../models/components/LmsUpsertContentRequestDtoSourceValue.md) | :heavy_minus_sign: | The provider-specific value to use when value is omitted or set to "unmapped_value". You are responsible for ensuring this matches the provider's expected format. | \ No newline at end of file diff --git a/docs/models/components/LmsUpsertContentRequestDtoSourceValue.md b/docs/models/components/LmsUpsertContentRequestDtoSourceValue.md index 47dff062..4b8452b2 100644 --- a/docs/models/components/LmsUpsertContentRequestDtoSourceValue.md +++ b/docs/models/components/LmsUpsertContentRequestDtoSourceValue.md @@ -1,2 +1,4 @@ # LmsUpsertContentRequestDtoSourceValue +The provider-specific value to use when value is omitted or set to "unmapped_value". You are responsible for ensuring this matches the provider's expected format. + diff --git a/docs/models/components/LmsUpsertContentRequestDtoValue.md b/docs/models/components/LmsUpsertContentRequestDtoValue.md index 84337a12..a0995209 100644 --- a/docs/models/components/LmsUpsertContentRequestDtoValue.md +++ b/docs/models/components/LmsUpsertContentRequestDtoValue.md @@ -1,5 +1,7 @@ # LmsUpsertContentRequestDtoValue +The content type for write operations. Provide one of the listed enum values. If omitted or set to "unmapped_value", the source_value will be sent to the provider instead. + ## Values diff --git a/docs/models/components/LocalizationModelLanguage.md b/docs/models/components/LocalizationModelLanguage.md index 12f8e3f0..d8796d76 100644 --- a/docs/models/components/LocalizationModelLanguage.md +++ b/docs/models/components/LocalizationModelLanguage.md @@ -5,7 +5,7 @@ The language associated with the localization details ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `value` | [JsonNullable\](../../models/components/LocalizationModelValue.md) | :heavy_minus_sign: | The Locale Code of the language | en_GB | -| `sourceValue` | [JsonNullable\](../../models/components/LocalizationModelSourceValue.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/LocalizationModelValue.md) | :heavy_minus_sign: | The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | en_GB | +| `sourceValue` | [JsonNullable\](../../models/components/LocalizationModelSourceValue.md) | :heavy_minus_sign: | For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | | \ No newline at end of file diff --git a/docs/models/components/LocalizationModelSourceValue.md b/docs/models/components/LocalizationModelSourceValue.md index b5ed3876..02c94573 100644 --- a/docs/models/components/LocalizationModelSourceValue.md +++ b/docs/models/components/LocalizationModelSourceValue.md @@ -1,2 +1,4 @@ # LocalizationModelSourceValue +For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/LocalizationModelValue.md b/docs/models/components/LocalizationModelValue.md index 3dc2a28e..a5231c6e 100644 --- a/docs/models/components/LocalizationModelValue.md +++ b/docs/models/components/LocalizationModelValue.md @@ -1,6 +1,6 @@ # LocalizationModelValue -The Locale Code of the language +The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. ## Values diff --git a/docs/models/components/EmploymentDurationUnit.md b/docs/models/components/Period.md similarity index 97% rename from docs/models/components/EmploymentDurationUnit.md rename to docs/models/components/Period.md index d8af8ff5..2b9b9ef6 100644 --- a/docs/models/components/EmploymentDurationUnit.md +++ b/docs/models/components/Period.md @@ -1,6 +1,6 @@ -# EmploymentDurationUnit +# Period -The duration unit of the work time +The period of the work time ## Fields diff --git a/docs/models/components/SkillsHierarchy.md b/docs/models/components/SkillsHierarchy.md index 02dc98e4..b71b52a3 100644 --- a/docs/models/components/SkillsHierarchy.md +++ b/docs/models/components/SkillsHierarchy.md @@ -5,7 +5,7 @@ The hierarchal level of the skill ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `value` | [JsonNullable\](../../models/components/SkillsValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/SkillsSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/SkillsValue.md) | :heavy_minus_sign: | The unified skill level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | +| `sourceValue` | [JsonNullable\](../../models/components/SkillsSourceValue.md) | :heavy_minus_sign: | For read operations: the original skill level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | \ No newline at end of file diff --git a/docs/models/components/SkillsLanguage.md b/docs/models/components/SkillsLanguage.md index 9754c7ed..04df8c67 100644 --- a/docs/models/components/SkillsLanguage.md +++ b/docs/models/components/SkillsLanguage.md @@ -5,7 +5,7 @@ The language associated with this skill ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `value` | [JsonNullable\](../../models/components/SkillsLanguageValue.md) | :heavy_minus_sign: | The Locale Code of the language | en_GB | -| `sourceValue` | [JsonNullable\](../../models/components/SkillsLanguageSourceValue.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/SkillsLanguageValue.md) | :heavy_minus_sign: | The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | en_GB | +| `sourceValue` | [JsonNullable\](../../models/components/SkillsLanguageSourceValue.md) | :heavy_minus_sign: | For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | | \ No newline at end of file diff --git a/docs/models/components/SkillsLanguageSourceValue.md b/docs/models/components/SkillsLanguageSourceValue.md index 079c1475..3e63b99b 100644 --- a/docs/models/components/SkillsLanguageSourceValue.md +++ b/docs/models/components/SkillsLanguageSourceValue.md @@ -1,2 +1,4 @@ # SkillsLanguageSourceValue +For read operations: the original language code from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/SkillsLanguageValue.md b/docs/models/components/SkillsLanguageValue.md index abc29c02..a7813db9 100644 --- a/docs/models/components/SkillsLanguageValue.md +++ b/docs/models/components/SkillsLanguageValue.md @@ -1,6 +1,6 @@ # SkillsLanguageValue -The Locale Code of the language +The unified locale code. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. ## Values diff --git a/docs/models/components/SkillsLevel.md b/docs/models/components/SkillsLevel.md index 4aa71dbe..987d7a7a 100644 --- a/docs/models/components/SkillsLevel.md +++ b/docs/models/components/SkillsLevel.md @@ -7,7 +7,7 @@ The hierarchal level of the skill ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `value` | [JsonNullable\](../../models/components/SkillsLevelValue.md) | :heavy_minus_sign: | N/A | -| `sourceValue` | [JsonNullable\](../../models/components/SkillsLevelSourceValue.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `value` | [JsonNullable\](../../models/components/SkillsLevelValue.md) | :heavy_minus_sign: | The unified skill level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. | +| `sourceValue` | [JsonNullable\](../../models/components/SkillsLevelSourceValue.md) | :heavy_minus_sign: | For read operations: the original skill level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. | \ No newline at end of file diff --git a/docs/models/components/SkillsLevelSourceValue.md b/docs/models/components/SkillsLevelSourceValue.md index 741aa4f6..e9a6da78 100644 --- a/docs/models/components/SkillsLevelSourceValue.md +++ b/docs/models/components/SkillsLevelSourceValue.md @@ -1,2 +1,4 @@ # SkillsLevelSourceValue +For read operations: the original skill level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/SkillsLevelValue.md b/docs/models/components/SkillsLevelValue.md index bf1fad66..33f3e11d 100644 --- a/docs/models/components/SkillsLevelValue.md +++ b/docs/models/components/SkillsLevelValue.md @@ -1,5 +1,7 @@ # SkillsLevelValue +The unified skill level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. + ## Values diff --git a/docs/models/components/SkillsSourceValue.md b/docs/models/components/SkillsSourceValue.md index 4ef897a0..0345c933 100644 --- a/docs/models/components/SkillsSourceValue.md +++ b/docs/models/components/SkillsSourceValue.md @@ -1,2 +1,4 @@ # SkillsSourceValue +For read operations: the original skill level from the provider. For write operations: fallback value used when value is omitted or "unmapped_value". You must ensure this matches the provider's format. + diff --git a/docs/models/components/SkillsValue.md b/docs/models/components/SkillsValue.md index 4731bd9c..b3c7e319 100644 --- a/docs/models/components/SkillsValue.md +++ b/docs/models/components/SkillsValue.md @@ -1,5 +1,7 @@ # SkillsValue +The unified skill level. For write operations: provide one of the listed enum values, or omit/set to "unmapped_value" to use source_value instead. + ## Values diff --git a/docs/models/components/TimeOffBalances.md b/docs/models/components/TimeOffBalances.md index f6a424f5..81c0d6fd 100644 --- a/docs/models/components/TimeOffBalances.md +++ b/docs/models/components/TimeOffBalances.md @@ -17,4 +17,5 @@ | `balanceUnit` | [JsonNullable\](../../models/components/BalanceUnit.md) | :heavy_minus_sign: | The duration unit of the current balance | hours | | `balanceStartDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date of when the initial balance quantity was set | 2021-01-01T01:01:01.000Z | | `balanceExpiryDate` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The date of when the current balance expires | 2021-01-01T01:01:01.000Z | +| `isUnlimited` | [JsonNullable\](../../models/components/IsUnlimited.md) | :heavy_minus_sign: | Indicates if this time off balance represents unlimited leave | true | | `updatedAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | The updated_at date of this time off balance | 2021-01-01T01:01:01.000Z | \ No newline at end of file diff --git a/docs/models/components/WorkTime.md b/docs/models/components/WorkTime.md index 110c2cae..d9b0b714 100644 --- a/docs/models/components/WorkTime.md +++ b/docs/models/components/WorkTime.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | -| `durationUnit` | [JsonNullable\](../../models/components/EmploymentDurationUnit.md) | :heavy_minus_sign: | The duration unit of the work time | month | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `duration` | *JsonNullable\* | :heavy_minus_sign: | The work time duration in ISO 8601 duration format | P0Y0M0DT8H0M0S | +| `period` | [JsonNullable\](../../models/components/Period.md) | :heavy_minus_sign: | The period of the work time | month | \ No newline at end of file diff --git a/docs/models/operations/AtsGetApplicationRequest.md b/docs/models/operations/AtsGetApplicationRequest.md index 1c3562a5..a2c82b42 100644 --- a/docs/models/operations/AtsGetApplicationRequest.md +++ b/docs/models/operations/AtsGetApplicationRequest.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `xAccountId` | *String* | :heavy_check_mark: | The account identifier | | -| `id` | *String* | :heavy_check_mark: | N/A | | -| `raw` | *JsonNullable\* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | -| `proxy` | Map\ | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `fields` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields | -| `expand` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | documents | -| `include` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | attachments,custom_fields | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `xAccountId` | *String* | :heavy_check_mark: | The account identifier | | +| `id` | *String* | :heavy_check_mark: | N/A | | +| `raw` | *JsonNullable\* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | +| `proxy` | Map\ | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `fields` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,application_stage,application_stage_id,remote_application_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields | +| `expand` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | documents | +| `include` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | attachments,custom_fields | \ No newline at end of file diff --git a/docs/models/operations/AtsGetApplicationScheduledInterviewRequest.md b/docs/models/operations/AtsGetApplicationScheduledInterviewRequest.md index f7e2e710..6f729899 100644 --- a/docs/models/operations/AtsGetApplicationScheduledInterviewRequest.md +++ b/docs/models/operations/AtsGetApplicationScheduledInterviewRequest.md @@ -3,11 +3,11 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `xAccountId` | *String* | :heavy_check_mark: | The account identifier | | -| `id` | *String* | :heavy_check_mark: | N/A | | -| `subResourceId` | *String* | :heavy_check_mark: | N/A | | -| `raw` | *JsonNullable\* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | -| `proxy` | Map\ | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `fields` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `xAccountId` | *String* | :heavy_check_mark: | The account identifier | | +| `id` | *String* | :heavy_check_mark: | N/A | | +| `subResourceId` | *String* | :heavy_check_mark: | N/A | | +| `raw` | *JsonNullable\* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | +| `proxy` | Map\ | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `fields` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,application_stage,application_stage_id,remote_application_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields | \ No newline at end of file diff --git a/docs/models/operations/AtsListApplicationsQueryParamFilter.md b/docs/models/operations/AtsListApplicationsQueryParamFilter.md index 1346f0a9..d1ec92ab 100644 --- a/docs/models/operations/AtsListApplicationsQueryParamFilter.md +++ b/docs/models/operations/AtsListApplicationsQueryParamFilter.md @@ -10,4 +10,5 @@ ATS Application Filter | `updatedAfter` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | | `createdAfter` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Use a string with a date to only select results created after that given date | 2020-01-01T00:00:00.000Z | | `jobId` | *JsonNullable\* | :heavy_minus_sign: | Filter to select applications by job_id | | -| `stage` | *JsonNullable\* | :heavy_minus_sign: | Filter to select applications by application_stage id | | \ No newline at end of file +| `stage` | *JsonNullable\* | :heavy_minus_sign: | Filter to select applications by application_stage id | | +| `applicationStageId` | *JsonNullable\* | :heavy_minus_sign: | Filter to select applications by application_stage_id | | \ No newline at end of file diff --git a/docs/models/operations/AtsListApplicationsRequest.md b/docs/models/operations/AtsListApplicationsRequest.md index 0ebe11dc..70f8b169 100644 --- a/docs/models/operations/AtsListApplicationsRequest.md +++ b/docs/models/operations/AtsListApplicationsRequest.md @@ -3,18 +3,18 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `xAccountId` | *String* | :heavy_check_mark: | The account identifier | | -| `raw` | *JsonNullable\* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | -| `proxy` | Map\ | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `fields` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields | -| `filter` | [JsonNullable\](../../models/operations/AtsListApplicationsQueryParamFilter.md) | :heavy_minus_sign: | ATS Application Filter | | -| ~~`page`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | -| `pageSize` | *JsonNullable\* | :heavy_minus_sign: | The number of results per page (default value is 25) | | -| `next` | *JsonNullable\* | :heavy_minus_sign: | The unified cursor | | -| ~~`updatedAfter`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | -| ~~`syncToken`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The sync token to select the only updated results | | -| `expand` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | documents | -| `include` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | attachments,custom_fields | -| ~~`jobId`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Filter for job ID to retrieve a list of applications related to this job | cxQiyiuasdFKfdsYfer | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `xAccountId` | *String* | :heavy_check_mark: | The account identifier | | +| `raw` | *JsonNullable\* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | +| `proxy` | Map\ | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `fields` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,application_stage,application_stage_id,remote_application_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields | +| `filter` | [JsonNullable\](../../models/operations/AtsListApplicationsQueryParamFilter.md) | :heavy_minus_sign: | ATS Application Filter | | +| ~~`page`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `pageSize` | *JsonNullable\* | :heavy_minus_sign: | The number of results per page (default value is 25) | | +| `next` | *JsonNullable\* | :heavy_minus_sign: | The unified cursor | | +| ~~`updatedAfter`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| ~~`syncToken`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The sync token to select the only updated results | | +| `expand` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | documents | +| `include` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | attachments,custom_fields | +| ~~`jobId`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Filter for job ID to retrieve a list of applications related to this job | cxQiyiuasdFKfdsYfer | \ No newline at end of file diff --git a/docs/models/operations/HrisGetEmployeeTimeOffBalanceRequest.md b/docs/models/operations/HrisGetEmployeeTimeOffBalanceRequest.md index 6d9f7306..d0fb8046 100644 --- a/docs/models/operations/HrisGetEmployeeTimeOffBalanceRequest.md +++ b/docs/models/operations/HrisGetEmployeeTimeOffBalanceRequest.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `xAccountId` | *String* | :heavy_check_mark: | The account identifier | | -| `id` | *String* | :heavy_check_mark: | N/A | | -| `subResourceId` | *String* | :heavy_check_mark: | N/A | | -| `raw` | *JsonNullable\* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | -| `proxy` | Map\ | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `fields` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at,unified_custom_fields | -| `expand` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | policy | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `xAccountId` | *String* | :heavy_check_mark: | The account identifier | | +| `id` | *String* | :heavy_check_mark: | N/A | | +| `subResourceId` | *String* | :heavy_check_mark: | N/A | | +| `raw` | *JsonNullable\* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | +| `proxy` | Map\ | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `fields` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,is_unlimited,updated_at,unified_custom_fields | +| `expand` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | policy | \ No newline at end of file diff --git a/docs/models/operations/HrisListEmployeeTimeOffBalancesRequest.md b/docs/models/operations/HrisListEmployeeTimeOffBalancesRequest.md index cb68708c..c2fde3c3 100644 --- a/docs/models/operations/HrisListEmployeeTimeOffBalancesRequest.md +++ b/docs/models/operations/HrisListEmployeeTimeOffBalancesRequest.md @@ -3,16 +3,16 @@ ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `xAccountId` | *String* | :heavy_check_mark: | The account identifier | | -| `id` | *String* | :heavy_check_mark: | N/A | | -| `raw` | *JsonNullable\* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | -| `proxy` | Map\ | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `fields` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at,unified_custom_fields | -| `filter` | [JsonNullable\](../../models/operations/HrisListEmployeeTimeOffBalancesQueryParamFilter.md) | :heavy_minus_sign: | HRIS Time Off Balance filters | | -| ~~`page`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | -| `pageSize` | *JsonNullable\* | :heavy_minus_sign: | The number of results per page (default value is 25) | | -| `next` | *JsonNullable\* | :heavy_minus_sign: | The unified cursor | | -| ~~`updatedAfter`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | -| `expand` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | policy | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `xAccountId` | *String* | :heavy_check_mark: | The account identifier | | +| `id` | *String* | :heavy_check_mark: | N/A | | +| `raw` | *JsonNullable\* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | +| `proxy` | Map\ | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `fields` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,is_unlimited,updated_at,unified_custom_fields | +| `filter` | [JsonNullable\](../../models/operations/HrisListEmployeeTimeOffBalancesQueryParamFilter.md) | :heavy_minus_sign: | HRIS Time Off Balance filters | | +| ~~`page`~~ | *JsonNullable\* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `pageSize` | *JsonNullable\* | :heavy_minus_sign: | The number of results per page (default value is 25) | | +| `next` | *JsonNullable\* | :heavy_minus_sign: | The unified cursor | | +| ~~`updatedAfter`~~ | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `expand` | *JsonNullable\* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | policy | \ No newline at end of file diff --git a/docs/sdks/ats/README.md b/docs/sdks/ats/README.md index e67d1b34..d04cb504 100644 --- a/docs/sdks/ats/README.md +++ b/docs/sdks/ats/README.md @@ -110,7 +110,7 @@ public class Application { AtsListApplicationsRequest req = AtsListApplicationsRequest.builder() .xAccountId("") - .fields("id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields") + .fields("id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,application_stage,application_stage_id,remote_application_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields") .filter(AtsListApplicationsQueryParamFilter.builder() .updatedAfter(OffsetDateTime.parse("2020-01-01T00:00:00.000Z")) .createdAfter(OffsetDateTime.parse("2020-01-01T00:00:00.000Z")) @@ -321,7 +321,7 @@ public class Application { AtsGetApplicationRequest req = AtsGetApplicationRequest.builder() .xAccountId("") .id("") - .fields("id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields") + .fields("id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,application_stage,application_stage_id,remote_application_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields") .expand("documents") .include("attachments,custom_fields") .build(); @@ -1413,7 +1413,7 @@ public class Application { .xAccountId("") .id("") .subResourceId("") - .fields("id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields") + .fields("id,remote_id,candidate_id,remote_candidate_id,job_id,remote_job_id,job_posting_id,remote_job_posting_id,interview_stage,interview_stage_id,remote_interview_stage_id,application_stage,application_stage_id,remote_application_stage_id,rejected_reason,rejected_reason_id,remote_rejected_reason_id,rejected_reason_ids,remote_rejected_reason_ids,rejected_reasons,rejected_at,location_id,remote_location_id,location_ids,remote_location_ids,status,application_status,questionnaires,attachments,result_links,source,created_at,updated_at,documents,custom_fields,candidate,unified_custom_fields") .build(); AtsGetApplicationScheduledInterviewResponse res = sdk.ats().getApplicationScheduledInterview() diff --git a/docs/sdks/hris/README.md b/docs/sdks/hris/README.md index 927f5bfd..eb5c61d9 100644 --- a/docs/sdks/hris/README.md +++ b/docs/sdks/hris/README.md @@ -2409,7 +2409,7 @@ public class Application { HrisListEmployeeTimeOffBalancesRequest req = HrisListEmployeeTimeOffBalancesRequest.builder() .xAccountId("") .id("") - .fields("id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at,unified_custom_fields") + .fields("id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,is_unlimited,updated_at,unified_custom_fields") .filter(HrisListEmployeeTimeOffBalancesQueryParamFilter.builder() .updatedAfter(OffsetDateTime.parse("2020-01-01T00:00:00.000Z")) .build()) @@ -2487,7 +2487,7 @@ public class Application { .xAccountId("") .id("") .subResourceId("") - .fields("id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,updated_at,unified_custom_fields") + .fields("id,remote_id,employee_id,remote_employee_id,policy_id,remote_policy_id,policy,current_balance,initial_balance,balance_unit,balance_start_date,balance_expiry_date,is_unlimited,updated_at,unified_custom_fields") .expand("policy") .build(); @@ -2828,7 +2828,7 @@ public class Application { .build()) .workTime(HrisCreateEmploymentRequestDtoWorkTime.builder() .duration("P0Y0M0DT8H0M0S") - .durationUnit(HrisCreateEmploymentRequestDtoDurationUnit.builder() + .period(HrisCreateEmploymentRequestDtoPeriod.builder() .value(HrisCreateEmploymentRequestDtoWorkTimeValue.MONTH) .build()) .build()) @@ -3023,7 +3023,7 @@ public class Application { .build()) .workTime(HrisUpdateEmploymentRequestDtoWorkTime.builder() .duration("P0Y0M0DT8H0M0S") - .durationUnit(HrisUpdateEmploymentRequestDtoDurationUnit.builder() + .period(HrisUpdateEmploymentRequestDtoPeriod.builder() .value(HrisUpdateEmploymentRequestDtoWorkTimeValue.MONTH) .build()) .build()) diff --git a/docs/sdks/stackone/README.md b/docs/sdks/stackone/README.md deleted file mode 100644 index 952373ee..00000000 --- a/docs/sdks/stackone/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# StackOne SDK - -## Overview - -Accounting: The documentation for the StackOne Unified API - ACCOUNTING - -### Available Operations diff --git a/gradle.properties b/gradle.properties index a3c5864f..d254c8bf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ groupId=com.stackone artifactId=stackone-client-java -version=0.14.2 +version=0.14.3 org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g diff --git a/src/main/java/com/stackone/stackone_client_java/SDKConfiguration.java b/src/main/java/com/stackone/stackone_client_java/SDKConfiguration.java index 06487103..3e485e86 100644 --- a/src/main/java/com/stackone/stackone_client_java/SDKConfiguration.java +++ b/src/main/java/com/stackone/stackone_client_java/SDKConfiguration.java @@ -18,8 +18,8 @@ public class SDKConfiguration { private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "1.0.0"; - public static final String SDK_VERSION = "0.14.2"; - public static final String GEN_VERSION = "2.721.3"; + public static final String SDK_VERSION = "0.14.3"; + public static final String GEN_VERSION = "2.723.11"; private static final String BASE_PACKAGE = "com.stackone.stackone_client_java"; public static final String USER_AGENT = String.format("speakeasy-sdk/%s %s %s %s %s", diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/Application.java b/src/main/java/com/stackone/stackone_client_java/models/components/Application.java index dc1808f2..26634ad4 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/Application.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/Application.java @@ -70,25 +70,54 @@ public class Application { @JsonProperty("remote_job_id") private JsonNullable remoteJobId; - + /** + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("interview_stage") + @Deprecated private JsonNullable interviewStage; + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("application_stage") + private JsonNullable applicationStage; + /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("interview_stage_id") + @Deprecated private JsonNullable interviewStageId; /** * Provider's unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("remote_interview_stage_id") + @Deprecated private JsonNullable remoteInterviewStageId; + /** + * Unique identifier of the application stage + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("application_stage_id") + private JsonNullable applicationStageId; + + /** + * Unique identifier of the application stage + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("remote_application_stage_id") + private JsonNullable remoteApplicationStageId; + @JsonInclude(Include.NON_ABSENT) @JsonProperty("rejected_reasons") @@ -224,8 +253,11 @@ public Application( @JsonProperty("job_id") JsonNullable jobId, @JsonProperty("remote_job_id") JsonNullable remoteJobId, @JsonProperty("interview_stage") JsonNullable interviewStage, + @JsonProperty("application_stage") JsonNullable applicationStage, @JsonProperty("interview_stage_id") JsonNullable interviewStageId, @JsonProperty("remote_interview_stage_id") JsonNullable remoteInterviewStageId, + @JsonProperty("application_stage_id") JsonNullable applicationStageId, + @JsonProperty("remote_application_stage_id") JsonNullable remoteApplicationStageId, @JsonProperty("rejected_reasons") JsonNullable> rejectedReasons, @JsonProperty("rejected_reason_ids") JsonNullable> rejectedReasonIds, @JsonProperty("remote_rejected_reason_ids") JsonNullable> remoteRejectedReasonIds, @@ -252,8 +284,11 @@ public Application( Utils.checkNotNull(jobId, "jobId"); Utils.checkNotNull(remoteJobId, "remoteJobId"); Utils.checkNotNull(interviewStage, "interviewStage"); + Utils.checkNotNull(applicationStage, "applicationStage"); Utils.checkNotNull(interviewStageId, "interviewStageId"); Utils.checkNotNull(remoteInterviewStageId, "remoteInterviewStageId"); + Utils.checkNotNull(applicationStageId, "applicationStageId"); + Utils.checkNotNull(remoteApplicationStageId, "remoteApplicationStageId"); Utils.checkNotNull(rejectedReasons, "rejectedReasons"); Utils.checkNotNull(rejectedReasonIds, "rejectedReasonIds"); Utils.checkNotNull(remoteRejectedReasonIds, "remoteRejectedReasonIds"); @@ -280,8 +315,11 @@ public Application( this.jobId = jobId; this.remoteJobId = remoteJobId; this.interviewStage = interviewStage; + this.applicationStage = applicationStage; this.interviewStageId = interviewStageId; this.remoteInterviewStageId = remoteInterviewStageId; + this.applicationStageId = applicationStageId; + this.remoteApplicationStageId = remoteApplicationStageId; this.rejectedReasons = rejectedReasons; this.rejectedReasonIds = rejectedReasonIds; this.remoteRejectedReasonIds = remoteRejectedReasonIds; @@ -312,6 +350,7 @@ public Application() { JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), + JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined()); } @@ -372,15 +411,29 @@ public JsonNullable remoteJobId() { return remoteJobId; } + /** + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable interviewStage() { return (JsonNullable) interviewStage; } + @SuppressWarnings("unchecked") + @JsonIgnore + public JsonNullable applicationStage() { + return (JsonNullable) applicationStage; + } + /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated @JsonIgnore public JsonNullable interviewStageId() { return interviewStageId; @@ -388,12 +441,31 @@ public JsonNullable interviewStageId() { /** * Provider's unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated @JsonIgnore public JsonNullable remoteInterviewStageId() { return remoteInterviewStageId; } + /** + * Unique identifier of the application stage + */ + @JsonIgnore + public JsonNullable applicationStageId() { + return applicationStageId; + } + + /** + * Unique identifier of the application stage + */ + @JsonIgnore + public JsonNullable remoteApplicationStageId() { + return remoteApplicationStageId; + } + @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable> rejectedReasons() { @@ -676,21 +748,46 @@ public Application withRemoteJobId(JsonNullable remoteJobId) { return this; } + /** + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated public Application withInterviewStage(ApplicationInterviewStage interviewStage) { Utils.checkNotNull(interviewStage, "interviewStage"); this.interviewStage = JsonNullable.of(interviewStage); return this; } + /** + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated public Application withInterviewStage(JsonNullable interviewStage) { Utils.checkNotNull(interviewStage, "interviewStage"); this.interviewStage = interviewStage; return this; } + public Application withApplicationStage(ApplicationApplicationStage applicationStage) { + Utils.checkNotNull(applicationStage, "applicationStage"); + this.applicationStage = JsonNullable.of(applicationStage); + return this; + } + + public Application withApplicationStage(JsonNullable applicationStage) { + Utils.checkNotNull(applicationStage, "applicationStage"); + this.applicationStage = applicationStage; + return this; + } + /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public Application withInterviewStageId(String interviewStageId) { Utils.checkNotNull(interviewStageId, "interviewStageId"); this.interviewStageId = JsonNullable.of(interviewStageId); @@ -699,7 +796,10 @@ public Application withInterviewStageId(String interviewStageId) { /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public Application withInterviewStageId(JsonNullable interviewStageId) { Utils.checkNotNull(interviewStageId, "interviewStageId"); this.interviewStageId = interviewStageId; @@ -708,7 +808,10 @@ public Application withInterviewStageId(JsonNullable interviewStageId) { /** * Provider's unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public Application withRemoteInterviewStageId(String remoteInterviewStageId) { Utils.checkNotNull(remoteInterviewStageId, "remoteInterviewStageId"); this.remoteInterviewStageId = JsonNullable.of(remoteInterviewStageId); @@ -717,13 +820,52 @@ public Application withRemoteInterviewStageId(String remoteInterviewStageId) { /** * Provider's unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public Application withRemoteInterviewStageId(JsonNullable remoteInterviewStageId) { Utils.checkNotNull(remoteInterviewStageId, "remoteInterviewStageId"); this.remoteInterviewStageId = remoteInterviewStageId; return this; } + /** + * Unique identifier of the application stage + */ + public Application withApplicationStageId(String applicationStageId) { + Utils.checkNotNull(applicationStageId, "applicationStageId"); + this.applicationStageId = JsonNullable.of(applicationStageId); + return this; + } + + /** + * Unique identifier of the application stage + */ + public Application withApplicationStageId(JsonNullable applicationStageId) { + Utils.checkNotNull(applicationStageId, "applicationStageId"); + this.applicationStageId = applicationStageId; + return this; + } + + /** + * Unique identifier of the application stage + */ + public Application withRemoteApplicationStageId(String remoteApplicationStageId) { + Utils.checkNotNull(remoteApplicationStageId, "remoteApplicationStageId"); + this.remoteApplicationStageId = JsonNullable.of(remoteApplicationStageId); + return this; + } + + /** + * Unique identifier of the application stage + */ + public Application withRemoteApplicationStageId(JsonNullable remoteApplicationStageId) { + Utils.checkNotNull(remoteApplicationStageId, "remoteApplicationStageId"); + this.remoteApplicationStageId = remoteApplicationStageId; + return this; + } + public Application withRejectedReasons(List rejectedReasons) { Utils.checkNotNull(rejectedReasons, "rejectedReasons"); this.rejectedReasons = JsonNullable.of(rejectedReasons); @@ -1054,8 +1196,11 @@ public boolean equals(java.lang.Object o) { Utils.enhancedDeepEquals(this.jobId, other.jobId) && Utils.enhancedDeepEquals(this.remoteJobId, other.remoteJobId) && Utils.enhancedDeepEquals(this.interviewStage, other.interviewStage) && + Utils.enhancedDeepEquals(this.applicationStage, other.applicationStage) && Utils.enhancedDeepEquals(this.interviewStageId, other.interviewStageId) && Utils.enhancedDeepEquals(this.remoteInterviewStageId, other.remoteInterviewStageId) && + Utils.enhancedDeepEquals(this.applicationStageId, other.applicationStageId) && + Utils.enhancedDeepEquals(this.remoteApplicationStageId, other.remoteApplicationStageId) && Utils.enhancedDeepEquals(this.rejectedReasons, other.rejectedReasons) && Utils.enhancedDeepEquals(this.rejectedReasonIds, other.rejectedReasonIds) && Utils.enhancedDeepEquals(this.remoteRejectedReasonIds, other.remoteRejectedReasonIds) && @@ -1081,8 +1226,9 @@ public int hashCode() { return Utils.enhancedHash( id, remoteId, unifiedCustomFields, candidateId, remoteCandidateId, jobId, - remoteJobId, interviewStage, interviewStageId, - remoteInterviewStageId, rejectedReasons, rejectedReasonIds, + remoteJobId, interviewStage, applicationStage, + interviewStageId, remoteInterviewStageId, applicationStageId, + remoteApplicationStageId, rejectedReasons, rejectedReasonIds, remoteRejectedReasonIds, rejectedAt, locationId, remoteLocationId, locationIds, remoteLocationIds, applicationStatus, questionnaires, candidate, @@ -1102,8 +1248,11 @@ public String toString() { "jobId", jobId, "remoteJobId", remoteJobId, "interviewStage", interviewStage, + "applicationStage", applicationStage, "interviewStageId", interviewStageId, "remoteInterviewStageId", remoteInterviewStageId, + "applicationStageId", applicationStageId, + "remoteApplicationStageId", remoteApplicationStageId, "rejectedReasons", rejectedReasons, "rejectedReasonIds", rejectedReasonIds, "remoteRejectedReasonIds", remoteRejectedReasonIds, @@ -1141,12 +1290,21 @@ public final static class Builder { private JsonNullable remoteJobId = JsonNullable.undefined(); + @Deprecated private JsonNullable interviewStage = JsonNullable.undefined(); + private JsonNullable applicationStage = JsonNullable.undefined(); + + @Deprecated private JsonNullable interviewStageId = JsonNullable.undefined(); + @Deprecated private JsonNullable remoteInterviewStageId = JsonNullable.undefined(); + private JsonNullable applicationStageId = JsonNullable.undefined(); + + private JsonNullable remoteApplicationStageId = JsonNullable.undefined(); + private JsonNullable> rejectedReasons = JsonNullable.undefined(); private JsonNullable> rejectedReasonIds = JsonNullable.undefined(); @@ -1324,12 +1482,22 @@ public Builder remoteJobId(JsonNullable remoteJobId) { } + /** + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated public Builder interviewStage(ApplicationInterviewStage interviewStage) { Utils.checkNotNull(interviewStage, "interviewStage"); this.interviewStage = JsonNullable.of(interviewStage); return this; } + /** + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + @Deprecated public Builder interviewStage(JsonNullable interviewStage) { Utils.checkNotNull(interviewStage, "interviewStage"); this.interviewStage = interviewStage; @@ -1337,9 +1505,25 @@ public Builder interviewStage(JsonNullable } + public Builder applicationStage(ApplicationApplicationStage applicationStage) { + Utils.checkNotNull(applicationStage, "applicationStage"); + this.applicationStage = JsonNullable.of(applicationStage); + return this; + } + + public Builder applicationStage(JsonNullable applicationStage) { + Utils.checkNotNull(applicationStage, "applicationStage"); + this.applicationStage = applicationStage; + return this; + } + + /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public Builder interviewStageId(String interviewStageId) { Utils.checkNotNull(interviewStageId, "interviewStageId"); this.interviewStageId = JsonNullable.of(interviewStageId); @@ -1348,7 +1532,10 @@ public Builder interviewStageId(String interviewStageId) { /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public Builder interviewStageId(JsonNullable interviewStageId) { Utils.checkNotNull(interviewStageId, "interviewStageId"); this.interviewStageId = interviewStageId; @@ -1358,7 +1545,10 @@ public Builder interviewStageId(JsonNullable interviewStageId) { /** * Provider's unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public Builder remoteInterviewStageId(String remoteInterviewStageId) { Utils.checkNotNull(remoteInterviewStageId, "remoteInterviewStageId"); this.remoteInterviewStageId = JsonNullable.of(remoteInterviewStageId); @@ -1367,7 +1557,10 @@ public Builder remoteInterviewStageId(String remoteInterviewStageId) { /** * Provider's unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public Builder remoteInterviewStageId(JsonNullable remoteInterviewStageId) { Utils.checkNotNull(remoteInterviewStageId, "remoteInterviewStageId"); this.remoteInterviewStageId = remoteInterviewStageId; @@ -1375,6 +1568,44 @@ public Builder remoteInterviewStageId(JsonNullable remoteInterviewStageI } + /** + * Unique identifier of the application stage + */ + public Builder applicationStageId(String applicationStageId) { + Utils.checkNotNull(applicationStageId, "applicationStageId"); + this.applicationStageId = JsonNullable.of(applicationStageId); + return this; + } + + /** + * Unique identifier of the application stage + */ + public Builder applicationStageId(JsonNullable applicationStageId) { + Utils.checkNotNull(applicationStageId, "applicationStageId"); + this.applicationStageId = applicationStageId; + return this; + } + + + /** + * Unique identifier of the application stage + */ + public Builder remoteApplicationStageId(String remoteApplicationStageId) { + Utils.checkNotNull(remoteApplicationStageId, "remoteApplicationStageId"); + this.remoteApplicationStageId = JsonNullable.of(remoteApplicationStageId); + return this; + } + + /** + * Unique identifier of the application stage + */ + public Builder remoteApplicationStageId(JsonNullable remoteApplicationStageId) { + Utils.checkNotNull(remoteApplicationStageId, "remoteApplicationStageId"); + this.remoteApplicationStageId = remoteApplicationStageId; + return this; + } + + public Builder rejectedReasons(List rejectedReasons) { Utils.checkNotNull(rejectedReasons, "rejectedReasons"); this.rejectedReasons = JsonNullable.of(rejectedReasons); @@ -1709,8 +1940,9 @@ public Application build() { return new Application( id, remoteId, unifiedCustomFields, candidateId, remoteCandidateId, jobId, - remoteJobId, interviewStage, interviewStageId, - remoteInterviewStageId, rejectedReasons, rejectedReasonIds, + remoteJobId, interviewStage, applicationStage, + interviewStageId, remoteInterviewStageId, applicationStageId, + remoteApplicationStageId, rejectedReasons, rejectedReasonIds, remoteRejectedReasonIds, rejectedAt, locationId, remoteLocationId, locationIds, remoteLocationIds, applicationStatus, questionnaires, candidate, diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/ApplicationApplicationStage.java b/src/main/java/com/stackone/stackone_client_java/models/components/ApplicationApplicationStage.java new file mode 100644 index 00000000..4d5125c4 --- /dev/null +++ b/src/main/java/com/stackone/stackone_client_java/models/components/ApplicationApplicationStage.java @@ -0,0 +1,493 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.stackone.stackone_client_java.models.components; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.stackone.stackone_client_java.utils.Utils; +import java.lang.Double; +import java.lang.Object; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; +import java.time.OffsetDateTime; +import java.util.Map; +import org.openapitools.jackson.nullable.JsonNullable; + + +public class ApplicationApplicationStage { + /** + * Unique identifier + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("id") + private JsonNullable id; + + /** + * Provider's unique identifier + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("remote_id") + private JsonNullable remoteId; + + /** + * Custom Unified Fields configured in your StackOne project + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unified_custom_fields") + private JsonNullable> unifiedCustomFields; + + /** + * Application Stage name + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("name") + private JsonNullable name; + + /** + * Application Stage order + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("order") + private JsonNullable order; + + /** + * Application Stage created date + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("created_at") + private JsonNullable createdAt; + + /** + * Application Stage updated date + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("updated_at") + private JsonNullable updatedAt; + + @JsonCreator + public ApplicationApplicationStage( + @JsonProperty("id") JsonNullable id, + @JsonProperty("remote_id") JsonNullable remoteId, + @JsonProperty("unified_custom_fields") JsonNullable> unifiedCustomFields, + @JsonProperty("name") JsonNullable name, + @JsonProperty("order") JsonNullable order, + @JsonProperty("created_at") JsonNullable createdAt, + @JsonProperty("updated_at") JsonNullable updatedAt) { + Utils.checkNotNull(id, "id"); + Utils.checkNotNull(remoteId, "remoteId"); + Utils.checkNotNull(unifiedCustomFields, "unifiedCustomFields"); + Utils.checkNotNull(name, "name"); + Utils.checkNotNull(order, "order"); + Utils.checkNotNull(createdAt, "createdAt"); + Utils.checkNotNull(updatedAt, "updatedAt"); + this.id = id; + this.remoteId = remoteId; + this.unifiedCustomFields = unifiedCustomFields; + this.name = name; + this.order = order; + this.createdAt = createdAt; + this.updatedAt = updatedAt; + } + + public ApplicationApplicationStage() { + this(JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), + JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), + JsonNullable.undefined()); + } + + /** + * Unique identifier + */ + @JsonIgnore + public JsonNullable id() { + return id; + } + + /** + * Provider's unique identifier + */ + @JsonIgnore + public JsonNullable remoteId() { + return remoteId; + } + + /** + * Custom Unified Fields configured in your StackOne project + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public JsonNullable> unifiedCustomFields() { + return (JsonNullable>) unifiedCustomFields; + } + + /** + * Application Stage name + */ + @JsonIgnore + public JsonNullable name() { + return name; + } + + /** + * Application Stage order + */ + @JsonIgnore + public JsonNullable order() { + return order; + } + + /** + * Application Stage created date + */ + @JsonIgnore + public JsonNullable createdAt() { + return createdAt; + } + + /** + * Application Stage updated date + */ + @JsonIgnore + public JsonNullable updatedAt() { + return updatedAt; + } + + public static Builder builder() { + return new Builder(); + } + + + /** + * Unique identifier + */ + public ApplicationApplicationStage withId(String id) { + Utils.checkNotNull(id, "id"); + this.id = JsonNullable.of(id); + return this; + } + + /** + * Unique identifier + */ + public ApplicationApplicationStage withId(JsonNullable id) { + Utils.checkNotNull(id, "id"); + this.id = id; + return this; + } + + /** + * Provider's unique identifier + */ + public ApplicationApplicationStage withRemoteId(String remoteId) { + Utils.checkNotNull(remoteId, "remoteId"); + this.remoteId = JsonNullable.of(remoteId); + return this; + } + + /** + * Provider's unique identifier + */ + public ApplicationApplicationStage withRemoteId(JsonNullable remoteId) { + Utils.checkNotNull(remoteId, "remoteId"); + this.remoteId = remoteId; + return this; + } + + /** + * Custom Unified Fields configured in your StackOne project + */ + public ApplicationApplicationStage withUnifiedCustomFields(Map unifiedCustomFields) { + Utils.checkNotNull(unifiedCustomFields, "unifiedCustomFields"); + this.unifiedCustomFields = JsonNullable.of(unifiedCustomFields); + return this; + } + + /** + * Custom Unified Fields configured in your StackOne project + */ + public ApplicationApplicationStage withUnifiedCustomFields(JsonNullable> unifiedCustomFields) { + Utils.checkNotNull(unifiedCustomFields, "unifiedCustomFields"); + this.unifiedCustomFields = unifiedCustomFields; + return this; + } + + /** + * Application Stage name + */ + public ApplicationApplicationStage withName(String name) { + Utils.checkNotNull(name, "name"); + this.name = JsonNullable.of(name); + return this; + } + + /** + * Application Stage name + */ + public ApplicationApplicationStage withName(JsonNullable name) { + Utils.checkNotNull(name, "name"); + this.name = name; + return this; + } + + /** + * Application Stage order + */ + public ApplicationApplicationStage withOrder(double order) { + Utils.checkNotNull(order, "order"); + this.order = JsonNullable.of(order); + return this; + } + + /** + * Application Stage order + */ + public ApplicationApplicationStage withOrder(JsonNullable order) { + Utils.checkNotNull(order, "order"); + this.order = order; + return this; + } + + /** + * Application Stage created date + */ + public ApplicationApplicationStage withCreatedAt(OffsetDateTime createdAt) { + Utils.checkNotNull(createdAt, "createdAt"); + this.createdAt = JsonNullable.of(createdAt); + return this; + } + + /** + * Application Stage created date + */ + public ApplicationApplicationStage withCreatedAt(JsonNullable createdAt) { + Utils.checkNotNull(createdAt, "createdAt"); + this.createdAt = createdAt; + return this; + } + + /** + * Application Stage updated date + */ + public ApplicationApplicationStage withUpdatedAt(OffsetDateTime updatedAt) { + Utils.checkNotNull(updatedAt, "updatedAt"); + this.updatedAt = JsonNullable.of(updatedAt); + return this; + } + + /** + * Application Stage updated date + */ + public ApplicationApplicationStage withUpdatedAt(JsonNullable updatedAt) { + Utils.checkNotNull(updatedAt, "updatedAt"); + this.updatedAt = updatedAt; + return this; + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ApplicationApplicationStage other = (ApplicationApplicationStage) o; + return + Utils.enhancedDeepEquals(this.id, other.id) && + Utils.enhancedDeepEquals(this.remoteId, other.remoteId) && + Utils.enhancedDeepEquals(this.unifiedCustomFields, other.unifiedCustomFields) && + Utils.enhancedDeepEquals(this.name, other.name) && + Utils.enhancedDeepEquals(this.order, other.order) && + Utils.enhancedDeepEquals(this.createdAt, other.createdAt) && + Utils.enhancedDeepEquals(this.updatedAt, other.updatedAt); + } + + @Override + public int hashCode() { + return Utils.enhancedHash( + id, remoteId, unifiedCustomFields, + name, order, createdAt, + updatedAt); + } + + @Override + public String toString() { + return Utils.toString(ApplicationApplicationStage.class, + "id", id, + "remoteId", remoteId, + "unifiedCustomFields", unifiedCustomFields, + "name", name, + "order", order, + "createdAt", createdAt, + "updatedAt", updatedAt); + } + + @SuppressWarnings("UnusedReturnValue") + public final static class Builder { + + private JsonNullable id = JsonNullable.undefined(); + + private JsonNullable remoteId = JsonNullable.undefined(); + + private JsonNullable> unifiedCustomFields = JsonNullable.undefined(); + + private JsonNullable name = JsonNullable.undefined(); + + private JsonNullable order = JsonNullable.undefined(); + + private JsonNullable createdAt = JsonNullable.undefined(); + + private JsonNullable updatedAt = JsonNullable.undefined(); + + private Builder() { + // force use of static builder() method + } + + + /** + * Unique identifier + */ + public Builder id(String id) { + Utils.checkNotNull(id, "id"); + this.id = JsonNullable.of(id); + return this; + } + + /** + * Unique identifier + */ + public Builder id(JsonNullable id) { + Utils.checkNotNull(id, "id"); + this.id = id; + return this; + } + + + /** + * Provider's unique identifier + */ + public Builder remoteId(String remoteId) { + Utils.checkNotNull(remoteId, "remoteId"); + this.remoteId = JsonNullable.of(remoteId); + return this; + } + + /** + * Provider's unique identifier + */ + public Builder remoteId(JsonNullable remoteId) { + Utils.checkNotNull(remoteId, "remoteId"); + this.remoteId = remoteId; + return this; + } + + + /** + * Custom Unified Fields configured in your StackOne project + */ + public Builder unifiedCustomFields(Map unifiedCustomFields) { + Utils.checkNotNull(unifiedCustomFields, "unifiedCustomFields"); + this.unifiedCustomFields = JsonNullable.of(unifiedCustomFields); + return this; + } + + /** + * Custom Unified Fields configured in your StackOne project + */ + public Builder unifiedCustomFields(JsonNullable> unifiedCustomFields) { + Utils.checkNotNull(unifiedCustomFields, "unifiedCustomFields"); + this.unifiedCustomFields = unifiedCustomFields; + return this; + } + + + /** + * Application Stage name + */ + public Builder name(String name) { + Utils.checkNotNull(name, "name"); + this.name = JsonNullable.of(name); + return this; + } + + /** + * Application Stage name + */ + public Builder name(JsonNullable name) { + Utils.checkNotNull(name, "name"); + this.name = name; + return this; + } + + + /** + * Application Stage order + */ + public Builder order(double order) { + Utils.checkNotNull(order, "order"); + this.order = JsonNullable.of(order); + return this; + } + + /** + * Application Stage order + */ + public Builder order(JsonNullable order) { + Utils.checkNotNull(order, "order"); + this.order = order; + return this; + } + + + /** + * Application Stage created date + */ + public Builder createdAt(OffsetDateTime createdAt) { + Utils.checkNotNull(createdAt, "createdAt"); + this.createdAt = JsonNullable.of(createdAt); + return this; + } + + /** + * Application Stage created date + */ + public Builder createdAt(JsonNullable createdAt) { + Utils.checkNotNull(createdAt, "createdAt"); + this.createdAt = createdAt; + return this; + } + + + /** + * Application Stage updated date + */ + public Builder updatedAt(OffsetDateTime updatedAt) { + Utils.checkNotNull(updatedAt, "updatedAt"); + this.updatedAt = JsonNullable.of(updatedAt); + return this; + } + + /** + * Application Stage updated date + */ + public Builder updatedAt(JsonNullable updatedAt) { + Utils.checkNotNull(updatedAt, "updatedAt"); + this.updatedAt = updatedAt; + return this; + } + + public ApplicationApplicationStage build() { + + return new ApplicationApplicationStage( + id, remoteId, unifiedCustomFields, + name, order, createdAt, + updatedAt); + } + + } +} diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/ApplicationChangesDataModel.java b/src/main/java/com/stackone/stackone_client_java/models/components/ApplicationChangesDataModel.java index a92b9be9..ad747b3f 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/ApplicationChangesDataModel.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/ApplicationChangesDataModel.java @@ -9,6 +9,7 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.stackone.stackone_client_java.utils.Utils; +import java.lang.Deprecated; import java.lang.Override; import java.lang.String; import java.lang.SuppressWarnings; @@ -19,9 +20,12 @@ public class ApplicationChangesDataModel { /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("interview_stage_id") + @Deprecated private JsonNullable interviewStageId; /** @@ -55,7 +59,10 @@ public ApplicationChangesDataModel() { /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated @JsonIgnore public JsonNullable interviewStageId() { return interviewStageId; @@ -83,7 +90,10 @@ public static Builder builder() { /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public ApplicationChangesDataModel withInterviewStageId(String interviewStageId) { Utils.checkNotNull(interviewStageId, "interviewStageId"); this.interviewStageId = JsonNullable.of(interviewStageId); @@ -92,7 +102,10 @@ public ApplicationChangesDataModel withInterviewStageId(String interviewStageId) /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public ApplicationChangesDataModel withInterviewStageId(JsonNullable interviewStageId) { Utils.checkNotNull(interviewStageId, "interviewStageId"); this.interviewStageId = interviewStageId; @@ -161,6 +174,7 @@ public String toString() { @SuppressWarnings("UnusedReturnValue") public final static class Builder { + @Deprecated private JsonNullable interviewStageId = JsonNullable.undefined(); private JsonNullable> rejectedReasonIds = JsonNullable.undefined(); @@ -174,7 +188,10 @@ private Builder() { /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public Builder interviewStageId(String interviewStageId) { Utils.checkNotNull(interviewStageId, "interviewStageId"); this.interviewStageId = JsonNullable.of(interviewStageId); @@ -183,7 +200,10 @@ public Builder interviewStageId(String interviewStageId) { /** * Unique identifier of the interview stage + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ + @Deprecated public Builder interviewStageId(JsonNullable interviewStageId) { Utils.checkNotNull(interviewStageId, "interviewStageId"); this.interviewStageId = interviewStageId; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/ApplicationInterviewStage.java b/src/main/java/com/stackone/stackone_client_java/models/components/ApplicationInterviewStage.java index 449595c0..1b7bf7bb 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/ApplicationInterviewStage.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/ApplicationInterviewStage.java @@ -9,6 +9,7 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.stackone.stackone_client_java.utils.Utils; +import java.lang.Deprecated; import java.lang.Double; import java.lang.Object; import java.lang.Override; @@ -18,7 +19,12 @@ import java.util.Map; import org.openapitools.jackson.nullable.JsonNullable; - +/** + * ApplicationInterviewStage + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. + */ +@Deprecated public class ApplicationInterviewStage { /** * Unique identifier diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentLearningObjectTypeSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentLearningObjectTypeSourceValue.java index 5b426ed2..ef90764d 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentLearningObjectTypeSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentLearningObjectTypeSourceValue.java @@ -19,6 +19,11 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * AssignmentLearningObjectTypeSourceValue + * + *

The original learning object type from the provider before normalization. + */ @JsonDeserialize(using = AssignmentLearningObjectTypeSourceValue._Deserializer.class) public class AssignmentLearningObjectTypeSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentLearningObjectTypeValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentLearningObjectTypeValue.java index eb88f011..8bbb485a 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentLearningObjectTypeValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentLearningObjectTypeValue.java @@ -41,6 +41,11 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * AssignmentLearningObjectTypeValue + * + *

The StackOne unified learning object type. + */ @JsonDeserialize(using = AssignmentLearningObjectTypeValue._Deserializer.class) @JsonSerialize(using = AssignmentLearningObjectTypeValue._Serializer.class) public class AssignmentLearningObjectTypeValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResult1.java b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResult1.java index c95ee712..1a634c4c 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResult1.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResult1.java @@ -20,12 +20,16 @@ *

The result of the assignment */ public class AssignmentResult1 { - + /** + * The StackOne unified result status. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * The original result status from the provider before normalization. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +48,18 @@ public AssignmentResult1() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The StackOne unified result status. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * The original result status from the provider before normalization. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +71,36 @@ public static Builder builder() { } + /** + * The StackOne unified result status. + */ public AssignmentResult1 withValue(AssignmentResultValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified result status. + */ public AssignmentResult1 withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * The original result status from the provider before normalization. + */ public AssignmentResult1 withSourceValue(AssignmentResultSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original result status from the provider before normalization. + */ public AssignmentResult1 withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +146,18 @@ private Builder() { } + /** + * The StackOne unified result status. + */ public Builder value(AssignmentResultValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified result status. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +165,18 @@ public Builder value(JsonNullable value) { } + /** + * The original result status from the provider before normalization. + */ public Builder sourceValue(AssignmentResultSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original result status from the provider before normalization. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResultSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResultSourceValue.java index ebe715c5..1641c339 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResultSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResultSourceValue.java @@ -19,6 +19,11 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * AssignmentResultSourceValue + * + *

The original result status from the provider before normalization. + */ @JsonDeserialize(using = AssignmentResultSourceValue._Deserializer.class) public class AssignmentResultSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResultValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResultValue.java index bd16d534..dca48f24 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResultValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentResultValue.java @@ -41,6 +41,11 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * AssignmentResultValue + * + *

The StackOne unified result status. + */ @JsonDeserialize(using = AssignmentResultValue._Deserializer.class) @JsonSerialize(using = AssignmentResultValue._Serializer.class) public class AssignmentResultValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentSourceValue.java index 19e112a2..daa83241 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentSourceValue.java @@ -19,6 +19,11 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * AssignmentSourceValue + * + *

The original status value from the provider before normalization. + */ @JsonDeserialize(using = AssignmentSourceValue._Deserializer.class) public class AssignmentSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentStatus.java b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentStatus.java index 74b16531..aacbe18c 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentStatus.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentStatus.java @@ -20,12 +20,16 @@ *

The status of the assignment */ public class AssignmentStatus { - + /** + * The StackOne unified assignment status. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * The original status value from the provider before normalization. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +48,18 @@ public AssignmentStatus() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The StackOne unified assignment status. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * The original status value from the provider before normalization. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +71,36 @@ public static Builder builder() { } + /** + * The StackOne unified assignment status. + */ public AssignmentStatus withValue(AssignmentValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified assignment status. + */ public AssignmentStatus withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * The original status value from the provider before normalization. + */ public AssignmentStatus withSourceValue(AssignmentSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original status value from the provider before normalization. + */ public AssignmentStatus withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +146,18 @@ private Builder() { } + /** + * The StackOne unified assignment status. + */ public Builder value(AssignmentValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified assignment status. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +165,18 @@ public Builder value(JsonNullable value) { } + /** + * The original status value from the provider before normalization. + */ public Builder sourceValue(AssignmentSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original status value from the provider before normalization. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentValue.java index ba7ed5ce..ecf0db2c 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/AssignmentValue.java @@ -41,6 +41,11 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * AssignmentValue + * + *

The StackOne unified assignment status. + */ @JsonDeserialize(using = AssignmentValue._Deserializer.class) @JsonSerialize(using = AssignmentValue._Serializer.class) public class AssignmentValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguage.java b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguage.java index 8e4f65a1..afa2fa24 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguage.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguage.java @@ -21,13 +21,18 @@ */ public class CategoryLanguage { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -47,7 +52,8 @@ public CategoryLanguage() { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @SuppressWarnings("unchecked") @JsonIgnore @@ -55,6 +61,11 @@ public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -67,7 +78,8 @@ public static Builder builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public CategoryLanguage withValue(CategoryLanguageValue value) { Utils.checkNotNull(value, "value"); @@ -76,7 +88,8 @@ public CategoryLanguage withValue(CategoryLanguageValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public CategoryLanguage withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -84,12 +97,22 @@ public CategoryLanguage withValue(JsonNullable return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public CategoryLanguage withSourceValue(CategoryLanguageSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public CategoryLanguage withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -136,7 +159,8 @@ private Builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(CategoryLanguageValue value) { Utils.checkNotNull(value, "value"); @@ -145,7 +169,8 @@ public Builder value(CategoryLanguageValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -154,12 +179,22 @@ public Builder value(JsonNullable value) { } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(CategoryLanguageSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguageSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguageSourceValue.java index f4f8bccd..4c4d653a 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguageSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguageSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * CategoryLanguageSourceValue + * + *

For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = CategoryLanguageSourceValue._Deserializer.class) public class CategoryLanguageSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguageValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguageValue.java index 967683a1..6650874a 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguageValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLanguageValue.java @@ -44,7 +44,8 @@ /** * CategoryLanguageValue * - *

The Locale Code of the language + *

The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonDeserialize(using = CategoryLanguageValue._Deserializer.class) @JsonSerialize(using = CategoryLanguageValue._Serializer.class) diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLevelSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLevelSourceValue.java index 0bc88f12..7d865dd8 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLevelSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLevelSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * CategoryLevelSourceValue + * + *

For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = CategoryLevelSourceValue._Deserializer.class) public class CategoryLevelSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLevelValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLevelValue.java index 6d6fbe6a..ce0ba820 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLevelValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryLevelValue.java @@ -41,6 +41,12 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * CategoryLevelValue + * + *

The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @JsonDeserialize(using = CategoryLevelValue._Deserializer.class) @JsonSerialize(using = CategoryLevelValue._Serializer.class) public class CategoryLevelValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CategorySourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CategorySourceValue.java index 368397d3..9d683305 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CategorySourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CategorySourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * CategorySourceValue + * + *

For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = CategorySourceValue._Deserializer.class) public class CategorySourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryValue.java index 80acc0c2..41068a57 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CategoryValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CategoryValue.java @@ -41,6 +41,12 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * CategoryValue + * + *

The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @JsonDeserialize(using = CategoryValue._Deserializer.class) @JsonSerialize(using = CategoryValue._Serializer.class) public class CategoryValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectType.java b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectType.java index 630da2af..fd6aae5a 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectType.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectType.java @@ -20,12 +20,16 @@ *

The learning object type of the completion */ public class CompletionLearningObjectType { - + /** + * The StackOne unified learning object type. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * The original learning object type from the provider before normalization. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +48,18 @@ public CompletionLearningObjectType() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The StackOne unified learning object type. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * The original learning object type from the provider before normalization. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +71,36 @@ public static Builder builder() { } + /** + * The StackOne unified learning object type. + */ public CompletionLearningObjectType withValue(CompletionLearningObjectTypeValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified learning object type. + */ public CompletionLearningObjectType withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * The original learning object type from the provider before normalization. + */ public CompletionLearningObjectType withSourceValue(CompletionLearningObjectTypeSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original learning object type from the provider before normalization. + */ public CompletionLearningObjectType withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +146,18 @@ private Builder() { } + /** + * The StackOne unified learning object type. + */ public Builder value(CompletionLearningObjectTypeValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified learning object type. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +165,18 @@ public Builder value(JsonNullable v } + /** + * The original learning object type from the provider before normalization. + */ public Builder sourceValue(CompletionLearningObjectTypeSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original learning object type from the provider before normalization. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectTypeSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectTypeSourceValue.java index 31446862..4f9e61e6 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectTypeSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectTypeSourceValue.java @@ -19,6 +19,11 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * CompletionLearningObjectTypeSourceValue + * + *

The original learning object type from the provider before normalization. + */ @JsonDeserialize(using = CompletionLearningObjectTypeSourceValue._Deserializer.class) public class CompletionLearningObjectTypeSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectTypeValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectTypeValue.java index c878105e..e0008ea0 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectTypeValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionLearningObjectTypeValue.java @@ -41,6 +41,11 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * CompletionLearningObjectTypeValue + * + *

The StackOne unified learning object type. + */ @JsonDeserialize(using = CompletionLearningObjectTypeValue._Deserializer.class) @JsonSerialize(using = CompletionLearningObjectTypeValue._Serializer.class) public class CompletionLearningObjectTypeValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionResult1.java b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionResult1.java index 482af1aa..da46ddd4 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionResult1.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionResult1.java @@ -20,12 +20,16 @@ *

The result of the completion */ public class CompletionResult1 { - + /** + * The StackOne unified result status. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * The original result status from the provider before normalization. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +48,18 @@ public CompletionResult1() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The StackOne unified result status. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * The original result status from the provider before normalization. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +71,36 @@ public static Builder builder() { } + /** + * The StackOne unified result status. + */ public CompletionResult1 withValue(CompletionValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified result status. + */ public CompletionResult1 withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * The original result status from the provider before normalization. + */ public CompletionResult1 withSourceValue(CompletionSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original result status from the provider before normalization. + */ public CompletionResult1 withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +146,18 @@ private Builder() { } + /** + * The StackOne unified result status. + */ public Builder value(CompletionValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified result status. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +165,18 @@ public Builder value(JsonNullable value) { } + /** + * The original result status from the provider before normalization. + */ public Builder sourceValue(CompletionSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original result status from the provider before normalization. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionSourceValue.java index 15cef0ba..645e7b29 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionSourceValue.java @@ -19,6 +19,11 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * CompletionSourceValue + * + *

The original result status from the provider before normalization. + */ @JsonDeserialize(using = CompletionSourceValue._Deserializer.class) public class CompletionSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionValue.java index e6fd5043..a1904362 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CompletionValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CompletionValue.java @@ -41,6 +41,11 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * CompletionValue + * + *

The StackOne unified result status. + */ @JsonDeserialize(using = CompletionValue._Deserializer.class) @JsonSerialize(using = CompletionValue._Serializer.class) public class CompletionValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/ContentSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/ContentSourceValue.java index 8378f87f..df852389 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/ContentSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/ContentSourceValue.java @@ -19,6 +19,11 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * ContentSourceValue + * + *

The original value from the provider before normalization. + */ @JsonDeserialize(using = ContentSourceValue._Deserializer.class) public class ContentSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/ContentType.java b/src/main/java/com/stackone/stackone_client_java/models/components/ContentType.java index e02e72d3..b71d91e4 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/ContentType.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/ContentType.java @@ -20,12 +20,16 @@ *

The type of content */ public class ContentType { - + /** + * The StackOne unified content type. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * The original value from the provider before normalization. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +48,18 @@ public ContentType() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The StackOne unified content type. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * The original value from the provider before normalization. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +71,36 @@ public static Builder builder() { } + /** + * The StackOne unified content type. + */ public ContentType withValue(ContentValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified content type. + */ public ContentType withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * The original value from the provider before normalization. + */ public ContentType withSourceValue(ContentSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original value from the provider before normalization. + */ public ContentType withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +146,18 @@ private Builder() { } + /** + * The StackOne unified content type. + */ public Builder value(ContentValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified content type. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +165,18 @@ public Builder value(JsonNullable value) { } + /** + * The original value from the provider before normalization. + */ public Builder sourceValue(ContentSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original value from the provider before normalization. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/ContentValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/ContentValue.java index 8e2b1206..d0864540 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/ContentValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/ContentValue.java @@ -41,6 +41,11 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * ContentValue + * + *

The StackOne unified content type. + */ @JsonDeserialize(using = ContentValue._Deserializer.class) @JsonSerialize(using = ContentValue._Serializer.class) public class ContentValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelHierarchy.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelHierarchy.java index 580ea38b..0d0d6665 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelHierarchy.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelHierarchy.java @@ -20,12 +20,19 @@ *

The hierarchal level of the category */ public class CreateCategoriesApiModelHierarchy { - + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +51,21 @@ public CreateCategoriesApiModelHierarchy() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +77,42 @@ public static Builder builder() { } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public CreateCategoriesApiModelHierarchy withValue(CreateCategoriesApiModelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public CreateCategoriesApiModelHierarchy withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public CreateCategoriesApiModelHierarchy withSourceValue(CreateCategoriesApiModelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public CreateCategoriesApiModelHierarchy withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +158,20 @@ private Builder() { } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Builder value(CreateCategoriesApiModelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +179,22 @@ public Builder value(JsonNullable value } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(CreateCategoriesApiModelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguage.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguage.java index ef52d18b..50a47400 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguage.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguage.java @@ -21,13 +21,18 @@ */ public class CreateCategoriesApiModelLanguage { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -47,7 +52,8 @@ public CreateCategoriesApiModelLanguage() { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @SuppressWarnings("unchecked") @JsonIgnore @@ -55,6 +61,11 @@ public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -67,7 +78,8 @@ public static Builder builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public CreateCategoriesApiModelLanguage withValue(CreateCategoriesApiModelLanguageValue value) { Utils.checkNotNull(value, "value"); @@ -76,7 +88,8 @@ public CreateCategoriesApiModelLanguage withValue(CreateCategoriesApiModelLangua } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public CreateCategoriesApiModelLanguage withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -84,12 +97,22 @@ public CreateCategoriesApiModelLanguage withValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -136,7 +159,8 @@ private Builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(CreateCategoriesApiModelLanguageValue value) { Utils.checkNotNull(value, "value"); @@ -145,7 +169,8 @@ public Builder value(CreateCategoriesApiModelLanguageValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -154,12 +179,22 @@ public Builder value(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguageSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguageSourceValue.java index 442c7681..7eb52d44 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguageSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguageSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * CreateCategoriesApiModelLanguageSourceValue + * + *

For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = CreateCategoriesApiModelLanguageSourceValue._Deserializer.class) public class CreateCategoriesApiModelLanguageSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguageValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguageValue.java index 2aaee6ec..f5b5d303 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguageValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLanguageValue.java @@ -44,7 +44,8 @@ /** * CreateCategoriesApiModelLanguageValue * - *

The Locale Code of the language + *

The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonDeserialize(using = CreateCategoriesApiModelLanguageValue._Deserializer.class) @JsonSerialize(using = CreateCategoriesApiModelLanguageValue._Serializer.class) diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevel.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevel.java index 9a75669d..121cd285 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevel.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevel.java @@ -24,12 +24,19 @@ */ @Deprecated public class CreateCategoriesApiModelLevel { - + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -48,12 +55,21 @@ public CreateCategoriesApiModelLevel() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -65,24 +81,42 @@ public static Builder builder() { } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public CreateCategoriesApiModelLevel withValue(CreateCategoriesApiModelLevelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public CreateCategoriesApiModelLevel withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public CreateCategoriesApiModelLevel withSourceValue(CreateCategoriesApiModelLevelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public CreateCategoriesApiModelLevel withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -128,12 +162,20 @@ private Builder() { } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Builder value(CreateCategoriesApiModelLevelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -141,12 +183,22 @@ public Builder value(JsonNullable } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(CreateCategoriesApiModelLevelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevelSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevelSourceValue.java index 9b3d14bf..8576865e 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevelSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevelSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * CreateCategoriesApiModelLevelSourceValue + * + *

For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = CreateCategoriesApiModelLevelSourceValue._Deserializer.class) public class CreateCategoriesApiModelLevelSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevelValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevelValue.java index 700d2ac1..b6b2d653 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevelValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelLevelValue.java @@ -41,6 +41,12 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * CreateCategoriesApiModelLevelValue + * + *

The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @JsonDeserialize(using = CreateCategoriesApiModelLevelValue._Deserializer.class) @JsonSerialize(using = CreateCategoriesApiModelLevelValue._Serializer.class) public class CreateCategoriesApiModelLevelValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelSourceValue.java index 2edc4012..6fc2bebe 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * CreateCategoriesApiModelSourceValue + * + *

For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = CreateCategoriesApiModelSourceValue._Deserializer.class) public class CreateCategoriesApiModelSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelValue.java index b655407d..17db6e2c 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateCategoriesApiModelValue.java @@ -41,6 +41,12 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * CreateCategoriesApiModelValue + * + *

The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @JsonDeserialize(using = CreateCategoriesApiModelValue._Deserializer.class) @JsonSerialize(using = CreateCategoriesApiModelValue._Serializer.class) public class CreateCategoriesApiModelValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelDurationUnit.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelPeriod.java similarity index 82% rename from src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelDurationUnit.java rename to src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelPeriod.java index 6d3c20e3..654516de 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelDurationUnit.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateEmploymentApiModelPeriod.java @@ -15,11 +15,11 @@ import org.openapitools.jackson.nullable.JsonNullable; /** - * CreateEmploymentApiModelDurationUnit + * CreateEmploymentApiModelPeriod * - *

The duration unit of the work time + *

The period of the work time */ -public class CreateEmploymentApiModelDurationUnit { +public class CreateEmploymentApiModelPeriod { /** * The unified value for the period. */ @@ -33,7 +33,7 @@ public class CreateEmploymentApiModelDurationUnit { private JsonNullable sourceValue; @JsonCreator - public CreateEmploymentApiModelDurationUnit( + public CreateEmploymentApiModelPeriod( @JsonProperty("value") JsonNullable value, @JsonProperty("source_value") JsonNullable sourceValue) { Utils.checkNotNull(value, "value"); @@ -42,7 +42,7 @@ public CreateEmploymentApiModelDurationUnit( this.sourceValue = sourceValue; } - public CreateEmploymentApiModelDurationUnit() { + public CreateEmploymentApiModelPeriod() { this(JsonNullable.undefined(), JsonNullable.undefined()); } @@ -69,7 +69,7 @@ public static Builder builder() { /** * The unified value for the period. */ - public CreateEmploymentApiModelDurationUnit withValue(CreateEmploymentApiModelWorkTimeValue value) { + public CreateEmploymentApiModelPeriod withValue(CreateEmploymentApiModelWorkTimeValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; @@ -78,19 +78,19 @@ public CreateEmploymentApiModelDurationUnit withValue(CreateEmploymentApiModelWo /** * The unified value for the period. */ - public CreateEmploymentApiModelDurationUnit withValue(JsonNullable value) { + public CreateEmploymentApiModelPeriod withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } - public CreateEmploymentApiModelDurationUnit withSourceValue(CreateEmploymentApiModelWorkTimeSourceValue sourceValue) { + public CreateEmploymentApiModelPeriod withSourceValue(CreateEmploymentApiModelWorkTimeSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } - public CreateEmploymentApiModelDurationUnit withSourceValue(JsonNullable sourceValue) { + public CreateEmploymentApiModelPeriod withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; return this; @@ -104,7 +104,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - CreateEmploymentApiModelDurationUnit other = (CreateEmploymentApiModelDurationUnit) o; + CreateEmploymentApiModelPeriod other = (CreateEmploymentApiModelPeriod) o; return Utils.enhancedDeepEquals(this.value, other.value) && Utils.enhancedDeepEquals(this.sourceValue, other.sourceValue); @@ -118,7 +118,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(CreateEmploymentApiModelDurationUnit.class, + return Utils.toString(CreateEmploymentApiModelPeriod.class, "value", value, "sourceValue", sourceValue); } @@ -166,9 +166,9 @@ public Builder sourceValue(JsonNullable duration; /** - * The duration unit of the work time + * The period of the work time */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("duration_unit") - private JsonNullable durationUnit; + @JsonProperty("period") + private JsonNullable period; @JsonCreator public CreateEmploymentApiModelWorkTime( @JsonProperty("duration") JsonNullable duration, - @JsonProperty("duration_unit") JsonNullable durationUnit) { + @JsonProperty("period") JsonNullable period) { Utils.checkNotNull(duration, "duration"); - Utils.checkNotNull(durationUnit, "durationUnit"); + Utils.checkNotNull(period, "period"); this.duration = duration; - this.durationUnit = durationUnit; + this.period = period; } public CreateEmploymentApiModelWorkTime() { @@ -53,12 +53,12 @@ public JsonNullable duration() { } /** - * The duration unit of the work time + * The period of the work time */ @SuppressWarnings("unchecked") @JsonIgnore - public JsonNullable durationUnit() { - return (JsonNullable) durationUnit; + public JsonNullable period() { + return (JsonNullable) period; } public static Builder builder() { @@ -85,20 +85,20 @@ public CreateEmploymentApiModelWorkTime withDuration(JsonNullable durati } /** - * The duration unit of the work time + * The period of the work time */ - public CreateEmploymentApiModelWorkTime withDurationUnit(CreateEmploymentApiModelDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public CreateEmploymentApiModelWorkTime withPeriod(CreateEmploymentApiModelPeriod period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public CreateEmploymentApiModelWorkTime withDurationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public CreateEmploymentApiModelWorkTime withPeriod(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } @@ -113,20 +113,20 @@ public boolean equals(java.lang.Object o) { CreateEmploymentApiModelWorkTime other = (CreateEmploymentApiModelWorkTime) o; return Utils.enhancedDeepEquals(this.duration, other.duration) && - Utils.enhancedDeepEquals(this.durationUnit, other.durationUnit); + Utils.enhancedDeepEquals(this.period, other.period); } @Override public int hashCode() { return Utils.enhancedHash( - duration, durationUnit); + duration, period); } @Override public String toString() { return Utils.toString(CreateEmploymentApiModelWorkTime.class, "duration", duration, - "durationUnit", durationUnit); + "period", period); } @SuppressWarnings("UnusedReturnValue") @@ -134,7 +134,7 @@ public final static class Builder { private JsonNullable duration = JsonNullable.undefined(); - private JsonNullable durationUnit = JsonNullable.undefined(); + private JsonNullable period = JsonNullable.undefined(); private Builder() { // force use of static builder() method @@ -161,27 +161,27 @@ public Builder duration(JsonNullable duration) { /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(CreateEmploymentApiModelDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public Builder period(CreateEmploymentApiModelPeriod period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public Builder period(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } public CreateEmploymentApiModelWorkTime build() { return new CreateEmploymentApiModelWorkTime( - duration, durationUnit); + duration, period); } } diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelHierarchy.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelHierarchy.java index 37239a31..9d1e6c64 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelHierarchy.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelHierarchy.java @@ -20,12 +20,19 @@ *

The hierarchal level of the skill */ public class CreateSkillsApiModelHierarchy { - + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +51,21 @@ public CreateSkillsApiModelHierarchy() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +77,42 @@ public static Builder builder() { } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public CreateSkillsApiModelHierarchy withValue(CreateSkillsApiModelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public CreateSkillsApiModelHierarchy withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public CreateSkillsApiModelHierarchy withSourceValue(CreateSkillsApiModelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public CreateSkillsApiModelHierarchy withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +158,20 @@ private Builder() { } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public Builder value(CreateSkillsApiModelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +179,22 @@ public Builder value(JsonNullable value) { } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(CreateSkillsApiModelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguage.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguage.java index 9b716c4a..5d463138 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguage.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguage.java @@ -21,13 +21,18 @@ */ public class CreateSkillsApiModelLanguage { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -47,7 +52,8 @@ public CreateSkillsApiModelLanguage() { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @SuppressWarnings("unchecked") @JsonIgnore @@ -55,6 +61,11 @@ public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -67,7 +78,8 @@ public static Builder builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public CreateSkillsApiModelLanguage withValue(CreateSkillsApiModelLanguageValue value) { Utils.checkNotNull(value, "value"); @@ -76,7 +88,8 @@ public CreateSkillsApiModelLanguage withValue(CreateSkillsApiModelLanguageValue } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public CreateSkillsApiModelLanguage withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -84,12 +97,22 @@ public CreateSkillsApiModelLanguage withValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -136,7 +159,8 @@ private Builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(CreateSkillsApiModelLanguageValue value) { Utils.checkNotNull(value, "value"); @@ -145,7 +169,8 @@ public Builder value(CreateSkillsApiModelLanguageValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -154,12 +179,22 @@ public Builder value(JsonNullable v } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(CreateSkillsApiModelLanguageSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguageSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguageSourceValue.java index 83a724d4..ea6eeefb 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguageSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguageSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * CreateSkillsApiModelLanguageSourceValue + * + *

For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = CreateSkillsApiModelLanguageSourceValue._Deserializer.class) public class CreateSkillsApiModelLanguageSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguageValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguageValue.java index 0bb73d0c..668bb261 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguageValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLanguageValue.java @@ -44,7 +44,8 @@ /** * CreateSkillsApiModelLanguageValue * - *

The Locale Code of the language + *

The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonDeserialize(using = CreateSkillsApiModelLanguageValue._Deserializer.class) @JsonSerialize(using = CreateSkillsApiModelLanguageValue._Serializer.class) diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevel.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevel.java index b78b126c..567634cc 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevel.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevel.java @@ -24,12 +24,19 @@ */ @Deprecated public class CreateSkillsApiModelLevel { - + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -48,12 +55,21 @@ public CreateSkillsApiModelLevel() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -65,24 +81,42 @@ public static Builder builder() { } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public CreateSkillsApiModelLevel withValue(CreateSkillsApiModelLevelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public CreateSkillsApiModelLevel withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public CreateSkillsApiModelLevel withSourceValue(CreateSkillsApiModelLevelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public CreateSkillsApiModelLevel withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -128,12 +162,20 @@ private Builder() { } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public Builder value(CreateSkillsApiModelLevelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -141,12 +183,22 @@ public Builder value(JsonNullable valu } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(CreateSkillsApiModelLevelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevelSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevelSourceValue.java index 4c4ceecc..c64f2414 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevelSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevelSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * CreateSkillsApiModelLevelSourceValue + * + *

For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = CreateSkillsApiModelLevelSourceValue._Deserializer.class) public class CreateSkillsApiModelLevelSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevelValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevelValue.java index 8487bc34..36e67fff 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevelValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelLevelValue.java @@ -41,6 +41,12 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * CreateSkillsApiModelLevelValue + * + *

The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @JsonDeserialize(using = CreateSkillsApiModelLevelValue._Deserializer.class) @JsonSerialize(using = CreateSkillsApiModelLevelValue._Serializer.class) public class CreateSkillsApiModelLevelValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelSourceValue.java index 8f537fea..728f7dea 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * CreateSkillsApiModelSourceValue + * + *

For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = CreateSkillsApiModelSourceValue._Deserializer.class) public class CreateSkillsApiModelSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelValue.java index a01a39ff..cb99f0c6 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/CreateSkillsApiModelValue.java @@ -41,6 +41,12 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * CreateSkillsApiModelValue + * + *

The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @JsonDeserialize(using = CreateSkillsApiModelValue._Deserializer.class) @JsonSerialize(using = CreateSkillsApiModelValue._Serializer.class) public class CreateSkillsApiModelValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/EntitySkillsSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/EntitySkillsSourceValue.java index e16ca8fc..7c053968 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/EntitySkillsSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/EntitySkillsSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * EntitySkillsSourceValue + * + *

For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = EntitySkillsSourceValue._Deserializer.class) public class EntitySkillsSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/EntitySkillsValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/EntitySkillsValue.java index 9cf8f9f7..72a9c791 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/EntitySkillsValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/EntitySkillsValue.java @@ -44,7 +44,8 @@ /** * EntitySkillsValue * - *

The Locale Code of the language + *

The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonDeserialize(using = EntitySkillsValue._Deserializer.class) @JsonSerialize(using = EntitySkillsValue._Serializer.class) diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/Hierarchy.java b/src/main/java/com/stackone/stackone_client_java/models/components/Hierarchy.java index 278eb5ab..07f842b0 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/Hierarchy.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/Hierarchy.java @@ -20,12 +20,19 @@ *

The hierarchal level of the category */ public class Hierarchy { - + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +51,21 @@ public Hierarchy() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +77,42 @@ public static Builder builder() { } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Hierarchy withValue(CategoryValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Hierarchy withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Hierarchy withSourceValue(CategorySourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Hierarchy withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +158,20 @@ private Builder() { } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Builder value(CategoryValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +179,22 @@ public Builder value(JsonNullable value) { } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(CategorySourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoDurationUnit.java b/src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoPeriod.java similarity index 82% rename from src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoDurationUnit.java rename to src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoPeriod.java index 483c29a4..09233824 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoDurationUnit.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmployeeRequestDtoPeriod.java @@ -15,11 +15,11 @@ import org.openapitools.jackson.nullable.JsonNullable; /** - * HrisCreateEmployeeRequestDtoDurationUnit + * HrisCreateEmployeeRequestDtoPeriod * - *

The duration unit of the work time + *

The period of the work time */ -public class HrisCreateEmployeeRequestDtoDurationUnit { +public class HrisCreateEmployeeRequestDtoPeriod { /** * The unified value for the period. */ @@ -33,7 +33,7 @@ public class HrisCreateEmployeeRequestDtoDurationUnit { private JsonNullable sourceValue; @JsonCreator - public HrisCreateEmployeeRequestDtoDurationUnit( + public HrisCreateEmployeeRequestDtoPeriod( @JsonProperty("value") JsonNullable value, @JsonProperty("source_value") JsonNullable sourceValue) { Utils.checkNotNull(value, "value"); @@ -42,7 +42,7 @@ public HrisCreateEmployeeRequestDtoDurationUnit( this.sourceValue = sourceValue; } - public HrisCreateEmployeeRequestDtoDurationUnit() { + public HrisCreateEmployeeRequestDtoPeriod() { this(JsonNullable.undefined(), JsonNullable.undefined()); } @@ -69,7 +69,7 @@ public static Builder builder() { /** * The unified value for the period. */ - public HrisCreateEmployeeRequestDtoDurationUnit withValue(HrisCreateEmployeeRequestDtoEmploymentWorkTimeValue value) { + public HrisCreateEmployeeRequestDtoPeriod withValue(HrisCreateEmployeeRequestDtoEmploymentWorkTimeValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; @@ -78,19 +78,19 @@ public HrisCreateEmployeeRequestDtoDurationUnit withValue(HrisCreateEmployeeRequ /** * The unified value for the period. */ - public HrisCreateEmployeeRequestDtoDurationUnit withValue(JsonNullable value) { + public HrisCreateEmployeeRequestDtoPeriod withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } - public HrisCreateEmployeeRequestDtoDurationUnit withSourceValue(HrisCreateEmployeeRequestDtoEmploymentWorkTimeSourceValue sourceValue) { + public HrisCreateEmployeeRequestDtoPeriod withSourceValue(HrisCreateEmployeeRequestDtoEmploymentWorkTimeSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } - public HrisCreateEmployeeRequestDtoDurationUnit withSourceValue(JsonNullable sourceValue) { + public HrisCreateEmployeeRequestDtoPeriod withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; return this; @@ -104,7 +104,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - HrisCreateEmployeeRequestDtoDurationUnit other = (HrisCreateEmployeeRequestDtoDurationUnit) o; + HrisCreateEmployeeRequestDtoPeriod other = (HrisCreateEmployeeRequestDtoPeriod) o; return Utils.enhancedDeepEquals(this.value, other.value) && Utils.enhancedDeepEquals(this.sourceValue, other.sourceValue); @@ -118,7 +118,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(HrisCreateEmployeeRequestDtoDurationUnit.class, + return Utils.toString(HrisCreateEmployeeRequestDtoPeriod.class, "value", value, "sourceValue", sourceValue); } @@ -166,9 +166,9 @@ public Builder sourceValue(JsonNullable duration; /** - * The duration unit of the work time + * The period of the work time */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("duration_unit") - private JsonNullable durationUnit; + @JsonProperty("period") + private JsonNullable period; @JsonCreator public HrisCreateEmployeeRequestDtoWorkTime( @JsonProperty("duration") JsonNullable duration, - @JsonProperty("duration_unit") JsonNullable durationUnit) { + @JsonProperty("period") JsonNullable period) { Utils.checkNotNull(duration, "duration"); - Utils.checkNotNull(durationUnit, "durationUnit"); + Utils.checkNotNull(period, "period"); this.duration = duration; - this.durationUnit = durationUnit; + this.period = period; } public HrisCreateEmployeeRequestDtoWorkTime() { @@ -53,12 +53,12 @@ public JsonNullable duration() { } /** - * The duration unit of the work time + * The period of the work time */ @SuppressWarnings("unchecked") @JsonIgnore - public JsonNullable durationUnit() { - return (JsonNullable) durationUnit; + public JsonNullable period() { + return (JsonNullable) period; } public static Builder builder() { @@ -85,20 +85,20 @@ public HrisCreateEmployeeRequestDtoWorkTime withDuration(JsonNullable du } /** - * The duration unit of the work time + * The period of the work time */ - public HrisCreateEmployeeRequestDtoWorkTime withDurationUnit(HrisCreateEmployeeRequestDtoDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public HrisCreateEmployeeRequestDtoWorkTime withPeriod(HrisCreateEmployeeRequestDtoPeriod period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public HrisCreateEmployeeRequestDtoWorkTime withDurationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public HrisCreateEmployeeRequestDtoWorkTime withPeriod(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } @@ -113,20 +113,20 @@ public boolean equals(java.lang.Object o) { HrisCreateEmployeeRequestDtoWorkTime other = (HrisCreateEmployeeRequestDtoWorkTime) o; return Utils.enhancedDeepEquals(this.duration, other.duration) && - Utils.enhancedDeepEquals(this.durationUnit, other.durationUnit); + Utils.enhancedDeepEquals(this.period, other.period); } @Override public int hashCode() { return Utils.enhancedHash( - duration, durationUnit); + duration, period); } @Override public String toString() { return Utils.toString(HrisCreateEmployeeRequestDtoWorkTime.class, "duration", duration, - "durationUnit", durationUnit); + "period", period); } @SuppressWarnings("UnusedReturnValue") @@ -134,7 +134,7 @@ public final static class Builder { private JsonNullable duration = JsonNullable.undefined(); - private JsonNullable durationUnit = JsonNullable.undefined(); + private JsonNullable period = JsonNullable.undefined(); private Builder() { // force use of static builder() method @@ -161,27 +161,27 @@ public Builder duration(JsonNullable duration) { /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(HrisCreateEmployeeRequestDtoDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public Builder period(HrisCreateEmployeeRequestDtoPeriod period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public Builder period(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } public HrisCreateEmployeeRequestDtoWorkTime build() { return new HrisCreateEmployeeRequestDtoWorkTime( - duration, durationUnit); + duration, period); } } diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoDurationUnit.java b/src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoPeriod.java similarity index 81% rename from src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoDurationUnit.java rename to src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoPeriod.java index 85fe65b2..a008fc9c 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoDurationUnit.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/HrisCreateEmploymentRequestDtoPeriod.java @@ -15,11 +15,11 @@ import org.openapitools.jackson.nullable.JsonNullable; /** - * HrisCreateEmploymentRequestDtoDurationUnit + * HrisCreateEmploymentRequestDtoPeriod * - *

The duration unit of the work time + *

The period of the work time */ -public class HrisCreateEmploymentRequestDtoDurationUnit { +public class HrisCreateEmploymentRequestDtoPeriod { /** * The unified value for the period. */ @@ -33,7 +33,7 @@ public class HrisCreateEmploymentRequestDtoDurationUnit { private JsonNullable sourceValue; @JsonCreator - public HrisCreateEmploymentRequestDtoDurationUnit( + public HrisCreateEmploymentRequestDtoPeriod( @JsonProperty("value") JsonNullable value, @JsonProperty("source_value") JsonNullable sourceValue) { Utils.checkNotNull(value, "value"); @@ -42,7 +42,7 @@ public HrisCreateEmploymentRequestDtoDurationUnit( this.sourceValue = sourceValue; } - public HrisCreateEmploymentRequestDtoDurationUnit() { + public HrisCreateEmploymentRequestDtoPeriod() { this(JsonNullable.undefined(), JsonNullable.undefined()); } @@ -69,7 +69,7 @@ public static Builder builder() { /** * The unified value for the period. */ - public HrisCreateEmploymentRequestDtoDurationUnit withValue(HrisCreateEmploymentRequestDtoWorkTimeValue value) { + public HrisCreateEmploymentRequestDtoPeriod withValue(HrisCreateEmploymentRequestDtoWorkTimeValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; @@ -78,19 +78,19 @@ public HrisCreateEmploymentRequestDtoDurationUnit withValue(HrisCreateEmployment /** * The unified value for the period. */ - public HrisCreateEmploymentRequestDtoDurationUnit withValue(JsonNullable value) { + public HrisCreateEmploymentRequestDtoPeriod withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } - public HrisCreateEmploymentRequestDtoDurationUnit withSourceValue(HrisCreateEmploymentRequestDtoWorkTimeSourceValue sourceValue) { + public HrisCreateEmploymentRequestDtoPeriod withSourceValue(HrisCreateEmploymentRequestDtoWorkTimeSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } - public HrisCreateEmploymentRequestDtoDurationUnit withSourceValue(JsonNullable sourceValue) { + public HrisCreateEmploymentRequestDtoPeriod withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; return this; @@ -104,7 +104,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - HrisCreateEmploymentRequestDtoDurationUnit other = (HrisCreateEmploymentRequestDtoDurationUnit) o; + HrisCreateEmploymentRequestDtoPeriod other = (HrisCreateEmploymentRequestDtoPeriod) o; return Utils.enhancedDeepEquals(this.value, other.value) && Utils.enhancedDeepEquals(this.sourceValue, other.sourceValue); @@ -118,7 +118,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(HrisCreateEmploymentRequestDtoDurationUnit.class, + return Utils.toString(HrisCreateEmploymentRequestDtoPeriod.class, "value", value, "sourceValue", sourceValue); } @@ -166,9 +166,9 @@ public Builder sourceValue(JsonNullable duration; /** - * The duration unit of the work time + * The period of the work time */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("duration_unit") - private JsonNullable durationUnit; + @JsonProperty("period") + private JsonNullable period; @JsonCreator public HrisCreateEmploymentRequestDtoWorkTime( @JsonProperty("duration") JsonNullable duration, - @JsonProperty("duration_unit") JsonNullable durationUnit) { + @JsonProperty("period") JsonNullable period) { Utils.checkNotNull(duration, "duration"); - Utils.checkNotNull(durationUnit, "durationUnit"); + Utils.checkNotNull(period, "period"); this.duration = duration; - this.durationUnit = durationUnit; + this.period = period; } public HrisCreateEmploymentRequestDtoWorkTime() { @@ -53,12 +53,12 @@ public JsonNullable duration() { } /** - * The duration unit of the work time + * The period of the work time */ @SuppressWarnings("unchecked") @JsonIgnore - public JsonNullable durationUnit() { - return (JsonNullable) durationUnit; + public JsonNullable period() { + return (JsonNullable) period; } public static Builder builder() { @@ -85,20 +85,20 @@ public HrisCreateEmploymentRequestDtoWorkTime withDuration(JsonNullable } /** - * The duration unit of the work time + * The period of the work time */ - public HrisCreateEmploymentRequestDtoWorkTime withDurationUnit(HrisCreateEmploymentRequestDtoDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public HrisCreateEmploymentRequestDtoWorkTime withPeriod(HrisCreateEmploymentRequestDtoPeriod period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public HrisCreateEmploymentRequestDtoWorkTime withDurationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public HrisCreateEmploymentRequestDtoWorkTime withPeriod(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } @@ -113,20 +113,20 @@ public boolean equals(java.lang.Object o) { HrisCreateEmploymentRequestDtoWorkTime other = (HrisCreateEmploymentRequestDtoWorkTime) o; return Utils.enhancedDeepEquals(this.duration, other.duration) && - Utils.enhancedDeepEquals(this.durationUnit, other.durationUnit); + Utils.enhancedDeepEquals(this.period, other.period); } @Override public int hashCode() { return Utils.enhancedHash( - duration, durationUnit); + duration, period); } @Override public String toString() { return Utils.toString(HrisCreateEmploymentRequestDtoWorkTime.class, "duration", duration, - "durationUnit", durationUnit); + "period", period); } @SuppressWarnings("UnusedReturnValue") @@ -134,7 +134,7 @@ public final static class Builder { private JsonNullable duration = JsonNullable.undefined(); - private JsonNullable durationUnit = JsonNullable.undefined(); + private JsonNullable period = JsonNullable.undefined(); private Builder() { // force use of static builder() method @@ -161,27 +161,27 @@ public Builder duration(JsonNullable duration) { /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(HrisCreateEmploymentRequestDtoDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public Builder period(HrisCreateEmploymentRequestDtoPeriod period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public Builder period(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } public HrisCreateEmploymentRequestDtoWorkTime build() { return new HrisCreateEmploymentRequestDtoWorkTime( - duration, durationUnit); + duration, period); } } diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoDurationUnit.java b/src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoPeriod.java similarity index 82% rename from src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoDurationUnit.java rename to src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoPeriod.java index 979e2ca1..ce16c333 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoDurationUnit.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmployeeRequestDtoPeriod.java @@ -15,11 +15,11 @@ import org.openapitools.jackson.nullable.JsonNullable; /** - * HrisUpdateEmployeeRequestDtoDurationUnit + * HrisUpdateEmployeeRequestDtoPeriod * - *

The duration unit of the work time + *

The period of the work time */ -public class HrisUpdateEmployeeRequestDtoDurationUnit { +public class HrisUpdateEmployeeRequestDtoPeriod { /** * The unified value for the period. */ @@ -33,7 +33,7 @@ public class HrisUpdateEmployeeRequestDtoDurationUnit { private JsonNullable sourceValue; @JsonCreator - public HrisUpdateEmployeeRequestDtoDurationUnit( + public HrisUpdateEmployeeRequestDtoPeriod( @JsonProperty("value") JsonNullable value, @JsonProperty("source_value") JsonNullable sourceValue) { Utils.checkNotNull(value, "value"); @@ -42,7 +42,7 @@ public HrisUpdateEmployeeRequestDtoDurationUnit( this.sourceValue = sourceValue; } - public HrisUpdateEmployeeRequestDtoDurationUnit() { + public HrisUpdateEmployeeRequestDtoPeriod() { this(JsonNullable.undefined(), JsonNullable.undefined()); } @@ -69,7 +69,7 @@ public static Builder builder() { /** * The unified value for the period. */ - public HrisUpdateEmployeeRequestDtoDurationUnit withValue(HrisUpdateEmployeeRequestDtoEmploymentWorkTimeValue value) { + public HrisUpdateEmployeeRequestDtoPeriod withValue(HrisUpdateEmployeeRequestDtoEmploymentWorkTimeValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; @@ -78,19 +78,19 @@ public HrisUpdateEmployeeRequestDtoDurationUnit withValue(HrisUpdateEmployeeRequ /** * The unified value for the period. */ - public HrisUpdateEmployeeRequestDtoDurationUnit withValue(JsonNullable value) { + public HrisUpdateEmployeeRequestDtoPeriod withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } - public HrisUpdateEmployeeRequestDtoDurationUnit withSourceValue(HrisUpdateEmployeeRequestDtoEmploymentWorkTimeSourceValue sourceValue) { + public HrisUpdateEmployeeRequestDtoPeriod withSourceValue(HrisUpdateEmployeeRequestDtoEmploymentWorkTimeSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } - public HrisUpdateEmployeeRequestDtoDurationUnit withSourceValue(JsonNullable sourceValue) { + public HrisUpdateEmployeeRequestDtoPeriod withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; return this; @@ -104,7 +104,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - HrisUpdateEmployeeRequestDtoDurationUnit other = (HrisUpdateEmployeeRequestDtoDurationUnit) o; + HrisUpdateEmployeeRequestDtoPeriod other = (HrisUpdateEmployeeRequestDtoPeriod) o; return Utils.enhancedDeepEquals(this.value, other.value) && Utils.enhancedDeepEquals(this.sourceValue, other.sourceValue); @@ -118,7 +118,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(HrisUpdateEmployeeRequestDtoDurationUnit.class, + return Utils.toString(HrisUpdateEmployeeRequestDtoPeriod.class, "value", value, "sourceValue", sourceValue); } @@ -166,9 +166,9 @@ public Builder sourceValue(JsonNullable duration; /** - * The duration unit of the work time + * The period of the work time */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("duration_unit") - private JsonNullable durationUnit; + @JsonProperty("period") + private JsonNullable period; @JsonCreator public HrisUpdateEmployeeRequestDtoWorkTime( @JsonProperty("duration") JsonNullable duration, - @JsonProperty("duration_unit") JsonNullable durationUnit) { + @JsonProperty("period") JsonNullable period) { Utils.checkNotNull(duration, "duration"); - Utils.checkNotNull(durationUnit, "durationUnit"); + Utils.checkNotNull(period, "period"); this.duration = duration; - this.durationUnit = durationUnit; + this.period = period; } public HrisUpdateEmployeeRequestDtoWorkTime() { @@ -53,12 +53,12 @@ public JsonNullable duration() { } /** - * The duration unit of the work time + * The period of the work time */ @SuppressWarnings("unchecked") @JsonIgnore - public JsonNullable durationUnit() { - return (JsonNullable) durationUnit; + public JsonNullable period() { + return (JsonNullable) period; } public static Builder builder() { @@ -85,20 +85,20 @@ public HrisUpdateEmployeeRequestDtoWorkTime withDuration(JsonNullable du } /** - * The duration unit of the work time + * The period of the work time */ - public HrisUpdateEmployeeRequestDtoWorkTime withDurationUnit(HrisUpdateEmployeeRequestDtoDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public HrisUpdateEmployeeRequestDtoWorkTime withPeriod(HrisUpdateEmployeeRequestDtoPeriod period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public HrisUpdateEmployeeRequestDtoWorkTime withDurationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public HrisUpdateEmployeeRequestDtoWorkTime withPeriod(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } @@ -113,20 +113,20 @@ public boolean equals(java.lang.Object o) { HrisUpdateEmployeeRequestDtoWorkTime other = (HrisUpdateEmployeeRequestDtoWorkTime) o; return Utils.enhancedDeepEquals(this.duration, other.duration) && - Utils.enhancedDeepEquals(this.durationUnit, other.durationUnit); + Utils.enhancedDeepEquals(this.period, other.period); } @Override public int hashCode() { return Utils.enhancedHash( - duration, durationUnit); + duration, period); } @Override public String toString() { return Utils.toString(HrisUpdateEmployeeRequestDtoWorkTime.class, "duration", duration, - "durationUnit", durationUnit); + "period", period); } @SuppressWarnings("UnusedReturnValue") @@ -134,7 +134,7 @@ public final static class Builder { private JsonNullable duration = JsonNullable.undefined(); - private JsonNullable durationUnit = JsonNullable.undefined(); + private JsonNullable period = JsonNullable.undefined(); private Builder() { // force use of static builder() method @@ -161,27 +161,27 @@ public Builder duration(JsonNullable duration) { /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(HrisUpdateEmployeeRequestDtoDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public Builder period(HrisUpdateEmployeeRequestDtoPeriod period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public Builder period(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } public HrisUpdateEmployeeRequestDtoWorkTime build() { return new HrisUpdateEmployeeRequestDtoWorkTime( - duration, durationUnit); + duration, period); } } diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoDurationUnit.java b/src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoPeriod.java similarity index 81% rename from src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoDurationUnit.java rename to src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoPeriod.java index fda25d99..088e3d6d 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoDurationUnit.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/HrisUpdateEmploymentRequestDtoPeriod.java @@ -15,11 +15,11 @@ import org.openapitools.jackson.nullable.JsonNullable; /** - * HrisUpdateEmploymentRequestDtoDurationUnit + * HrisUpdateEmploymentRequestDtoPeriod * - *

The duration unit of the work time + *

The period of the work time */ -public class HrisUpdateEmploymentRequestDtoDurationUnit { +public class HrisUpdateEmploymentRequestDtoPeriod { /** * The unified value for the period. */ @@ -33,7 +33,7 @@ public class HrisUpdateEmploymentRequestDtoDurationUnit { private JsonNullable sourceValue; @JsonCreator - public HrisUpdateEmploymentRequestDtoDurationUnit( + public HrisUpdateEmploymentRequestDtoPeriod( @JsonProperty("value") JsonNullable value, @JsonProperty("source_value") JsonNullable sourceValue) { Utils.checkNotNull(value, "value"); @@ -42,7 +42,7 @@ public HrisUpdateEmploymentRequestDtoDurationUnit( this.sourceValue = sourceValue; } - public HrisUpdateEmploymentRequestDtoDurationUnit() { + public HrisUpdateEmploymentRequestDtoPeriod() { this(JsonNullable.undefined(), JsonNullable.undefined()); } @@ -69,7 +69,7 @@ public static Builder builder() { /** * The unified value for the period. */ - public HrisUpdateEmploymentRequestDtoDurationUnit withValue(HrisUpdateEmploymentRequestDtoWorkTimeValue value) { + public HrisUpdateEmploymentRequestDtoPeriod withValue(HrisUpdateEmploymentRequestDtoWorkTimeValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; @@ -78,19 +78,19 @@ public HrisUpdateEmploymentRequestDtoDurationUnit withValue(HrisUpdateEmployment /** * The unified value for the period. */ - public HrisUpdateEmploymentRequestDtoDurationUnit withValue(JsonNullable value) { + public HrisUpdateEmploymentRequestDtoPeriod withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } - public HrisUpdateEmploymentRequestDtoDurationUnit withSourceValue(HrisUpdateEmploymentRequestDtoWorkTimeSourceValue sourceValue) { + public HrisUpdateEmploymentRequestDtoPeriod withSourceValue(HrisUpdateEmploymentRequestDtoWorkTimeSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } - public HrisUpdateEmploymentRequestDtoDurationUnit withSourceValue(JsonNullable sourceValue) { + public HrisUpdateEmploymentRequestDtoPeriod withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; return this; @@ -104,7 +104,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - HrisUpdateEmploymentRequestDtoDurationUnit other = (HrisUpdateEmploymentRequestDtoDurationUnit) o; + HrisUpdateEmploymentRequestDtoPeriod other = (HrisUpdateEmploymentRequestDtoPeriod) o; return Utils.enhancedDeepEquals(this.value, other.value) && Utils.enhancedDeepEquals(this.sourceValue, other.sourceValue); @@ -118,7 +118,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(HrisUpdateEmploymentRequestDtoDurationUnit.class, + return Utils.toString(HrisUpdateEmploymentRequestDtoPeriod.class, "value", value, "sourceValue", sourceValue); } @@ -166,9 +166,9 @@ public Builder sourceValue(JsonNullable duration; /** - * The duration unit of the work time + * The period of the work time */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("duration_unit") - private JsonNullable durationUnit; + @JsonProperty("period") + private JsonNullable period; @JsonCreator public HrisUpdateEmploymentRequestDtoWorkTime( @JsonProperty("duration") JsonNullable duration, - @JsonProperty("duration_unit") JsonNullable durationUnit) { + @JsonProperty("period") JsonNullable period) { Utils.checkNotNull(duration, "duration"); - Utils.checkNotNull(durationUnit, "durationUnit"); + Utils.checkNotNull(period, "period"); this.duration = duration; - this.durationUnit = durationUnit; + this.period = period; } public HrisUpdateEmploymentRequestDtoWorkTime() { @@ -53,12 +53,12 @@ public JsonNullable duration() { } /** - * The duration unit of the work time + * The period of the work time */ @SuppressWarnings("unchecked") @JsonIgnore - public JsonNullable durationUnit() { - return (JsonNullable) durationUnit; + public JsonNullable period() { + return (JsonNullable) period; } public static Builder builder() { @@ -85,20 +85,20 @@ public HrisUpdateEmploymentRequestDtoWorkTime withDuration(JsonNullable } /** - * The duration unit of the work time + * The period of the work time */ - public HrisUpdateEmploymentRequestDtoWorkTime withDurationUnit(HrisUpdateEmploymentRequestDtoDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public HrisUpdateEmploymentRequestDtoWorkTime withPeriod(HrisUpdateEmploymentRequestDtoPeriod period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public HrisUpdateEmploymentRequestDtoWorkTime withDurationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public HrisUpdateEmploymentRequestDtoWorkTime withPeriod(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } @@ -113,20 +113,20 @@ public boolean equals(java.lang.Object o) { HrisUpdateEmploymentRequestDtoWorkTime other = (HrisUpdateEmploymentRequestDtoWorkTime) o; return Utils.enhancedDeepEquals(this.duration, other.duration) && - Utils.enhancedDeepEquals(this.durationUnit, other.durationUnit); + Utils.enhancedDeepEquals(this.period, other.period); } @Override public int hashCode() { return Utils.enhancedHash( - duration, durationUnit); + duration, period); } @Override public String toString() { return Utils.toString(HrisUpdateEmploymentRequestDtoWorkTime.class, "duration", duration, - "durationUnit", durationUnit); + "period", period); } @SuppressWarnings("UnusedReturnValue") @@ -134,7 +134,7 @@ public final static class Builder { private JsonNullable duration = JsonNullable.undefined(); - private JsonNullable durationUnit = JsonNullable.undefined(); + private JsonNullable period = JsonNullable.undefined(); private Builder() { // force use of static builder() method @@ -161,27 +161,27 @@ public Builder duration(JsonNullable duration) { /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(HrisUpdateEmploymentRequestDtoDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public Builder period(HrisUpdateEmploymentRequestDtoPeriod period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public Builder period(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } public HrisUpdateEmploymentRequestDtoWorkTime build() { return new HrisUpdateEmploymentRequestDtoWorkTime( - duration, durationUnit); + duration, period); } } diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/IsUnlimited.java b/src/main/java/com/stackone/stackone_client_java/models/components/IsUnlimited.java new file mode 100644 index 00000000..cd8f0137 --- /dev/null +++ b/src/main/java/com/stackone/stackone_client_java/models/components/IsUnlimited.java @@ -0,0 +1,100 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.stackone.stackone_client_java.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.stackone.stackone_client_java.utils.OneOfDeserializer; +import com.stackone.stackone_client_java.utils.TypedObject; +import com.stackone.stackone_client_java.utils.Utils.JsonShape; +import com.stackone.stackone_client_java.utils.Utils.TypeReferenceWithShape; +import com.stackone.stackone_client_java.utils.Utils; +import java.lang.Boolean; +import java.lang.Override; +import java.lang.String; +import java.lang.SuppressWarnings; + +/** + * IsUnlimited + * + *

Indicates if this time off balance represents unlimited leave + */ +@JsonDeserialize(using = IsUnlimited._Deserializer.class) +public class IsUnlimited { + + @JsonValue + private TypedObject value; + + private IsUnlimited(TypedObject value) { + this.value = value; + } + + public static IsUnlimited of(boolean value) { + Utils.checkNotNull(value, "value"); + return new IsUnlimited(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + public static IsUnlimited of(IsUnlimited2 value) { + Utils.checkNotNull(value, "value"); + return new IsUnlimited(TypedObject.of(value, JsonShape.DEFAULT, new TypeReference(){})); + } + + /** + * Returns an instance of one of these types: + *

    + *
  • {@code boolean}
  • + *
  • {@code com.stackone.stackone_client_java.models.components.IsUnlimited2}
  • + *
+ * + *

Use {@code instanceof} to determine what type is returned. For example: + * + *

+     * if (obj.value() instanceof String) {
+     *     String answer = (String) obj.value();
+     *     System.out.println("answer=" + answer);
+     * }
+     * 
+ * + * @return value of oneOf type + **/ + public java.lang.Object value() { + return value.value(); + } + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + IsUnlimited other = (IsUnlimited) o; + return Utils.enhancedDeepEquals(this.value.value(), other.value.value()); + } + + @Override + public int hashCode() { + return Utils.enhancedHash(value.value()); + } + + @SuppressWarnings("serial") + public static final class _Deserializer extends OneOfDeserializer { + + public _Deserializer() { + super(IsUnlimited.class, false, + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT), + TypeReferenceWithShape.of(new TypeReference() {}, JsonShape.DEFAULT)); + } + } + + @Override + public String toString() { + return Utils.toString(IsUnlimited.class, + "value", value); + } + +} + diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/IsUnlimited2.java b/src/main/java/com/stackone/stackone_client_java/models/components/IsUnlimited2.java new file mode 100644 index 00000000..0ecc8173 --- /dev/null +++ b/src/main/java/com/stackone/stackone_client_java/models/components/IsUnlimited2.java @@ -0,0 +1,35 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ +package com.stackone.stackone_client_java.models.components; + +import com.fasterxml.jackson.annotation.JsonValue; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; + +public enum IsUnlimited2 { + TRUE("true"), + FALSE("false"); + + @JsonValue + private final String value; + + IsUnlimited2(String value) { + this.value = value; + } + + public String value() { + return value; + } + + public static Optional fromValue(String value) { + for (IsUnlimited2 o: IsUnlimited2.values()) { + if (Objects.deepEquals(o.value, value)) { + return Optional.of(o); + } + } + return Optional.empty(); + } +} + diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/Language.java b/src/main/java/com/stackone/stackone_client_java/models/components/Language.java index 5f2a8f8b..ef2f134e 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/Language.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/Language.java @@ -21,13 +21,18 @@ */ public class Language { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -47,7 +52,8 @@ public Language() { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @SuppressWarnings("unchecked") @JsonIgnore @@ -55,6 +61,11 @@ public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -67,7 +78,8 @@ public static Builder builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Language withValue(EntitySkillsValue value) { Utils.checkNotNull(value, "value"); @@ -76,7 +88,8 @@ public Language withValue(EntitySkillsValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Language withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -84,12 +97,22 @@ public Language withValue(JsonNullable value) { return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Language withSourceValue(EntitySkillsSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Language withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -136,7 +159,8 @@ private Builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(EntitySkillsValue value) { Utils.checkNotNull(value, "value"); @@ -145,7 +169,8 @@ public Builder value(EntitySkillsValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -154,12 +179,22 @@ public Builder value(JsonNullable value) { } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(EntitySkillsSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnum.java b/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnum.java index ece239b4..7a073fd3 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnum.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnum.java @@ -17,13 +17,18 @@ public class LanguageEnum { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -43,7 +48,8 @@ public LanguageEnum() { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @SuppressWarnings("unchecked") @JsonIgnore @@ -51,6 +57,11 @@ public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -63,7 +74,8 @@ public static Builder builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public LanguageEnum withValue(LanguageEnumValue value) { Utils.checkNotNull(value, "value"); @@ -72,7 +84,8 @@ public LanguageEnum withValue(LanguageEnumValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public LanguageEnum withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -80,12 +93,22 @@ public LanguageEnum withValue(JsonNullable value) { return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public LanguageEnum withSourceValue(LanguageEnumSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public LanguageEnum withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -132,7 +155,8 @@ private Builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(LanguageEnumValue value) { Utils.checkNotNull(value, "value"); @@ -141,7 +165,8 @@ public Builder value(LanguageEnumValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -150,12 +175,22 @@ public Builder value(JsonNullable value) { } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(LanguageEnumSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnumSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnumSourceValue.java index 893cb38e..da7c40ab 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnumSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnumSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * LanguageEnumSourceValue + * + *

For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = LanguageEnumSourceValue._Deserializer.class) public class LanguageEnumSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnumValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnumValue.java index 277b0657..f6515268 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnumValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LanguageEnumValue.java @@ -44,7 +44,8 @@ /** * LanguageEnumValue * - *

The Locale Code of the language + *

The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonDeserialize(using = LanguageEnumValue._Deserializer.class) @JsonSerialize(using = LanguageEnumValue._Serializer.class) diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LearningObjectType.java b/src/main/java/com/stackone/stackone_client_java/models/components/LearningObjectType.java index 7f31bee6..ba4a1a83 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LearningObjectType.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LearningObjectType.java @@ -20,12 +20,16 @@ *

The learning object type of the assignment */ public class LearningObjectType { - + /** + * The StackOne unified learning object type. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * The original learning object type from the provider before normalization. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +48,18 @@ public LearningObjectType() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The StackOne unified learning object type. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * The original learning object type from the provider before normalization. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +71,36 @@ public static Builder builder() { } + /** + * The StackOne unified learning object type. + */ public LearningObjectType withValue(AssignmentLearningObjectTypeValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified learning object type. + */ public LearningObjectType withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * The original learning object type from the provider before normalization. + */ public LearningObjectType withSourceValue(AssignmentLearningObjectTypeSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original learning object type from the provider before normalization. + */ public LearningObjectType withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +146,18 @@ private Builder() { } + /** + * The StackOne unified learning object type. + */ public Builder value(AssignmentLearningObjectTypeValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified learning object type. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +165,18 @@ public Builder value(JsonNullable v } + /** + * The original learning object type from the provider before normalization. + */ public Builder sourceValue(AssignmentLearningObjectTypeSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original learning object type from the provider before normalization. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/Level.java b/src/main/java/com/stackone/stackone_client_java/models/components/Level.java index dbd7f0ce..5cbdcd2e 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/Level.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/Level.java @@ -24,12 +24,19 @@ */ @Deprecated public class Level { - + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -48,12 +55,21 @@ public Level() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -65,24 +81,42 @@ public static Builder builder() { } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Level withValue(CategoryLevelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Level withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Level withSourceValue(CategoryLevelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Level withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -128,12 +162,20 @@ private Builder() { } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Builder value(CategoryLevelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified category level. For write operations: provide one of the listed enum values, or omit/set + * to "unmapped_value" to use source_value instead. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -141,12 +183,22 @@ public Builder value(JsonNullable value) { } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(CategoryLevelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original category level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoSourceValue.java index 462877e0..c4fb3b73 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoSourceValue.java @@ -19,6 +19,11 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * LmsCreateAssignmentRequestDtoSourceValue + * + *

The original status value from the provider before normalization. + */ @JsonDeserialize(using = LmsCreateAssignmentRequestDtoSourceValue._Deserializer.class) public class LmsCreateAssignmentRequestDtoSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoStatus.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoStatus.java index 1ea7c40b..3ec16659 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoStatus.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoStatus.java @@ -20,12 +20,16 @@ *

The status of the assignment */ public class LmsCreateAssignmentRequestDtoStatus { - + /** + * The StackOne unified assignment status. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * The original status value from the provider before normalization. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +48,18 @@ public LmsCreateAssignmentRequestDtoStatus() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The StackOne unified assignment status. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * The original status value from the provider before normalization. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +71,36 @@ public static Builder builder() { } + /** + * The StackOne unified assignment status. + */ public LmsCreateAssignmentRequestDtoStatus withValue(LmsCreateAssignmentRequestDtoValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified assignment status. + */ public LmsCreateAssignmentRequestDtoStatus withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * The original status value from the provider before normalization. + */ public LmsCreateAssignmentRequestDtoStatus withSourceValue(LmsCreateAssignmentRequestDtoSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original status value from the provider before normalization. + */ public LmsCreateAssignmentRequestDtoStatus withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +146,18 @@ private Builder() { } + /** + * The StackOne unified assignment status. + */ public Builder value(LmsCreateAssignmentRequestDtoValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified assignment status. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +165,18 @@ public Builder value(JsonNullable } + /** + * The original status value from the provider before normalization. + */ public Builder sourceValue(LmsCreateAssignmentRequestDtoSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original status value from the provider before normalization. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoValue.java index 6166140b..a62b55d3 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateAssignmentRequestDtoValue.java @@ -41,6 +41,11 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * LmsCreateAssignmentRequestDtoValue + * + *

The StackOne unified assignment status. + */ @JsonDeserialize(using = LmsCreateAssignmentRequestDtoValue._Deserializer.class) @JsonSerialize(using = LmsCreateAssignmentRequestDtoValue._Serializer.class) public class LmsCreateAssignmentRequestDtoValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoResult.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoResult.java index 30c33ce2..8ab83d31 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoResult.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoResult.java @@ -20,12 +20,16 @@ *

The result of the completion */ public class LmsCreateCompletionRequestDtoResult { - + /** + * The StackOne unified result status. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * The original result status from the provider before normalization. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +48,18 @@ public LmsCreateCompletionRequestDtoResult() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The StackOne unified result status. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * The original result status from the provider before normalization. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +71,36 @@ public static Builder builder() { } + /** + * The StackOne unified result status. + */ public LmsCreateCompletionRequestDtoResult withValue(LmsCreateCompletionRequestDtoValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified result status. + */ public LmsCreateCompletionRequestDtoResult withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * The original result status from the provider before normalization. + */ public LmsCreateCompletionRequestDtoResult withSourceValue(LmsCreateCompletionRequestDtoSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original result status from the provider before normalization. + */ public LmsCreateCompletionRequestDtoResult withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +146,18 @@ private Builder() { } + /** + * The StackOne unified result status. + */ public Builder value(LmsCreateCompletionRequestDtoValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified result status. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +165,18 @@ public Builder value(JsonNullable } + /** + * The original result status from the provider before normalization. + */ public Builder sourceValue(LmsCreateCompletionRequestDtoSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original result status from the provider before normalization. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoSourceValue.java index a568a90e..0a2111bd 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoSourceValue.java @@ -19,6 +19,11 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * LmsCreateCompletionRequestDtoSourceValue + * + *

The original result status from the provider before normalization. + */ @JsonDeserialize(using = LmsCreateCompletionRequestDtoSourceValue._Deserializer.class) public class LmsCreateCompletionRequestDtoSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoValue.java index 21823628..05961416 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateCompletionRequestDtoValue.java @@ -41,6 +41,11 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * LmsCreateCompletionRequestDtoValue + * + *

The StackOne unified result status. + */ @JsonDeserialize(using = LmsCreateCompletionRequestDtoValue._Deserializer.class) @JsonSerialize(using = LmsCreateCompletionRequestDtoValue._Serializer.class) public class LmsCreateCompletionRequestDtoValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoContentType.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoContentType.java index 4e412115..c99c393e 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoContentType.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoContentType.java @@ -20,12 +20,16 @@ *

The type of content */ public class LmsCreateContentRequestDtoContentType { - + /** + * The StackOne unified content type. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * The original value from the provider before normalization. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +48,18 @@ public LmsCreateContentRequestDtoContentType() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The StackOne unified content type. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * The original value from the provider before normalization. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +71,36 @@ public static Builder builder() { } + /** + * The StackOne unified content type. + */ public LmsCreateContentRequestDtoContentType withValue(LmsCreateContentRequestDtoValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified content type. + */ public LmsCreateContentRequestDtoContentType withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * The original value from the provider before normalization. + */ public LmsCreateContentRequestDtoContentType withSourceValue(LmsCreateContentRequestDtoSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original value from the provider before normalization. + */ public LmsCreateContentRequestDtoContentType withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +146,18 @@ private Builder() { } + /** + * The StackOne unified content type. + */ public Builder value(LmsCreateContentRequestDtoValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The StackOne unified content type. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +165,18 @@ public Builder value(JsonNullable val } + /** + * The original value from the provider before normalization. + */ public Builder sourceValue(LmsCreateContentRequestDtoSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The original value from the provider before normalization. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoSourceValue.java index 5fec6940..71e45b5c 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoSourceValue.java @@ -19,6 +19,11 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * LmsCreateContentRequestDtoSourceValue + * + *

The original value from the provider before normalization. + */ @JsonDeserialize(using = LmsCreateContentRequestDtoSourceValue._Deserializer.class) public class LmsCreateContentRequestDtoSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoValue.java index 7ca4875e..3338a791 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsCreateContentRequestDtoValue.java @@ -41,6 +41,11 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * LmsCreateContentRequestDtoValue + * + *

The StackOne unified content type. + */ @JsonDeserialize(using = LmsCreateContentRequestDtoValue._Deserializer.class) @JsonSerialize(using = LmsCreateContentRequestDtoValue._Serializer.class) public class LmsCreateContentRequestDtoValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoContentType.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoContentType.java index 858ddc88..d5c5d0bc 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoContentType.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoContentType.java @@ -20,12 +20,18 @@ *

The type of content */ public class LmsUpsertContentRequestDtoContentType { - + /** + * The content type for write operations. Provide one of the listed enum values. If omitted or set to + * "unmapped_value", the source_value will be sent to the provider instead. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * The provider-specific value to use when value is omitted or set to "unmapped_value". You are + * responsible for ensuring this matches the provider's expected format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +50,20 @@ public LmsUpsertContentRequestDtoContentType() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The content type for write operations. Provide one of the listed enum values. If omitted or set to + * "unmapped_value", the source_value will be sent to the provider instead. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * The provider-specific value to use when value is omitted or set to "unmapped_value". You are + * responsible for ensuring this matches the provider's expected format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +75,40 @@ public static Builder builder() { } + /** + * The content type for write operations. Provide one of the listed enum values. If omitted or set to + * "unmapped_value", the source_value will be sent to the provider instead. + */ public LmsUpsertContentRequestDtoContentType withValue(LmsUpsertContentRequestDtoValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The content type for write operations. Provide one of the listed enum values. If omitted or set to + * "unmapped_value", the source_value will be sent to the provider instead. + */ public LmsUpsertContentRequestDtoContentType withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * The provider-specific value to use when value is omitted or set to "unmapped_value". You are + * responsible for ensuring this matches the provider's expected format. + */ public LmsUpsertContentRequestDtoContentType withSourceValue(LmsUpsertContentRequestDtoSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The provider-specific value to use when value is omitted or set to "unmapped_value". You are + * responsible for ensuring this matches the provider's expected format. + */ public LmsUpsertContentRequestDtoContentType withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +154,20 @@ private Builder() { } + /** + * The content type for write operations. Provide one of the listed enum values. If omitted or set to + * "unmapped_value", the source_value will be sent to the provider instead. + */ public Builder value(LmsUpsertContentRequestDtoValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The content type for write operations. Provide one of the listed enum values. If omitted or set to + * "unmapped_value", the source_value will be sent to the provider instead. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +175,20 @@ public Builder value(JsonNullable val } + /** + * The provider-specific value to use when value is omitted or set to "unmapped_value". You are + * responsible for ensuring this matches the provider's expected format. + */ public Builder sourceValue(LmsUpsertContentRequestDtoSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * The provider-specific value to use when value is omitted or set to "unmapped_value". You are + * responsible for ensuring this matches the provider's expected format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoSourceValue.java index fe98a80a..084893c7 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoSourceValue.java @@ -19,6 +19,12 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * LmsUpsertContentRequestDtoSourceValue + * + *

The provider-specific value to use when value is omitted or set to "unmapped_value". You are + * responsible for ensuring this matches the provider's expected format. + */ @JsonDeserialize(using = LmsUpsertContentRequestDtoSourceValue._Deserializer.class) public class LmsUpsertContentRequestDtoSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoValue.java index ceb18f1d..f9d5aeb5 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LmsUpsertContentRequestDtoValue.java @@ -41,6 +41,12 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * LmsUpsertContentRequestDtoValue + * + *

The content type for write operations. Provide one of the listed enum values. If omitted or set to + * "unmapped_value", the source_value will be sent to the provider instead. + */ @JsonDeserialize(using = LmsUpsertContentRequestDtoValue._Deserializer.class) @JsonSerialize(using = LmsUpsertContentRequestDtoValue._Serializer.class) public class LmsUpsertContentRequestDtoValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelLanguage.java b/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelLanguage.java index 7cc28f47..3761c2ff 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelLanguage.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelLanguage.java @@ -21,13 +21,18 @@ */ public class LocalizationModelLanguage { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -47,7 +52,8 @@ public LocalizationModelLanguage() { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @SuppressWarnings("unchecked") @JsonIgnore @@ -55,6 +61,11 @@ public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -67,7 +78,8 @@ public static Builder builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public LocalizationModelLanguage withValue(LocalizationModelValue value) { Utils.checkNotNull(value, "value"); @@ -76,7 +88,8 @@ public LocalizationModelLanguage withValue(LocalizationModelValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public LocalizationModelLanguage withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -84,12 +97,22 @@ public LocalizationModelLanguage withValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -136,7 +159,8 @@ private Builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(LocalizationModelValue value) { Utils.checkNotNull(value, "value"); @@ -145,7 +169,8 @@ public Builder value(LocalizationModelValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -154,12 +179,22 @@ public Builder value(JsonNullable value) { } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(LocalizationModelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelSourceValue.java index 33d3d57f..143f130e 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * LocalizationModelSourceValue + * + *

For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = LocalizationModelSourceValue._Deserializer.class) public class LocalizationModelSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelValue.java index c6ba849b..9f72844c 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/LocalizationModelValue.java @@ -44,7 +44,8 @@ /** * LocalizationModelValue * - *

The Locale Code of the language + *

The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonDeserialize(using = LocalizationModelValue._Deserializer.class) @JsonSerialize(using = LocalizationModelValue._Serializer.class) diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/PatchAccountExternalDto.java b/src/main/java/com/stackone/stackone_client_java/models/components/PatchAccountExternalDto.java index b6061744..6b4885e6 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/PatchAccountExternalDto.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/PatchAccountExternalDto.java @@ -8,8 +8,6 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.core.type.TypeReference; -import com.stackone.stackone_client_java.utils.LazySingletonValue; import com.stackone.stackone_client_java.utils.Utils; import java.lang.Override; import java.lang.String; @@ -426,7 +424,7 @@ public final static class Builder { private JsonNullable metadata = JsonNullable.undefined(); - private JsonNullable type; + private JsonNullable type = JsonNullable.undefined(); private Builder() { // force use of static builder() method @@ -595,9 +593,6 @@ public Builder type(JsonNullable type) { } public PatchAccountExternalDto build() { - if (type == null) { - type = _SINGLETON_VALUE_Type.value(); - } return new PatchAccountExternalDto( provider, originOwnerId, originOwnerName, @@ -606,11 +601,5 @@ public PatchAccountExternalDto build() { label, metadata, type); } - - private static final LazySingletonValue> _SINGLETON_VALUE_Type = - new LazySingletonValue<>( - "type", - "\"production\"", - new TypeReference>() {}); } } diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/EmploymentDurationUnit.java b/src/main/java/com/stackone/stackone_client_java/models/components/Period.java similarity index 85% rename from src/main/java/com/stackone/stackone_client_java/models/components/EmploymentDurationUnit.java rename to src/main/java/com/stackone/stackone_client_java/models/components/Period.java index 21469450..1c784c9e 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/EmploymentDurationUnit.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/Period.java @@ -15,11 +15,11 @@ import org.openapitools.jackson.nullable.JsonNullable; /** - * EmploymentDurationUnit + * Period * - *

The duration unit of the work time + *

The period of the work time */ -public class EmploymentDurationUnit { +public class Period { /** * The unified value for the period. */ @@ -33,7 +33,7 @@ public class EmploymentDurationUnit { private JsonNullable sourceValue; @JsonCreator - public EmploymentDurationUnit( + public Period( @JsonProperty("value") JsonNullable value, @JsonProperty("source_value") JsonNullable sourceValue) { Utils.checkNotNull(value, "value"); @@ -42,7 +42,7 @@ public EmploymentDurationUnit( this.sourceValue = sourceValue; } - public EmploymentDurationUnit() { + public Period() { this(JsonNullable.undefined(), JsonNullable.undefined()); } @@ -69,7 +69,7 @@ public static Builder builder() { /** * The unified value for the period. */ - public EmploymentDurationUnit withValue(EmploymentWorkTimeValue value) { + public Period withValue(EmploymentWorkTimeValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; @@ -78,19 +78,19 @@ public EmploymentDurationUnit withValue(EmploymentWorkTimeValue value) { /** * The unified value for the period. */ - public EmploymentDurationUnit withValue(JsonNullable value) { + public Period withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } - public EmploymentDurationUnit withSourceValue(EmploymentWorkTimeSourceValue sourceValue) { + public Period withSourceValue(EmploymentWorkTimeSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } - public EmploymentDurationUnit withSourceValue(JsonNullable sourceValue) { + public Period withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; return this; @@ -104,7 +104,7 @@ public boolean equals(java.lang.Object o) { if (o == null || getClass() != o.getClass()) { return false; } - EmploymentDurationUnit other = (EmploymentDurationUnit) o; + Period other = (Period) o; return Utils.enhancedDeepEquals(this.value, other.value) && Utils.enhancedDeepEquals(this.sourceValue, other.sourceValue); @@ -118,7 +118,7 @@ public int hashCode() { @Override public String toString() { - return Utils.toString(EmploymentDurationUnit.class, + return Utils.toString(Period.class, "value", value, "sourceValue", sourceValue); } @@ -166,9 +166,9 @@ public Builder sourceValue(JsonNullable return this; } - public EmploymentDurationUnit build() { + public Period build() { - return new EmploymentDurationUnit( + return new Period( value, sourceValue); } diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsHierarchy.java b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsHierarchy.java index 5fa1804d..35338b88 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsHierarchy.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsHierarchy.java @@ -20,12 +20,19 @@ *

The hierarchal level of the skill */ public class SkillsHierarchy { - + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -44,12 +51,21 @@ public SkillsHierarchy() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -61,24 +77,42 @@ public static Builder builder() { } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public SkillsHierarchy withValue(SkillsValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public SkillsHierarchy withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public SkillsHierarchy withSourceValue(SkillsSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public SkillsHierarchy withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -124,12 +158,20 @@ private Builder() { } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public Builder value(SkillsValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -137,12 +179,22 @@ public Builder value(JsonNullable value) { } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(SkillsSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguage.java b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguage.java index 8d25fe51..0e237224 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguage.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguage.java @@ -21,13 +21,18 @@ */ public class SkillsLanguage { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -47,7 +52,8 @@ public SkillsLanguage() { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @SuppressWarnings("unchecked") @JsonIgnore @@ -55,6 +61,11 @@ public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -67,7 +78,8 @@ public static Builder builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public SkillsLanguage withValue(SkillsLanguageValue value) { Utils.checkNotNull(value, "value"); @@ -76,7 +88,8 @@ public SkillsLanguage withValue(SkillsLanguageValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public SkillsLanguage withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -84,12 +97,22 @@ public SkillsLanguage withValue(JsonNullable valu return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public SkillsLanguage withSourceValue(SkillsLanguageSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public SkillsLanguage withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -136,7 +159,8 @@ private Builder() { /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(SkillsLanguageValue value) { Utils.checkNotNull(value, "value"); @@ -145,7 +169,8 @@ public Builder value(SkillsLanguageValue value) { } /** - * The Locale Code of the language + * The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); @@ -154,12 +179,22 @@ public Builder value(JsonNullable value) { } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(SkillsLanguageSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguageSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguageSourceValue.java index f96be2c8..d0818a9b 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguageSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguageSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * SkillsLanguageSourceValue + * + *

For read operations: the original language code from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = SkillsLanguageSourceValue._Deserializer.class) public class SkillsLanguageSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguageValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguageValue.java index 0c930d83..7a7cf22f 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguageValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLanguageValue.java @@ -44,7 +44,8 @@ /** * SkillsLanguageValue * - *

The Locale Code of the language + *

The unified locale code. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. */ @JsonDeserialize(using = SkillsLanguageValue._Deserializer.class) @JsonSerialize(using = SkillsLanguageValue._Serializer.class) diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevel.java b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevel.java index 92446ef1..247c72e2 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevel.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevel.java @@ -24,12 +24,19 @@ */ @Deprecated public class SkillsLevel { - + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("value") private JsonNullable value; - + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("source_value") private JsonNullable sourceValue; @@ -48,12 +55,21 @@ public SkillsLevel() { this(JsonNullable.undefined(), JsonNullable.undefined()); } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable value() { return (JsonNullable) value; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @SuppressWarnings("unchecked") @JsonIgnore public JsonNullable sourceValue() { @@ -65,24 +81,42 @@ public static Builder builder() { } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public SkillsLevel withValue(SkillsLevelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public SkillsLevel withValue(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public SkillsLevel withSourceValue(SkillsLevelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public SkillsLevel withSourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; @@ -128,12 +162,20 @@ private Builder() { } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public Builder value(SkillsLevelValue value) { Utils.checkNotNull(value, "value"); this.value = JsonNullable.of(value); return this; } + /** + * The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ public Builder value(JsonNullable value) { Utils.checkNotNull(value, "value"); this.value = value; @@ -141,12 +183,22 @@ public Builder value(JsonNullable value) { } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(SkillsLevelSourceValue sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = JsonNullable.of(sourceValue); return this; } + /** + * For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ public Builder sourceValue(JsonNullable sourceValue) { Utils.checkNotNull(sourceValue, "sourceValue"); this.sourceValue = sourceValue; diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevelSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevelSourceValue.java index af0c9664..acbff165 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevelSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevelSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * SkillsLevelSourceValue + * + *

For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = SkillsLevelSourceValue._Deserializer.class) public class SkillsLevelSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevelValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevelValue.java index 42ae7f8b..ab4d2e01 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevelValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsLevelValue.java @@ -41,6 +41,12 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * SkillsLevelValue + * + *

The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @JsonDeserialize(using = SkillsLevelValue._Deserializer.class) @JsonSerialize(using = SkillsLevelValue._Serializer.class) public class SkillsLevelValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsSourceValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsSourceValue.java index 65a05d17..7fdfbf8c 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsSourceValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsSourceValue.java @@ -19,6 +19,13 @@ import java.lang.SuppressWarnings; import java.util.List; +/** + * SkillsSourceValue + * + *

For read operations: the original skill level from the provider. For write operations: fallback + * value used when value is omitted or "unmapped_value". You must ensure this matches the provider's + * format. + */ @JsonDeserialize(using = SkillsSourceValue._Deserializer.class) public class SkillsSourceValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsValue.java b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsValue.java index 448dd2ba..8d88ee0e 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/SkillsValue.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/SkillsValue.java @@ -41,6 +41,12 @@ * use the {@code asEnum()} method (after dealing with the `Optional` appropriately). * */ +/** + * SkillsValue + * + *

The unified skill level. For write operations: provide one of the listed enum values, or omit/set to + * "unmapped_value" to use source_value instead. + */ @JsonDeserialize(using = SkillsValue._Deserializer.class) @JsonSerialize(using = SkillsValue._Serializer.class) public class SkillsValue { diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/TimeOffBalances.java b/src/main/java/com/stackone/stackone_client_java/models/components/TimeOffBalances.java index d2794c58..3e7bbf66 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/TimeOffBalances.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/TimeOffBalances.java @@ -103,6 +103,13 @@ public class TimeOffBalances { @JsonProperty("balance_expiry_date") private JsonNullable balanceExpiryDate; + /** + * Indicates if this time off balance represents unlimited leave + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("is_unlimited") + private JsonNullable isUnlimited; + /** * The updated_at date of this time off balance */ @@ -124,6 +131,7 @@ public TimeOffBalances( @JsonProperty("balance_unit") JsonNullable balanceUnit, @JsonProperty("balance_start_date") JsonNullable balanceStartDate, @JsonProperty("balance_expiry_date") JsonNullable balanceExpiryDate, + @JsonProperty("is_unlimited") JsonNullable isUnlimited, @JsonProperty("updated_at") JsonNullable updatedAt) { Utils.checkNotNull(id, "id"); Utils.checkNotNull(remoteId, "remoteId"); @@ -137,6 +145,7 @@ public TimeOffBalances( Utils.checkNotNull(balanceUnit, "balanceUnit"); Utils.checkNotNull(balanceStartDate, "balanceStartDate"); Utils.checkNotNull(balanceExpiryDate, "balanceExpiryDate"); + Utils.checkNotNull(isUnlimited, "isUnlimited"); Utils.checkNotNull(updatedAt, "updatedAt"); this.id = id; this.remoteId = remoteId; @@ -150,6 +159,7 @@ public TimeOffBalances( this.balanceUnit = balanceUnit; this.balanceStartDate = balanceStartDate; this.balanceExpiryDate = balanceExpiryDate; + this.isUnlimited = isUnlimited; this.updatedAt = updatedAt; } @@ -158,7 +168,7 @@ public TimeOffBalances() { JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), - JsonNullable.undefined()); + JsonNullable.undefined(), JsonNullable.undefined()); } /** @@ -260,6 +270,15 @@ public JsonNullable balanceExpiryDate() { return balanceExpiryDate; } + /** + * Indicates if this time off balance represents unlimited leave + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public JsonNullable isUnlimited() { + return (JsonNullable) isUnlimited; + } + /** * The updated_at date of this time off balance */ @@ -491,6 +510,24 @@ public TimeOffBalances withBalanceExpiryDate(JsonNullable balanc return this; } + /** + * Indicates if this time off balance represents unlimited leave + */ + public TimeOffBalances withIsUnlimited(IsUnlimited isUnlimited) { + Utils.checkNotNull(isUnlimited, "isUnlimited"); + this.isUnlimited = JsonNullable.of(isUnlimited); + return this; + } + + /** + * Indicates if this time off balance represents unlimited leave + */ + public TimeOffBalances withIsUnlimited(JsonNullable isUnlimited) { + Utils.checkNotNull(isUnlimited, "isUnlimited"); + this.isUnlimited = isUnlimited; + return this; + } + /** * The updated_at date of this time off balance */ @@ -531,6 +568,7 @@ public boolean equals(java.lang.Object o) { Utils.enhancedDeepEquals(this.balanceUnit, other.balanceUnit) && Utils.enhancedDeepEquals(this.balanceStartDate, other.balanceStartDate) && Utils.enhancedDeepEquals(this.balanceExpiryDate, other.balanceExpiryDate) && + Utils.enhancedDeepEquals(this.isUnlimited, other.isUnlimited) && Utils.enhancedDeepEquals(this.updatedAt, other.updatedAt); } @@ -541,7 +579,7 @@ public int hashCode() { remoteEmployeeId, policyId, remotePolicyId, policy, currentBalance, initialBalance, balanceUnit, balanceStartDate, balanceExpiryDate, - updatedAt); + isUnlimited, updatedAt); } @Override @@ -559,6 +597,7 @@ public String toString() { "balanceUnit", balanceUnit, "balanceStartDate", balanceStartDate, "balanceExpiryDate", balanceExpiryDate, + "isUnlimited", isUnlimited, "updatedAt", updatedAt); } @@ -589,6 +628,8 @@ public final static class Builder { private JsonNullable balanceExpiryDate = JsonNullable.undefined(); + private JsonNullable isUnlimited = JsonNullable.undefined(); + private JsonNullable updatedAt = JsonNullable.undefined(); private Builder() { @@ -826,6 +867,25 @@ public Builder balanceExpiryDate(JsonNullable balanceExpiryDate) } + /** + * Indicates if this time off balance represents unlimited leave + */ + public Builder isUnlimited(IsUnlimited isUnlimited) { + Utils.checkNotNull(isUnlimited, "isUnlimited"); + this.isUnlimited = JsonNullable.of(isUnlimited); + return this; + } + + /** + * Indicates if this time off balance represents unlimited leave + */ + public Builder isUnlimited(JsonNullable isUnlimited) { + Utils.checkNotNull(isUnlimited, "isUnlimited"); + this.isUnlimited = isUnlimited; + return this; + } + + /** * The updated_at date of this time off balance */ @@ -851,7 +911,7 @@ public TimeOffBalances build() { remoteEmployeeId, policyId, remotePolicyId, policy, currentBalance, initialBalance, balanceUnit, balanceStartDate, balanceExpiryDate, - updatedAt); + isUnlimited, updatedAt); } } diff --git a/src/main/java/com/stackone/stackone_client_java/models/components/WorkTime.java b/src/main/java/com/stackone/stackone_client_java/models/components/WorkTime.java index 18d74090..3100d6be 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/components/WorkTime.java +++ b/src/main/java/com/stackone/stackone_client_java/models/components/WorkTime.java @@ -24,20 +24,20 @@ public class WorkTime { private JsonNullable duration; /** - * The duration unit of the work time + * The period of the work time */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("duration_unit") - private JsonNullable durationUnit; + @JsonProperty("period") + private JsonNullable period; @JsonCreator public WorkTime( @JsonProperty("duration") JsonNullable duration, - @JsonProperty("duration_unit") JsonNullable durationUnit) { + @JsonProperty("period") JsonNullable period) { Utils.checkNotNull(duration, "duration"); - Utils.checkNotNull(durationUnit, "durationUnit"); + Utils.checkNotNull(period, "period"); this.duration = duration; - this.durationUnit = durationUnit; + this.period = period; } public WorkTime() { @@ -53,12 +53,12 @@ public JsonNullable duration() { } /** - * The duration unit of the work time + * The period of the work time */ @SuppressWarnings("unchecked") @JsonIgnore - public JsonNullable durationUnit() { - return (JsonNullable) durationUnit; + public JsonNullable period() { + return (JsonNullable) period; } public static Builder builder() { @@ -85,20 +85,20 @@ public WorkTime withDuration(JsonNullable duration) { } /** - * The duration unit of the work time + * The period of the work time */ - public WorkTime withDurationUnit(EmploymentDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public WorkTime withPeriod(Period period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public WorkTime withDurationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public WorkTime withPeriod(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } @@ -113,20 +113,20 @@ public boolean equals(java.lang.Object o) { WorkTime other = (WorkTime) o; return Utils.enhancedDeepEquals(this.duration, other.duration) && - Utils.enhancedDeepEquals(this.durationUnit, other.durationUnit); + Utils.enhancedDeepEquals(this.period, other.period); } @Override public int hashCode() { return Utils.enhancedHash( - duration, durationUnit); + duration, period); } @Override public String toString() { return Utils.toString(WorkTime.class, "duration", duration, - "durationUnit", durationUnit); + "period", period); } @SuppressWarnings("UnusedReturnValue") @@ -134,7 +134,7 @@ public final static class Builder { private JsonNullable duration = JsonNullable.undefined(); - private JsonNullable durationUnit = JsonNullable.undefined(); + private JsonNullable period = JsonNullable.undefined(); private Builder() { // force use of static builder() method @@ -161,27 +161,27 @@ public Builder duration(JsonNullable duration) { /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(EmploymentDurationUnit durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = JsonNullable.of(durationUnit); + public Builder period(Period period) { + Utils.checkNotNull(period, "period"); + this.period = JsonNullable.of(period); return this; } /** - * The duration unit of the work time + * The period of the work time */ - public Builder durationUnit(JsonNullable durationUnit) { - Utils.checkNotNull(durationUnit, "durationUnit"); - this.durationUnit = durationUnit; + public Builder period(JsonNullable period) { + Utils.checkNotNull(period, "period"); + this.period = period; return this; } public WorkTime build() { return new WorkTime( - duration, durationUnit); + duration, period); } } diff --git a/src/main/java/com/stackone/stackone_client_java/models/operations/AtsListApplicationsQueryParamFilter.java b/src/main/java/com/stackone/stackone_client_java/models/operations/AtsListApplicationsQueryParamFilter.java index ee68eb52..71776fe6 100644 --- a/src/main/java/com/stackone/stackone_client_java/models/operations/AtsListApplicationsQueryParamFilter.java +++ b/src/main/java/com/stackone/stackone_client_java/models/operations/AtsListApplicationsQueryParamFilter.java @@ -42,25 +42,34 @@ public class AtsListApplicationsQueryParamFilter { @SpeakeasyMetadata("queryParam:name=stage") private JsonNullable stage; + /** + * Filter to select applications by application_stage_id + */ + @SpeakeasyMetadata("queryParam:name=application_stage_id") + private JsonNullable applicationStageId; + @JsonCreator public AtsListApplicationsQueryParamFilter( JsonNullable updatedAfter, JsonNullable createdAfter, JsonNullable jobId, - JsonNullable stage) { + JsonNullable stage, + JsonNullable applicationStageId) { Utils.checkNotNull(updatedAfter, "updatedAfter"); Utils.checkNotNull(createdAfter, "createdAfter"); Utils.checkNotNull(jobId, "jobId"); Utils.checkNotNull(stage, "stage"); + Utils.checkNotNull(applicationStageId, "applicationStageId"); this.updatedAfter = updatedAfter; this.createdAfter = createdAfter; this.jobId = jobId; this.stage = stage; + this.applicationStageId = applicationStageId; } public AtsListApplicationsQueryParamFilter() { this(JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), - JsonNullable.undefined()); + JsonNullable.undefined(), JsonNullable.undefined()); } /** @@ -95,6 +104,14 @@ public JsonNullable stage() { return stage; } + /** + * Filter to select applications by application_stage_id + */ + @JsonIgnore + public JsonNullable applicationStageId() { + return applicationStageId; + } + public static Builder builder() { return new Builder(); } @@ -172,6 +189,24 @@ public AtsListApplicationsQueryParamFilter withStage(JsonNullable stage) return this; } + /** + * Filter to select applications by application_stage_id + */ + public AtsListApplicationsQueryParamFilter withApplicationStageId(String applicationStageId) { + Utils.checkNotNull(applicationStageId, "applicationStageId"); + this.applicationStageId = JsonNullable.of(applicationStageId); + return this; + } + + /** + * Filter to select applications by application_stage_id + */ + public AtsListApplicationsQueryParamFilter withApplicationStageId(JsonNullable applicationStageId) { + Utils.checkNotNull(applicationStageId, "applicationStageId"); + this.applicationStageId = applicationStageId; + return this; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -185,14 +220,15 @@ public boolean equals(java.lang.Object o) { Utils.enhancedDeepEquals(this.updatedAfter, other.updatedAfter) && Utils.enhancedDeepEquals(this.createdAfter, other.createdAfter) && Utils.enhancedDeepEquals(this.jobId, other.jobId) && - Utils.enhancedDeepEquals(this.stage, other.stage); + Utils.enhancedDeepEquals(this.stage, other.stage) && + Utils.enhancedDeepEquals(this.applicationStageId, other.applicationStageId); } @Override public int hashCode() { return Utils.enhancedHash( updatedAfter, createdAfter, jobId, - stage); + stage, applicationStageId); } @Override @@ -201,7 +237,8 @@ public String toString() { "updatedAfter", updatedAfter, "createdAfter", createdAfter, "jobId", jobId, - "stage", stage); + "stage", stage, + "applicationStageId", applicationStageId); } @SuppressWarnings("UnusedReturnValue") @@ -215,6 +252,8 @@ public final static class Builder { private JsonNullable stage = JsonNullable.undefined(); + private JsonNullable applicationStageId = JsonNullable.undefined(); + private Builder() { // force use of static builder() method } @@ -295,11 +334,30 @@ public Builder stage(JsonNullable stage) { return this; } + + /** + * Filter to select applications by application_stage_id + */ + public Builder applicationStageId(String applicationStageId) { + Utils.checkNotNull(applicationStageId, "applicationStageId"); + this.applicationStageId = JsonNullable.of(applicationStageId); + return this; + } + + /** + * Filter to select applications by application_stage_id + */ + public Builder applicationStageId(JsonNullable applicationStageId) { + Utils.checkNotNull(applicationStageId, "applicationStageId"); + this.applicationStageId = applicationStageId; + return this; + } + public AtsListApplicationsQueryParamFilter build() { return new AtsListApplicationsQueryParamFilter( updatedAfter, createdAfter, jobId, - stage); + stage, applicationStageId); } } diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AccountingBatchCreateCompanyJournals.java b/src/main/java/com/stackone/stackone_client_java/operations/AccountingBatchCreateCompanyJournals.java index 9e877d9d..0a3424ef 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AccountingBatchCreateCompanyJournals.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AccountingBatchCreateCompanyJournals.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "accounting_batch_create_company_journals", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "accounting_batch_create_company_journals", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "accounting_batch_create_company_journals", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AccountingCreateCompanyJournal.java b/src/main/java/com/stackone/stackone_client_java/operations/AccountingCreateCompanyJournal.java index 8a334a00..77e33035 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AccountingCreateCompanyJournal.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AccountingCreateCompanyJournal.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "accounting_create_company_journal", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "accounting_create_company_journal", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "accounting_create_company_journal", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompany.java b/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompany.java index 3c8280a2..33bd8d59 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompany.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompany.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyAccount.java b/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyAccount.java index 683ffc7b..9452a14c 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyAccount.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyAccount.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyJournal.java b/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyJournal.java index 561bf442..97e07f2b 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyJournal.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyJournal.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company_journal", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company_journal", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company_journal", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyTaxRate.java b/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyTaxRate.java index b66a3ba4..7ddd9fb1 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyTaxRate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AccountingGetCompanyTaxRate.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company_tax_rate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company_tax_rate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "accounting_get_company_tax_rate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanies.java b/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanies.java index 97d27a87..db4b2fe6 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanies.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanies.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_companies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_companies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_companies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyAccounts.java b/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyAccounts.java index a86a527b..01950236 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyAccounts.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyAccounts.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_company_accounts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_company_accounts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_company_accounts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyJournals.java b/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyJournals.java index 1a6fe67e..1c825d34 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyJournals.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyJournals.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_company_journals", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_company_journals", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_company_journals", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyTaxRates.java b/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyTaxRates.java index 2b42b87d..0f0935d2 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyTaxRates.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AccountingListCompanyTaxRates.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_company_tax_rates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_company_tax_rates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "accounting_list_company_tax_rates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateApplication.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateApplication.java index 3b716898..3a323281 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateApplication.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateApplication.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_create_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_create_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_create_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateApplicationNote.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateApplicationNote.java index 8a96394c..8d1ed615 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateApplicationNote.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateApplicationNote.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_create_application_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_create_application_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_create_application_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateBackgroundCheckPackage.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateBackgroundCheckPackage.java index dab467e7..31ffba89 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateBackgroundCheckPackage.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateBackgroundCheckPackage.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_create_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_create_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_create_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateCandidate.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateCandidate.java index c6b77260..67e257f8 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateCandidate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateCandidate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_create_candidate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_create_candidate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_create_candidate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateCandidateNote.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateCandidateNote.java index 87d4e1fb..2b035be3 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateCandidateNote.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateCandidateNote.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_create_candidate_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_create_candidate_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_create_candidate_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateJob.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateJob.java index cc886ca4..138136cb 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateJob.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateJob.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_create_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_create_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_create_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateOffer.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateOffer.java index 727e9b1c..dbdda566 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateOffer.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsCreateOffer.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_create_offer", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_create_offer", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_create_offer", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsDeleteBackgroundCheckPackage.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsDeleteBackgroundCheckPackage.java index cc927682..58cfcb9e 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsDeleteBackgroundCheckPackage.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsDeleteBackgroundCheckPackage.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_delete_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_delete_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_delete_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsDownloadApplicationDocument.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsDownloadApplicationDocument.java index bd2185a9..1680cc44 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsDownloadApplicationDocument.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsDownloadApplicationDocument.java @@ -100,7 +100,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_download_application_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -109,7 +109,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_download_application_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -118,7 +118,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_download_application_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplication.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplication.java index d72f3a93..83737110 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplication.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplication.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationCustomFieldDefinition.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationCustomFieldDefinition.java index 227fefa5..c3105a17 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationCustomFieldDefinition.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationCustomFieldDefinition.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationDocument.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationDocument.java index 95b4b770..433e4b97 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationDocument.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationDocument.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationDocumentCategory.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationDocumentCategory.java index 2dca804a..3639a568 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationDocumentCategory.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationDocumentCategory.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_document_category", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_document_category", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_document_category", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationNote.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationNote.java index ddd95f67..02112812 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationNote.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationNote.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationOffer.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationOffer.java index fa08d5e9..cef770b6 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationOffer.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationOffer.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_offer", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_offer", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_offer", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationScheduledInterview.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationScheduledInterview.java index f298b463..db4d87f9 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationScheduledInterview.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationScheduledInterview.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_scheduled_interview", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_scheduled_interview", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_scheduled_interview", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationScorecard.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationScorecard.java index 337295f4..2b66e2e6 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationScorecard.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationScorecard.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_scorecard", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_scorecard", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_scorecard", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationStage.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationStage.java index d9829cda..fa395eda 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationStage.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetApplicationStage.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_stage", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_stage", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_application_stage", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetAssessmentsPackage.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetAssessmentsPackage.java index 91acf6bb..91bb53af 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetAssessmentsPackage.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetAssessmentsPackage.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_assessments_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_assessments_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_assessments_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetBackgroundCheckPackage.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetBackgroundCheckPackage.java index ca2b514c..514b8cad 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetBackgroundCheckPackage.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetBackgroundCheckPackage.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidate.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidate.java index 688b3480..7c34419d 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidate.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_candidate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_candidate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_candidate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidateCustomFieldDefinition.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidateCustomFieldDefinition.java index 2849222e..73b7ce37 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidateCustomFieldDefinition.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidateCustomFieldDefinition.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_candidate_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_candidate_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_candidate_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidateNote.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidateNote.java index 128def7d..76854d02 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidateNote.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetCandidateNote.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_candidate_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_candidate_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_candidate_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetDepartment.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetDepartment.java index 2b8cf818..37aa2914 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetDepartment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetDepartment.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_department", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_department", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_department", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetInterview.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetInterview.java index 9e88379e..ac6f95e3 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetInterview.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetInterview.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_interview", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_interview", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_interview", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetInterviewStage.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetInterviewStage.java index bffc1ff2..b73fc808 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetInterviewStage.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetInterviewStage.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_interview_stage", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_interview_stage", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_interview_stage", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJob.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJob.java index abc8d476..fe236ec2 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJob.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJob.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobApplicationStage.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobApplicationStage.java index 825cff73..4996e42c 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobApplicationStage.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobApplicationStage.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job_application_stage", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job_application_stage", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job_application_stage", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobCustomFieldDefinition.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobCustomFieldDefinition.java index 1a9216e0..13fd2309 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobCustomFieldDefinition.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobCustomFieldDefinition.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobPosting.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobPosting.java index 0868a6ee..f9cdfabc 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobPosting.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetJobPosting.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job_posting", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job_posting", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_job_posting", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetList.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetList.java index 07097535..9c4b5b34 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetList.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetList.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_list", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_list", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_list", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetLocation.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetLocation.java index 2ef2469f..0713216f 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetLocation.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetLocation.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_location", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_location", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_location", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetOffer.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetOffer.java index cf74c450..e9f9f3e7 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetOffer.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetOffer.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_offer", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_offer", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_offer", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetRejectedReason.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetRejectedReason.java index 1ccbfc70..c5777c2c 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetRejectedReason.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetRejectedReason.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_rejected_reason", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_rejected_reason", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_rejected_reason", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetUser.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetUser.java index fbd7e3c0..aaf95aa5 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsGetUser.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsGetUser.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationChanges.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationChanges.java index 54273b45..5206800f 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationChanges.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationChanges.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_changes", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_changes", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_changes", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationCustomFieldDefinitions.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationCustomFieldDefinitions.java index 91ee7f83..0eb2527d 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationCustomFieldDefinitions.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationCustomFieldDefinitions.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationDocumentCategories.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationDocumentCategories.java index 96a88cc7..0411c58a 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationDocumentCategories.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationDocumentCategories.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_document_categories", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_document_categories", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_document_categories", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationDocuments.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationDocuments.java index 6bf45f66..51786dd8 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationDocuments.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationDocuments.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_documents", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_documents", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_documents", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationNotes.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationNotes.java index e23f0bbd..95482c8d 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationNotes.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationNotes.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_notes", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_notes", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_notes", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationScorecards.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationScorecards.java index 620e8afd..772230a1 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationScorecards.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationScorecards.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_scorecards", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_scorecards", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_scorecards", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationStages.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationStages.java index ba08f151..0263ed69 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationStages.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationStages.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_stages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_stages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_application_stages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplications.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplications.java index b1417d38..6bb67631 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplications.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplications.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_applications", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_applications", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_applications", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationsOffers.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationsOffers.java index 7ed8aa2f..97059a1d 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationsOffers.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationsOffers.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_applications_offers", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_applications_offers", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_applications_offers", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationsScheduledInterviews.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationsScheduledInterviews.java index c13b74be..7c4bdcc4 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationsScheduledInterviews.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListApplicationsScheduledInterviews.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_applications_scheduled_interviews", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_applications_scheduled_interviews", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_applications_scheduled_interviews", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListAssessmentsPackages.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListAssessmentsPackages.java index 249d4de4..0680493f 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListAssessmentsPackages.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListAssessmentsPackages.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_assessments_packages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_assessments_packages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_assessments_packages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListBackgroundCheckPackages.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListBackgroundCheckPackages.java index e30fb588..ddf3a3c5 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListBackgroundCheckPackages.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListBackgroundCheckPackages.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_background_check_packages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_background_check_packages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_background_check_packages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidateCustomFieldDefinitions.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidateCustomFieldDefinitions.java index a6cc3e0d..3ec9d6d5 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidateCustomFieldDefinitions.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidateCustomFieldDefinitions.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_candidate_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_candidate_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_candidate_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidateNotes.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidateNotes.java index 9a6865fa..9ea0a399 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidateNotes.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidateNotes.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_candidate_notes", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_candidate_notes", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_candidate_notes", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidates.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidates.java index c7fa81aa..df106edb 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidates.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListCandidates.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_candidates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_candidates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_candidates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListDepartments.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListDepartments.java index 8a58765f..a9b671c7 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListDepartments.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListDepartments.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_departments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_departments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_departments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListInterviewStages.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListInterviewStages.java index 266f5c40..5988ee2b 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListInterviewStages.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListInterviewStages.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_interview_stages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_interview_stages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_interview_stages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListInterviews.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListInterviews.java index 9b5f2129..5712d840 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListInterviews.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListInterviews.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_interviews", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_interviews", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_interviews", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobApplicationStages.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobApplicationStages.java index 009f8de6..d267e251 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobApplicationStages.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobApplicationStages.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_job_application_stages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_job_application_stages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_job_application_stages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobCustomFieldDefinitions.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobCustomFieldDefinitions.java index 4cb40233..538b94c1 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobCustomFieldDefinitions.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobCustomFieldDefinitions.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_job_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_job_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_job_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobPostings.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobPostings.java index ec4e97b4..bacf70e7 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobPostings.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobPostings.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_job_postings", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_job_postings", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_job_postings", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobs.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobs.java index 70069f25..53d817b5 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobs.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListJobs.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_jobs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_jobs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_jobs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListLists.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListLists.java index 55ff7b2a..48243c1d 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListLists.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListLists.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_lists", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_lists", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_lists", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListLocations.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListLocations.java index 38f4c60b..ec984ebd 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListLocations.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListLocations.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_locations", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_locations", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_locations", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListOffers.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListOffers.java index 62e30e75..76f3d9de 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListOffers.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListOffers.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_offers", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_offers", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_offers", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListRejectedReasons.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListRejectedReasons.java index 4855b166..332649dd 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListRejectedReasons.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListRejectedReasons.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_rejected_reasons", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_rejected_reasons", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_rejected_reasons", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsListUsers.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsListUsers.java index 05ca0623..84304737 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsListUsers.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsListUsers.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsMoveApplication.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsMoveApplication.java index 43da31f6..ee416547 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsMoveApplication.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsMoveApplication.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_move_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_move_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_move_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsOrderAssessmentsRequest.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsOrderAssessmentsRequest.java index 85c9fa8e..7bd0eee8 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsOrderAssessmentsRequest.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsOrderAssessmentsRequest.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_order_assessments_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_order_assessments_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_order_assessments_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsOrderBackgroundCheckRequest.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsOrderBackgroundCheckRequest.java index a4cc6de8..b4dfd74c 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsOrderBackgroundCheckRequest.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsOrderBackgroundCheckRequest.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_order_background_check_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_order_background_check_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_order_background_check_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsRejectApplication.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsRejectApplication.java index 87df6afa..f6be9d15 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsRejectApplication.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsRejectApplication.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_reject_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_reject_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_reject_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateApplication.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateApplication.java index d06c5add..fb28409d 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateApplication.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateApplication.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_update_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_update_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_update_application", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateApplicationNote.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateApplicationNote.java index a951bd68..dad82946 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateApplicationNote.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateApplicationNote.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_update_application_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_update_application_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_update_application_note", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateAssessmentsResult.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateAssessmentsResult.java index da1cdcc0..9f0085d0 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateAssessmentsResult.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateAssessmentsResult.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_update_assessments_result", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_update_assessments_result", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_update_assessments_result", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateBackgroundCheckPackage.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateBackgroundCheckPackage.java index 4eb846f4..7d9722a7 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateBackgroundCheckPackage.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateBackgroundCheckPackage.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_update_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_update_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_update_background_check_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateBackgroundCheckResult.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateBackgroundCheckResult.java index 325eafeb..ac3f1de3 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateBackgroundCheckResult.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateBackgroundCheckResult.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_update_background_check_result", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_update_background_check_result", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_update_background_check_result", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateCandidate.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateCandidate.java index 5ab34f05..7b225e14 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateCandidate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateCandidate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_update_candidate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_update_candidate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_update_candidate", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateJob.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateJob.java index 7166b97b..72db1d38 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateJob.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsUpdateJob.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_update_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_update_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_update_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/AtsUploadApplicationDocument.java b/src/main/java/com/stackone/stackone_client_java/operations/AtsUploadApplicationDocument.java index e963684d..cffe70c3 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/AtsUploadApplicationDocument.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/AtsUploadApplicationDocument.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ats_upload_application_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ats_upload_application_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ats_upload_application_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/CrmCreateContact.java b/src/main/java/com/stackone/stackone_client_java/operations/CrmCreateContact.java index eafd45f8..4769a543 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/CrmCreateContact.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/CrmCreateContact.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "crm_create_contact", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "crm_create_contact", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "crm_create_contact", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/CrmGetAccount.java b/src/main/java/com/stackone/stackone_client_java/operations/CrmGetAccount.java index 8a8392d9..5f8d1507 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/CrmGetAccount.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/CrmGetAccount.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "crm_get_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "crm_get_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "crm_get_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/CrmGetContact.java b/src/main/java/com/stackone/stackone_client_java/operations/CrmGetContact.java index 61c90838..df8917c5 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/CrmGetContact.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/CrmGetContact.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "crm_get_contact", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "crm_get_contact", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "crm_get_contact", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/CrmGetContactCustomFieldDefinition.java b/src/main/java/com/stackone/stackone_client_java/operations/CrmGetContactCustomFieldDefinition.java index 1ee953a9..2f6d1a44 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/CrmGetContactCustomFieldDefinition.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/CrmGetContactCustomFieldDefinition.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "crm_get_contact_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "crm_get_contact_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "crm_get_contact_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/CrmGetList.java b/src/main/java/com/stackone/stackone_client_java/operations/CrmGetList.java index f5ef6325..7fed8ba9 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/CrmGetList.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/CrmGetList.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "crm_get_list", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "crm_get_list", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "crm_get_list", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/CrmListAccounts.java b/src/main/java/com/stackone/stackone_client_java/operations/CrmListAccounts.java index 0e339567..67f884f1 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/CrmListAccounts.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/CrmListAccounts.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "crm_list_accounts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "crm_list_accounts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "crm_list_accounts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/CrmListContactCustomFieldDefinitions.java b/src/main/java/com/stackone/stackone_client_java/operations/CrmListContactCustomFieldDefinitions.java index 7b1ab53a..d4dcb9b9 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/CrmListContactCustomFieldDefinitions.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/CrmListContactCustomFieldDefinitions.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "crm_list_contact_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "crm_list_contact_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "crm_list_contact_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/CrmListContacts.java b/src/main/java/com/stackone/stackone_client_java/operations/CrmListContacts.java index 7b55e623..9d3c53a1 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/CrmListContacts.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/CrmListContacts.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "crm_list_contacts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "crm_list_contacts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "crm_list_contacts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/CrmListLists.java b/src/main/java/com/stackone/stackone_client_java/operations/CrmListLists.java index eda49a4e..e6974b2e 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/CrmListLists.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/CrmListLists.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "crm_list_lists", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "crm_list_lists", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "crm_list_lists", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/CrmUpdateContact.java b/src/main/java/com/stackone/stackone_client_java/operations/CrmUpdateContact.java index 88c24da0..d49ff1b0 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/CrmUpdateContact.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/CrmUpdateContact.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "crm_update_contact", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "crm_update_contact", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "crm_update_contact", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsDownloadFile.java b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsDownloadFile.java index a36075b8..c286d202 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsDownloadFile.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsDownloadFile.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "documents_download_file", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "documents_download_file", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "documents_download_file", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetDrive.java b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetDrive.java index 881c405d..49bc45d5 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetDrive.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetDrive.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "documents_get_drive", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "documents_get_drive", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "documents_get_drive", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetFile.java b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetFile.java index 2b2a43a1..98197f6d 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetFile.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetFile.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "documents_get_file", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "documents_get_file", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "documents_get_file", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetFolder.java b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetFolder.java index f0cbe744..cf1ae11d 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetFolder.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsGetFolder.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "documents_get_folder", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "documents_get_folder", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "documents_get_folder", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListDrives.java b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListDrives.java index adf14e3f..d486f008 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListDrives.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListDrives.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "documents_list_drives", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "documents_list_drives", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "documents_list_drives", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListFiles.java b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListFiles.java index 1083088b..3bec1853 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListFiles.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListFiles.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "documents_list_files", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "documents_list_files", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "documents_list_files", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListFolders.java b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListFolders.java index 7d7817ac..73737ab3 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListFolders.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsListFolders.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "documents_list_folders", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "documents_list_folders", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "documents_list_folders", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsUploadFile.java b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsUploadFile.java index 92f4f7fe..73061367 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/DocumentsUploadFile.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/DocumentsUploadFile.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "documents_upload_file", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "documents_upload_file", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "documents_upload_file", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisBatchUploadEmployeeDocument.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisBatchUploadEmployeeDocument.java index 2a1c4ab1..292369b9 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisBatchUploadEmployeeDocument.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisBatchUploadEmployeeDocument.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_batch_upload_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_batch_upload_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_batch_upload_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisCancelEmployeeTimeOffRequest.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisCancelEmployeeTimeOffRequest.java index 40039a04..d84b81bd 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisCancelEmployeeTimeOffRequest.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisCancelEmployeeTimeOffRequest.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_cancel_employee_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_cancel_employee_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_cancel_employee_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployee.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployee.java index 0d35e792..0647e63f 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployee.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployee.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeEmployment.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeEmployment.java index c35edbdd..756d53de 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeEmployment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeEmployment.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeSkill.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeSkill.java index ece9452c..bef89d03 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeSkill.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeSkill.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_skill", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_skill", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_skill", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeTimeOffRequest.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeTimeOffRequest.java index e56cd93b..00fa1594 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeTimeOffRequest.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeTimeOffRequest.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeWorkEligibilityRequest.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeWorkEligibilityRequest.java index b2015318..9cc7c150 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeWorkEligibilityRequest.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisCreateEmployeeWorkEligibilityRequest.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_work_eligibility_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_work_eligibility_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_create_employee_work_eligibility_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisDownloadEmployeeDocument.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisDownloadEmployeeDocument.java index b28911be..57351d30 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisDownloadEmployeeDocument.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisDownloadEmployeeDocument.java @@ -100,7 +100,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_download_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -109,7 +109,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_download_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -118,7 +118,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_download_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetBenefit.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetBenefit.java index 88195b43..4a38f7f0 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetBenefit.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetBenefit.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_benefit", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_benefit", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_benefit", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCompany.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCompany.java index c090ef9f..fa1cc93f 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCompany.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCompany.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_company", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_company", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_company", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCompanyGroup.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCompanyGroup.java index 9cf125e2..aee86054 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCompanyGroup.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCompanyGroup.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_company_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_company_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_company_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCostCenterGroup.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCostCenterGroup.java index b32a86c4..b5526a31 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCostCenterGroup.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetCostCenterGroup.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_cost_center_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_cost_center_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_cost_center_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetDepartmentGroup.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetDepartmentGroup.java index 79c2f276..fed277e3 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetDepartmentGroup.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetDepartmentGroup.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_department_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_department_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_department_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetDivisionGroup.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetDivisionGroup.java index b84b29df..4537fd9e 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetDivisionGroup.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetDivisionGroup.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_division_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_division_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_division_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployee.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployee.java index 56b93d90..69c8a617 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployee.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployee.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeCustomFieldDefinition.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeCustomFieldDefinition.java index 7dbcb15b..d3b08a70 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeCustomFieldDefinition.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeCustomFieldDefinition.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_custom_field_definition", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeDocument.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeDocument.java index b4fc6d35..4a1ea613 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeDocument.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeDocument.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeDocumentCategory.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeDocumentCategory.java index 332b011d..871bceec 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeDocumentCategory.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeDocumentCategory.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_document_category", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_document_category", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_document_category", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeEmployment.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeEmployment.java index 1c03c40a..a8a9c7ff 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeEmployment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeEmployment.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeShift.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeShift.java index fb1ffce6..d2b99192 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeShift.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeShift.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_shift", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_shift", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_shift", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeSkill.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeSkill.java index 2a0ce339..b640a691 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeSkill.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeSkill.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_skill", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_skill", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_skill", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeTask.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeTask.java index 9f8596c7..08768fd6 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeTask.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeTask.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_task", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_task", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_task", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeTimeOffBalance.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeTimeOffBalance.java index f273ad6f..0fe2d651 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeTimeOffBalance.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeeTimeOffBalance.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_time_off_balance", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_time_off_balance", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employee_time_off_balance", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeesTimeOffRequest.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeesTimeOffRequest.java index 232c905f..d217e4b9 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeesTimeOffRequest.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeesTimeOffRequest.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employees_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employees_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employees_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeesWorkEligibility.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeesWorkEligibility.java index eed97558..ed6aa0fd 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeesWorkEligibility.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployeesWorkEligibility.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employees_work_eligibility", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employees_work_eligibility", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employees_work_eligibility", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployment.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployment.java index 76f7af51..da4fab6d 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetEmployment.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetGroup.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetGroup.java index 6d2b7704..7908663e 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetGroup.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetGroup.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetJob.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetJob.java index a4ecce77..ab288353 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetJob.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetJob.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_job", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetLocation.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetLocation.java index fdad13d4..0c22924e 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetLocation.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetLocation.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_location", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_location", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_location", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetPosition.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetPosition.java index 7ffcb062..bf579418 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetPosition.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetPosition.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_position", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_position", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_position", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetShift.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetShift.java index ed2d8e81..0d28786b 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetShift.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetShift.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_shift", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_shift", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_shift", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTask.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTask.java index 2e280a6a..33b648de 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTask.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTask.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_task", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_task", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_task", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTeamGroup.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTeamGroup.java index cf344583..3b6a0b3e 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTeamGroup.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTeamGroup.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_team_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_team_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_team_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeEntries.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeEntries.java index 2c118e4f..96f80325 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeEntries.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeEntries.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_entries", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_entries", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_entries", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffPolicy.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffPolicy.java index 7ac5d9ba..26f7c237 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffPolicy.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffPolicy.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_off_policy", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_off_policy", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_off_policy", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffRequest.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffRequest.java index 146747f8..f0c20887 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffRequest.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffRequest.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffType.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffType.java index 4a775b3c..64ce7a23 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffType.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisGetTimeOffType.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_off_type", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_off_type", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_get_time_off_type", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisInviteEmployee.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisInviteEmployee.java index b89612a2..5dfd2446 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisInviteEmployee.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisInviteEmployee.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_invite_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_invite_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_invite_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListBenefits.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListBenefits.java index e607b825..f92fb818 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListBenefits.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListBenefits.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_benefits", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_benefits", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_benefits", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListCompanies.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListCompanies.java index 8414f407..b3e03cef 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListCompanies.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListCompanies.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_companies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_companies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_companies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListCompaniesGroups.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListCompaniesGroups.java index a64d4ee6..35f59ce5 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListCompaniesGroups.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListCompaniesGroups.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_companies_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_companies_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_companies_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListCostCenterGroups.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListCostCenterGroups.java index 1910083c..3b8f36e8 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListCostCenterGroups.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListCostCenterGroups.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_cost_center_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_cost_center_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_cost_center_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListDepartmentGroups.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListDepartmentGroups.java index fe8547c3..afe7dc47 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListDepartmentGroups.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListDepartmentGroups.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_department_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_department_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_department_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListDivisionGroups.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListDivisionGroups.java index cbef0518..5ebaf1f7 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListDivisionGroups.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListDivisionGroups.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_division_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_division_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_division_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeCategories.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeCategories.java index e0e5ee1f..8b08b937 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeCategories.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeCategories.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_categories", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_categories", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_categories", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeCustomFieldDefinitions.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeCustomFieldDefinitions.java index 6d700d7b..d0769799 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeCustomFieldDefinitions.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeCustomFieldDefinitions.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_custom_field_definitions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeDocuments.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeDocuments.java index 8794685b..b380f0c6 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeDocuments.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeDocuments.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_documents", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_documents", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_documents", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeEmployments.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeEmployments.java index 4c045f3b..b7d12787 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeEmployments.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeEmployments.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_employments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_employments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_employments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeShifts.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeShifts.java index a9f0733a..6437b1c8 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeShifts.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeShifts.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_shifts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_shifts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_shifts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeSkills.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeSkills.java index 534b8744..b7e69c20 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeSkills.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeSkills.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_skills", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_skills", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_skills", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTasks.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTasks.java index f268f9bd..de814c7f 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTasks.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTasks.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_tasks", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_tasks", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_tasks", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffBalances.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffBalances.java index 8ed3c411..d4fe477b 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffBalances.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffBalances.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_time_off_balances", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_time_off_balances", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_time_off_balances", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffPolicies.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffPolicies.java index 7d57fa1b..8cd27937 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffPolicies.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffPolicies.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_time_off_policies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_time_off_policies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_time_off_policies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffRequests.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffRequests.java index 90b52b32..e785c32e 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffRequests.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeTimeOffRequests.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_time_off_requests", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_time_off_requests", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_time_off_requests", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeWorkEligibility.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeWorkEligibility.java index e95fa919..9ad5b556 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeWorkEligibility.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployeeWorkEligibility.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_work_eligibility", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_work_eligibility", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employee_work_eligibility", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployees.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployees.java index 24ea478b..6db72ffa 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployees.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployees.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employees", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employees", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employees", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployments.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployments.java index 0b9daf63..9e5dfd70 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployments.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListEmployments.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_employments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListGroups.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListGroups.java index cea50788..24f53784 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListGroups.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListGroups.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListJobs.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListJobs.java index 1822fb5a..42357f47 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListJobs.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListJobs.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_jobs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_jobs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_jobs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListLocations.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListLocations.java index 728ddb21..53031e11 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListLocations.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListLocations.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_locations", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_locations", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_locations", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListPositions.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListPositions.java index 3c91ed86..af755223 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListPositions.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListPositions.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_positions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_positions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_positions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListShifts.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListShifts.java index e7f36ed7..e8215c44 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListShifts.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListShifts.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_shifts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_shifts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_shifts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTasks.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTasks.java index 86b5eebe..917e5c2c 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTasks.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTasks.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_tasks", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_tasks", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_tasks", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTeamGroups.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTeamGroups.java index abacef42..61911e61 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTeamGroups.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTeamGroups.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_team_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_team_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_team_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeEntries.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeEntries.java index 3f59cda6..6db96595 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeEntries.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeEntries.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_entries", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_entries", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_entries", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffPolicies.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffPolicies.java index 41315af8..a64c7715 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffPolicies.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffPolicies.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_off_policies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_off_policies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_off_policies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffRequests.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffRequests.java index bde2159d..237b775d 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffRequests.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffRequests.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_off_requests", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_off_requests", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_off_requests", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffTypes.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffTypes.java index 3663be0f..08d2decf 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffTypes.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisListTimeOffTypes.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_off_types", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_off_types", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_list_time_off_types", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployee.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployee.java index 37df4bee..a351fbb7 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployee.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployee.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeEmployment.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeEmployment.java index d99fc042..5b81976c 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeEmployment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeEmployment.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_employment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeTask.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeTask.java index 4974aac2..e8449420 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeTask.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeTask.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_task", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_task", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_task", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeTimeOffRequest.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeTimeOffRequest.java index 92348329..42d98421 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeTimeOffRequest.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeTimeOffRequest.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_time_off_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeWorkEligibilityRequest.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeWorkEligibilityRequest.java index 744dc841..6693cd16 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeWorkEligibilityRequest.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisUpdateEmployeeWorkEligibilityRequest.java @@ -101,7 +101,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_work_eligibility_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -110,7 +110,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_work_eligibility_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -119,7 +119,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_update_employee_work_eligibility_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/HrisUploadEmployeeDocument.java b/src/main/java/com/stackone/stackone_client_java/operations/HrisUploadEmployeeDocument.java index 630f01e0..b4e80f45 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/HrisUploadEmployeeDocument.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/HrisUploadEmployeeDocument.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "hris_upload_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "hris_upload_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "hris_upload_employee_document", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/IamDeleteUser.java b/src/main/java/com/stackone/stackone_client_java/operations/IamDeleteUser.java index fb6699e5..a97546ff 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/IamDeleteUser.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/IamDeleteUser.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "iam_delete_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "iam_delete_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "iam_delete_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/IamGetGroup.java b/src/main/java/com/stackone/stackone_client_java/operations/IamGetGroup.java index 6910fc6c..ac0f589b 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/IamGetGroup.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/IamGetGroup.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "iam_get_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "iam_get_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "iam_get_group", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/IamGetPolicy.java b/src/main/java/com/stackone/stackone_client_java/operations/IamGetPolicy.java index 91369cfe..53ea22ac 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/IamGetPolicy.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/IamGetPolicy.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "iam_get_policy", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "iam_get_policy", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "iam_get_policy", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/IamGetRole.java b/src/main/java/com/stackone/stackone_client_java/operations/IamGetRole.java index 126e9552..08b832e6 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/IamGetRole.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/IamGetRole.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "iam_get_role", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "iam_get_role", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "iam_get_role", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/IamGetUser.java b/src/main/java/com/stackone/stackone_client_java/operations/IamGetUser.java index 1c39ac60..9c89e8e9 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/IamGetUser.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/IamGetUser.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "iam_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "iam_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "iam_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/IamListGroups.java b/src/main/java/com/stackone/stackone_client_java/operations/IamListGroups.java index a7016938..e54b7e69 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/IamListGroups.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/IamListGroups.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "iam_list_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "iam_list_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "iam_list_groups", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/IamListPolicies.java b/src/main/java/com/stackone/stackone_client_java/operations/IamListPolicies.java index d65c159c..8242326e 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/IamListPolicies.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/IamListPolicies.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "iam_list_policies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "iam_list_policies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "iam_list_policies", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/IamListRoles.java b/src/main/java/com/stackone/stackone_client_java/operations/IamListRoles.java index dfa2a4c8..85f7a0f4 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/IamListRoles.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/IamListRoles.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "iam_list_roles", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "iam_list_roles", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "iam_list_roles", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/IamListUsers.java b/src/main/java/com/stackone/stackone_client_java/operations/IamListUsers.java index 213fc86a..8f2d2847 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/IamListUsers.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/IamListUsers.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "iam_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "iam_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "iam_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/IamUpdateUser.java b/src/main/java/com/stackone/stackone_client_java/operations/IamUpdateUser.java index a769bb5a..18887357 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/IamUpdateUser.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/IamUpdateUser.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "iam_update_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "iam_update_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "iam_update_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsBatchUpsertContent.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsBatchUpsertContent.java index 78789367..edc19307 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsBatchUpsertContent.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsBatchUpsertContent.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_batch_upsert_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_batch_upsert_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_batch_upsert_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsCreateUserAssignment.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsCreateUserAssignment.java index 1c392787..fd140893 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsCreateUserAssignment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsCreateUserAssignment.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_create_user_assignment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_create_user_assignment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_create_user_assignment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsCreateUserCompletion.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsCreateUserCompletion.java index 20d11ea6..7d57c6cf 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsCreateUserCompletion.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsCreateUserCompletion.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_create_user_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_create_user_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_create_user_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsDeleteUserCompletion.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsDeleteUserCompletion.java index 38e0a2bf..6e4ae6cb 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsDeleteUserCompletion.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsDeleteUserCompletion.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_delete_user_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_delete_user_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_delete_user_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetAssignment.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetAssignment.java index d1f32eec..62643f64 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetAssignment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetAssignment.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_get_assignment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_get_assignment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_get_assignment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCategory.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCategory.java index 4757a970..74fe28b3 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCategory.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCategory.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_get_category", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_get_category", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_get_category", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCompletion.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCompletion.java index 5444f4ba..bd22a1cc 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCompletion.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCompletion.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_get_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_get_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_get_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetContent.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetContent.java index 915c9e89..def7f72f 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetContent.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetContent.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_get_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_get_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_get_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCourse.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCourse.java index e37ad3bb..8f3a4b31 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCourse.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetCourse.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_get_course", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_get_course", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_get_course", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetSkill.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetSkill.java index 7b00f7fb..61b70566 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetSkill.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetSkill.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_get_skill", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_get_skill", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_get_skill", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUser.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUser.java index fb618abc..ebe10572 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUser.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUser.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUserAssignment.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUserAssignment.java index 211b9c21..612cda92 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUserAssignment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUserAssignment.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_get_user_assignment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_get_user_assignment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_get_user_assignment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUserCompletion.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUserCompletion.java index 8a6eea31..19b62d41 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUserCompletion.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsGetUserCompletion.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_get_user_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_get_user_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_get_user_completion", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsListAssignments.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsListAssignments.java index 59b56545..3cf10b15 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsListAssignments.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsListAssignments.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_list_assignments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_list_assignments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_list_assignments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsListCategories.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsListCategories.java index 8607e863..b910a201 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsListCategories.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsListCategories.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_list_categories", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_list_categories", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_list_categories", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsListCompletions.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsListCompletions.java index 459ccbf9..173e2b9a 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsListCompletions.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsListCompletions.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_list_completions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_list_completions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_list_completions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsListContent.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsListContent.java index 35ee9f69..81b98549 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsListContent.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsListContent.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_list_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_list_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_list_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsListCourses.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsListCourses.java index 8cfba361..c515945a 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsListCourses.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsListCourses.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_list_courses", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_list_courses", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_list_courses", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsListSkills.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsListSkills.java index 1ffed033..c10f1cf6 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsListSkills.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsListSkills.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_list_skills", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_list_skills", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_list_skills", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsListUserAssignments.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsListUserAssignments.java index 4706c804..f11950db 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsListUserAssignments.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsListUserAssignments.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_list_user_assignments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_list_user_assignments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_list_user_assignments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsListUserCompletions.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsListUserCompletions.java index f4674066..6b3bc4b3 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsListUserCompletions.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsListUserCompletions.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_list_user_completions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_list_user_completions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_list_user_completions", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsListUsers.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsListUsers.java index d8eda590..4527d234 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsListUsers.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsListUsers.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsUpdateContent.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsUpdateContent.java index 12c442a6..ced7a932 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsUpdateContent.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsUpdateContent.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_update_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_update_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_update_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/LmsUpsertContent.java b/src/main/java/com/stackone/stackone_client_java/operations/LmsUpsertContent.java index d6b815c9..1246d99b 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/LmsUpsertContent.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/LmsUpsertContent.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "lms_upsert_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "lms_upsert_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "lms_upsert_content", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateContentBlock.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateContentBlock.java index cb9f81a6..a884d739 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateContentBlock.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateContentBlock.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_content_block", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_content_block", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_content_block", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateEmailTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateEmailTemplate.java index f4d2388b..df724115 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateEmailTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateEmailTemplate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_email_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_email_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_email_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateInAppTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateInAppTemplate.java index b373a136..258941f8 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateInAppTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateInAppTemplate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_in_app_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_in_app_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_in_app_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateOmniChannelTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateOmniChannelTemplate.java index 618b06c4..fca8a86c 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateOmniChannelTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateOmniChannelTemplate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_omni_channel_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_omni_channel_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_omni_channel_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreatePushTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreatePushTemplate.java index bf28a534..77b6ecab 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreatePushTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreatePushTemplate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_push_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_push_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_push_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateSmsTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateSmsTemplate.java index ef9fbd54..6d2bd394 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateSmsTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingCreateSmsTemplate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_sms_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_sms_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_create_sms_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetCampaign.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetCampaign.java index 54c5b55b..1813474e 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetCampaign.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetCampaign.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_campaign", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_campaign", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_campaign", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetContentBlock.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetContentBlock.java index cd32658b..ad1399d8 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetContentBlock.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetContentBlock.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_content_block", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_content_block", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_content_block", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetEmailTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetEmailTemplate.java index 0d3b4a00..96972c74 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetEmailTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetEmailTemplate.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_email_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_email_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_email_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetInAppTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetInAppTemplate.java index a7272f47..5cc40f1c 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetInAppTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetInAppTemplate.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_in_app_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_in_app_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_in_app_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetOmniChannelTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetOmniChannelTemplate.java index 40d6a13f..308c3c1e 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetOmniChannelTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetOmniChannelTemplate.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_omni_channel_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_omni_channel_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_omni_channel_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetPushTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetPushTemplate.java index fd339714..ab078d49 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetPushTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetPushTemplate.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_push_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_push_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_push_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetSmsTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetSmsTemplate.java index 81d45990..a6f6ace4 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetSmsTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingGetSmsTemplate.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_sms_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_sms_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_get_sms_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListCampaigns.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListCampaigns.java index 80e9f4a9..081a9c24 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListCampaigns.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListCampaigns.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_campaigns", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_campaigns", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_campaigns", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListContentBlocks.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListContentBlocks.java index 5697da24..73666a6c 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListContentBlocks.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListContentBlocks.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_content_blocks", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_content_blocks", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_content_blocks", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListEmailTemplates.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListEmailTemplates.java index da1fe28d..9fc60d58 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListEmailTemplates.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListEmailTemplates.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_email_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_email_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_email_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListInAppTemplates.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListInAppTemplates.java index 70d75605..edc7f7fd 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListInAppTemplates.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListInAppTemplates.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_in_app_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_in_app_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_in_app_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListOmniChannelTemplates.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListOmniChannelTemplates.java index 4a4fffe5..dd489912 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListOmniChannelTemplates.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListOmniChannelTemplates.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_omni_channel_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_omni_channel_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_omni_channel_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListPushTemplates.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListPushTemplates.java index cc562092..1bc376a0 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListPushTemplates.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListPushTemplates.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_push_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_push_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_push_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListSmsTemplates.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListSmsTemplates.java index abf23504..532e545a 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingListSmsTemplates.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingListSmsTemplates.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_sms_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_sms_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_list_sms_templates", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateContentBlock.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateContentBlock.java index fea484da..58c3ac1b 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateContentBlock.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateContentBlock.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_content_block", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_content_block", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_content_block", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateEmailTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateEmailTemplate.java index f0518926..5b70db1a 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateEmailTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateEmailTemplate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_email_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_email_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_email_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateInAppTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateInAppTemplate.java index 21c45b9d..87060e28 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateInAppTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateInAppTemplate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_in_app_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_in_app_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_in_app_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateOmniChannelTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateOmniChannelTemplate.java index 5d084e09..7fd7839f 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateOmniChannelTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateOmniChannelTemplate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_omni_channel_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_omni_channel_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_omni_channel_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdatePushTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdatePushTemplate.java index 4b826f91..63585649 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdatePushTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdatePushTemplate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_push_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_push_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_push_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateSmsTemplate.java b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateSmsTemplate.java index 92609346..7e606910 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateSmsTemplate.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MarketingUpdateSmsTemplate.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_sms_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_sms_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "marketing_update_sms_template", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MessagingCreateConversation.java b/src/main/java/com/stackone/stackone_client_java/operations/MessagingCreateConversation.java index 459326ec..f8c16698 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MessagingCreateConversation.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MessagingCreateConversation.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "messaging_create_conversation", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "messaging_create_conversation", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "messaging_create_conversation", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MessagingDownloadMessagingAttachment.java b/src/main/java/com/stackone/stackone_client_java/operations/MessagingDownloadMessagingAttachment.java index 1c2b98ba..d9fbaa79 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MessagingDownloadMessagingAttachment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MessagingDownloadMessagingAttachment.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "messaging_download_messaging_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "messaging_download_messaging_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "messaging_download_messaging_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetAttachment.java b/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetAttachment.java index 284313ce..8880c178 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetAttachment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetAttachment.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetConversation.java b/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetConversation.java index 32415168..37cef074 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetConversation.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetConversation.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_conversation", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_conversation", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_conversation", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetMessage.java b/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetMessage.java index 9d886edd..c75eeaf1 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetMessage.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetMessage.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_message", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_message", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_message", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetUser.java b/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetUser.java index 59f53410..c7d66dce 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetUser.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MessagingGetUser.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "messaging_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MessagingListAttachments.java b/src/main/java/com/stackone/stackone_client_java/operations/MessagingListAttachments.java index 6ab4ef24..59e94588 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MessagingListAttachments.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MessagingListAttachments.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_attachments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_attachments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_attachments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MessagingListConversationMessages.java b/src/main/java/com/stackone/stackone_client_java/operations/MessagingListConversationMessages.java index be5ddc0c..1c28db3e 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MessagingListConversationMessages.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MessagingListConversationMessages.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_conversation_messages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_conversation_messages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_conversation_messages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MessagingListConversations.java b/src/main/java/com/stackone/stackone_client_java/operations/MessagingListConversations.java index c4507ff4..88d202aa 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MessagingListConversations.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MessagingListConversations.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_conversations", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_conversations", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_conversations", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MessagingListUsers.java b/src/main/java/com/stackone/stackone_client_java/operations/MessagingListUsers.java index 7f61fad8..7e2cce03 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MessagingListUsers.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MessagingListUsers.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "messaging_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/MessagingSendMessage.java b/src/main/java/com/stackone/stackone_client_java/operations/MessagingSendMessage.java index 44374491..6457edd9 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/MessagingSendMessage.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/MessagingSendMessage.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "messaging_send_message", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "messaging_send_message", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "messaging_send_message", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/ScreeningCreateScreeningOrder.java b/src/main/java/com/stackone/stackone_client_java/operations/ScreeningCreateScreeningOrder.java index 6a94ccd1..18248dd8 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/ScreeningCreateScreeningOrder.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/ScreeningCreateScreeningOrder.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "screening_create_screening_order", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "screening_create_screening_order", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "screening_create_screening_order", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/ScreeningGetScreeningPackage.java b/src/main/java/com/stackone/stackone_client_java/operations/ScreeningGetScreeningPackage.java index 25173bd6..9b102a47 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/ScreeningGetScreeningPackage.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/ScreeningGetScreeningPackage.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "screening_get_screening_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "screening_get_screening_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "screening_get_screening_package", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/ScreeningListScreeningPackages.java b/src/main/java/com/stackone/stackone_client_java/operations/ScreeningListScreeningPackages.java index d1d3b1d3..0df86cc5 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/ScreeningListScreeningPackages.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/ScreeningListScreeningPackages.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "screening_list_screening_packages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "screening_list_screening_packages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "screening_list_screening_packages", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/ScreeningWebhookScreeningResult.java b/src/main/java/com/stackone/stackone_client_java/operations/ScreeningWebhookScreeningResult.java index 80f39468..ffc1a985 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/ScreeningWebhookScreeningResult.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/ScreeningWebhookScreeningResult.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "screening_webhook_screening_result", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "screening_webhook_screening_result", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "screening_webhook_screening_result", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneAuthenticateConnectSession.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneAuthenticateConnectSession.java index b57959c6..8e458452 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneAuthenticateConnectSession.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneAuthenticateConnectSession.java @@ -101,7 +101,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_authenticate_connect_session", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -110,7 +110,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_authenticate_connect_session", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -119,7 +119,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_authenticate_connect_session", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneCreateConnectSession.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneCreateConnectSession.java index aaa6db4b..cd6c6553 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneCreateConnectSession.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneCreateConnectSession.java @@ -101,7 +101,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_create_connect_session", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -110,7 +110,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_create_connect_session", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -119,7 +119,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_create_connect_session", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneDeleteAccount.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneDeleteAccount.java index f273b92d..153f741f 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneDeleteAccount.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneDeleteAccount.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_delete_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_delete_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_delete_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetAccount.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetAccount.java index 5c3a3ed2..1268ae41 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetAccount.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetAccount.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetAccountMetaInfo.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetAccountMetaInfo.java index adac32d9..7516244f 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetAccountMetaInfo.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetAccountMetaInfo.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_account_meta_info", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_account_meta_info", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_account_meta_info", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetConnectorMeta.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetConnectorMeta.java index 5aab918f..79a78e57 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetConnectorMeta.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetConnectorMeta.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_connector_meta", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_connector_meta", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_connector_meta", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetLog.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetLog.java index 87ea37c9..2a6ee1bb 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetLog.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneGetLog.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_log", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_log", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_get_log", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListActionsMeta.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListActionsMeta.java index 0c0e8f70..3e6740e4 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListActionsMeta.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListActionsMeta.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_actions_meta", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_actions_meta", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_actions_meta", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListConnectorsMeta.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListConnectorsMeta.java index 8b1789d1..40283cfb 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListConnectorsMeta.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListConnectorsMeta.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_connectors_meta", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_connectors_meta", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_connectors_meta", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListLinkedAccounts.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListLinkedAccounts.java index 95d55658..28feefc1 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListLinkedAccounts.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListLinkedAccounts.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_linked_accounts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_linked_accounts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_linked_accounts", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListLogs.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListLogs.java index a7413d89..cb174c83 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListLogs.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListLogs.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_logs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_logs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_logs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListPlatformLogs.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListPlatformLogs.java index a8307d9e..3198f3e2 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListPlatformLogs.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListPlatformLogs.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_platform_logs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_platform_logs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_platform_logs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListStepLogs.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListStepLogs.java index 09603e5f..31f0c211 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneListStepLogs.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneListStepLogs.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_step_logs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_step_logs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_list_step_logs", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneProxyRequest.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneProxyRequest.java index 7aef09f5..c01dfcc5 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneProxyRequest.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneProxyRequest.java @@ -101,7 +101,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_proxy_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -110,7 +110,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_proxy_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -119,7 +119,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_proxy_request", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneRpcAction.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneRpcAction.java index 487e6401..80730fbc 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneRpcAction.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneRpcAction.java @@ -101,7 +101,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_rpc_action", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -110,7 +110,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_rpc_action", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -119,7 +119,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_rpc_action", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/StackoneUpdateAccount.java b/src/main/java/com/stackone/stackone_client_java/operations/StackoneUpdateAccount.java index e3d8c614..60a54da4 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/StackoneUpdateAccount.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/StackoneUpdateAccount.java @@ -101,7 +101,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "stackone_update_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -110,7 +110,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "stackone_update_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -119,7 +119,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "stackone_update_account", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingCreateTicket.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingCreateTicket.java index 2bdeada3..9b794b29 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingCreateTicket.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingCreateTicket.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_create_ticket", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_create_ticket", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_create_ticket", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingDownloadTicketingAttachment.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingDownloadTicketingAttachment.java index d303f2e4..b54b79fa 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingDownloadTicketingAttachment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingDownloadTicketingAttachment.java @@ -98,7 +98,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_download_ticketing_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -107,7 +107,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_download_ticketing_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -116,7 +116,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_download_ticketing_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetAttachment.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetAttachment.java index 3ce95bc7..50a5d1f7 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetAttachment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetAttachment.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_attachment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetComment.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetComment.java index d183b876..e0e5df07 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetComment.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetComment.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_comment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_comment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_comment", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetProject.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetProject.java index 80c81612..b6a1937b 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetProject.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetProject.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_project", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_project", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_project", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetProjectComponent.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetProjectComponent.java index 5f8194a8..55f69f09 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetProjectComponent.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetProjectComponent.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_project_component", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_project_component", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_project_component", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetTicket.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetTicket.java index 835e21c5..fb063264 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetTicket.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetTicket.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_ticket", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_ticket", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_ticket", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetTicketType.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetTicketType.java index e9f6bced..418723d3 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetTicketType.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetTicketType.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_ticket_type", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_ticket_type", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_ticket_type", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetUser.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetUser.java index b6705921..fa41ed48 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetUser.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingGetUser.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_get_user", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListAttachments.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListAttachments.java index c6107274..ef7c984a 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListAttachments.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListAttachments.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_attachments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_attachments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_attachments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListComments.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListComments.java index c2484eba..67e5e984 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListComments.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListComments.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_comments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_comments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_comments", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjectComponents.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjectComponents.java index 3f375040..e983862f 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjectComponents.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjectComponents.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_project_components", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_project_components", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_project_components", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjectTicketTypes.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjectTicketTypes.java index 14894ca4..c26b79f6 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjectTicketTypes.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjectTicketTypes.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_project_ticket_types", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_project_ticket_types", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_project_ticket_types", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjects.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjects.java index 909ed48f..990c4fbf 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjects.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListProjects.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_projects", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_projects", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_projects", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTicketStatuses.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTicketStatuses.java index 6d21b2d0..b661665c 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTicketStatuses.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTicketStatuses.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_ticket_statuses", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_ticket_statuses", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_ticket_statuses", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTicketTypes.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTicketTypes.java index ab4e9ae6..f578494b 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTicketTypes.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTicketTypes.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_ticket_types", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_ticket_types", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_ticket_types", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTickets.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTickets.java index 6468082c..22218faf 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTickets.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListTickets.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_tickets", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_tickets", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_tickets", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListUsers.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListUsers.java index b64c73ea..a5e553ef 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingListUsers.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingListUsers.java @@ -99,7 +99,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -108,7 +108,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -117,7 +117,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_list_users", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/operations/TicketingUpdateTicket.java b/src/main/java/com/stackone/stackone_client_java/operations/TicketingUpdateTicket.java index 7ca35ee0..ad1d178d 100644 --- a/src/main/java/com/stackone/stackone_client_java/operations/TicketingUpdateTicket.java +++ b/src/main/java/com/stackone/stackone_client_java/operations/TicketingUpdateTicket.java @@ -102,7 +102,7 @@ BeforeRequestContextImpl createBeforeRequestContext() { this.sdkConfiguration, this.baseUrl, "ticketing_update_ticket", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -111,7 +111,7 @@ AfterSuccessContextImpl createAfterSuccessContext() { this.sdkConfiguration, this.baseUrl, "ticketing_update_ticket", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } @@ -120,7 +120,7 @@ AfterErrorContextImpl createAfterErrorContext() { this.sdkConfiguration, this.baseUrl, "ticketing_update_ticket", - java.util.Optional.of(java.util.List.of()), + java.util.Optional.empty(), securitySource()); } HttpRequest buildRequest(T request, Class klass, TypeReference typeReference) throws Exception { diff --git a/src/main/java/com/stackone/stackone_client_java/utils/SessionManager.java b/src/main/java/com/stackone/stackone_client_java/utils/SessionManager.java index a316fa42..06b722e8 100644 --- a/src/main/java/com/stackone/stackone_client_java/utils/SessionManager.java +++ b/src/main/java/com/stackone/stackone_client_java/utils/SessionManager.java @@ -13,7 +13,6 @@ import java.time.OffsetDateTime; import java.time.temporal.ChronoUnit; import java.util.ArrayList; -import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -29,8 +28,8 @@ public final class SessionManager { // VisibleForTesting public static final int REFRESH_BEFORE_EXPIRY_SECONDS = 60; - - private final Map> sessions = new HashMap<>(); + + private final Map>> sessions = new HashMap<>(); public interface HasSessionKey { String sessionKey(); @@ -67,74 +66,98 @@ public Optional expiresAt() { } - public Session getSession(T credentials, Optional> scopes, Function, Session> tokenProvider ) { + public Session getSession(T credentials, List scopes, Function, Session> tokenProvider ) { final String sessionKey = credentials.sessionKey(); + final String scopeKey = getScopeKey(scopes); - Optional> currentSession = Optional.ofNullable(sessions.get(sessionKey)); + Optional> existingSession = getExistingSession(sessionKey, scopes); final Session session; - if (shouldCreateNewSession(currentSession, scopes)) { - // note that we accumulate scopes. For example if a session existed - // for scope 'read' and this request requires scope 'write' then we - // request a new token for `read, write`. - - // TODO it may be better to rather make `sessions` a Map> - // where the none of the Session scope lists fully contains another in the same - // map value. - // This would ensure that an operation is always called with a token with the - // minimum - // permissions required and also would ensure that a token request is not - // rejected - // because of disallowed scope combinations (yet to see that in the wild). - // For the example above with `read` and `write` scoped requests we would get a - // token - // for `read` scope, and then get a token for `write` scope and store both - // tokens in separate - // Session objects in the map value list for the credential pair. - - List accumulatedScopes = accumulateScopes(scopes, currentSession); - session = tokenProvider.apply(accumulatedScopes); - sessions.put(sessionKey, session); + if (!existingSession.isPresent()) { + session = tokenProvider.apply(scopes); + sessions.computeIfAbsent(sessionKey, k -> new HashMap<>()).put(scopeKey, session); } else { - session = currentSession.get(); + session = existingSession.get(); } return session; } - - // VisibleForTesting - public static boolean shouldCreateNewSession(Optional> currentSession, Optional> oauthScopes) { - return !currentSession.isPresent() // - || !hasRequiredScopes(currentSession.get().scopes, oauthScopes) // - || hasTokenExpired(currentSession.get().expiresAt, OffsetDateTime.now()); + + private Optional> getExistingSession(String sessionKey, List requiredScopes) { + Map> clientSessions = sessions.get(sessionKey); + if (clientSessions == null) { + return Optional.empty(); + } + + String scopeKey = getScopeKey(requiredScopes); + + // First look for an exact match + Session exactSession = clientSessions.get(scopeKey); + if (exactSession != null) { + if (hasTokenExpired(exactSession.expiresAt, OffsetDateTime.now())) { + removeSession(sessionKey, scopeKey); + } else { + return Optional.of(exactSession); + } + } + + // If no exact match was found, look for a superset match + List expiredSessionKeys = new ArrayList<>(); + Session validSession = null; + for (Map.Entry> entry : clientSessions.entrySet()) { + Session session = entry.getValue(); + if (hasTokenExpired(session.expiresAt, OffsetDateTime.now())) { + expiredSessionKeys.add(entry.getKey()); + } else if (hasRequiredScopes(session.scopes, requiredScopes)) { + validSession = session; + } + } + + for (String key : expiredSessionKeys) { + removeSession(sessionKey, key); + } + + return Optional.ofNullable(validSession); } - - private static < T extends HasSessionKey> List accumulateScopes(Optional> requiredScopes, Optional> session) { - if (session.isPresent()) { - List scopes = new ArrayList<>(requiredScopes.orElse(Collections.emptyList())); - scopes.addAll(session.get().scopes); - return scopes.stream() // - .distinct() // - .collect(Collectors.toList()); - } else { - return requiredScopes.orElse(Collections.emptyList()); + private static String getScopeKey(List scopes) { + if (scopes == null || scopes.isEmpty()) { + return ""; } + + List sortedScopes = new ArrayList<>(scopes); + sortedScopes.sort(String::compareTo); + return String.join("&", sortedScopes); } + /** + * Checks if the token has expired. + * If no expires_in field was returned by the authorization server, the token is considered to never expire. + * A buffer (REFRESH_BEFORE_EXPIRY_SECONDS) is applied to refresh tokens before they actually expire. + */ // VisibleForTesting public static boolean hasTokenExpired(Optional expiresAt, OffsetDateTime now) { - return expiresAt.isEmpty() // - || now.plusSeconds(REFRESH_BEFORE_EXPIRY_SECONDS).isAfter(expiresAt.get()); + return !expiresAt.isEmpty() && now.plusSeconds(REFRESH_BEFORE_EXPIRY_SECONDS).isAfter(expiresAt.get()); } // VisibleForTesting - public static boolean hasRequiredScopes(List sessionScopes, Optional> requiredScopes) { - return sessionScopes.containsAll(requiredScopes.orElse(Collections.emptyList())); + public static boolean hasRequiredScopes(List sessionScopes, List requiredScopes) { + return sessionScopes.containsAll(requiredScopes); } public void remove(String sessionKey) { sessions.remove(sessionKey); } - + + public void removeSession(String sessionKey, String scopeKey) { + Map> clientSessions = sessions.get(sessionKey); + if (clientSessions != null) { + clientSessions.remove(scopeKey); + // Clean up empty client sessions + if (clientSessions.isEmpty()) { + sessions.remove(sessionKey); + } + } + } + public static Session requestOAuth2Token(HTTPClient client, T credentials, List scopes, Map body, Map headers, URI tokenUri) { try { @@ -165,7 +188,7 @@ public static Session requestOAuth2Token(HTTPClient throw new RuntimeException(e); } } - + final static class TokenResponse { @JsonProperty("access_token")