stackone_client 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_one/lms.rb +17 -58
- data/lib/stack_one/marketing.rb +18 -18
- data/lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_get_candidate_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_get_job_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_list_candidate_custom_field_definitions_request.rb +2 -7
- data/lib/stack_one/models/operations/ats_list_job_custom_field_definitions_request.rb +2 -7
- data/lib/stack_one/models/operations/crm_get_contact_custom_field_definition_request.rb +2 -7
- data/lib/stack_one/models/operations/crm_list_contact_custom_field_definitions_request.rb +2 -7
- data/lib/stack_one/models/operations/lms_create_collection_request.rb +27 -0
- data/lib/stack_one/models/operations/{lms_create_content_response.rb → lms_create_collection_response.rb} +2 -2
- data/lib/stack_one/models/operations/lms_update_collection_request.rb +30 -0
- data/lib/stack_one/models/operations/{lms_update_content_response.rb → lms_update_collection_response.rb} +2 -2
- data/lib/stack_one/models/operations/marketing_get_content_block_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_email_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_in_app_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_push_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_sms_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_email_templates_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_in_app_templates_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_push_templates_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_list_sms_templates_response.rb +4 -4
- data/lib/stack_one/models/operations.rb +4 -6
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +2 -2
- data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +2 -2
- data/lib/stack_one/models/shared/atscreatejobrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +2 -2
- data/lib/stack_one/models/shared/atsupdatejobrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/candidate.rb +2 -2
- data/lib/stack_one/models/shared/contact.rb +2 -2
- data/lib/stack_one/models/shared/content_launch_method.rb +2 -2
- data/lib/stack_one/models/shared/contentblockresult.rb +27 -0
- data/lib/stack_one/models/shared/course.rb +6 -9
- data/lib/stack_one/models/shared/createmessage_value.rb +16 -8
- data/lib/stack_one/models/shared/crmcreatecontactrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/{jobcustomfields.rb → customfields.rb} +1 -1
- data/lib/stack_one/models/shared/emailmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/emailmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/emailtemplate.rb +36 -0
- data/lib/stack_one/models/shared/emailtemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/emailtemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared/employee.rb +2 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +2 -2
- data/lib/stack_one/models/shared/inappmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/inappmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/inapptemplate.rb +36 -0
- data/lib/stack_one/models/shared/inapptemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/inapptemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared/job.rb +2 -2
- data/lib/stack_one/models/shared/{contentlanguageenum.rb → languageenum.rb} +3 -3
- data/lib/stack_one/models/shared/{contentlanguageenum_value.rb → languageenum_value.rb} +2 -2
- data/lib/stack_one/models/shared/lmscreatecollectionrequestdto.rb +51 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +4 -4
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +5 -8
- data/lib/stack_one/models/shared/message_message_type.rb +1 -1
- data/lib/stack_one/models/shared/message_type.rb +1 -1
- data/lib/stack_one/models/shared/message_value.rb +16 -8
- data/lib/stack_one/models/shared/pushmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/pushmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/pushtemplate.rb +36 -0
- data/lib/stack_one/models/shared/pushtemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/pushtemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared/smsmessages_message_type.rb +1 -1
- data/lib/stack_one/models/shared/smsmessages_value.rb +16 -8
- data/lib/stack_one/models/shared/smstemplate.rb +36 -0
- data/lib/stack_one/models/shared/smstemplateresult.rb +27 -0
- data/lib/stack_one/models/shared/smstemplatespaginated.rb +33 -0
- data/lib/stack_one/models/shared.rb +22 -21
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +23 -24
- data/lib/stack_one/models/operations/lms_create_content_request.rb +0 -27
- data/lib/stack_one/models/operations/lms_delete_content_request.rb +0 -27
- data/lib/stack_one/models/operations/lms_delete_content_response.rb +0 -33
- data/lib/stack_one/models/operations/lms_update_content_request.rb +0 -30
- data/lib/stack_one/models/shared/candidatecustomfields.rb +0 -39
- data/lib/stack_one/models/shared/contactscustomfields.rb +0 -39
- data/lib/stack_one/models/shared/course_type.rb +0 -27
- data/lib/stack_one/models/shared/course_value.rb +0 -19
- data/lib/stack_one/models/shared/deleteresult.rb +0 -30
- data/lib/stack_one/models/shared/employeecustomfields.rb +0 -39
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +0 -66
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_content_type.rb +0 -27
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_schemas_value.rb +0 -19
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_value.rb +0 -18
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_content_launch_method.rb +0 -27
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto_course_type.rb +0 -27
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto_value.rb +0 -19
@@ -1,27 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# The media type for the course
|
11
|
-
class CourseType < ::StackOne::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
-
|
17
|
-
field :value, T.nilable(::StackOne::Shared::CourseValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CourseValue, true) } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::CourseValue)).void }
|
21
|
-
def initialize(source_value: nil, value: nil)
|
22
|
-
@source_value = source_value
|
23
|
-
@value = value
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class CourseValue < T::Enum
|
12
|
-
enums do
|
13
|
-
VIDEO = new('video')
|
14
|
-
QUIZ = new('quiz')
|
15
|
-
DOCUMENT = new('document')
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class DeleteResult < ::StackOne::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :message, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
|
16
|
-
|
17
|
-
field :status_code, ::Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
|
18
|
-
|
19
|
-
field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(message: ::String, status_code: ::Float, timestamp: ::DateTime).void }
|
23
|
-
def initialize(message: nil, status_code: nil, timestamp: nil)
|
24
|
-
@message = message
|
25
|
-
@status_code = status_code
|
26
|
-
@timestamp = timestamp
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
@@ -1,39 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class EmployeeCustomFields < ::StackOne::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
# Unique identifier
|
15
|
-
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
-
# The name of the custom field.
|
17
|
-
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
-
# Provider's unique identifier
|
19
|
-
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
|
-
# Provider's unique identifier for the value of the custom field.
|
21
|
-
field :remote_value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_value_id') } }
|
22
|
-
# The value associated with the custom field.
|
23
|
-
field :value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
|
24
|
-
# The unique identifier for the value of the custom field.
|
25
|
-
field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
|
26
|
-
|
27
|
-
|
28
|
-
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String), remote_value_id: T.nilable(::String), value: T.nilable(::Object), value_id: T.nilable(::String)).void }
|
29
|
-
def initialize(id: nil, name: nil, remote_id: nil, remote_value_id: nil, value: nil, value_id: nil)
|
30
|
-
@id = id
|
31
|
-
@name = name
|
32
|
-
@remote_id = remote_id
|
33
|
-
@remote_value_id = remote_value_id
|
34
|
-
@value = value
|
35
|
-
@value_id = value_id
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
@@ -1,66 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class LmsCreateContentRequestDto < ::StackOne::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
# Whether the content is active and available for users.
|
15
|
-
field :active, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
|
16
|
-
# The categories associated with this content
|
17
|
-
field :categories, T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('categories') } }
|
18
|
-
# The content launch method associated with this content
|
19
|
-
field :content_launch_method, T.nilable(::StackOne::Shared::ContentLaunchMethod), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_launch_method') } }
|
20
|
-
# The type of content
|
21
|
-
field :content_type, T.nilable(::StackOne::Shared::LmsCreateContentRequestDtoContentType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_type') } }
|
22
|
-
# The external URL of the content
|
23
|
-
field :content_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_url') } }
|
24
|
-
# The parent IDs associated with this content
|
25
|
-
field :course_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('course_ids') } }
|
26
|
-
# The URL of the thumbnail image associated with the content.
|
27
|
-
field :cover_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('cover_url') } }
|
28
|
-
# The description of the content
|
29
|
-
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
30
|
-
# The duration of the content following the ISO8601 standard. If duration_unit is applicable we will derive this from the smallest unit given in the duration string or the minimum unit accepted by the provider.
|
31
|
-
field :duration, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('duration') } }
|
32
|
-
# The external ID associated with this content
|
33
|
-
field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } }
|
34
|
-
# The languages associated with this content
|
35
|
-
field :languages, T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('languages') } }
|
36
|
-
# The order of the individual content within a content grouping. This is not applicable for pushing individual content.
|
37
|
-
field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
|
38
|
-
# The skills associated with this course
|
39
|
-
field :skills, T.nilable(T::Array[::StackOne::Shared::Skills]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('skills') } }
|
40
|
-
# The title of the content
|
41
|
-
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
42
|
-
# Custom Unified Fields configured in your StackOne project
|
43
|
-
field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }
|
44
|
-
|
45
|
-
|
46
|
-
sig { params(active: T.nilable(::Object), categories: T.nilable(T::Array[::StackOne::Shared::CreateCategoriesApiModel]), content_launch_method: T.nilable(::StackOne::Shared::ContentLaunchMethod), content_type: T.nilable(::StackOne::Shared::LmsCreateContentRequestDtoContentType), content_url: T.nilable(::String), course_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), languages: T.nilable(T::Array[::StackOne::Shared::ContentLanguageEnum]), order: T.nilable(::Float), skills: T.nilable(T::Array[::StackOne::Shared::Skills]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
|
47
|
-
def initialize(active: nil, categories: nil, content_launch_method: nil, content_type: nil, content_url: nil, course_ids: nil, cover_url: nil, description: nil, duration: nil, external_reference: nil, languages: nil, order: nil, skills: nil, title: nil, unified_custom_fields: nil)
|
48
|
-
@active = active
|
49
|
-
@categories = categories
|
50
|
-
@content_launch_method = content_launch_method
|
51
|
-
@content_type = content_type
|
52
|
-
@content_url = content_url
|
53
|
-
@course_ids = course_ids
|
54
|
-
@cover_url = cover_url
|
55
|
-
@description = description
|
56
|
-
@duration = duration
|
57
|
-
@external_reference = external_reference
|
58
|
-
@languages = languages
|
59
|
-
@order = order
|
60
|
-
@skills = skills
|
61
|
-
@title = title
|
62
|
-
@unified_custom_fields = unified_custom_fields
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|
66
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# The type of content
|
11
|
-
class LmsCreateContentRequestDtoContentType < ::StackOne::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
-
|
17
|
-
field :value, T.nilable(::StackOne::Shared::LmsCreateContentRequestDtoSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::LmsCreateContentRequestDtoSchemasValue, true) } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::LmsCreateContentRequestDtoSchemasValue)).void }
|
21
|
-
def initialize(source_value: nil, value: nil)
|
22
|
-
@source_value = source_value
|
23
|
-
@value = value
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class LmsCreateContentRequestDtoSchemasValue < T::Enum
|
12
|
-
enums do
|
13
|
-
VIDEO = new('video')
|
14
|
-
QUIZ = new('quiz')
|
15
|
-
DOCUMENT = new('document')
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class LmsCreateContentRequestDtoValue < T::Enum
|
12
|
-
enums do
|
13
|
-
AUTOMATIC = new('automatic')
|
14
|
-
BROWSER = new('browser')
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# The content launch method associated with this content
|
11
|
-
class LmsUpsertContentRequestDtoContentLaunchMethod < ::StackOne::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
-
|
17
|
-
field :value, T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::LmsUpsertContentRequestDtoValue, true) } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::LmsUpsertContentRequestDtoValue)).void }
|
21
|
-
def initialize(source_value: nil, value: nil)
|
22
|
-
@source_value = source_value
|
23
|
-
@value = value
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
# The media type for the course
|
11
|
-
class LmsUpsertCourseRequestDtoCourseType < ::StackOne::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
-
|
17
|
-
field :value, T.nilable(::StackOne::Shared::LmsUpsertCourseRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::LmsUpsertCourseRequestDtoValue, true) } }
|
18
|
-
|
19
|
-
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::LmsUpsertCourseRequestDtoValue)).void }
|
21
|
-
def initialize(source_value: nil, value: nil)
|
22
|
-
@source_value = source_value
|
23
|
-
@value = value
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class LmsUpsertCourseRequestDtoValue < T::Enum
|
12
|
-
enums do
|
13
|
-
VIDEO = new('video')
|
14
|
-
QUIZ = new('quiz')
|
15
|
-
DOCUMENT = new('document')
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|