lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb in stackone_client-0.0.1 vs lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb in stackone_client-0.0.2

- old
+ new

@@ -16,17 +16,17 @@ end end # The status of the time off request - class HrisCreateTimeOffRequestDtoStatus < StackOne::Utils::FieldAugmented + class HrisCreateTimeOffRequestDtoStatus < ::StackOne::Utils::FieldAugmented extend T::Sig - field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } } + field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } } - field :value, Shared::HrisCreateTimeOffRequestDtoValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateTimeOffRequestDtoValue, false) } } + field :value, Shared::HrisCreateTimeOffRequestDtoValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateTimeOffRequestDtoValue, false) } } sig { params(source_value: String, value: Shared::HrisCreateTimeOffRequestDtoValue).void } def initialize(source_value: nil, value: nil) @source_value = source_value @@ -43,41 +43,41 @@ end end # The type of the time off request - class HrisCreateTimeOffRequestDtoType < StackOne::Utils::FieldAugmented + class HrisCreateTimeOffRequestDtoType < ::StackOne::Utils::FieldAugmented extend T::Sig - field :source_value, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('source_value') } } + field :source_value, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } } - field :value, Shared::HrisCreateTimeOffRequestDtoSchemasValue, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateTimeOffRequestDtoSchemasValue, false) } } + field :value, Shared::HrisCreateTimeOffRequestDtoSchemasValue, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Shared::HrisCreateTimeOffRequestDtoSchemasValue, false) } } sig { params(source_value: String, value: Shared::HrisCreateTimeOffRequestDtoSchemasValue).void } def initialize(source_value: nil, value: nil) @source_value = source_value @value = value end end - class HrisCreateTimeOffRequestDto < StackOne::Utils::FieldAugmented + class HrisCreateTimeOffRequestDto < ::StackOne::Utils::FieldAugmented extend T::Sig # The approver ID - field :approver_id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('approver_id') } } + field :approver_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('approver_id') } } # The employee ID - field :employee_id, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('employee_id') } } + field :employee_id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } } # The end date of the time off request - field :end_date, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('end_date'), 'decoder': Utils.datetime_from_iso_format(true) } } + field :end_date, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_date'), 'decoder': Utils.datetime_from_iso_format(true) } } # The start date of the time off request - field :start_date, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } } + field :start_date, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } } # The status of the time off request - field :status, T.nilable(Shared::HrisCreateTimeOffRequestDtoStatus), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('status') } } + field :status, T.nilable(Shared::HrisCreateTimeOffRequestDtoStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } } # The type of the time off request - field :type, T.nilable(Shared::HrisCreateTimeOffRequestDtoType), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('type') } } + field :type, T.nilable(Shared::HrisCreateTimeOffRequestDtoType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } sig { params(approver_id: T.nilable(String), employee_id: T.nilable(String), end_date: T.nilable(DateTime), start_date: T.nilable(DateTime), status: T.nilable(Shared::HrisCreateTimeOffRequestDtoStatus), type: T.nilable(Shared::HrisCreateTimeOffRequestDtoType)).void } def initialize(approver_id: nil, employee_id: nil, end_date: nil, start_date: nil, status: nil, type: nil) @approver_id = approver_id