rixl 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +10 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +8 -0
- data/lib/feeds/feeds.rb +0 -0
- data/lib/feeds/feeds_request_builder.rb +34 -0
- data/lib/feeds/item/creators/creators.rb +0 -0
- data/lib/feeds/item/creators/creators_request_builder.rb +40 -0
- data/lib/feeds/item/creators/item/item.rb +0 -0
- data/lib/feeds/item/creators/item/with_creator_item_request_builder.rb +86 -0
- data/lib/feeds/item/item/item.rb +0 -0
- data/lib/feeds/item/item/with_post_item_request_builder.rb +70 -0
- data/lib/feeds/item/item.rb +0 -0
- data/lib/feeds/item/with_feed_item_request_builder.rb +98 -0
- data/lib/images/images.rb +0 -0
- data/lib/images/images_request_builder.rb +103 -0
- data/lib/images/item/item.rb +0 -0
- data/lib/images/item/with_image_item_request_builder.rb +104 -0
- data/lib/images/upload/complete/complete.rb +0 -0
- data/lib/images/upload/complete/complete_request_builder.rb +79 -0
- data/lib/images/upload/init/init.rb +0 -0
- data/lib/images/upload/init/init_request_builder.rb +78 -0
- data/lib/images/upload/upload.rb +0 -0
- data/lib/images/upload/upload_request_builder.rb +37 -0
- data/lib/kiota-lock.json +34 -0
- data/lib/models/audio_track.rb +242 -0
- data/lib/models/audio_track_delete.rb +102 -0
- data/lib/models/chapter.rb +142 -0
- data/lib/models/file.rb +242 -0
- data/lib/models/file_status.rb +12 -0
- data/lib/models/github_com_rixlhq_api_db_sqlc/github_com_rixlhq_api_db_sqlc.rb +0 -0
- data/lib/models/github_com_rixlhq_api_db_sqlc_plan_type.rb +10 -0
- data/lib/models/github_com_rixlhq_api_db_sqlc_video_quality.rb +9 -0
- data/lib/models/github_com_rixlhq_api_internal_errors/github_com_rixlhq_api_internal_errors.rb +0 -0
- data/lib/models/github_com_rixlhq_api_internal_errors_error_response.rb +126 -0
- data/lib/models/github_com_rixlhq_api_internal_videos/github_com_rixlhq_api_internal_videos.rb +0 -0
- data/lib/models/github_com_rixlhq_api_internal_videos_handler_upload/github_com_rixlhq_api_internal_videos_handler_upload.rb +0 -0
- data/lib/models/github_com_rixlhq_api_internal_videos_handler_upload_complete_request.rb +84 -0
- data/lib/models/github_com_rixlhq_api_internal_videos_handler_upload_init_response.rb +162 -0
- data/lib/models/github_com_rixlhq_api_internal_videos_types/github_com_rixlhq_api_internal_videos_types.rb +0 -0
- data/lib/models/github_com_rixlhq_api_internal_videos_types_chapter_input.rb +102 -0
- data/lib/models/github_com_rixlhq_api_internal_videos_video_response.rb +302 -0
- data/lib/models/image.rb +182 -0
- data/lib/models/internal_images_handler/internal_images_handler.rb +0 -0
- data/lib/models/internal_images_handler_complete_request.rb +104 -0
- data/lib/models/internal_images_handler_init_response.rb +122 -0
- data/lib/models/internal_images_handler_upload_init_request.rb +104 -0
- data/lib/models/internal_videos_handler_subtitles/internal_videos_handler_subtitles.rb +0 -0
- data/lib/models/internal_videos_handler_subtitles_language_response.rb +102 -0
- data/lib/models/models.rb +29 -0
- data/lib/models/pagination/pagination.rb +0 -0
- data/lib/models/pagination_paginated_response_image.rb +102 -0
- data/lib/models/pagination_paginated_response_post.rb +102 -0
- data/lib/models/pagination_paginated_response_video.rb +102 -0
- data/lib/models/pagination_pagination.rb +124 -0
- data/lib/models/post.rb +262 -0
- data/lib/models/post_type.rb +8 -0
- data/lib/models/subtitle.rb +222 -0
- data/lib/models/subtitle_delete.rb +102 -0
- data/lib/models/update_chapters_request.rb +84 -0
- data/lib/models/update_chapters_response.rb +102 -0
- data/lib/models/video.rb +302 -0
- data/lib/models/video_upload_init_request.rb +124 -0
- data/lib/rixl.rb +43 -0
- data/lib/videos/item/audio_tracks/audio_tracks.rb +0 -0
- data/lib/videos/item/audio_tracks/audio_tracks_request_builder.rb +118 -0
- data/lib/videos/item/audio_tracks/item/item.rb +0 -0
- data/lib/videos/item/audio_tracks/item/with_track_item_request_builder.rb +75 -0
- data/lib/videos/item/audio_tracks/language/item/item.rb +0 -0
- data/lib/videos/item/audio_tracks/language/item/with_lang_code_item_request_builder.rb +106 -0
- data/lib/videos/item/audio_tracks/language/language.rb +0 -0
- data/lib/videos/item/audio_tracks/language/language_request_builder.rb +43 -0
- data/lib/videos/item/chapters/chapters.rb +0 -0
- data/lib/videos/item/chapters/chapters_request_builder.rb +112 -0
- data/lib/videos/item/delete/delete.rb +0 -0
- data/lib/videos/item/delete/delete_request_builder.rb +72 -0
- data/lib/videos/item/item.rb +0 -0
- data/lib/videos/item/subtitles/item/item.rb +0 -0
- data/lib/videos/item/subtitles/item/with_subtitle_item_request_builder.rb +75 -0
- data/lib/videos/item/subtitles/language/item/item.rb +0 -0
- data/lib/videos/item/subtitles/language/item/with_lang_code_item_request_builder.rb +106 -0
- data/lib/videos/item/subtitles/language/language.rb +0 -0
- data/lib/videos/item/subtitles/language/language_request_builder.rb +43 -0
- data/lib/videos/item/subtitles/subtitles.rb +0 -0
- data/lib/videos/item/subtitles/subtitles_request_builder.rb +118 -0
- data/lib/videos/item/thumbnail/thumbnail.rb +0 -0
- data/lib/videos/item/thumbnail/thumbnail_request_builder.rb +78 -0
- data/lib/videos/item/with_video_item_request_builder.rb +100 -0
- data/lib/videos/languages/languages.rb +0 -0
- data/lib/videos/languages/languages_request_builder.rb +63 -0
- data/lib/videos/upload/complete/complete.rb +0 -0
- data/lib/videos/upload/complete/complete_request_builder.rb +79 -0
- data/lib/videos/upload/init/init.rb +0 -0
- data/lib/videos/upload/init/init_request_builder.rb +78 -0
- data/lib/videos/upload/upload.rb +0 -0
- data/lib/videos/upload/upload_request_builder.rb +37 -0
- data/lib/videos/videos.rb +0 -0
- data/lib/videos/videos_request_builder.rb +109 -0
- data/sig/rixl.rbs +4 -0
- metadata +187 -0
data/lib/models/image.rb
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../rixl'
|
|
3
|
+
require_relative './models'
|
|
4
|
+
|
|
5
|
+
module Rixl
|
|
6
|
+
module Models
|
|
7
|
+
class Image
|
|
8
|
+
include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
|
|
9
|
+
##
|
|
10
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
11
|
+
@additional_data
|
|
12
|
+
##
|
|
13
|
+
# The attached_to_video property
|
|
14
|
+
@attached_to_video
|
|
15
|
+
##
|
|
16
|
+
# The file property
|
|
17
|
+
@file
|
|
18
|
+
##
|
|
19
|
+
# The height property
|
|
20
|
+
@height
|
|
21
|
+
##
|
|
22
|
+
# The id property
|
|
23
|
+
@id
|
|
24
|
+
##
|
|
25
|
+
# The thumbhash property
|
|
26
|
+
@thumbhash
|
|
27
|
+
##
|
|
28
|
+
# The width property
|
|
29
|
+
@width
|
|
30
|
+
##
|
|
31
|
+
## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
32
|
+
## @return a i_dictionary
|
|
33
|
+
##
|
|
34
|
+
def additional_data
|
|
35
|
+
return @additional_data
|
|
36
|
+
end
|
|
37
|
+
##
|
|
38
|
+
## Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
39
|
+
## @param value Value to set for the AdditionalData property.
|
|
40
|
+
## @return a void
|
|
41
|
+
##
|
|
42
|
+
def additional_data=(value)
|
|
43
|
+
@additional_data = value
|
|
44
|
+
end
|
|
45
|
+
##
|
|
46
|
+
## Gets the attached_to_video property value. The attached_to_video property
|
|
47
|
+
## @return a boolean
|
|
48
|
+
##
|
|
49
|
+
def attached_to_video
|
|
50
|
+
return @attached_to_video
|
|
51
|
+
end
|
|
52
|
+
##
|
|
53
|
+
## Sets the attached_to_video property value. The attached_to_video property
|
|
54
|
+
## @param value Value to set for the attached_to_video property.
|
|
55
|
+
## @return a void
|
|
56
|
+
##
|
|
57
|
+
def attached_to_video=(value)
|
|
58
|
+
@attached_to_video = value
|
|
59
|
+
end
|
|
60
|
+
##
|
|
61
|
+
## Instantiates a new Image and sets the default values.
|
|
62
|
+
## @return a void
|
|
63
|
+
##
|
|
64
|
+
def initialize()
|
|
65
|
+
@additional_data = Hash.new
|
|
66
|
+
end
|
|
67
|
+
##
|
|
68
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
|
69
|
+
## @param parse_node The parse node to use to read the discriminator value and create the object
|
|
70
|
+
## @return a image
|
|
71
|
+
##
|
|
72
|
+
def self.create_from_discriminator_value(parse_node)
|
|
73
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
|
74
|
+
return Image.new
|
|
75
|
+
end
|
|
76
|
+
##
|
|
77
|
+
## Gets the file property value. The file property
|
|
78
|
+
## @return a file
|
|
79
|
+
##
|
|
80
|
+
def file
|
|
81
|
+
return @file
|
|
82
|
+
end
|
|
83
|
+
##
|
|
84
|
+
## Sets the file property value. The file property
|
|
85
|
+
## @param value Value to set for the file property.
|
|
86
|
+
## @return a void
|
|
87
|
+
##
|
|
88
|
+
def file=(value)
|
|
89
|
+
@file = value
|
|
90
|
+
end
|
|
91
|
+
##
|
|
92
|
+
## The deserialization information for the current model
|
|
93
|
+
## @return a i_dictionary
|
|
94
|
+
##
|
|
95
|
+
def get_field_deserializers()
|
|
96
|
+
return {
|
|
97
|
+
"attached_to_video" => lambda {|n| @attached_to_video = n.get_boolean_value() },
|
|
98
|
+
"file" => lambda {|n| @file = n.get_object_value(lambda {|pn| Rixl::Models::File.create_from_discriminator_value(pn) }) },
|
|
99
|
+
"height" => lambda {|n| @height = n.get_number_value() },
|
|
100
|
+
"id" => lambda {|n| @id = n.get_string_value() },
|
|
101
|
+
"thumbhash" => lambda {|n| @thumbhash = n.get_string_value() },
|
|
102
|
+
"width" => lambda {|n| @width = n.get_number_value() },
|
|
103
|
+
}
|
|
104
|
+
end
|
|
105
|
+
##
|
|
106
|
+
## Gets the height property value. The height property
|
|
107
|
+
## @return a integer
|
|
108
|
+
##
|
|
109
|
+
def height
|
|
110
|
+
return @height
|
|
111
|
+
end
|
|
112
|
+
##
|
|
113
|
+
## Sets the height property value. The height property
|
|
114
|
+
## @param value Value to set for the height property.
|
|
115
|
+
## @return a void
|
|
116
|
+
##
|
|
117
|
+
def height=(value)
|
|
118
|
+
@height = value
|
|
119
|
+
end
|
|
120
|
+
##
|
|
121
|
+
## Gets the id property value. The id property
|
|
122
|
+
## @return a string
|
|
123
|
+
##
|
|
124
|
+
def id
|
|
125
|
+
return @id
|
|
126
|
+
end
|
|
127
|
+
##
|
|
128
|
+
## Sets the id property value. The id property
|
|
129
|
+
## @param value Value to set for the id property.
|
|
130
|
+
## @return a void
|
|
131
|
+
##
|
|
132
|
+
def id=(value)
|
|
133
|
+
@id = value
|
|
134
|
+
end
|
|
135
|
+
##
|
|
136
|
+
## Serializes information the current object
|
|
137
|
+
## @param writer Serialization writer to use to serialize this model
|
|
138
|
+
## @return a void
|
|
139
|
+
##
|
|
140
|
+
def serialize(writer)
|
|
141
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
142
|
+
writer.write_boolean_value("attached_to_video", @attached_to_video)
|
|
143
|
+
writer.write_object_value("file", @file)
|
|
144
|
+
writer.write_number_value("height", @height)
|
|
145
|
+
writer.write_string_value("id", @id)
|
|
146
|
+
writer.write_string_value("thumbhash", @thumbhash)
|
|
147
|
+
writer.write_number_value("width", @width)
|
|
148
|
+
writer.write_additional_data(@additional_data)
|
|
149
|
+
end
|
|
150
|
+
##
|
|
151
|
+
## Gets the thumbhash property value. The thumbhash property
|
|
152
|
+
## @return a string
|
|
153
|
+
##
|
|
154
|
+
def thumbhash
|
|
155
|
+
return @thumbhash
|
|
156
|
+
end
|
|
157
|
+
##
|
|
158
|
+
## Sets the thumbhash property value. The thumbhash property
|
|
159
|
+
## @param value Value to set for the thumbhash property.
|
|
160
|
+
## @return a void
|
|
161
|
+
##
|
|
162
|
+
def thumbhash=(value)
|
|
163
|
+
@thumbhash = value
|
|
164
|
+
end
|
|
165
|
+
##
|
|
166
|
+
## Gets the width property value. The width property
|
|
167
|
+
## @return a integer
|
|
168
|
+
##
|
|
169
|
+
def width
|
|
170
|
+
return @width
|
|
171
|
+
end
|
|
172
|
+
##
|
|
173
|
+
## Sets the width property value. The width property
|
|
174
|
+
## @param value Value to set for the width property.
|
|
175
|
+
## @return a void
|
|
176
|
+
##
|
|
177
|
+
def width=(value)
|
|
178
|
+
@width = value
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
end
|
|
182
|
+
end
|
|
File without changes
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../rixl'
|
|
3
|
+
require_relative './models'
|
|
4
|
+
|
|
5
|
+
module Rixl
|
|
6
|
+
module Models
|
|
7
|
+
##
|
|
8
|
+
# Upload completion request
|
|
9
|
+
class Internal_images_handlerCompleteRequest
|
|
10
|
+
include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
|
|
11
|
+
##
|
|
12
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
13
|
+
@additional_data
|
|
14
|
+
##
|
|
15
|
+
# The attached_to_video property
|
|
16
|
+
@attached_to_video
|
|
17
|
+
##
|
|
18
|
+
# The image_id property
|
|
19
|
+
@image_id
|
|
20
|
+
##
|
|
21
|
+
## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
22
|
+
## @return a i_dictionary
|
|
23
|
+
##
|
|
24
|
+
def additional_data
|
|
25
|
+
return @additional_data
|
|
26
|
+
end
|
|
27
|
+
##
|
|
28
|
+
## Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
29
|
+
## @param value Value to set for the AdditionalData property.
|
|
30
|
+
## @return a void
|
|
31
|
+
##
|
|
32
|
+
def additional_data=(value)
|
|
33
|
+
@additional_data = value
|
|
34
|
+
end
|
|
35
|
+
##
|
|
36
|
+
## Gets the attached_to_video property value. The attached_to_video property
|
|
37
|
+
## @return a boolean
|
|
38
|
+
##
|
|
39
|
+
def attached_to_video
|
|
40
|
+
return @attached_to_video
|
|
41
|
+
end
|
|
42
|
+
##
|
|
43
|
+
## Sets the attached_to_video property value. The attached_to_video property
|
|
44
|
+
## @param value Value to set for the attached_to_video property.
|
|
45
|
+
## @return a void
|
|
46
|
+
##
|
|
47
|
+
def attached_to_video=(value)
|
|
48
|
+
@attached_to_video = value
|
|
49
|
+
end
|
|
50
|
+
##
|
|
51
|
+
## Instantiates a new Internal_images_handlerCompleteRequest and sets the default values.
|
|
52
|
+
## @return a void
|
|
53
|
+
##
|
|
54
|
+
def initialize()
|
|
55
|
+
@additional_data = Hash.new
|
|
56
|
+
end
|
|
57
|
+
##
|
|
58
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
|
59
|
+
## @param parse_node The parse node to use to read the discriminator value and create the object
|
|
60
|
+
## @return a internal_images_handler_complete_request
|
|
61
|
+
##
|
|
62
|
+
def self.create_from_discriminator_value(parse_node)
|
|
63
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
|
64
|
+
return Internal_images_handlerCompleteRequest.new
|
|
65
|
+
end
|
|
66
|
+
##
|
|
67
|
+
## The deserialization information for the current model
|
|
68
|
+
## @return a i_dictionary
|
|
69
|
+
##
|
|
70
|
+
def get_field_deserializers()
|
|
71
|
+
return {
|
|
72
|
+
"attached_to_video" => lambda {|n| @attached_to_video = n.get_boolean_value() },
|
|
73
|
+
"image_id" => lambda {|n| @image_id = n.get_string_value() },
|
|
74
|
+
}
|
|
75
|
+
end
|
|
76
|
+
##
|
|
77
|
+
## Gets the image_id property value. The image_id property
|
|
78
|
+
## @return a string
|
|
79
|
+
##
|
|
80
|
+
def image_id
|
|
81
|
+
return @image_id
|
|
82
|
+
end
|
|
83
|
+
##
|
|
84
|
+
## Sets the image_id property value. The image_id property
|
|
85
|
+
## @param value Value to set for the image_id property.
|
|
86
|
+
## @return a void
|
|
87
|
+
##
|
|
88
|
+
def image_id=(value)
|
|
89
|
+
@image_id = value
|
|
90
|
+
end
|
|
91
|
+
##
|
|
92
|
+
## Serializes information the current object
|
|
93
|
+
## @param writer Serialization writer to use to serialize this model
|
|
94
|
+
## @return a void
|
|
95
|
+
##
|
|
96
|
+
def serialize(writer)
|
|
97
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
98
|
+
writer.write_boolean_value("attached_to_video", @attached_to_video)
|
|
99
|
+
writer.write_string_value("image_id", @image_id)
|
|
100
|
+
writer.write_additional_data(@additional_data)
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../rixl'
|
|
3
|
+
require_relative './models'
|
|
4
|
+
|
|
5
|
+
module Rixl
|
|
6
|
+
module Models
|
|
7
|
+
class Internal_images_handlerInitResponse
|
|
8
|
+
include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
|
|
9
|
+
##
|
|
10
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
11
|
+
@additional_data
|
|
12
|
+
##
|
|
13
|
+
# The image_id property
|
|
14
|
+
@image_id
|
|
15
|
+
##
|
|
16
|
+
# The presigned_url property
|
|
17
|
+
@presigned_url
|
|
18
|
+
##
|
|
19
|
+
# The upload_expires property
|
|
20
|
+
@upload_expires
|
|
21
|
+
##
|
|
22
|
+
## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
23
|
+
## @return a i_dictionary
|
|
24
|
+
##
|
|
25
|
+
def additional_data
|
|
26
|
+
return @additional_data
|
|
27
|
+
end
|
|
28
|
+
##
|
|
29
|
+
## Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
30
|
+
## @param value Value to set for the AdditionalData property.
|
|
31
|
+
## @return a void
|
|
32
|
+
##
|
|
33
|
+
def additional_data=(value)
|
|
34
|
+
@additional_data = value
|
|
35
|
+
end
|
|
36
|
+
##
|
|
37
|
+
## Instantiates a new Internal_images_handlerInitResponse and sets the default values.
|
|
38
|
+
## @return a void
|
|
39
|
+
##
|
|
40
|
+
def initialize()
|
|
41
|
+
@additional_data = Hash.new
|
|
42
|
+
end
|
|
43
|
+
##
|
|
44
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
|
45
|
+
## @param parse_node The parse node to use to read the discriminator value and create the object
|
|
46
|
+
## @return a internal_images_handler_init_response
|
|
47
|
+
##
|
|
48
|
+
def self.create_from_discriminator_value(parse_node)
|
|
49
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
|
50
|
+
return Internal_images_handlerInitResponse.new
|
|
51
|
+
end
|
|
52
|
+
##
|
|
53
|
+
## The deserialization information for the current model
|
|
54
|
+
## @return a i_dictionary
|
|
55
|
+
##
|
|
56
|
+
def get_field_deserializers()
|
|
57
|
+
return {
|
|
58
|
+
"image_id" => lambda {|n| @image_id = n.get_string_value() },
|
|
59
|
+
"presigned_url" => lambda {|n| @presigned_url = n.get_string_value() },
|
|
60
|
+
"upload_expires" => lambda {|n| @upload_expires = n.get_number_value() },
|
|
61
|
+
}
|
|
62
|
+
end
|
|
63
|
+
##
|
|
64
|
+
## Gets the image_id property value. The image_id property
|
|
65
|
+
## @return a string
|
|
66
|
+
##
|
|
67
|
+
def image_id
|
|
68
|
+
return @image_id
|
|
69
|
+
end
|
|
70
|
+
##
|
|
71
|
+
## Sets the image_id property value. The image_id property
|
|
72
|
+
## @param value Value to set for the image_id property.
|
|
73
|
+
## @return a void
|
|
74
|
+
##
|
|
75
|
+
def image_id=(value)
|
|
76
|
+
@image_id = value
|
|
77
|
+
end
|
|
78
|
+
##
|
|
79
|
+
## Gets the presigned_url property value. The presigned_url property
|
|
80
|
+
## @return a string
|
|
81
|
+
##
|
|
82
|
+
def presigned_url
|
|
83
|
+
return @presigned_url
|
|
84
|
+
end
|
|
85
|
+
##
|
|
86
|
+
## Sets the presigned_url property value. The presigned_url property
|
|
87
|
+
## @param value Value to set for the presigned_url property.
|
|
88
|
+
## @return a void
|
|
89
|
+
##
|
|
90
|
+
def presigned_url=(value)
|
|
91
|
+
@presigned_url = value
|
|
92
|
+
end
|
|
93
|
+
##
|
|
94
|
+
## Serializes information the current object
|
|
95
|
+
## @param writer Serialization writer to use to serialize this model
|
|
96
|
+
## @return a void
|
|
97
|
+
##
|
|
98
|
+
def serialize(writer)
|
|
99
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
100
|
+
writer.write_string_value("image_id", @image_id)
|
|
101
|
+
writer.write_string_value("presigned_url", @presigned_url)
|
|
102
|
+
writer.write_number_value("upload_expires", @upload_expires)
|
|
103
|
+
writer.write_additional_data(@additional_data)
|
|
104
|
+
end
|
|
105
|
+
##
|
|
106
|
+
## Gets the upload_expires property value. The upload_expires property
|
|
107
|
+
## @return a integer
|
|
108
|
+
##
|
|
109
|
+
def upload_expires
|
|
110
|
+
return @upload_expires
|
|
111
|
+
end
|
|
112
|
+
##
|
|
113
|
+
## Sets the upload_expires property value. The upload_expires property
|
|
114
|
+
## @param value Value to set for the upload_expires property.
|
|
115
|
+
## @return a void
|
|
116
|
+
##
|
|
117
|
+
def upload_expires=(value)
|
|
118
|
+
@upload_expires = value
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
end
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../rixl'
|
|
3
|
+
require_relative './models'
|
|
4
|
+
|
|
5
|
+
module Rixl
|
|
6
|
+
module Models
|
|
7
|
+
##
|
|
8
|
+
# Upload initialization request
|
|
9
|
+
class Internal_images_handlerUploadInitRequest
|
|
10
|
+
include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
|
|
11
|
+
##
|
|
12
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
13
|
+
@additional_data
|
|
14
|
+
##
|
|
15
|
+
# The format property
|
|
16
|
+
@format
|
|
17
|
+
##
|
|
18
|
+
# The name property
|
|
19
|
+
@name
|
|
20
|
+
##
|
|
21
|
+
## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
22
|
+
## @return a i_dictionary
|
|
23
|
+
##
|
|
24
|
+
def additional_data
|
|
25
|
+
return @additional_data
|
|
26
|
+
end
|
|
27
|
+
##
|
|
28
|
+
## Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
29
|
+
## @param value Value to set for the AdditionalData property.
|
|
30
|
+
## @return a void
|
|
31
|
+
##
|
|
32
|
+
def additional_data=(value)
|
|
33
|
+
@additional_data = value
|
|
34
|
+
end
|
|
35
|
+
##
|
|
36
|
+
## Instantiates a new Internal_images_handlerUploadInitRequest and sets the default values.
|
|
37
|
+
## @return a void
|
|
38
|
+
##
|
|
39
|
+
def initialize()
|
|
40
|
+
@additional_data = Hash.new
|
|
41
|
+
end
|
|
42
|
+
##
|
|
43
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
|
44
|
+
## @param parse_node The parse node to use to read the discriminator value and create the object
|
|
45
|
+
## @return a internal_images_handler_upload_init_request
|
|
46
|
+
##
|
|
47
|
+
def self.create_from_discriminator_value(parse_node)
|
|
48
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
|
49
|
+
return Internal_images_handlerUploadInitRequest.new
|
|
50
|
+
end
|
|
51
|
+
##
|
|
52
|
+
## Gets the format property value. The format property
|
|
53
|
+
## @return a string
|
|
54
|
+
##
|
|
55
|
+
def format
|
|
56
|
+
return @format
|
|
57
|
+
end
|
|
58
|
+
##
|
|
59
|
+
## Sets the format property value. The format property
|
|
60
|
+
## @param value Value to set for the format property.
|
|
61
|
+
## @return a void
|
|
62
|
+
##
|
|
63
|
+
def format=(value)
|
|
64
|
+
@format = value
|
|
65
|
+
end
|
|
66
|
+
##
|
|
67
|
+
## The deserialization information for the current model
|
|
68
|
+
## @return a i_dictionary
|
|
69
|
+
##
|
|
70
|
+
def get_field_deserializers()
|
|
71
|
+
return {
|
|
72
|
+
"format" => lambda {|n| @format = n.get_string_value() },
|
|
73
|
+
"name" => lambda {|n| @name = n.get_string_value() },
|
|
74
|
+
}
|
|
75
|
+
end
|
|
76
|
+
##
|
|
77
|
+
## Gets the name property value. The name property
|
|
78
|
+
## @return a string
|
|
79
|
+
##
|
|
80
|
+
def name
|
|
81
|
+
return @name
|
|
82
|
+
end
|
|
83
|
+
##
|
|
84
|
+
## Sets the name property value. The name property
|
|
85
|
+
## @param value Value to set for the name property.
|
|
86
|
+
## @return a void
|
|
87
|
+
##
|
|
88
|
+
def name=(value)
|
|
89
|
+
@name = value
|
|
90
|
+
end
|
|
91
|
+
##
|
|
92
|
+
## Serializes information the current object
|
|
93
|
+
## @param writer Serialization writer to use to serialize this model
|
|
94
|
+
## @return a void
|
|
95
|
+
##
|
|
96
|
+
def serialize(writer)
|
|
97
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
98
|
+
writer.write_string_value("format", @format)
|
|
99
|
+
writer.write_string_value("name", @name)
|
|
100
|
+
writer.write_additional_data(@additional_data)
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
File without changes
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
require 'microsoft_kiota_abstractions'
|
|
2
|
+
require_relative '../rixl'
|
|
3
|
+
require_relative './models'
|
|
4
|
+
|
|
5
|
+
module Rixl
|
|
6
|
+
module Models
|
|
7
|
+
class Internal_videos_handler_subtitlesLanguageResponse
|
|
8
|
+
include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
|
|
9
|
+
##
|
|
10
|
+
# Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
11
|
+
@additional_data
|
|
12
|
+
##
|
|
13
|
+
# The code property
|
|
14
|
+
@code
|
|
15
|
+
##
|
|
16
|
+
# The name property
|
|
17
|
+
@name
|
|
18
|
+
##
|
|
19
|
+
## Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
20
|
+
## @return a i_dictionary
|
|
21
|
+
##
|
|
22
|
+
def additional_data
|
|
23
|
+
return @additional_data
|
|
24
|
+
end
|
|
25
|
+
##
|
|
26
|
+
## Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
27
|
+
## @param value Value to set for the AdditionalData property.
|
|
28
|
+
## @return a void
|
|
29
|
+
##
|
|
30
|
+
def additional_data=(value)
|
|
31
|
+
@additional_data = value
|
|
32
|
+
end
|
|
33
|
+
##
|
|
34
|
+
## Gets the code property value. The code property
|
|
35
|
+
## @return a string
|
|
36
|
+
##
|
|
37
|
+
def code
|
|
38
|
+
return @code
|
|
39
|
+
end
|
|
40
|
+
##
|
|
41
|
+
## Sets the code property value. The code property
|
|
42
|
+
## @param value Value to set for the code property.
|
|
43
|
+
## @return a void
|
|
44
|
+
##
|
|
45
|
+
def code=(value)
|
|
46
|
+
@code = value
|
|
47
|
+
end
|
|
48
|
+
##
|
|
49
|
+
## Instantiates a new Internal_videos_handler_subtitlesLanguageResponse and sets the default values.
|
|
50
|
+
## @return a void
|
|
51
|
+
##
|
|
52
|
+
def initialize()
|
|
53
|
+
@additional_data = Hash.new
|
|
54
|
+
end
|
|
55
|
+
##
|
|
56
|
+
## Creates a new instance of the appropriate class based on discriminator value
|
|
57
|
+
## @param parse_node The parse node to use to read the discriminator value and create the object
|
|
58
|
+
## @return a internal_videos_handler_subtitles_language_response
|
|
59
|
+
##
|
|
60
|
+
def self.create_from_discriminator_value(parse_node)
|
|
61
|
+
raise StandardError, 'parse_node cannot be null' if parse_node.nil?
|
|
62
|
+
return Internal_videos_handler_subtitlesLanguageResponse.new
|
|
63
|
+
end
|
|
64
|
+
##
|
|
65
|
+
## The deserialization information for the current model
|
|
66
|
+
## @return a i_dictionary
|
|
67
|
+
##
|
|
68
|
+
def get_field_deserializers()
|
|
69
|
+
return {
|
|
70
|
+
"code" => lambda {|n| @code = n.get_string_value() },
|
|
71
|
+
"name" => lambda {|n| @name = n.get_string_value() },
|
|
72
|
+
}
|
|
73
|
+
end
|
|
74
|
+
##
|
|
75
|
+
## Gets the name property value. The name property
|
|
76
|
+
## @return a string
|
|
77
|
+
##
|
|
78
|
+
def name
|
|
79
|
+
return @name
|
|
80
|
+
end
|
|
81
|
+
##
|
|
82
|
+
## Sets the name property value. The name property
|
|
83
|
+
## @param value Value to set for the name property.
|
|
84
|
+
## @return a void
|
|
85
|
+
##
|
|
86
|
+
def name=(value)
|
|
87
|
+
@name = value
|
|
88
|
+
end
|
|
89
|
+
##
|
|
90
|
+
## Serializes information the current object
|
|
91
|
+
## @param writer Serialization writer to use to serialize this model
|
|
92
|
+
## @return a void
|
|
93
|
+
##
|
|
94
|
+
def serialize(writer)
|
|
95
|
+
raise StandardError, 'writer cannot be null' if writer.nil?
|
|
96
|
+
writer.write_string_value("code", @code)
|
|
97
|
+
writer.write_string_value("name", @name)
|
|
98
|
+
writer.write_additional_data(@additional_data)
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
require_relative 'file_status'
|
|
2
|
+
require_relative 'github_com_rixlhq_api_db_sqlc_plan_type'
|
|
3
|
+
require_relative 'github_com_rixlhq_api_db_sqlc_video_quality'
|
|
4
|
+
require_relative 'post_type'
|
|
5
|
+
require_relative 'audio_track'
|
|
6
|
+
require_relative 'audio_track_delete'
|
|
7
|
+
require_relative 'chapter'
|
|
8
|
+
require_relative 'file'
|
|
9
|
+
require_relative 'github_com_rixlhq_api_internal_errors_error_response'
|
|
10
|
+
require_relative 'github_com_rixlhq_api_internal_videos_video_response'
|
|
11
|
+
require_relative 'github_com_rixlhq_api_internal_videos_handler_upload_complete_request'
|
|
12
|
+
require_relative 'github_com_rixlhq_api_internal_videos_handler_upload_init_response'
|
|
13
|
+
require_relative 'github_com_rixlhq_api_internal_videos_types_chapter_input'
|
|
14
|
+
require_relative 'image'
|
|
15
|
+
require_relative 'internal_images_handler_complete_request'
|
|
16
|
+
require_relative 'internal_images_handler_init_response'
|
|
17
|
+
require_relative 'internal_images_handler_upload_init_request'
|
|
18
|
+
require_relative 'internal_videos_handler_subtitles_language_response'
|
|
19
|
+
require_relative 'pagination_paginated_response_image'
|
|
20
|
+
require_relative 'pagination_paginated_response_post'
|
|
21
|
+
require_relative 'pagination_paginated_response_video'
|
|
22
|
+
require_relative 'pagination_pagination'
|
|
23
|
+
require_relative 'post'
|
|
24
|
+
require_relative 'subtitle'
|
|
25
|
+
require_relative 'subtitle_delete'
|
|
26
|
+
require_relative 'update_chapters_request'
|
|
27
|
+
require_relative 'update_chapters_response'
|
|
28
|
+
require_relative 'video'
|
|
29
|
+
require_relative 'video_upload_init_request'
|
|
File without changes
|