@prdb/sdk 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.
Files changed (199) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +68 -0
  3. package/dist/generated/actors/batch/index.d.ts +32 -0
  4. package/dist/generated/actors/batch/index.d.ts.map +1 -0
  5. package/dist/generated/actors/batch/index.js +30 -0
  6. package/dist/generated/actors/batch/index.js.map +1 -0
  7. package/dist/generated/actors/changes/index.d.ts +38 -0
  8. package/dist/generated/actors/changes/index.d.ts.map +1 -0
  9. package/dist/generated/actors/changes/index.js +36 -0
  10. package/dist/generated/actors/changes/index.js.map +1 -0
  11. package/dist/generated/actors/index.d.ts +70 -0
  12. package/dist/generated/actors/index.d.ts.map +1 -0
  13. package/dist/generated/actors/index.js +67 -0
  14. package/dist/generated/actors/index.js.map +1 -0
  15. package/dist/generated/actors/item/index.d.ts +30 -0
  16. package/dist/generated/actors/item/index.d.ts.map +1 -0
  17. package/dist/generated/actors/item/index.js +27 -0
  18. package/dist/generated/actors/item/index.js.map +1 -0
  19. package/dist/generated/downloadedFromIndexers/index.d.ts +45 -0
  20. package/dist/generated/downloadedFromIndexers/index.d.ts.map +1 -0
  21. package/dist/generated/downloadedFromIndexers/index.js +44 -0
  22. package/dist/generated/downloadedFromIndexers/index.js.map +1 -0
  23. package/dist/generated/downloadedFromIndexers/item/filenames/index.d.ts +45 -0
  24. package/dist/generated/downloadedFromIndexers/item/filenames/index.d.ts.map +1 -0
  25. package/dist/generated/downloadedFromIndexers/item/filenames/index.js +43 -0
  26. package/dist/generated/downloadedFromIndexers/item/filenames/index.js.map +1 -0
  27. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.d.ts +47 -0
  28. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.d.ts.map +1 -0
  29. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.js +41 -0
  30. package/dist/generated/downloadedFromIndexers/item/filenames/item/index.js.map +1 -0
  31. package/dist/generated/downloadedFromIndexers/item/index.d.ts +56 -0
  32. package/dist/generated/downloadedFromIndexers/item/index.d.ts.map +1 -0
  33. package/dist/generated/downloadedFromIndexers/item/index.js +52 -0
  34. package/dist/generated/downloadedFromIndexers/item/index.js.map +1 -0
  35. package/dist/generated/favoriteActors/changes/index.d.ts +38 -0
  36. package/dist/generated/favoriteActors/changes/index.d.ts.map +1 -0
  37. package/dist/generated/favoriteActors/changes/index.js +36 -0
  38. package/dist/generated/favoriteActors/changes/index.js.map +1 -0
  39. package/dist/generated/favoriteActors/index.d.ts +64 -0
  40. package/dist/generated/favoriteActors/index.d.ts.map +1 -0
  41. package/dist/generated/favoriteActors/index.js +61 -0
  42. package/dist/generated/favoriteActors/index.js.map +1 -0
  43. package/dist/generated/favoriteActors/item/index.d.ts +41 -0
  44. package/dist/generated/favoriteActors/item/index.d.ts.map +1 -0
  45. package/dist/generated/favoriteActors/item/index.js +35 -0
  46. package/dist/generated/favoriteActors/item/index.js.map +1 -0
  47. package/dist/generated/favoriteSites/changes/index.d.ts +38 -0
  48. package/dist/generated/favoriteSites/changes/index.d.ts.map +1 -0
  49. package/dist/generated/favoriteSites/changes/index.js +36 -0
  50. package/dist/generated/favoriteSites/changes/index.js.map +1 -0
  51. package/dist/generated/favoriteSites/index.d.ts +64 -0
  52. package/dist/generated/favoriteSites/index.d.ts.map +1 -0
  53. package/dist/generated/favoriteSites/index.js +61 -0
  54. package/dist/generated/favoriteSites/index.js.map +1 -0
  55. package/dist/generated/favoriteSites/item/index.d.ts +41 -0
  56. package/dist/generated/favoriteSites/item/index.d.ts.map +1 -0
  57. package/dist/generated/favoriteSites/item/index.js +35 -0
  58. package/dist/generated/favoriteSites/item/index.js.map +1 -0
  59. package/dist/generated/health/index.d.ts +28 -0
  60. package/dist/generated/health/index.d.ts.map +1 -0
  61. package/dist/generated/health/index.js +23 -0
  62. package/dist/generated/health/index.js.map +1 -0
  63. package/dist/generated/indexerFilehashes/changes/index.d.ts +49 -0
  64. package/dist/generated/indexerFilehashes/changes/index.d.ts.map +1 -0
  65. package/dist/generated/indexerFilehashes/changes/index.js +46 -0
  66. package/dist/generated/indexerFilehashes/changes/index.js.map +1 -0
  67. package/dist/generated/indexerFilehashes/index.d.ts +30 -0
  68. package/dist/generated/indexerFilehashes/index.d.ts.map +1 -0
  69. package/dist/generated/indexerFilehashes/index.js +30 -0
  70. package/dist/generated/indexerFilehashes/index.js.map +1 -0
  71. package/dist/generated/indexerFilehashes/latest/index.d.ts +73 -0
  72. package/dist/generated/indexerFilehashes/latest/index.d.ts.map +1 -0
  73. package/dist/generated/indexerFilehashes/latest/index.js +68 -0
  74. package/dist/generated/indexerFilehashes/latest/index.js.map +1 -0
  75. package/dist/generated/indexerFilehashes/lookup/index.d.ts +32 -0
  76. package/dist/generated/indexerFilehashes/lookup/index.d.ts.map +1 -0
  77. package/dist/generated/indexerFilehashes/lookup/index.js +30 -0
  78. package/dist/generated/indexerFilehashes/lookup/index.js.map +1 -0
  79. package/dist/generated/models/index.d.ts +4223 -0
  80. package/dist/generated/models/index.d.ts.map +1 -0
  81. package/dist/generated/models/index.js +4251 -0
  82. package/dist/generated/models/index.js.map +1 -0
  83. package/dist/generated/prdbClient.d.ts +85 -0
  84. package/dist/generated/prdbClient.d.ts.map +1 -0
  85. package/dist/generated/prdbClient.js +129 -0
  86. package/dist/generated/prdbClient.js.map +1 -0
  87. package/dist/generated/predb/index.d.ts +82 -0
  88. package/dist/generated/predb/index.d.ts.map +1 -0
  89. package/dist/generated/predb/index.js +78 -0
  90. package/dist/generated/predb/index.js.map +1 -0
  91. package/dist/generated/predb/latest/index.d.ts +40 -0
  92. package/dist/generated/predb/latest/index.d.ts.map +1 -0
  93. package/dist/generated/predb/latest/index.js +38 -0
  94. package/dist/generated/predb/latest/index.js.map +1 -0
  95. package/dist/generated/predb/searchByVideo/index.d.ts +37 -0
  96. package/dist/generated/predb/searchByVideo/index.d.ts.map +1 -0
  97. package/dist/generated/predb/searchByVideo/index.js +35 -0
  98. package/dist/generated/predb/searchByVideo/index.js.map +1 -0
  99. package/dist/generated/rateLimit/index.d.ts +29 -0
  100. package/dist/generated/rateLimit/index.d.ts.map +1 -0
  101. package/dist/generated/rateLimit/index.js +26 -0
  102. package/dist/generated/rateLimit/index.js.map +1 -0
  103. package/dist/generated/sites/index.d.ts +47 -0
  104. package/dist/generated/sites/index.d.ts.map +1 -0
  105. package/dist/generated/sites/index.js +44 -0
  106. package/dist/generated/sites/index.js.map +1 -0
  107. package/dist/generated/userIdentity/index.d.ts +29 -0
  108. package/dist/generated/userIdentity/index.d.ts.map +1 -0
  109. package/dist/generated/userIdentity/index.js +26 -0
  110. package/dist/generated/userIdentity/index.js.map +1 -0
  111. package/dist/generated/videoUserImages/byOsHash/index.d.ts +22 -0
  112. package/dist/generated/videoUserImages/byOsHash/index.d.ts.map +1 -0
  113. package/dist/generated/videoUserImages/byOsHash/index.js +21 -0
  114. package/dist/generated/videoUserImages/byOsHash/index.js.map +1 -0
  115. package/dist/generated/videoUserImages/byOsHash/item/index.d.ts +30 -0
  116. package/dist/generated/videoUserImages/byOsHash/item/index.d.ts.map +1 -0
  117. package/dist/generated/videoUserImages/byOsHash/item/index.js +27 -0
  118. package/dist/generated/videoUserImages/byOsHash/item/index.js.map +1 -0
  119. package/dist/generated/videoUserImages/changes/index.d.ts +38 -0
  120. package/dist/generated/videoUserImages/changes/index.d.ts.map +1 -0
  121. package/dist/generated/videoUserImages/changes/index.js +36 -0
  122. package/dist/generated/videoUserImages/changes/index.js.map +1 -0
  123. package/dist/generated/videoUserImages/index.d.ts +56 -0
  124. package/dist/generated/videoUserImages/index.d.ts.map +1 -0
  125. package/dist/generated/videoUserImages/index.js +57 -0
  126. package/dist/generated/videoUserImages/index.js.map +1 -0
  127. package/dist/generated/videoUserImages/item/index.d.ts +39 -0
  128. package/dist/generated/videoUserImages/item/index.d.ts.map +1 -0
  129. package/dist/generated/videoUserImages/item/index.js +37 -0
  130. package/dist/generated/videoUserImages/item/index.js.map +1 -0
  131. package/dist/generated/videoUserImages/item/report/index.d.ts +35 -0
  132. package/dist/generated/videoUserImages/item/report/index.d.ts.map +1 -0
  133. package/dist/generated/videoUserImages/item/report/index.js +33 -0
  134. package/dist/generated/videoUserImages/item/report/index.js.map +1 -0
  135. package/dist/generated/videos/batch/index.d.ts +32 -0
  136. package/dist/generated/videos/batch/index.d.ts.map +1 -0
  137. package/dist/generated/videos/batch/index.js +30 -0
  138. package/dist/generated/videos/batch/index.js.map +1 -0
  139. package/dist/generated/videos/filehashes/batch/index.d.ts +32 -0
  140. package/dist/generated/videos/filehashes/batch/index.d.ts.map +1 -0
  141. package/dist/generated/videos/filehashes/batch/index.js +30 -0
  142. package/dist/generated/videos/filehashes/batch/index.js.map +1 -0
  143. package/dist/generated/videos/filehashes/changes/index.d.ts +40 -0
  144. package/dist/generated/videos/filehashes/changes/index.d.ts.map +1 -0
  145. package/dist/generated/videos/filehashes/changes/index.js +38 -0
  146. package/dist/generated/videos/filehashes/changes/index.js.map +1 -0
  147. package/dist/generated/videos/filehashes/index.d.ts +40 -0
  148. package/dist/generated/videos/filehashes/index.d.ts.map +1 -0
  149. package/dist/generated/videos/filehashes/index.js +40 -0
  150. package/dist/generated/videos/filehashes/index.js.map +1 -0
  151. package/dist/generated/videos/filehashes/latest/index.d.ts +64 -0
  152. package/dist/generated/videos/filehashes/latest/index.d.ts.map +1 -0
  153. package/dist/generated/videos/filehashes/latest/index.js +60 -0
  154. package/dist/generated/videos/filehashes/latest/index.js.map +1 -0
  155. package/dist/generated/videos/filehashes/lookup/index.d.ts +32 -0
  156. package/dist/generated/videos/filehashes/lookup/index.d.ts.map +1 -0
  157. package/dist/generated/videos/filehashes/lookup/index.js +30 -0
  158. package/dist/generated/videos/filehashes/lookup/index.js.map +1 -0
  159. package/dist/generated/videos/filehashes/unlinked/index.d.ts +57 -0
  160. package/dist/generated/videos/filehashes/unlinked/index.d.ts.map +1 -0
  161. package/dist/generated/videos/filehashes/unlinked/index.js +53 -0
  162. package/dist/generated/videos/filehashes/unlinked/index.js.map +1 -0
  163. package/dist/generated/videos/index.d.ts +82 -0
  164. package/dist/generated/videos/index.d.ts.map +1 -0
  165. package/dist/generated/videos/index.js +79 -0
  166. package/dist/generated/videos/index.js.map +1 -0
  167. package/dist/generated/videos/item/filehashes/index.d.ts +30 -0
  168. package/dist/generated/videos/item/filehashes/index.d.ts.map +1 -0
  169. package/dist/generated/videos/item/filehashes/index.js +27 -0
  170. package/dist/generated/videos/item/filehashes/index.js.map +1 -0
  171. package/dist/generated/videos/item/index.d.ts +44 -0
  172. package/dist/generated/videos/item/index.d.ts.map +1 -0
  173. package/dist/generated/videos/item/index.js +42 -0
  174. package/dist/generated/videos/item/index.js.map +1 -0
  175. package/dist/generated/videos/item/userImages/index.d.ts +30 -0
  176. package/dist/generated/videos/item/userImages/index.d.ts.map +1 -0
  177. package/dist/generated/videos/item/userImages/index.js +27 -0
  178. package/dist/generated/videos/item/userImages/index.js.map +1 -0
  179. package/dist/generated/wantedVideos/batch/index.d.ts +32 -0
  180. package/dist/generated/wantedVideos/batch/index.d.ts.map +1 -0
  181. package/dist/generated/wantedVideos/batch/index.js +30 -0
  182. package/dist/generated/wantedVideos/batch/index.js.map +1 -0
  183. package/dist/generated/wantedVideos/changes/index.d.ts +38 -0
  184. package/dist/generated/wantedVideos/changes/index.d.ts.map +1 -0
  185. package/dist/generated/wantedVideos/changes/index.js +36 -0
  186. package/dist/generated/wantedVideos/changes/index.js.map +1 -0
  187. package/dist/generated/wantedVideos/index.d.ts +73 -0
  188. package/dist/generated/wantedVideos/index.d.ts.map +1 -0
  189. package/dist/generated/wantedVideos/index.js +70 -0
  190. package/dist/generated/wantedVideos/index.js.map +1 -0
  191. package/dist/generated/wantedVideos/item/index.d.ts +59 -0
  192. package/dist/generated/wantedVideos/item/index.d.ts.map +1 -0
  193. package/dist/generated/wantedVideos/item/index.js +49 -0
  194. package/dist/generated/wantedVideos/item/index.js.map +1 -0
  195. package/dist/index.d.ts +50 -0
  196. package/dist/index.d.ts.map +1 -0
  197. package/dist/index.js +138 -0
  198. package/dist/index.js.map +1 -0
  199. package/package.json +43 -0
@@ -0,0 +1,4251 @@
1
+ /**
2
+ * Creates a new instance of the appropriate class based on discriminator value
3
+ * @param parseNode The parse node to use to read the discriminator value and create the object
4
+ * @returns {ActiveSubscriptionDto}
5
+ */
6
+ // @ts-ignore
7
+ export function createActiveSubscriptionDtoFromDiscriminatorValue(parseNode) {
8
+ return deserializeIntoActiveSubscriptionDto;
9
+ }
10
+ /**
11
+ * Creates a new instance of the appropriate class based on discriminator value
12
+ * @param parseNode The parse node to use to read the discriminator value and create the object
13
+ * @returns {ActorAliasDto}
14
+ */
15
+ // @ts-ignore
16
+ export function createActorAliasDtoFromDiscriminatorValue(parseNode) {
17
+ return deserializeIntoActorAliasDto;
18
+ }
19
+ /**
20
+ * Creates a new instance of the appropriate class based on discriminator value
21
+ * @param parseNode The parse node to use to read the discriminator value and create the object
22
+ * @returns {ActorBioDto}
23
+ */
24
+ // @ts-ignore
25
+ export function createActorBioDtoFromDiscriminatorValue(parseNode) {
26
+ return deserializeIntoActorBioDto;
27
+ }
28
+ /**
29
+ * Creates a new instance of the appropriate class based on discriminator value
30
+ * @param parseNode The parse node to use to read the discriminator value and create the object
31
+ * @returns {ActorChangeActorDto}
32
+ */
33
+ // @ts-ignore
34
+ export function createActorChangeActorDtoFromDiscriminatorValue(parseNode) {
35
+ return deserializeIntoActorChangeActorDto;
36
+ }
37
+ /**
38
+ * Creates a new instance of the appropriate class based on discriminator value
39
+ * @param parseNode The parse node to use to read the discriminator value and create the object
40
+ * @returns {ActorChangeAliasDto}
41
+ */
42
+ // @ts-ignore
43
+ export function createActorChangeAliasDtoFromDiscriminatorValue(parseNode) {
44
+ return deserializeIntoActorChangeAliasDto;
45
+ }
46
+ /**
47
+ * Creates a new instance of the appropriate class based on discriminator value
48
+ * @param parseNode The parse node to use to read the discriminator value and create the object
49
+ * @returns {ActorChangeBioDto}
50
+ */
51
+ // @ts-ignore
52
+ export function createActorChangeBioDtoFromDiscriminatorValue(parseNode) {
53
+ return deserializeIntoActorChangeBioDto;
54
+ }
55
+ /**
56
+ * Creates a new instance of the appropriate class based on discriminator value
57
+ * @param parseNode The parse node to use to read the discriminator value and create the object
58
+ * @returns {ActorChangeDto}
59
+ */
60
+ // @ts-ignore
61
+ export function createActorChangeDtoFromDiscriminatorValue(parseNode) {
62
+ return deserializeIntoActorChangeDto;
63
+ }
64
+ /**
65
+ * Creates a new instance of the appropriate class based on discriminator value
66
+ * @param parseNode The parse node to use to read the discriminator value and create the object
67
+ * @returns {ActorChangeImageDto}
68
+ */
69
+ // @ts-ignore
70
+ export function createActorChangeImageDtoFromDiscriminatorValue(parseNode) {
71
+ return deserializeIntoActorChangeImageDto;
72
+ }
73
+ /**
74
+ * Creates a new instance of the appropriate class based on discriminator value
75
+ * @param parseNode The parse node to use to read the discriminator value and create the object
76
+ * @returns {ActorChangeLinkDto}
77
+ */
78
+ // @ts-ignore
79
+ export function createActorChangeLinkDtoFromDiscriminatorValue(parseNode) {
80
+ return deserializeIntoActorChangeLinkDto;
81
+ }
82
+ /**
83
+ * Creates a new instance of the appropriate class based on discriminator value
84
+ * @param parseNode The parse node to use to read the discriminator value and create the object
85
+ * @returns {ActorDetailDto}
86
+ */
87
+ // @ts-ignore
88
+ export function createActorDetailDtoFromDiscriminatorValue(parseNode) {
89
+ return deserializeIntoActorDetailDto;
90
+ }
91
+ /**
92
+ * Creates a new instance of the appropriate class based on discriminator value
93
+ * @param parseNode The parse node to use to read the discriminator value and create the object
94
+ * @returns {ActorImageDetailDto}
95
+ */
96
+ // @ts-ignore
97
+ export function createActorImageDetailDtoFromDiscriminatorValue(parseNode) {
98
+ return deserializeIntoActorImageDetailDto;
99
+ }
100
+ /**
101
+ * Creates a new instance of the appropriate class based on discriminator value
102
+ * @param parseNode The parse node to use to read the discriminator value and create the object
103
+ * @returns {ActorLinkDto}
104
+ */
105
+ // @ts-ignore
106
+ export function createActorLinkDtoFromDiscriminatorValue(parseNode) {
107
+ return deserializeIntoActorLinkDto;
108
+ }
109
+ /**
110
+ * Creates a new instance of the appropriate class based on discriminator value
111
+ * @param parseNode The parse node to use to read the discriminator value and create the object
112
+ * @returns {ActorSummaryDto}
113
+ */
114
+ // @ts-ignore
115
+ export function createActorSummaryDtoFromDiscriminatorValue(parseNode) {
116
+ return deserializeIntoActorSummaryDto;
117
+ }
118
+ /**
119
+ * Creates a new instance of the appropriate class based on discriminator value
120
+ * @param parseNode The parse node to use to read the discriminator value and create the object
121
+ * @returns {AddDownloadedFromIndexerFilenameRequest}
122
+ */
123
+ // @ts-ignore
124
+ export function createAddDownloadedFromIndexerFilenameRequestFromDiscriminatorValue(parseNode) {
125
+ return deserializeIntoAddDownloadedFromIndexerFilenameRequest;
126
+ }
127
+ /**
128
+ * Creates a new instance of the appropriate class based on discriminator value
129
+ * @param parseNode The parse node to use to read the discriminator value and create the object
130
+ * @returns {AddDownloadedFromIndexerRequest}
131
+ */
132
+ // @ts-ignore
133
+ export function createAddDownloadedFromIndexerRequestFromDiscriminatorValue(parseNode) {
134
+ return deserializeIntoAddDownloadedFromIndexerRequest;
135
+ }
136
+ /**
137
+ * Creates a new instance of the appropriate class based on discriminator value
138
+ * @param parseNode The parse node to use to read the discriminator value and create the object
139
+ * @returns {AddWantedVideosBatchRequest}
140
+ */
141
+ // @ts-ignore
142
+ export function createAddWantedVideosBatchRequestFromDiscriminatorValue(parseNode) {
143
+ return deserializeIntoAddWantedVideosBatchRequest;
144
+ }
145
+ /**
146
+ * Creates a new instance of the appropriate class based on discriminator value
147
+ * @param parseNode The parse node to use to read the discriminator value and create the object
148
+ * @returns {AddWantedVideosBatchResponse}
149
+ */
150
+ // @ts-ignore
151
+ export function createAddWantedVideosBatchResponseFromDiscriminatorValue(parseNode) {
152
+ return deserializeIntoAddWantedVideosBatchResponse;
153
+ }
154
+ /**
155
+ * Creates a new instance of the appropriate class based on discriminator value
156
+ * @param parseNode The parse node to use to read the discriminator value and create the object
157
+ * @returns {DownloadedFromIndexerFilenameDto}
158
+ */
159
+ // @ts-ignore
160
+ export function createDownloadedFromIndexerFilenameDtoFromDiscriminatorValue(parseNode) {
161
+ return deserializeIntoDownloadedFromIndexerFilenameDto;
162
+ }
163
+ /**
164
+ * Creates a new instance of the appropriate class based on discriminator value
165
+ * @param parseNode The parse node to use to read the discriminator value and create the object
166
+ * @returns {DownloadedFromIndexerResponse}
167
+ */
168
+ // @ts-ignore
169
+ export function createDownloadedFromIndexerResponseFromDiscriminatorValue(parseNode) {
170
+ return deserializeIntoDownloadedFromIndexerResponse;
171
+ }
172
+ /**
173
+ * Creates a new instance of the appropriate class based on discriminator value
174
+ * @param parseNode The parse node to use to read the discriminator value and create the object
175
+ * @returns {FavoriteActorChangeDto}
176
+ */
177
+ // @ts-ignore
178
+ export function createFavoriteActorChangeDtoFromDiscriminatorValue(parseNode) {
179
+ return deserializeIntoFavoriteActorChangeDto;
180
+ }
181
+ /**
182
+ * Creates a new instance of the appropriate class based on discriminator value
183
+ * @param parseNode The parse node to use to read the discriminator value and create the object
184
+ * @returns {FavoriteActorChangeFavoriteActorDto}
185
+ */
186
+ // @ts-ignore
187
+ export function createFavoriteActorChangeFavoriteActorDtoFromDiscriminatorValue(parseNode) {
188
+ return deserializeIntoFavoriteActorChangeFavoriteActorDto;
189
+ }
190
+ /**
191
+ * Creates a new instance of the appropriate class based on discriminator value
192
+ * @param parseNode The parse node to use to read the discriminator value and create the object
193
+ * @returns {FavoriteActorChangesCursorDto}
194
+ */
195
+ // @ts-ignore
196
+ export function createFavoriteActorChangesCursorDtoFromDiscriminatorValue(parseNode) {
197
+ return deserializeIntoFavoriteActorChangesCursorDto;
198
+ }
199
+ /**
200
+ * Creates a new instance of the appropriate class based on discriminator value
201
+ * @param parseNode The parse node to use to read the discriminator value and create the object
202
+ * @returns {FavoriteActorSummaryDto}
203
+ */
204
+ // @ts-ignore
205
+ export function createFavoriteActorSummaryDtoFromDiscriminatorValue(parseNode) {
206
+ return deserializeIntoFavoriteActorSummaryDto;
207
+ }
208
+ /**
209
+ * Creates a new instance of the appropriate class based on discriminator value
210
+ * @param parseNode The parse node to use to read the discriminator value and create the object
211
+ * @returns {FavoriteSiteChangeDto}
212
+ */
213
+ // @ts-ignore
214
+ export function createFavoriteSiteChangeDtoFromDiscriminatorValue(parseNode) {
215
+ return deserializeIntoFavoriteSiteChangeDto;
216
+ }
217
+ /**
218
+ * Creates a new instance of the appropriate class based on discriminator value
219
+ * @param parseNode The parse node to use to read the discriminator value and create the object
220
+ * @returns {FavoriteSiteChangeFavoriteSiteDto}
221
+ */
222
+ // @ts-ignore
223
+ export function createFavoriteSiteChangeFavoriteSiteDtoFromDiscriminatorValue(parseNode) {
224
+ return deserializeIntoFavoriteSiteChangeFavoriteSiteDto;
225
+ }
226
+ /**
227
+ * Creates a new instance of the appropriate class based on discriminator value
228
+ * @param parseNode The parse node to use to read the discriminator value and create the object
229
+ * @returns {FavoriteSiteChangesCursorDto}
230
+ */
231
+ // @ts-ignore
232
+ export function createFavoriteSiteChangesCursorDtoFromDiscriminatorValue(parseNode) {
233
+ return deserializeIntoFavoriteSiteChangesCursorDto;
234
+ }
235
+ /**
236
+ * Creates a new instance of the appropriate class based on discriminator value
237
+ * @param parseNode The parse node to use to read the discriminator value and create the object
238
+ * @returns {FavoriteSiteSummaryDto}
239
+ */
240
+ // @ts-ignore
241
+ export function createFavoriteSiteSummaryDtoFromDiscriminatorValue(parseNode) {
242
+ return deserializeIntoFavoriteSiteSummaryDto;
243
+ }
244
+ /**
245
+ * Creates a new instance of the appropriate class based on discriminator value
246
+ * @param parseNode The parse node to use to read the discriminator value and create the object
247
+ * @returns {GetActorChangesResponse}
248
+ */
249
+ // @ts-ignore
250
+ export function createGetActorChangesResponseFromDiscriminatorValue(parseNode) {
251
+ return deserializeIntoGetActorChangesResponse;
252
+ }
253
+ /**
254
+ * Creates a new instance of the appropriate class based on discriminator value
255
+ * @param parseNode The parse node to use to read the discriminator value and create the object
256
+ * @returns {GetActorsByIdsRequest}
257
+ */
258
+ // @ts-ignore
259
+ export function createGetActorsByIdsRequestFromDiscriminatorValue(parseNode) {
260
+ return deserializeIntoGetActorsByIdsRequest;
261
+ }
262
+ /**
263
+ * Creates a new instance of the appropriate class based on discriminator value
264
+ * @param parseNode The parse node to use to read the discriminator value and create the object
265
+ * @returns {GetFavoriteActorChangesResponse}
266
+ */
267
+ // @ts-ignore
268
+ export function createGetFavoriteActorChangesResponseFromDiscriminatorValue(parseNode) {
269
+ return deserializeIntoGetFavoriteActorChangesResponse;
270
+ }
271
+ /**
272
+ * Creates a new instance of the appropriate class based on discriminator value
273
+ * @param parseNode The parse node to use to read the discriminator value and create the object
274
+ * @returns {GetFavoriteSiteChangesResponse}
275
+ */
276
+ // @ts-ignore
277
+ export function createGetFavoriteSiteChangesResponseFromDiscriminatorValue(parseNode) {
278
+ return deserializeIntoGetFavoriteSiteChangesResponse;
279
+ }
280
+ /**
281
+ * Creates a new instance of the appropriate class based on discriminator value
282
+ * @param parseNode The parse node to use to read the discriminator value and create the object
283
+ * @returns {GetHealthResponse}
284
+ */
285
+ // @ts-ignore
286
+ export function createGetHealthResponseFromDiscriminatorValue(parseNode) {
287
+ return deserializeIntoGetHealthResponse;
288
+ }
289
+ /**
290
+ * Creates a new instance of the appropriate class based on discriminator value
291
+ * @param parseNode The parse node to use to read the discriminator value and create the object
292
+ * @returns {GetIndexerFilehashChangesResponse}
293
+ */
294
+ // @ts-ignore
295
+ export function createGetIndexerFilehashChangesResponseFromDiscriminatorValue(parseNode) {
296
+ return deserializeIntoGetIndexerFilehashChangesResponse;
297
+ }
298
+ /**
299
+ * Creates a new instance of the appropriate class based on discriminator value
300
+ * @param parseNode The parse node to use to read the discriminator value and create the object
301
+ * @returns {GetRateLimitResponse}
302
+ */
303
+ // @ts-ignore
304
+ export function createGetRateLimitResponseFromDiscriminatorValue(parseNode) {
305
+ return deserializeIntoGetRateLimitResponse;
306
+ }
307
+ /**
308
+ * Creates a new instance of the appropriate class based on discriminator value
309
+ * @param parseNode The parse node to use to read the discriminator value and create the object
310
+ * @returns {GetVideoFilehashChangesResponse}
311
+ */
312
+ // @ts-ignore
313
+ export function createGetVideoFilehashChangesResponseFromDiscriminatorValue(parseNode) {
314
+ return deserializeIntoGetVideoFilehashChangesResponse;
315
+ }
316
+ /**
317
+ * Creates a new instance of the appropriate class based on discriminator value
318
+ * @param parseNode The parse node to use to read the discriminator value and create the object
319
+ * @returns {GetVideoFilehashesByVideoIdsRequest}
320
+ */
321
+ // @ts-ignore
322
+ export function createGetVideoFilehashesByVideoIdsRequestFromDiscriminatorValue(parseNode) {
323
+ return deserializeIntoGetVideoFilehashesByVideoIdsRequest;
324
+ }
325
+ /**
326
+ * Creates a new instance of the appropriate class based on discriminator value
327
+ * @param parseNode The parse node to use to read the discriminator value and create the object
328
+ * @returns {GetVideoFilehashesByVideoIdsResponse}
329
+ */
330
+ // @ts-ignore
331
+ export function createGetVideoFilehashesByVideoIdsResponseFromDiscriminatorValue(parseNode) {
332
+ return deserializeIntoGetVideoFilehashesByVideoIdsResponse;
333
+ }
334
+ /**
335
+ * Creates a new instance of the appropriate class based on discriminator value
336
+ * @param parseNode The parse node to use to read the discriminator value and create the object
337
+ * @returns {GetVideosByIdsRequest}
338
+ */
339
+ // @ts-ignore
340
+ export function createGetVideosByIdsRequestFromDiscriminatorValue(parseNode) {
341
+ return deserializeIntoGetVideosByIdsRequest;
342
+ }
343
+ /**
344
+ * Creates a new instance of the appropriate class based on discriminator value
345
+ * @param parseNode The parse node to use to read the discriminator value and create the object
346
+ * @returns {GetVideoUserImageChangesResponse}
347
+ */
348
+ // @ts-ignore
349
+ export function createGetVideoUserImageChangesResponseFromDiscriminatorValue(parseNode) {
350
+ return deserializeIntoGetVideoUserImageChangesResponse;
351
+ }
352
+ /**
353
+ * Creates a new instance of the appropriate class based on discriminator value
354
+ * @param parseNode The parse node to use to read the discriminator value and create the object
355
+ * @returns {GetWantedVideoChangesResponse}
356
+ */
357
+ // @ts-ignore
358
+ export function createGetWantedVideoChangesResponseFromDiscriminatorValue(parseNode) {
359
+ return deserializeIntoGetWantedVideoChangesResponse;
360
+ }
361
+ /**
362
+ * Creates a new instance of the appropriate class based on discriminator value
363
+ * @param parseNode The parse node to use to read the discriminator value and create the object
364
+ * @returns {IndexerFilehashChangeDto}
365
+ */
366
+ // @ts-ignore
367
+ export function createIndexerFilehashChangeDtoFromDiscriminatorValue(parseNode) {
368
+ return deserializeIntoIndexerFilehashChangeDto;
369
+ }
370
+ /**
371
+ * Creates a new instance of the appropriate class based on discriminator value
372
+ * @param parseNode The parse node to use to read the discriminator value and create the object
373
+ * @returns {IndexerFilehashChangeFilehashDto}
374
+ */
375
+ // @ts-ignore
376
+ export function createIndexerFilehashChangeFilehashDtoFromDiscriminatorValue(parseNode) {
377
+ return deserializeIntoIndexerFilehashChangeFilehashDto;
378
+ }
379
+ /**
380
+ * Creates a new instance of the appropriate class based on discriminator value
381
+ * @param parseNode The parse node to use to read the discriminator value and create the object
382
+ * @returns {IndexerFilehashChangesCursorDto}
383
+ */
384
+ // @ts-ignore
385
+ export function createIndexerFilehashChangesCursorDtoFromDiscriminatorValue(parseNode) {
386
+ return deserializeIntoIndexerFilehashChangesCursorDto;
387
+ }
388
+ /**
389
+ * Creates a new instance of the appropriate class based on discriminator value
390
+ * @param parseNode The parse node to use to read the discriminator value and create the object
391
+ * @returns {IndexerFilehashDto}
392
+ */
393
+ // @ts-ignore
394
+ export function createIndexerFilehashDtoFromDiscriminatorValue(parseNode) {
395
+ return deserializeIntoIndexerFilehashDto;
396
+ }
397
+ /**
398
+ * Creates a new instance of the appropriate class based on discriminator value
399
+ * @param parseNode The parse node to use to read the discriminator value and create the object
400
+ * @returns {IndexerFilehashLookupKeyDto}
401
+ */
402
+ // @ts-ignore
403
+ export function createIndexerFilehashLookupKeyDtoFromDiscriminatorValue(parseNode) {
404
+ return deserializeIntoIndexerFilehashLookupKeyDto;
405
+ }
406
+ /**
407
+ * Creates a new instance of the appropriate class based on discriminator value
408
+ * @param parseNode The parse node to use to read the discriminator value and create the object
409
+ * @returns {LatestIndexerFilehashesResponse}
410
+ */
411
+ // @ts-ignore
412
+ export function createLatestIndexerFilehashesResponseFromDiscriminatorValue(parseNode) {
413
+ return deserializeIntoLatestIndexerFilehashesResponse;
414
+ }
415
+ /**
416
+ * Creates a new instance of the appropriate class based on discriminator value
417
+ * @param parseNode The parse node to use to read the discriminator value and create the object
418
+ * @returns {LatestPreDbItemDto}
419
+ */
420
+ // @ts-ignore
421
+ export function createLatestPreDbItemDtoFromDiscriminatorValue(parseNode) {
422
+ return deserializeIntoLatestPreDbItemDto;
423
+ }
424
+ /**
425
+ * Creates a new instance of the appropriate class based on discriminator value
426
+ * @param parseNode The parse node to use to read the discriminator value and create the object
427
+ * @returns {LatestPreDbResponse}
428
+ */
429
+ // @ts-ignore
430
+ export function createLatestPreDbResponseFromDiscriminatorValue(parseNode) {
431
+ return deserializeIntoLatestPreDbResponse;
432
+ }
433
+ /**
434
+ * Creates a new instance of the appropriate class based on discriminator value
435
+ * @param parseNode The parse node to use to read the discriminator value and create the object
436
+ * @returns {LatestPreDbSiteDto}
437
+ */
438
+ // @ts-ignore
439
+ export function createLatestPreDbSiteDtoFromDiscriminatorValue(parseNode) {
440
+ return deserializeIntoLatestPreDbSiteDto;
441
+ }
442
+ /**
443
+ * Creates a new instance of the appropriate class based on discriminator value
444
+ * @param parseNode The parse node to use to read the discriminator value and create the object
445
+ * @returns {LatestPreDbVideoDto}
446
+ */
447
+ // @ts-ignore
448
+ export function createLatestPreDbVideoDtoFromDiscriminatorValue(parseNode) {
449
+ return deserializeIntoLatestPreDbVideoDto;
450
+ }
451
+ /**
452
+ * Creates a new instance of the appropriate class based on discriminator value
453
+ * @param parseNode The parse node to use to read the discriminator value and create the object
454
+ * @returns {LatestVideoFilehashesResponse}
455
+ */
456
+ // @ts-ignore
457
+ export function createLatestVideoFilehashesResponseFromDiscriminatorValue(parseNode) {
458
+ return deserializeIntoLatestVideoFilehashesResponse;
459
+ }
460
+ /**
461
+ * Creates a new instance of the appropriate class based on discriminator value
462
+ * @param parseNode The parse node to use to read the discriminator value and create the object
463
+ * @returns {ListActorsResponse}
464
+ */
465
+ // @ts-ignore
466
+ export function createListActorsResponseFromDiscriminatorValue(parseNode) {
467
+ return deserializeIntoListActorsResponse;
468
+ }
469
+ /**
470
+ * Creates a new instance of the appropriate class based on discriminator value
471
+ * @param parseNode The parse node to use to read the discriminator value and create the object
472
+ * @returns {ListFavoriteActorsResponse}
473
+ */
474
+ // @ts-ignore
475
+ export function createListFavoriteActorsResponseFromDiscriminatorValue(parseNode) {
476
+ return deserializeIntoListFavoriteActorsResponse;
477
+ }
478
+ /**
479
+ * Creates a new instance of the appropriate class based on discriminator value
480
+ * @param parseNode The parse node to use to read the discriminator value and create the object
481
+ * @returns {ListFavoriteSitesResponse}
482
+ */
483
+ // @ts-ignore
484
+ export function createListFavoriteSitesResponseFromDiscriminatorValue(parseNode) {
485
+ return deserializeIntoListFavoriteSitesResponse;
486
+ }
487
+ /**
488
+ * Creates a new instance of the appropriate class based on discriminator value
489
+ * @param parseNode The parse node to use to read the discriminator value and create the object
490
+ * @returns {ListPreDbResponse}
491
+ */
492
+ // @ts-ignore
493
+ export function createListPreDbResponseFromDiscriminatorValue(parseNode) {
494
+ return deserializeIntoListPreDbResponse;
495
+ }
496
+ /**
497
+ * Creates a new instance of the appropriate class based on discriminator value
498
+ * @param parseNode The parse node to use to read the discriminator value and create the object
499
+ * @returns {ListSitesResponse}
500
+ */
501
+ // @ts-ignore
502
+ export function createListSitesResponseFromDiscriminatorValue(parseNode) {
503
+ return deserializeIntoListSitesResponse;
504
+ }
505
+ /**
506
+ * Creates a new instance of the appropriate class based on discriminator value
507
+ * @param parseNode The parse node to use to read the discriminator value and create the object
508
+ * @returns {ListVideosResponse}
509
+ */
510
+ // @ts-ignore
511
+ export function createListVideosResponseFromDiscriminatorValue(parseNode) {
512
+ return deserializeIntoListVideosResponse;
513
+ }
514
+ /**
515
+ * Creates a new instance of the appropriate class based on discriminator value
516
+ * @param parseNode The parse node to use to read the discriminator value and create the object
517
+ * @returns {ListWantedVideosResponse}
518
+ */
519
+ // @ts-ignore
520
+ export function createListWantedVideosResponseFromDiscriminatorValue(parseNode) {
521
+ return deserializeIntoListWantedVideosResponse;
522
+ }
523
+ /**
524
+ * Creates a new instance of the appropriate class based on discriminator value
525
+ * @param parseNode The parse node to use to read the discriminator value and create the object
526
+ * @returns {LookupIndexerFilehashesRequest}
527
+ */
528
+ // @ts-ignore
529
+ export function createLookupIndexerFilehashesRequestFromDiscriminatorValue(parseNode) {
530
+ return deserializeIntoLookupIndexerFilehashesRequest;
531
+ }
532
+ /**
533
+ * Creates a new instance of the appropriate class based on discriminator value
534
+ * @param parseNode The parse node to use to read the discriminator value and create the object
535
+ * @returns {LookupIndexerFilehashesResponse}
536
+ */
537
+ // @ts-ignore
538
+ export function createLookupIndexerFilehashesResponseFromDiscriminatorValue(parseNode) {
539
+ return deserializeIntoLookupIndexerFilehashesResponse;
540
+ }
541
+ /**
542
+ * Creates a new instance of the appropriate class based on discriminator value
543
+ * @param parseNode The parse node to use to read the discriminator value and create the object
544
+ * @returns {LookupVideoFilehashesRequest}
545
+ */
546
+ // @ts-ignore
547
+ export function createLookupVideoFilehashesRequestFromDiscriminatorValue(parseNode) {
548
+ return deserializeIntoLookupVideoFilehashesRequest;
549
+ }
550
+ /**
551
+ * Creates a new instance of the appropriate class based on discriminator value
552
+ * @param parseNode The parse node to use to read the discriminator value and create the object
553
+ * @returns {LookupVideoFilehashesResponse}
554
+ */
555
+ // @ts-ignore
556
+ export function createLookupVideoFilehashesResponseFromDiscriminatorValue(parseNode) {
557
+ return deserializeIntoLookupVideoFilehashesResponse;
558
+ }
559
+ /**
560
+ * Creates a new instance of the appropriate class based on discriminator value
561
+ * @param parseNode The parse node to use to read the discriminator value and create the object
562
+ * @returns {PreDbItemDto}
563
+ */
564
+ // @ts-ignore
565
+ export function createPreDbItemDtoFromDiscriminatorValue(parseNode) {
566
+ return deserializeIntoPreDbItemDto;
567
+ }
568
+ /**
569
+ * Creates a new instance of the appropriate class based on discriminator value
570
+ * @param parseNode The parse node to use to read the discriminator value and create the object
571
+ * @returns {PreDbSummaryDto}
572
+ */
573
+ // @ts-ignore
574
+ export function createPreDbSummaryDtoFromDiscriminatorValue(parseNode) {
575
+ return deserializeIntoPreDbSummaryDto;
576
+ }
577
+ /**
578
+ * Creates a new instance of the appropriate class based on discriminator value
579
+ * @param parseNode The parse node to use to read the discriminator value and create the object
580
+ * @returns {PreDbVideoGroupDto}
581
+ */
582
+ // @ts-ignore
583
+ export function createPreDbVideoGroupDtoFromDiscriminatorValue(parseNode) {
584
+ return deserializeIntoPreDbVideoGroupDto;
585
+ }
586
+ /**
587
+ * Creates a new instance of the appropriate class based on discriminator value
588
+ * @param parseNode The parse node to use to read the discriminator value and create the object
589
+ * @returns {ProblemDetails}
590
+ */
591
+ // @ts-ignore
592
+ export function createProblemDetailsFromDiscriminatorValue(parseNode) {
593
+ return deserializeIntoProblemDetails;
594
+ }
595
+ /**
596
+ * Creates a new instance of the appropriate class based on discriminator value
597
+ * @param parseNode The parse node to use to read the discriminator value and create the object
598
+ * @returns {RateLimitWindowStatus}
599
+ */
600
+ // @ts-ignore
601
+ export function createRateLimitWindowStatusFromDiscriminatorValue(parseNode) {
602
+ return deserializeIntoRateLimitWindowStatus;
603
+ }
604
+ /**
605
+ * Creates a new instance of the appropriate class based on discriminator value
606
+ * @param parseNode The parse node to use to read the discriminator value and create the object
607
+ * @returns {ReportVideoUserImageRequest}
608
+ */
609
+ // @ts-ignore
610
+ export function createReportVideoUserImageRequestFromDiscriminatorValue(parseNode) {
611
+ return deserializeIntoReportVideoUserImageRequest;
612
+ }
613
+ /**
614
+ * Creates a new instance of the appropriate class based on discriminator value
615
+ * @param parseNode The parse node to use to read the discriminator value and create the object
616
+ * @returns {ReportVideoUserImageResponse}
617
+ */
618
+ // @ts-ignore
619
+ export function createReportVideoUserImageResponseFromDiscriminatorValue(parseNode) {
620
+ return deserializeIntoReportVideoUserImageResponse;
621
+ }
622
+ /**
623
+ * Creates a new instance of the appropriate class based on discriminator value
624
+ * @param parseNode The parse node to use to read the discriminator value and create the object
625
+ * @returns {SearchPreDbByVideoResponse}
626
+ */
627
+ // @ts-ignore
628
+ export function createSearchPreDbByVideoResponseFromDiscriminatorValue(parseNode) {
629
+ return deserializeIntoSearchPreDbByVideoResponse;
630
+ }
631
+ /**
632
+ * Creates a new instance of the appropriate class based on discriminator value
633
+ * @param parseNode The parse node to use to read the discriminator value and create the object
634
+ * @returns {SiteSummaryDto}
635
+ */
636
+ // @ts-ignore
637
+ export function createSiteSummaryDtoFromDiscriminatorValue(parseNode) {
638
+ return deserializeIntoSiteSummaryDto;
639
+ }
640
+ /**
641
+ * Creates a new instance of the appropriate class based on discriminator value
642
+ * @param parseNode The parse node to use to read the discriminator value and create the object
643
+ * @returns {SubmitVideoUserImageResponse}
644
+ */
645
+ // @ts-ignore
646
+ export function createSubmitVideoUserImageResponseFromDiscriminatorValue(parseNode) {
647
+ return deserializeIntoSubmitVideoUserImageResponse;
648
+ }
649
+ /**
650
+ * Creates a new instance of the appropriate class based on discriminator value
651
+ * @param parseNode The parse node to use to read the discriminator value and create the object
652
+ * @returns {UnlinkedVideoFilehashesResponse}
653
+ */
654
+ // @ts-ignore
655
+ export function createUnlinkedVideoFilehashesResponseFromDiscriminatorValue(parseNode) {
656
+ return deserializeIntoUnlinkedVideoFilehashesResponse;
657
+ }
658
+ /**
659
+ * Creates a new instance of the appropriate class based on discriminator value
660
+ * @param parseNode The parse node to use to read the discriminator value and create the object
661
+ * @returns {UpdateDownloadedFromIndexerFilenameRequest}
662
+ */
663
+ // @ts-ignore
664
+ export function createUpdateDownloadedFromIndexerFilenameRequestFromDiscriminatorValue(parseNode) {
665
+ return deserializeIntoUpdateDownloadedFromIndexerFilenameRequest;
666
+ }
667
+ /**
668
+ * Creates a new instance of the appropriate class based on discriminator value
669
+ * @param parseNode The parse node to use to read the discriminator value and create the object
670
+ * @returns {UpdateDownloadedFromIndexerRequest}
671
+ */
672
+ // @ts-ignore
673
+ export function createUpdateDownloadedFromIndexerRequestFromDiscriminatorValue(parseNode) {
674
+ return deserializeIntoUpdateDownloadedFromIndexerRequest;
675
+ }
676
+ /**
677
+ * Creates a new instance of the appropriate class based on discriminator value
678
+ * @param parseNode The parse node to use to read the discriminator value and create the object
679
+ * @returns {UpdateWantedVideoRequest}
680
+ */
681
+ // @ts-ignore
682
+ export function createUpdateWantedVideoRequestFromDiscriminatorValue(parseNode) {
683
+ return deserializeIntoUpdateWantedVideoRequest;
684
+ }
685
+ /**
686
+ * Creates a new instance of the appropriate class based on discriminator value
687
+ * @param parseNode The parse node to use to read the discriminator value and create the object
688
+ * @returns {UpdateWantedVideoResponse}
689
+ */
690
+ // @ts-ignore
691
+ export function createUpdateWantedVideoResponseFromDiscriminatorValue(parseNode) {
692
+ return deserializeIntoUpdateWantedVideoResponse;
693
+ }
694
+ /**
695
+ * Creates a new instance of the appropriate class based on discriminator value
696
+ * @param parseNode The parse node to use to read the discriminator value and create the object
697
+ * @returns {UserIdentityResponse}
698
+ */
699
+ // @ts-ignore
700
+ export function createUserIdentityResponseFromDiscriminatorValue(parseNode) {
701
+ return deserializeIntoUserIdentityResponse;
702
+ }
703
+ /**
704
+ * Creates a new instance of the appropriate class based on discriminator value
705
+ * @param parseNode The parse node to use to read the discriminator value and create the object
706
+ * @returns {VideoDetailActorDto}
707
+ */
708
+ // @ts-ignore
709
+ export function createVideoDetailActorDtoFromDiscriminatorValue(parseNode) {
710
+ return deserializeIntoVideoDetailActorDto;
711
+ }
712
+ /**
713
+ * Creates a new instance of the appropriate class based on discriminator value
714
+ * @param parseNode The parse node to use to read the discriminator value and create the object
715
+ * @returns {VideoDetailActorImageDto}
716
+ */
717
+ // @ts-ignore
718
+ export function createVideoDetailActorImageDtoFromDiscriminatorValue(parseNode) {
719
+ return deserializeIntoVideoDetailActorImageDto;
720
+ }
721
+ /**
722
+ * Creates a new instance of the appropriate class based on discriminator value
723
+ * @param parseNode The parse node to use to read the discriminator value and create the object
724
+ * @returns {VideoDetailDto}
725
+ */
726
+ // @ts-ignore
727
+ export function createVideoDetailDtoFromDiscriminatorValue(parseNode) {
728
+ return deserializeIntoVideoDetailDto;
729
+ }
730
+ /**
731
+ * Creates a new instance of the appropriate class based on discriminator value
732
+ * @param parseNode The parse node to use to read the discriminator value and create the object
733
+ * @returns {VideoDetailImageDto}
734
+ */
735
+ // @ts-ignore
736
+ export function createVideoDetailImageDtoFromDiscriminatorValue(parseNode) {
737
+ return deserializeIntoVideoDetailImageDto;
738
+ }
739
+ /**
740
+ * Creates a new instance of the appropriate class based on discriminator value
741
+ * @param parseNode The parse node to use to read the discriminator value and create the object
742
+ * @returns {VideoDetailNetworkDto}
743
+ */
744
+ // @ts-ignore
745
+ export function createVideoDetailNetworkDtoFromDiscriminatorValue(parseNode) {
746
+ return deserializeIntoVideoDetailNetworkDto;
747
+ }
748
+ /**
749
+ * Creates a new instance of the appropriate class based on discriminator value
750
+ * @param parseNode The parse node to use to read the discriminator value and create the object
751
+ * @returns {VideoDetailPreNameDto}
752
+ */
753
+ // @ts-ignore
754
+ export function createVideoDetailPreNameDtoFromDiscriminatorValue(parseNode) {
755
+ return deserializeIntoVideoDetailPreNameDto;
756
+ }
757
+ /**
758
+ * Creates a new instance of the appropriate class based on discriminator value
759
+ * @param parseNode The parse node to use to read the discriminator value and create the object
760
+ * @returns {VideoDetailSiteDto}
761
+ */
762
+ // @ts-ignore
763
+ export function createVideoDetailSiteDtoFromDiscriminatorValue(parseNode) {
764
+ return deserializeIntoVideoDetailSiteDto;
765
+ }
766
+ /**
767
+ * Creates a new instance of the appropriate class based on discriminator value
768
+ * @param parseNode The parse node to use to read the discriminator value and create the object
769
+ * @returns {VideoFilehashChangeDto}
770
+ */
771
+ // @ts-ignore
772
+ export function createVideoFilehashChangeDtoFromDiscriminatorValue(parseNode) {
773
+ return deserializeIntoVideoFilehashChangeDto;
774
+ }
775
+ /**
776
+ * Creates a new instance of the appropriate class based on discriminator value
777
+ * @param parseNode The parse node to use to read the discriminator value and create the object
778
+ * @returns {VideoFilehashChangeFilehashDto}
779
+ */
780
+ // @ts-ignore
781
+ export function createVideoFilehashChangeFilehashDtoFromDiscriminatorValue(parseNode) {
782
+ return deserializeIntoVideoFilehashChangeFilehashDto;
783
+ }
784
+ /**
785
+ * Creates a new instance of the appropriate class based on discriminator value
786
+ * @param parseNode The parse node to use to read the discriminator value and create the object
787
+ * @returns {VideoFilehashChangesCursorDto}
788
+ */
789
+ // @ts-ignore
790
+ export function createVideoFilehashChangesCursorDtoFromDiscriminatorValue(parseNode) {
791
+ return deserializeIntoVideoFilehashChangesCursorDto;
792
+ }
793
+ /**
794
+ * Creates a new instance of the appropriate class based on discriminator value
795
+ * @param parseNode The parse node to use to read the discriminator value and create the object
796
+ * @returns {VideoFilehashDto}
797
+ */
798
+ // @ts-ignore
799
+ export function createVideoFilehashDtoFromDiscriminatorValue(parseNode) {
800
+ return deserializeIntoVideoFilehashDto;
801
+ }
802
+ /**
803
+ * Creates a new instance of the appropriate class based on discriminator value
804
+ * @param parseNode The parse node to use to read the discriminator value and create the object
805
+ * @returns {VideoFilehashesByVideoIdDto}
806
+ */
807
+ // @ts-ignore
808
+ export function createVideoFilehashesByVideoIdDtoFromDiscriminatorValue(parseNode) {
809
+ return deserializeIntoVideoFilehashesByVideoIdDto;
810
+ }
811
+ /**
812
+ * Creates a new instance of the appropriate class based on discriminator value
813
+ * @param parseNode The parse node to use to read the discriminator value and create the object
814
+ * @returns {VideoSummaryActorDto}
815
+ */
816
+ // @ts-ignore
817
+ export function createVideoSummaryActorDtoFromDiscriminatorValue(parseNode) {
818
+ return deserializeIntoVideoSummaryActorDto;
819
+ }
820
+ /**
821
+ * Creates a new instance of the appropriate class based on discriminator value
822
+ * @param parseNode The parse node to use to read the discriminator value and create the object
823
+ * @returns {VideoSummaryDto}
824
+ */
825
+ // @ts-ignore
826
+ export function createVideoSummaryDtoFromDiscriminatorValue(parseNode) {
827
+ return deserializeIntoVideoSummaryDto;
828
+ }
829
+ /**
830
+ * Creates a new instance of the appropriate class based on discriminator value
831
+ * @param parseNode The parse node to use to read the discriminator value and create the object
832
+ * @returns {VideoUserImageChangeItemDto}
833
+ */
834
+ // @ts-ignore
835
+ export function createVideoUserImageChangeItemDtoFromDiscriminatorValue(parseNode) {
836
+ return deserializeIntoVideoUserImageChangeItemDto;
837
+ }
838
+ /**
839
+ * Creates a new instance of the appropriate class based on discriminator value
840
+ * @param parseNode The parse node to use to read the discriminator value and create the object
841
+ * @returns {VideoUserImageChangesCursorDto}
842
+ */
843
+ // @ts-ignore
844
+ export function createVideoUserImageChangesCursorDtoFromDiscriminatorValue(parseNode) {
845
+ return deserializeIntoVideoUserImageChangesCursorDto;
846
+ }
847
+ /**
848
+ * Creates a new instance of the appropriate class based on discriminator value
849
+ * @param parseNode The parse node to use to read the discriminator value and create the object
850
+ * @returns {VideoUserImageDto}
851
+ */
852
+ // @ts-ignore
853
+ export function createVideoUserImageDtoFromDiscriminatorValue(parseNode) {
854
+ return deserializeIntoVideoUserImageDto;
855
+ }
856
+ /**
857
+ * Creates a new instance of the appropriate class based on discriminator value
858
+ * @param parseNode The parse node to use to read the discriminator value and create the object
859
+ * @returns {WantedVideoChangeDto}
860
+ */
861
+ // @ts-ignore
862
+ export function createWantedVideoChangeDtoFromDiscriminatorValue(parseNode) {
863
+ return deserializeIntoWantedVideoChangeDto;
864
+ }
865
+ /**
866
+ * Creates a new instance of the appropriate class based on discriminator value
867
+ * @param parseNode The parse node to use to read the discriminator value and create the object
868
+ * @returns {WantedVideoChangesCursorDto}
869
+ */
870
+ // @ts-ignore
871
+ export function createWantedVideoChangesCursorDtoFromDiscriminatorValue(parseNode) {
872
+ return deserializeIntoWantedVideoChangesCursorDto;
873
+ }
874
+ /**
875
+ * Creates a new instance of the appropriate class based on discriminator value
876
+ * @param parseNode The parse node to use to read the discriminator value and create the object
877
+ * @returns {WantedVideoChangeWantedVideoDto}
878
+ */
879
+ // @ts-ignore
880
+ export function createWantedVideoChangeWantedVideoDtoFromDiscriminatorValue(parseNode) {
881
+ return deserializeIntoWantedVideoChangeWantedVideoDto;
882
+ }
883
+ /**
884
+ * Creates a new instance of the appropriate class based on discriminator value
885
+ * @param parseNode The parse node to use to read the discriminator value and create the object
886
+ * @returns {WantedVideoSummaryDto}
887
+ */
888
+ // @ts-ignore
889
+ export function createWantedVideoSummaryDtoFromDiscriminatorValue(parseNode) {
890
+ return deserializeIntoWantedVideoSummaryDto;
891
+ }
892
+ /**
893
+ * The deserialization information for the current model
894
+ * @param ActiveSubscriptionDto The instance to deserialize into.
895
+ * @returns {Record<string, (node: ParseNode) => void>}
896
+ */
897
+ // @ts-ignore
898
+ export function deserializeIntoActiveSubscriptionDto(activeSubscriptionDto = {}) {
899
+ return {
900
+ "endsAtUtc": n => { activeSubscriptionDto.endsAtUtc = n.getDateValue(); },
901
+ "packageIdentifier": n => { activeSubscriptionDto.packageIdentifier = n.getStringValue(); },
902
+ "packageTitle": n => { activeSubscriptionDto.packageTitle = n.getStringValue(); },
903
+ "startsAtUtc": n => { activeSubscriptionDto.startsAtUtc = n.getDateValue(); },
904
+ };
905
+ }
906
+ /**
907
+ * The deserialization information for the current model
908
+ * @param ActorAliasDto The instance to deserialize into.
909
+ * @returns {Record<string, (node: ParseNode) => void>}
910
+ */
911
+ // @ts-ignore
912
+ export function deserializeIntoActorAliasDto(actorAliasDto = {}) {
913
+ return {
914
+ "name": n => { actorAliasDto.name = n.getStringValue(); },
915
+ "siteId": n => { actorAliasDto.siteId = n.getGuidValue(); },
916
+ };
917
+ }
918
+ /**
919
+ * The deserialization information for the current model
920
+ * @param ActorBioDto The instance to deserialize into.
921
+ * @returns {Record<string, (node: ParseNode) => void>}
922
+ */
923
+ // @ts-ignore
924
+ export function deserializeIntoActorBioDto(actorBioDto = {}) {
925
+ return {
926
+ "id": n => { actorBioDto.id = n.getGuidValue(); },
927
+ "text": n => { actorBioDto.text = n.getStringValue(); },
928
+ };
929
+ }
930
+ /**
931
+ * The deserialization information for the current model
932
+ * @param ActorChangeActorDto The instance to deserialize into.
933
+ * @returns {Record<string, (node: ParseNode) => void>}
934
+ */
935
+ // @ts-ignore
936
+ export function deserializeIntoActorChangeActorDto(actorChangeActorDto = {}) {
937
+ return {
938
+ "aliases": n => { actorChangeActorDto.aliases = n.getCollectionOfObjectValues(createActorChangeAliasDtoFromDiscriminatorValue); },
939
+ "bios": n => { actorChangeActorDto.bios = n.getCollectionOfObjectValues(createActorChangeBioDtoFromDiscriminatorValue); },
940
+ "birthday": n => { actorChangeActorDto.birthday = n.getDateOnlyValue(); },
941
+ "birthdayType": n => { actorChangeActorDto.birthdayType = n.getNumberValue(); },
942
+ "birthdayTypeLabel": n => { actorChangeActorDto.birthdayTypeLabel = n.getStringValue(); },
943
+ "birthplace": n => { actorChangeActorDto.birthplace = n.getStringValue(); },
944
+ "braSize": n => { actorChangeActorDto.braSize = n.getNumberValue(); },
945
+ "braSizeLabel": n => { actorChangeActorDto.braSizeLabel = n.getStringValue(); },
946
+ "breastType": n => { actorChangeActorDto.breastType = n.getNumberValue(); },
947
+ "breastTypeLabel": n => { actorChangeActorDto.breastTypeLabel = n.getStringValue(); },
948
+ "careerEnd": n => { actorChangeActorDto.careerEnd = n.getNumberValue(); },
949
+ "careerStart": n => { actorChangeActorDto.careerStart = n.getNumberValue(); },
950
+ "createdAtUtc": n => { actorChangeActorDto.createdAtUtc = n.getDateValue(); },
951
+ "deathday": n => { actorChangeActorDto.deathday = n.getDateOnlyValue(); },
952
+ "deletedAtUtc": n => { actorChangeActorDto.deletedAtUtc = n.getDateValue(); },
953
+ "ethnicity": n => { actorChangeActorDto.ethnicity = n.getNumberValue(); },
954
+ "ethnicityLabel": n => { actorChangeActorDto.ethnicityLabel = n.getStringValue(); },
955
+ "eyecolor": n => { actorChangeActorDto.eyecolor = n.getNumberValue(); },
956
+ "eyecolorLabel": n => { actorChangeActorDto.eyecolorLabel = n.getStringValue(); },
957
+ "gender": n => { actorChangeActorDto.gender = n.getNumberValue(); },
958
+ "genderLabel": n => { actorChangeActorDto.genderLabel = n.getStringValue(); },
959
+ "haircolor": n => { actorChangeActorDto.haircolor = n.getNumberValue(); },
960
+ "haircolorLabel": n => { actorChangeActorDto.haircolorLabel = n.getStringValue(); },
961
+ "height": n => { actorChangeActorDto.height = n.getNumberValue(); },
962
+ "hipSize": n => { actorChangeActorDto.hipSize = n.getNumberValue(); },
963
+ "id": n => { actorChangeActorDto.id = n.getGuidValue(); },
964
+ "images": n => { actorChangeActorDto.images = n.getCollectionOfObjectValues(createActorChangeImageDtoFromDiscriminatorValue); },
965
+ "isDeleted": n => { actorChangeActorDto.isDeleted = n.getBooleanValue(); },
966
+ "links": n => { actorChangeActorDto.links = n.getCollectionOfObjectValues(createActorChangeLinkDtoFromDiscriminatorValue); },
967
+ "name": n => { actorChangeActorDto.name = n.getStringValue(); },
968
+ "nationality": n => { actorChangeActorDto.nationality = n.getNumberValue(); },
969
+ "nationalityLabel": n => { actorChangeActorDto.nationalityLabel = n.getStringValue(); },
970
+ "piercings": n => { actorChangeActorDto.piercings = n.getStringValue(); },
971
+ "tattoos": n => { actorChangeActorDto.tattoos = n.getStringValue(); },
972
+ "updatedAtUtc": n => { actorChangeActorDto.updatedAtUtc = n.getDateValue(); },
973
+ "waistSize": n => { actorChangeActorDto.waistSize = n.getNumberValue(); },
974
+ };
975
+ }
976
+ /**
977
+ * The deserialization information for the current model
978
+ * @param ActorChangeAliasDto The instance to deserialize into.
979
+ * @returns {Record<string, (node: ParseNode) => void>}
980
+ */
981
+ // @ts-ignore
982
+ export function deserializeIntoActorChangeAliasDto(actorChangeAliasDto = {}) {
983
+ return {
984
+ "name": n => { actorChangeAliasDto.name = n.getStringValue(); },
985
+ "siteId": n => { actorChangeAliasDto.siteId = n.getGuidValue(); },
986
+ };
987
+ }
988
+ /**
989
+ * The deserialization information for the current model
990
+ * @param ActorChangeBioDto The instance to deserialize into.
991
+ * @returns {Record<string, (node: ParseNode) => void>}
992
+ */
993
+ // @ts-ignore
994
+ export function deserializeIntoActorChangeBioDto(actorChangeBioDto = {}) {
995
+ return {
996
+ "id": n => { actorChangeBioDto.id = n.getGuidValue(); },
997
+ "text": n => { actorChangeBioDto.text = n.getStringValue(); },
998
+ };
999
+ }
1000
+ /**
1001
+ * The deserialization information for the current model
1002
+ * @param ActorChangeDto The instance to deserialize into.
1003
+ * @returns {Record<string, (node: ParseNode) => void>}
1004
+ */
1005
+ // @ts-ignore
1006
+ export function deserializeIntoActorChangeDto(actorChangeDto = {}) {
1007
+ return {
1008
+ "actor": n => { actorChangeDto.actor = n.getObjectValue(createActorChangeActorDtoFromDiscriminatorValue); },
1009
+ "changeType": n => { actorChangeDto.changeType = n.getStringValue(); },
1010
+ };
1011
+ }
1012
+ /**
1013
+ * The deserialization information for the current model
1014
+ * @param ActorChangeImageDto The instance to deserialize into.
1015
+ * @returns {Record<string, (node: ParseNode) => void>}
1016
+ */
1017
+ // @ts-ignore
1018
+ export function deserializeIntoActorChangeImageDto(actorChangeImageDto = {}) {
1019
+ return {
1020
+ "id": n => { actorChangeImageDto.id = n.getGuidValue(); },
1021
+ "imageType": n => { actorChangeImageDto.imageType = n.getNumberValue(); },
1022
+ "imageTypeLabel": n => { actorChangeImageDto.imageTypeLabel = n.getStringValue(); },
1023
+ "url": n => { actorChangeImageDto.url = n.getStringValue(); },
1024
+ };
1025
+ }
1026
+ /**
1027
+ * The deserialization information for the current model
1028
+ * @param ActorChangeLinkDto The instance to deserialize into.
1029
+ * @returns {Record<string, (node: ParseNode) => void>}
1030
+ */
1031
+ // @ts-ignore
1032
+ export function deserializeIntoActorChangeLinkDto(actorChangeLinkDto = {}) {
1033
+ return {
1034
+ "externalSite": n => { actorChangeLinkDto.externalSite = n.getNumberValue(); },
1035
+ "externalSiteLabel": n => { actorChangeLinkDto.externalSiteLabel = n.getStringValue(); },
1036
+ "url": n => { actorChangeLinkDto.url = n.getStringValue(); },
1037
+ };
1038
+ }
1039
+ /**
1040
+ * The deserialization information for the current model
1041
+ * @param ActorDetailDto The instance to deserialize into.
1042
+ * @returns {Record<string, (node: ParseNode) => void>}
1043
+ */
1044
+ // @ts-ignore
1045
+ export function deserializeIntoActorDetailDto(actorDetailDto = {}) {
1046
+ return {
1047
+ "aliases": n => { actorDetailDto.aliases = n.getCollectionOfObjectValues(createActorAliasDtoFromDiscriminatorValue); },
1048
+ "bios": n => { actorDetailDto.bios = n.getCollectionOfObjectValues(createActorBioDtoFromDiscriminatorValue); },
1049
+ "birthday": n => { actorDetailDto.birthday = n.getDateOnlyValue(); },
1050
+ "birthdayType": n => { actorDetailDto.birthdayType = n.getNumberValue(); },
1051
+ "birthdayTypeLabel": n => { actorDetailDto.birthdayTypeLabel = n.getStringValue(); },
1052
+ "birthplace": n => { actorDetailDto.birthplace = n.getStringValue(); },
1053
+ "braSize": n => { actorDetailDto.braSize = n.getNumberValue(); },
1054
+ "braSizeLabel": n => { actorDetailDto.braSizeLabel = n.getStringValue(); },
1055
+ "breastType": n => { actorDetailDto.breastType = n.getNumberValue(); },
1056
+ "breastTypeLabel": n => { actorDetailDto.breastTypeLabel = n.getStringValue(); },
1057
+ "careerEnd": n => { actorDetailDto.careerEnd = n.getNumberValue(); },
1058
+ "careerStart": n => { actorDetailDto.careerStart = n.getNumberValue(); },
1059
+ "createdAtUtc": n => { actorDetailDto.createdAtUtc = n.getDateValue(); },
1060
+ "deathday": n => { actorDetailDto.deathday = n.getDateOnlyValue(); },
1061
+ "ethnicity": n => { actorDetailDto.ethnicity = n.getNumberValue(); },
1062
+ "ethnicityLabel": n => { actorDetailDto.ethnicityLabel = n.getStringValue(); },
1063
+ "eyecolor": n => { actorDetailDto.eyecolor = n.getNumberValue(); },
1064
+ "eyecolorLabel": n => { actorDetailDto.eyecolorLabel = n.getStringValue(); },
1065
+ "gender": n => { actorDetailDto.gender = n.getNumberValue(); },
1066
+ "genderLabel": n => { actorDetailDto.genderLabel = n.getStringValue(); },
1067
+ "haircolor": n => { actorDetailDto.haircolor = n.getNumberValue(); },
1068
+ "haircolorLabel": n => { actorDetailDto.haircolorLabel = n.getStringValue(); },
1069
+ "height": n => { actorDetailDto.height = n.getNumberValue(); },
1070
+ "hipSize": n => { actorDetailDto.hipSize = n.getNumberValue(); },
1071
+ "id": n => { actorDetailDto.id = n.getGuidValue(); },
1072
+ "images": n => { actorDetailDto.images = n.getCollectionOfObjectValues(createActorImageDetailDtoFromDiscriminatorValue); },
1073
+ "links": n => { actorDetailDto.links = n.getCollectionOfObjectValues(createActorLinkDtoFromDiscriminatorValue); },
1074
+ "name": n => { actorDetailDto.name = n.getStringValue(); },
1075
+ "nationality": n => { actorDetailDto.nationality = n.getNumberValue(); },
1076
+ "nationalityLabel": n => { actorDetailDto.nationalityLabel = n.getStringValue(); },
1077
+ "piercings": n => { actorDetailDto.piercings = n.getStringValue(); },
1078
+ "tattoos": n => { actorDetailDto.tattoos = n.getStringValue(); },
1079
+ "updatedAtUtc": n => { actorDetailDto.updatedAtUtc = n.getDateValue(); },
1080
+ "waistSize": n => { actorDetailDto.waistSize = n.getNumberValue(); },
1081
+ };
1082
+ }
1083
+ /**
1084
+ * The deserialization information for the current model
1085
+ * @param ActorImageDetailDto The instance to deserialize into.
1086
+ * @returns {Record<string, (node: ParseNode) => void>}
1087
+ */
1088
+ // @ts-ignore
1089
+ export function deserializeIntoActorImageDetailDto(actorImageDetailDto = {}) {
1090
+ return {
1091
+ "id": n => { actorImageDetailDto.id = n.getGuidValue(); },
1092
+ "imageType": n => { actorImageDetailDto.imageType = n.getNumberValue(); },
1093
+ "imageTypeLabel": n => { actorImageDetailDto.imageTypeLabel = n.getStringValue(); },
1094
+ "url": n => { actorImageDetailDto.url = n.getStringValue(); },
1095
+ };
1096
+ }
1097
+ /**
1098
+ * The deserialization information for the current model
1099
+ * @param ActorLinkDto The instance to deserialize into.
1100
+ * @returns {Record<string, (node: ParseNode) => void>}
1101
+ */
1102
+ // @ts-ignore
1103
+ export function deserializeIntoActorLinkDto(actorLinkDto = {}) {
1104
+ return {
1105
+ "externalSite": n => { actorLinkDto.externalSite = n.getNumberValue(); },
1106
+ "externalSiteLabel": n => { actorLinkDto.externalSiteLabel = n.getStringValue(); },
1107
+ "url": n => { actorLinkDto.url = n.getStringValue(); },
1108
+ };
1109
+ }
1110
+ /**
1111
+ * The deserialization information for the current model
1112
+ * @param ActorSummaryDto The instance to deserialize into.
1113
+ * @returns {Record<string, (node: ParseNode) => void>}
1114
+ */
1115
+ // @ts-ignore
1116
+ export function deserializeIntoActorSummaryDto(actorSummaryDto = {}) {
1117
+ return {
1118
+ "birthday": n => { actorSummaryDto.birthday = n.getDateOnlyValue(); },
1119
+ "ethnicity": n => { actorSummaryDto.ethnicity = n.getNumberValue(); },
1120
+ "ethnicityLabel": n => { actorSummaryDto.ethnicityLabel = n.getStringValue(); },
1121
+ "gender": n => { actorSummaryDto.gender = n.getNumberValue(); },
1122
+ "genderLabel": n => { actorSummaryDto.genderLabel = n.getStringValue(); },
1123
+ "id": n => { actorSummaryDto.id = n.getGuidValue(); },
1124
+ "name": n => { actorSummaryDto.name = n.getStringValue(); },
1125
+ "nationality": n => { actorSummaryDto.nationality = n.getNumberValue(); },
1126
+ "nationalityLabel": n => { actorSummaryDto.nationalityLabel = n.getStringValue(); },
1127
+ "profileImageUrl": n => { actorSummaryDto.profileImageUrl = n.getStringValue(); },
1128
+ };
1129
+ }
1130
+ /**
1131
+ * The deserialization information for the current model
1132
+ * @param AddDownloadedFromIndexerFilenameRequest The instance to deserialize into.
1133
+ * @returns {Record<string, (node: ParseNode) => void>}
1134
+ */
1135
+ // @ts-ignore
1136
+ export function deserializeIntoAddDownloadedFromIndexerFilenameRequest(addDownloadedFromIndexerFilenameRequest = {}) {
1137
+ return {
1138
+ "filename": n => { addDownloadedFromIndexerFilenameRequest.filename = n.getStringValue(); },
1139
+ "filesize": n => { addDownloadedFromIndexerFilenameRequest.filesize = n.getNumberValue(); },
1140
+ "osHash": n => { addDownloadedFromIndexerFilenameRequest.osHash = n.getStringValue(); },
1141
+ "pHash": n => { addDownloadedFromIndexerFilenameRequest.pHash = n.getStringValue(); },
1142
+ };
1143
+ }
1144
+ /**
1145
+ * The deserialization information for the current model
1146
+ * @param AddDownloadedFromIndexerRequest The instance to deserialize into.
1147
+ * @returns {Record<string, (node: ParseNode) => void>}
1148
+ */
1149
+ // @ts-ignore
1150
+ export function deserializeIntoAddDownloadedFromIndexerRequest(addDownloadedFromIndexerRequest = {}) {
1151
+ return {
1152
+ "downloadIdentifier": n => { addDownloadedFromIndexerRequest.downloadIdentifier = n.getStringValue(); },
1153
+ "filenames": n => { addDownloadedFromIndexerRequest.filenames = n.getCollectionOfObjectValues(createAddDownloadedFromIndexerFilenameRequestFromDiscriminatorValue); },
1154
+ "indexerId": n => { addDownloadedFromIndexerRequest.indexerId = n.getStringValue(); },
1155
+ "indexerSource": n => { addDownloadedFromIndexerRequest.indexerSource = n.getNumberValue(); },
1156
+ "nzbName": n => { addDownloadedFromIndexerRequest.nzbName = n.getStringValue(); },
1157
+ "nzbUrl": n => { addDownloadedFromIndexerRequest.nzbUrl = n.getStringValue(); },
1158
+ "videoId": n => { addDownloadedFromIndexerRequest.videoId = n.getGuidValue(); },
1159
+ };
1160
+ }
1161
+ /**
1162
+ * The deserialization information for the current model
1163
+ * @param AddWantedVideosBatchRequest The instance to deserialize into.
1164
+ * @returns {Record<string, (node: ParseNode) => void>}
1165
+ */
1166
+ // @ts-ignore
1167
+ export function deserializeIntoAddWantedVideosBatchRequest(addWantedVideosBatchRequest = {}) {
1168
+ return {
1169
+ "videoIds": n => { addWantedVideosBatchRequest.videoIds = n.getCollectionOfPrimitiveValues("string"); },
1170
+ };
1171
+ }
1172
+ /**
1173
+ * The deserialization information for the current model
1174
+ * @param AddWantedVideosBatchResponse The instance to deserialize into.
1175
+ * @returns {Record<string, (node: ParseNode) => void>}
1176
+ */
1177
+ // @ts-ignore
1178
+ export function deserializeIntoAddWantedVideosBatchResponse(addWantedVideosBatchResponse = {}) {
1179
+ return {
1180
+ "added": n => { addWantedVideosBatchResponse.added = n.getNumberValue(); },
1181
+ "alreadyExisted": n => { addWantedVideosBatchResponse.alreadyExisted = n.getNumberValue(); },
1182
+ "notFound": n => { addWantedVideosBatchResponse.notFound = n.getNumberValue(); },
1183
+ };
1184
+ }
1185
+ /**
1186
+ * The deserialization information for the current model
1187
+ * @param DownloadedFromIndexerFilenameDto The instance to deserialize into.
1188
+ * @returns {Record<string, (node: ParseNode) => void>}
1189
+ */
1190
+ // @ts-ignore
1191
+ export function deserializeIntoDownloadedFromIndexerFilenameDto(downloadedFromIndexerFilenameDto = {}) {
1192
+ return {
1193
+ "createdAtUtc": n => { downloadedFromIndexerFilenameDto.createdAtUtc = n.getDateValue(); },
1194
+ "downloadedFromIndexerId": n => { downloadedFromIndexerFilenameDto.downloadedFromIndexerId = n.getGuidValue(); },
1195
+ "filename": n => { downloadedFromIndexerFilenameDto.filename = n.getStringValue(); },
1196
+ "filesize": n => { downloadedFromIndexerFilenameDto.filesize = n.getNumberValue(); },
1197
+ "id": n => { downloadedFromIndexerFilenameDto.id = n.getGuidValue(); },
1198
+ "osHash": n => { downloadedFromIndexerFilenameDto.osHash = n.getStringValue(); },
1199
+ "pHash": n => { downloadedFromIndexerFilenameDto.pHash = n.getStringValue(); },
1200
+ "updatedAtUtc": n => { downloadedFromIndexerFilenameDto.updatedAtUtc = n.getDateValue(); },
1201
+ };
1202
+ }
1203
+ /**
1204
+ * The deserialization information for the current model
1205
+ * @param DownloadedFromIndexerResponse The instance to deserialize into.
1206
+ * @returns {Record<string, (node: ParseNode) => void>}
1207
+ */
1208
+ // @ts-ignore
1209
+ export function deserializeIntoDownloadedFromIndexerResponse(downloadedFromIndexerResponse = {}) {
1210
+ return {
1211
+ "createdAtUtc": n => { downloadedFromIndexerResponse.createdAtUtc = n.getDateValue(); },
1212
+ "downloadIdentifier": n => { downloadedFromIndexerResponse.downloadIdentifier = n.getStringValue(); },
1213
+ "filenames": n => { downloadedFromIndexerResponse.filenames = n.getCollectionOfObjectValues(createDownloadedFromIndexerFilenameDtoFromDiscriminatorValue); },
1214
+ "id": n => { downloadedFromIndexerResponse.id = n.getGuidValue(); },
1215
+ "indexerId": n => { downloadedFromIndexerResponse.indexerId = n.getStringValue(); },
1216
+ "indexerSource": n => { downloadedFromIndexerResponse.indexerSource = n.getNumberValue(); },
1217
+ "nzbName": n => { downloadedFromIndexerResponse.nzbName = n.getStringValue(); },
1218
+ "nzbUrl": n => { downloadedFromIndexerResponse.nzbUrl = n.getStringValue(); },
1219
+ "updatedAtUtc": n => { downloadedFromIndexerResponse.updatedAtUtc = n.getDateValue(); },
1220
+ "videoId": n => { downloadedFromIndexerResponse.videoId = n.getGuidValue(); },
1221
+ };
1222
+ }
1223
+ /**
1224
+ * The deserialization information for the current model
1225
+ * @param FavoriteActorChangeDto The instance to deserialize into.
1226
+ * @returns {Record<string, (node: ParseNode) => void>}
1227
+ */
1228
+ // @ts-ignore
1229
+ export function deserializeIntoFavoriteActorChangeDto(favoriteActorChangeDto = {}) {
1230
+ return {
1231
+ "eventType": n => { favoriteActorChangeDto.eventType = n.getStringValue(); },
1232
+ "favoriteActor": n => { favoriteActorChangeDto.favoriteActor = n.getObjectValue(createFavoriteActorChangeFavoriteActorDtoFromDiscriminatorValue); },
1233
+ };
1234
+ }
1235
+ /**
1236
+ * The deserialization information for the current model
1237
+ * @param FavoriteActorChangeFavoriteActorDto The instance to deserialize into.
1238
+ * @returns {Record<string, (node: ParseNode) => void>}
1239
+ */
1240
+ // @ts-ignore
1241
+ export function deserializeIntoFavoriteActorChangeFavoriteActorDto(favoriteActorChangeFavoriteActorDto = {}) {
1242
+ return {
1243
+ "deletedAtUtc": n => { favoriteActorChangeFavoriteActorDto.deletedAtUtc = n.getDateValue(); },
1244
+ "ethnicity": n => { favoriteActorChangeFavoriteActorDto.ethnicity = n.getStringValue(); },
1245
+ "favoritedAtUtc": n => { favoriteActorChangeFavoriteActorDto.favoritedAtUtc = n.getDateValue(); },
1246
+ "gender": n => { favoriteActorChangeFavoriteActorDto.gender = n.getStringValue(); },
1247
+ "id": n => { favoriteActorChangeFavoriteActorDto.id = n.getGuidValue(); },
1248
+ "isDeleted": n => { favoriteActorChangeFavoriteActorDto.isDeleted = n.getBooleanValue(); },
1249
+ "name": n => { favoriteActorChangeFavoriteActorDto.name = n.getStringValue(); },
1250
+ "nationality": n => { favoriteActorChangeFavoriteActorDto.nationality = n.getStringValue(); },
1251
+ "profileImageCdnPath": n => { favoriteActorChangeFavoriteActorDto.profileImageCdnPath = n.getStringValue(); },
1252
+ "updatedAtUtc": n => { favoriteActorChangeFavoriteActorDto.updatedAtUtc = n.getDateValue(); },
1253
+ };
1254
+ }
1255
+ /**
1256
+ * The deserialization information for the current model
1257
+ * @param FavoriteActorChangesCursorDto The instance to deserialize into.
1258
+ * @returns {Record<string, (node: ParseNode) => void>}
1259
+ */
1260
+ // @ts-ignore
1261
+ export function deserializeIntoFavoriteActorChangesCursorDto(favoriteActorChangesCursorDto = {}) {
1262
+ return {
1263
+ "id": n => { favoriteActorChangesCursorDto.id = n.getGuidValue(); },
1264
+ "updatedAtUtc": n => { favoriteActorChangesCursorDto.updatedAtUtc = n.getDateValue(); },
1265
+ };
1266
+ }
1267
+ /**
1268
+ * The deserialization information for the current model
1269
+ * @param FavoriteActorSummaryDto The instance to deserialize into.
1270
+ * @returns {Record<string, (node: ParseNode) => void>}
1271
+ */
1272
+ // @ts-ignore
1273
+ export function deserializeIntoFavoriteActorSummaryDto(favoriteActorSummaryDto = {}) {
1274
+ return {
1275
+ "ethnicity": n => { favoriteActorSummaryDto.ethnicity = n.getStringValue(); },
1276
+ "favoritedAtUtc": n => { favoriteActorSummaryDto.favoritedAtUtc = n.getDateValue(); },
1277
+ "gender": n => { favoriteActorSummaryDto.gender = n.getStringValue(); },
1278
+ "id": n => { favoriteActorSummaryDto.id = n.getGuidValue(); },
1279
+ "name": n => { favoriteActorSummaryDto.name = n.getStringValue(); },
1280
+ "nationality": n => { favoriteActorSummaryDto.nationality = n.getStringValue(); },
1281
+ "profileImageCdnPath": n => { favoriteActorSummaryDto.profileImageCdnPath = n.getStringValue(); },
1282
+ };
1283
+ }
1284
+ /**
1285
+ * The deserialization information for the current model
1286
+ * @param FavoriteSiteChangeDto The instance to deserialize into.
1287
+ * @returns {Record<string, (node: ParseNode) => void>}
1288
+ */
1289
+ // @ts-ignore
1290
+ export function deserializeIntoFavoriteSiteChangeDto(favoriteSiteChangeDto = {}) {
1291
+ return {
1292
+ "eventType": n => { favoriteSiteChangeDto.eventType = n.getStringValue(); },
1293
+ "favoriteSite": n => { favoriteSiteChangeDto.favoriteSite = n.getObjectValue(createFavoriteSiteChangeFavoriteSiteDtoFromDiscriminatorValue); },
1294
+ };
1295
+ }
1296
+ /**
1297
+ * The deserialization information for the current model
1298
+ * @param FavoriteSiteChangeFavoriteSiteDto The instance to deserialize into.
1299
+ * @returns {Record<string, (node: ParseNode) => void>}
1300
+ */
1301
+ // @ts-ignore
1302
+ export function deserializeIntoFavoriteSiteChangeFavoriteSiteDto(favoriteSiteChangeFavoriteSiteDto = {}) {
1303
+ return {
1304
+ "deletedAtUtc": n => { favoriteSiteChangeFavoriteSiteDto.deletedAtUtc = n.getDateValue(); },
1305
+ "favoritedAtUtc": n => { favoriteSiteChangeFavoriteSiteDto.favoritedAtUtc = n.getDateValue(); },
1306
+ "id": n => { favoriteSiteChangeFavoriteSiteDto.id = n.getGuidValue(); },
1307
+ "isDeleted": n => { favoriteSiteChangeFavoriteSiteDto.isDeleted = n.getBooleanValue(); },
1308
+ "networkId": n => { favoriteSiteChangeFavoriteSiteDto.networkId = n.getGuidValue(); },
1309
+ "networkTitle": n => { favoriteSiteChangeFavoriteSiteDto.networkTitle = n.getStringValue(); },
1310
+ "title": n => { favoriteSiteChangeFavoriteSiteDto.title = n.getStringValue(); },
1311
+ "updatedAtUtc": n => { favoriteSiteChangeFavoriteSiteDto.updatedAtUtc = n.getDateValue(); },
1312
+ "url": n => { favoriteSiteChangeFavoriteSiteDto.url = n.getStringValue(); },
1313
+ };
1314
+ }
1315
+ /**
1316
+ * The deserialization information for the current model
1317
+ * @param FavoriteSiteChangesCursorDto The instance to deserialize into.
1318
+ * @returns {Record<string, (node: ParseNode) => void>}
1319
+ */
1320
+ // @ts-ignore
1321
+ export function deserializeIntoFavoriteSiteChangesCursorDto(favoriteSiteChangesCursorDto = {}) {
1322
+ return {
1323
+ "id": n => { favoriteSiteChangesCursorDto.id = n.getGuidValue(); },
1324
+ "updatedAtUtc": n => { favoriteSiteChangesCursorDto.updatedAtUtc = n.getDateValue(); },
1325
+ };
1326
+ }
1327
+ /**
1328
+ * The deserialization information for the current model
1329
+ * @param FavoriteSiteSummaryDto The instance to deserialize into.
1330
+ * @returns {Record<string, (node: ParseNode) => void>}
1331
+ */
1332
+ // @ts-ignore
1333
+ export function deserializeIntoFavoriteSiteSummaryDto(favoriteSiteSummaryDto = {}) {
1334
+ return {
1335
+ "favoritedAtUtc": n => { favoriteSiteSummaryDto.favoritedAtUtc = n.getDateValue(); },
1336
+ "id": n => { favoriteSiteSummaryDto.id = n.getGuidValue(); },
1337
+ "networkId": n => { favoriteSiteSummaryDto.networkId = n.getGuidValue(); },
1338
+ "networkTitle": n => { favoriteSiteSummaryDto.networkTitle = n.getStringValue(); },
1339
+ "title": n => { favoriteSiteSummaryDto.title = n.getStringValue(); },
1340
+ "url": n => { favoriteSiteSummaryDto.url = n.getStringValue(); },
1341
+ };
1342
+ }
1343
+ /**
1344
+ * The deserialization information for the current model
1345
+ * @param GetActorChangesResponse The instance to deserialize into.
1346
+ * @returns {Record<string, (node: ParseNode) => void>}
1347
+ */
1348
+ // @ts-ignore
1349
+ export function deserializeIntoGetActorChangesResponse(getActorChangesResponse = {}) {
1350
+ return {
1351
+ "hasMore": n => { getActorChangesResponse.hasMore = n.getBooleanValue(); },
1352
+ "items": n => { getActorChangesResponse.items = n.getCollectionOfObjectValues(createActorChangeDtoFromDiscriminatorValue); },
1353
+ "nextCursorId": n => { getActorChangesResponse.nextCursorId = n.getGuidValue(); },
1354
+ "nextCursorUtc": n => { getActorChangesResponse.nextCursorUtc = n.getDateValue(); },
1355
+ "pageSize": n => { getActorChangesResponse.pageSize = n.getNumberValue(); },
1356
+ };
1357
+ }
1358
+ /**
1359
+ * The deserialization information for the current model
1360
+ * @param GetActorsByIdsRequest The instance to deserialize into.
1361
+ * @returns {Record<string, (node: ParseNode) => void>}
1362
+ */
1363
+ // @ts-ignore
1364
+ export function deserializeIntoGetActorsByIdsRequest(getActorsByIdsRequest = {}) {
1365
+ return {
1366
+ "ids": n => { getActorsByIdsRequest.ids = n.getCollectionOfPrimitiveValues("string"); },
1367
+ };
1368
+ }
1369
+ /**
1370
+ * The deserialization information for the current model
1371
+ * @param GetFavoriteActorChangesResponse The instance to deserialize into.
1372
+ * @returns {Record<string, (node: ParseNode) => void>}
1373
+ */
1374
+ // @ts-ignore
1375
+ export function deserializeIntoGetFavoriteActorChangesResponse(getFavoriteActorChangesResponse = {}) {
1376
+ return {
1377
+ "hasMore": n => { getFavoriteActorChangesResponse.hasMore = n.getBooleanValue(); },
1378
+ "items": n => { getFavoriteActorChangesResponse.items = n.getCollectionOfObjectValues(createFavoriteActorChangeDtoFromDiscriminatorValue); },
1379
+ "nextCursor": n => { getFavoriteActorChangesResponse.nextCursor = n.getObjectValue(createFavoriteActorChangesCursorDtoFromDiscriminatorValue); },
1380
+ "pageSize": n => { getFavoriteActorChangesResponse.pageSize = n.getNumberValue(); },
1381
+ };
1382
+ }
1383
+ /**
1384
+ * The deserialization information for the current model
1385
+ * @param GetFavoriteSiteChangesResponse The instance to deserialize into.
1386
+ * @returns {Record<string, (node: ParseNode) => void>}
1387
+ */
1388
+ // @ts-ignore
1389
+ export function deserializeIntoGetFavoriteSiteChangesResponse(getFavoriteSiteChangesResponse = {}) {
1390
+ return {
1391
+ "hasMore": n => { getFavoriteSiteChangesResponse.hasMore = n.getBooleanValue(); },
1392
+ "items": n => { getFavoriteSiteChangesResponse.items = n.getCollectionOfObjectValues(createFavoriteSiteChangeDtoFromDiscriminatorValue); },
1393
+ "nextCursor": n => { getFavoriteSiteChangesResponse.nextCursor = n.getObjectValue(createFavoriteSiteChangesCursorDtoFromDiscriminatorValue); },
1394
+ "pageSize": n => { getFavoriteSiteChangesResponse.pageSize = n.getNumberValue(); },
1395
+ };
1396
+ }
1397
+ /**
1398
+ * The deserialization information for the current model
1399
+ * @param GetHealthResponse The instance to deserialize into.
1400
+ * @returns {Record<string, (node: ParseNode) => void>}
1401
+ */
1402
+ // @ts-ignore
1403
+ export function deserializeIntoGetHealthResponse(getHealthResponse = {}) {
1404
+ return {
1405
+ "status": n => { getHealthResponse.status = n.getStringValue(); },
1406
+ "timestamp": n => { getHealthResponse.timestamp = n.getDateValue(); },
1407
+ };
1408
+ }
1409
+ /**
1410
+ * The deserialization information for the current model
1411
+ * @param GetIndexerFilehashChangesResponse The instance to deserialize into.
1412
+ * @returns {Record<string, (node: ParseNode) => void>}
1413
+ */
1414
+ // @ts-ignore
1415
+ export function deserializeIntoGetIndexerFilehashChangesResponse(getIndexerFilehashChangesResponse = {}) {
1416
+ return {
1417
+ "hasMore": n => { getIndexerFilehashChangesResponse.hasMore = n.getBooleanValue(); },
1418
+ "items": n => { getIndexerFilehashChangesResponse.items = n.getCollectionOfObjectValues(createIndexerFilehashChangeDtoFromDiscriminatorValue); },
1419
+ "nextCursor": n => { getIndexerFilehashChangesResponse.nextCursor = n.getObjectValue(createIndexerFilehashChangesCursorDtoFromDiscriminatorValue); },
1420
+ "pageSize": n => { getIndexerFilehashChangesResponse.pageSize = n.getNumberValue(); },
1421
+ };
1422
+ }
1423
+ /**
1424
+ * The deserialization information for the current model
1425
+ * @param GetRateLimitResponse The instance to deserialize into.
1426
+ * @returns {Record<string, (node: ParseNode) => void>}
1427
+ */
1428
+ // @ts-ignore
1429
+ export function deserializeIntoGetRateLimitResponse(getRateLimitResponse = {}) {
1430
+ return {
1431
+ "hourly": n => { getRateLimitResponse.hourly = n.getObjectValue(createRateLimitWindowStatusFromDiscriminatorValue); },
1432
+ "isEnforced": n => { getRateLimitResponse.isEnforced = n.getBooleanValue(); },
1433
+ "monthly": n => { getRateLimitResponse.monthly = n.getObjectValue(createRateLimitWindowStatusFromDiscriminatorValue); },
1434
+ };
1435
+ }
1436
+ /**
1437
+ * The deserialization information for the current model
1438
+ * @param GetVideoFilehashChangesResponse The instance to deserialize into.
1439
+ * @returns {Record<string, (node: ParseNode) => void>}
1440
+ */
1441
+ // @ts-ignore
1442
+ export function deserializeIntoGetVideoFilehashChangesResponse(getVideoFilehashChangesResponse = {}) {
1443
+ return {
1444
+ "hasMore": n => { getVideoFilehashChangesResponse.hasMore = n.getBooleanValue(); },
1445
+ "items": n => { getVideoFilehashChangesResponse.items = n.getCollectionOfObjectValues(createVideoFilehashChangeDtoFromDiscriminatorValue); },
1446
+ "nextCursor": n => { getVideoFilehashChangesResponse.nextCursor = n.getObjectValue(createVideoFilehashChangesCursorDtoFromDiscriminatorValue); },
1447
+ "pageSize": n => { getVideoFilehashChangesResponse.pageSize = n.getNumberValue(); },
1448
+ };
1449
+ }
1450
+ /**
1451
+ * The deserialization information for the current model
1452
+ * @param GetVideoFilehashesByVideoIdsRequest The instance to deserialize into.
1453
+ * @returns {Record<string, (node: ParseNode) => void>}
1454
+ */
1455
+ // @ts-ignore
1456
+ export function deserializeIntoGetVideoFilehashesByVideoIdsRequest(getVideoFilehashesByVideoIdsRequest = {}) {
1457
+ return {
1458
+ "ids": n => { getVideoFilehashesByVideoIdsRequest.ids = n.getCollectionOfPrimitiveValues("string"); },
1459
+ };
1460
+ }
1461
+ /**
1462
+ * The deserialization information for the current model
1463
+ * @param GetVideoFilehashesByVideoIdsResponse The instance to deserialize into.
1464
+ * @returns {Record<string, (node: ParseNode) => void>}
1465
+ */
1466
+ // @ts-ignore
1467
+ export function deserializeIntoGetVideoFilehashesByVideoIdsResponse(getVideoFilehashesByVideoIdsResponse = {}) {
1468
+ return {
1469
+ "items": n => { getVideoFilehashesByVideoIdsResponse.items = n.getCollectionOfObjectValues(createVideoFilehashesByVideoIdDtoFromDiscriminatorValue); },
1470
+ "notFoundVideoIds": n => { getVideoFilehashesByVideoIdsResponse.notFoundVideoIds = n.getCollectionOfPrimitiveValues("string"); },
1471
+ };
1472
+ }
1473
+ /**
1474
+ * The deserialization information for the current model
1475
+ * @param GetVideosByIdsRequest The instance to deserialize into.
1476
+ * @returns {Record<string, (node: ParseNode) => void>}
1477
+ */
1478
+ // @ts-ignore
1479
+ export function deserializeIntoGetVideosByIdsRequest(getVideosByIdsRequest = {}) {
1480
+ return {
1481
+ "ids": n => { getVideosByIdsRequest.ids = n.getCollectionOfPrimitiveValues("string"); },
1482
+ };
1483
+ }
1484
+ /**
1485
+ * The deserialization information for the current model
1486
+ * @param GetVideoUserImageChangesResponse The instance to deserialize into.
1487
+ * @returns {Record<string, (node: ParseNode) => void>}
1488
+ */
1489
+ // @ts-ignore
1490
+ export function deserializeIntoGetVideoUserImageChangesResponse(getVideoUserImageChangesResponse = {}) {
1491
+ return {
1492
+ "hasMore": n => { getVideoUserImageChangesResponse.hasMore = n.getBooleanValue(); },
1493
+ "items": n => { getVideoUserImageChangesResponse.items = n.getCollectionOfObjectValues(createVideoUserImageChangeItemDtoFromDiscriminatorValue); },
1494
+ "nextCursor": n => { getVideoUserImageChangesResponse.nextCursor = n.getObjectValue(createVideoUserImageChangesCursorDtoFromDiscriminatorValue); },
1495
+ "pageSize": n => { getVideoUserImageChangesResponse.pageSize = n.getNumberValue(); },
1496
+ };
1497
+ }
1498
+ /**
1499
+ * The deserialization information for the current model
1500
+ * @param GetWantedVideoChangesResponse The instance to deserialize into.
1501
+ * @returns {Record<string, (node: ParseNode) => void>}
1502
+ */
1503
+ // @ts-ignore
1504
+ export function deserializeIntoGetWantedVideoChangesResponse(getWantedVideoChangesResponse = {}) {
1505
+ return {
1506
+ "hasMore": n => { getWantedVideoChangesResponse.hasMore = n.getBooleanValue(); },
1507
+ "items": n => { getWantedVideoChangesResponse.items = n.getCollectionOfObjectValues(createWantedVideoChangeDtoFromDiscriminatorValue); },
1508
+ "nextCursor": n => { getWantedVideoChangesResponse.nextCursor = n.getObjectValue(createWantedVideoChangesCursorDtoFromDiscriminatorValue); },
1509
+ "pageSize": n => { getWantedVideoChangesResponse.pageSize = n.getNumberValue(); },
1510
+ };
1511
+ }
1512
+ /**
1513
+ * The deserialization information for the current model
1514
+ * @param IndexerFilehashChangeDto The instance to deserialize into.
1515
+ * @returns {Record<string, (node: ParseNode) => void>}
1516
+ */
1517
+ // @ts-ignore
1518
+ export function deserializeIntoIndexerFilehashChangeDto(indexerFilehashChangeDto = {}) {
1519
+ return {
1520
+ "eventType": n => { indexerFilehashChangeDto.eventType = n.getStringValue(); },
1521
+ "filehash": n => { indexerFilehashChangeDto.filehash = n.getObjectValue(createIndexerFilehashChangeFilehashDtoFromDiscriminatorValue); },
1522
+ };
1523
+ }
1524
+ /**
1525
+ * The deserialization information for the current model
1526
+ * @param IndexerFilehashChangeFilehashDto The instance to deserialize into.
1527
+ * @returns {Record<string, (node: ParseNode) => void>}
1528
+ */
1529
+ // @ts-ignore
1530
+ export function deserializeIntoIndexerFilehashChangeFilehashDto(indexerFilehashChangeFilehashDto = {}) {
1531
+ return {
1532
+ "createdAtUtc": n => { indexerFilehashChangeFilehashDto.createdAtUtc = n.getDateValue(); },
1533
+ "deletedAtUtc": n => { indexerFilehashChangeFilehashDto.deletedAtUtc = n.getDateValue(); },
1534
+ "filename": n => { indexerFilehashChangeFilehashDto.filename = n.getStringValue(); },
1535
+ "filesize": n => { indexerFilehashChangeFilehashDto.filesize = n.getNumberValue(); },
1536
+ "id": n => { indexerFilehashChangeFilehashDto.id = n.getGuidValue(); },
1537
+ "indexerId": n => { indexerFilehashChangeFilehashDto.indexerId = n.getStringValue(); },
1538
+ "indexerSource": n => { indexerFilehashChangeFilehashDto.indexerSource = n.getStringValue(); },
1539
+ "isDeleted": n => { indexerFilehashChangeFilehashDto.isDeleted = n.getBooleanValue(); },
1540
+ "isVerified": n => { indexerFilehashChangeFilehashDto.isVerified = n.getBooleanValue(); },
1541
+ "osHash": n => { indexerFilehashChangeFilehashDto.osHash = n.getStringValue(); },
1542
+ "pHash": n => { indexerFilehashChangeFilehashDto.pHash = n.getStringValue(); },
1543
+ "submissionCount": n => { indexerFilehashChangeFilehashDto.submissionCount = n.getNumberValue(); },
1544
+ "updatedAtUtc": n => { indexerFilehashChangeFilehashDto.updatedAtUtc = n.getDateValue(); },
1545
+ };
1546
+ }
1547
+ /**
1548
+ * The deserialization information for the current model
1549
+ * @param IndexerFilehashChangesCursorDto The instance to deserialize into.
1550
+ * @returns {Record<string, (node: ParseNode) => void>}
1551
+ */
1552
+ // @ts-ignore
1553
+ export function deserializeIntoIndexerFilehashChangesCursorDto(indexerFilehashChangesCursorDto = {}) {
1554
+ return {
1555
+ "id": n => { indexerFilehashChangesCursorDto.id = n.getGuidValue(); },
1556
+ "updatedAtUtc": n => { indexerFilehashChangesCursorDto.updatedAtUtc = n.getDateValue(); },
1557
+ };
1558
+ }
1559
+ /**
1560
+ * The deserialization information for the current model
1561
+ * @param IndexerFilehashDto The instance to deserialize into.
1562
+ * @returns {Record<string, (node: ParseNode) => void>}
1563
+ */
1564
+ // @ts-ignore
1565
+ export function deserializeIntoIndexerFilehashDto(indexerFilehashDto = {}) {
1566
+ return {
1567
+ "createdAtUtc": n => { indexerFilehashDto.createdAtUtc = n.getDateValue(); },
1568
+ "filename": n => { indexerFilehashDto.filename = n.getStringValue(); },
1569
+ "filesize": n => { indexerFilehashDto.filesize = n.getNumberValue(); },
1570
+ "id": n => { indexerFilehashDto.id = n.getGuidValue(); },
1571
+ "indexerId": n => { indexerFilehashDto.indexerId = n.getStringValue(); },
1572
+ "indexerSource": n => { indexerFilehashDto.indexerSource = n.getStringValue(); },
1573
+ "isVerified": n => { indexerFilehashDto.isVerified = n.getBooleanValue(); },
1574
+ "osHash": n => { indexerFilehashDto.osHash = n.getStringValue(); },
1575
+ "pHash": n => { indexerFilehashDto.pHash = n.getStringValue(); },
1576
+ "submissionCount": n => { indexerFilehashDto.submissionCount = n.getNumberValue(); },
1577
+ "updatedAtUtc": n => { indexerFilehashDto.updatedAtUtc = n.getDateValue(); },
1578
+ };
1579
+ }
1580
+ /**
1581
+ * The deserialization information for the current model
1582
+ * @param IndexerFilehashLookupKeyDto The instance to deserialize into.
1583
+ * @returns {Record<string, (node: ParseNode) => void>}
1584
+ */
1585
+ // @ts-ignore
1586
+ export function deserializeIntoIndexerFilehashLookupKeyDto(indexerFilehashLookupKeyDto = {}) {
1587
+ return {
1588
+ "indexerId": n => { indexerFilehashLookupKeyDto.indexerId = n.getStringValue(); },
1589
+ "indexerSource": n => { indexerFilehashLookupKeyDto.indexerSource = n.getEnumValue(IndexerFilehashLookupKeyDto_indexerSourceObject); },
1590
+ };
1591
+ }
1592
+ /**
1593
+ * The deserialization information for the current model
1594
+ * @param LatestIndexerFilehashesResponse The instance to deserialize into.
1595
+ * @returns {Record<string, (node: ParseNode) => void>}
1596
+ */
1597
+ // @ts-ignore
1598
+ export function deserializeIntoLatestIndexerFilehashesResponse(latestIndexerFilehashesResponse = {}) {
1599
+ return {
1600
+ "items": n => { latestIndexerFilehashesResponse.items = n.getCollectionOfObjectValues(createIndexerFilehashDtoFromDiscriminatorValue); },
1601
+ "page": n => { latestIndexerFilehashesResponse.page = n.getNumberValue(); },
1602
+ "pageSize": n => { latestIndexerFilehashesResponse.pageSize = n.getNumberValue(); },
1603
+ "sortBy": n => { latestIndexerFilehashesResponse.sortBy = n.getStringValue(); },
1604
+ "sortDirection": n => { latestIndexerFilehashesResponse.sortDirection = n.getStringValue(); },
1605
+ "totalCount": n => { latestIndexerFilehashesResponse.totalCount = n.getNumberValue(); },
1606
+ };
1607
+ }
1608
+ /**
1609
+ * The deserialization information for the current model
1610
+ * @param LatestPreDbItemDto The instance to deserialize into.
1611
+ * @returns {Record<string, (node: ParseNode) => void>}
1612
+ */
1613
+ // @ts-ignore
1614
+ export function deserializeIntoLatestPreDbItemDto(latestPreDbItemDto = {}) {
1615
+ return {
1616
+ "createdAtUtc": n => { latestPreDbItemDto.createdAtUtc = n.getDateValue(); },
1617
+ "id": n => { latestPreDbItemDto.id = n.getGuidValue(); },
1618
+ "title": n => { latestPreDbItemDto.title = n.getStringValue(); },
1619
+ "video": n => { latestPreDbItemDto.video = n.getObjectValue(createLatestPreDbVideoDtoFromDiscriminatorValue); },
1620
+ };
1621
+ }
1622
+ /**
1623
+ * The deserialization information for the current model
1624
+ * @param LatestPreDbResponse The instance to deserialize into.
1625
+ * @returns {Record<string, (node: ParseNode) => void>}
1626
+ */
1627
+ // @ts-ignore
1628
+ export function deserializeIntoLatestPreDbResponse(latestPreDbResponse = {}) {
1629
+ return {
1630
+ "items": n => { latestPreDbResponse.items = n.getCollectionOfObjectValues(createLatestPreDbItemDtoFromDiscriminatorValue); },
1631
+ "page": n => { latestPreDbResponse.page = n.getNumberValue(); },
1632
+ "pageSize": n => { latestPreDbResponse.pageSize = n.getNumberValue(); },
1633
+ "totalCount": n => { latestPreDbResponse.totalCount = n.getNumberValue(); },
1634
+ };
1635
+ }
1636
+ /**
1637
+ * The deserialization information for the current model
1638
+ * @param LatestPreDbSiteDto The instance to deserialize into.
1639
+ * @returns {Record<string, (node: ParseNode) => void>}
1640
+ */
1641
+ // @ts-ignore
1642
+ export function deserializeIntoLatestPreDbSiteDto(latestPreDbSiteDto = {}) {
1643
+ return {
1644
+ "id": n => { latestPreDbSiteDto.id = n.getGuidValue(); },
1645
+ "title": n => { latestPreDbSiteDto.title = n.getStringValue(); },
1646
+ };
1647
+ }
1648
+ /**
1649
+ * The deserialization information for the current model
1650
+ * @param LatestPreDbVideoDto The instance to deserialize into.
1651
+ * @returns {Record<string, (node: ParseNode) => void>}
1652
+ */
1653
+ // @ts-ignore
1654
+ export function deserializeIntoLatestPreDbVideoDto(latestPreDbVideoDto = {}) {
1655
+ return {
1656
+ "id": n => { latestPreDbVideoDto.id = n.getGuidValue(); },
1657
+ "releaseDate": n => { latestPreDbVideoDto.releaseDate = n.getDateOnlyValue(); },
1658
+ "site": n => { latestPreDbVideoDto.site = n.getObjectValue(createLatestPreDbSiteDtoFromDiscriminatorValue); },
1659
+ "title": n => { latestPreDbVideoDto.title = n.getStringValue(); },
1660
+ };
1661
+ }
1662
+ /**
1663
+ * The deserialization information for the current model
1664
+ * @param LatestVideoFilehashesResponse The instance to deserialize into.
1665
+ * @returns {Record<string, (node: ParseNode) => void>}
1666
+ */
1667
+ // @ts-ignore
1668
+ export function deserializeIntoLatestVideoFilehashesResponse(latestVideoFilehashesResponse = {}) {
1669
+ return {
1670
+ "items": n => { latestVideoFilehashesResponse.items = n.getCollectionOfObjectValues(createVideoFilehashDtoFromDiscriminatorValue); },
1671
+ "page": n => { latestVideoFilehashesResponse.page = n.getNumberValue(); },
1672
+ "pageSize": n => { latestVideoFilehashesResponse.pageSize = n.getNumberValue(); },
1673
+ "sortBy": n => { latestVideoFilehashesResponse.sortBy = n.getStringValue(); },
1674
+ "sortDirection": n => { latestVideoFilehashesResponse.sortDirection = n.getStringValue(); },
1675
+ "totalCount": n => { latestVideoFilehashesResponse.totalCount = n.getNumberValue(); },
1676
+ };
1677
+ }
1678
+ /**
1679
+ * The deserialization information for the current model
1680
+ * @param ListActorsResponse The instance to deserialize into.
1681
+ * @returns {Record<string, (node: ParseNode) => void>}
1682
+ */
1683
+ // @ts-ignore
1684
+ export function deserializeIntoListActorsResponse(listActorsResponse = {}) {
1685
+ return {
1686
+ "items": n => { listActorsResponse.items = n.getCollectionOfObjectValues(createActorSummaryDtoFromDiscriminatorValue); },
1687
+ "page": n => { listActorsResponse.page = n.getNumberValue(); },
1688
+ "pageSize": n => { listActorsResponse.pageSize = n.getNumberValue(); },
1689
+ "sortBy": n => { listActorsResponse.sortBy = n.getStringValue(); },
1690
+ "sortDirection": n => { listActorsResponse.sortDirection = n.getStringValue(); },
1691
+ "totalCount": n => { listActorsResponse.totalCount = n.getNumberValue(); },
1692
+ "totalPages": n => { listActorsResponse.totalPages = n.getNumberValue(); },
1693
+ };
1694
+ }
1695
+ /**
1696
+ * The deserialization information for the current model
1697
+ * @param ListFavoriteActorsResponse The instance to deserialize into.
1698
+ * @returns {Record<string, (node: ParseNode) => void>}
1699
+ */
1700
+ // @ts-ignore
1701
+ export function deserializeIntoListFavoriteActorsResponse(listFavoriteActorsResponse = {}) {
1702
+ return {
1703
+ "items": n => { listFavoriteActorsResponse.items = n.getCollectionOfObjectValues(createFavoriteActorSummaryDtoFromDiscriminatorValue); },
1704
+ "page": n => { listFavoriteActorsResponse.page = n.getNumberValue(); },
1705
+ "pageSize": n => { listFavoriteActorsResponse.pageSize = n.getNumberValue(); },
1706
+ "sortBy": n => { listFavoriteActorsResponse.sortBy = n.getStringValue(); },
1707
+ "sortDirection": n => { listFavoriteActorsResponse.sortDirection = n.getStringValue(); },
1708
+ "totalCount": n => { listFavoriteActorsResponse.totalCount = n.getNumberValue(); },
1709
+ "totalPages": n => { listFavoriteActorsResponse.totalPages = n.getNumberValue(); },
1710
+ };
1711
+ }
1712
+ /**
1713
+ * The deserialization information for the current model
1714
+ * @param ListFavoriteSitesResponse The instance to deserialize into.
1715
+ * @returns {Record<string, (node: ParseNode) => void>}
1716
+ */
1717
+ // @ts-ignore
1718
+ export function deserializeIntoListFavoriteSitesResponse(listFavoriteSitesResponse = {}) {
1719
+ return {
1720
+ "items": n => { listFavoriteSitesResponse.items = n.getCollectionOfObjectValues(createFavoriteSiteSummaryDtoFromDiscriminatorValue); },
1721
+ "page": n => { listFavoriteSitesResponse.page = n.getNumberValue(); },
1722
+ "pageSize": n => { listFavoriteSitesResponse.pageSize = n.getNumberValue(); },
1723
+ "sortBy": n => { listFavoriteSitesResponse.sortBy = n.getStringValue(); },
1724
+ "sortDirection": n => { listFavoriteSitesResponse.sortDirection = n.getStringValue(); },
1725
+ "totalCount": n => { listFavoriteSitesResponse.totalCount = n.getNumberValue(); },
1726
+ "totalPages": n => { listFavoriteSitesResponse.totalPages = n.getNumberValue(); },
1727
+ };
1728
+ }
1729
+ /**
1730
+ * The deserialization information for the current model
1731
+ * @param ListPreDbResponse The instance to deserialize into.
1732
+ * @returns {Record<string, (node: ParseNode) => void>}
1733
+ */
1734
+ // @ts-ignore
1735
+ export function deserializeIntoListPreDbResponse(listPreDbResponse = {}) {
1736
+ return {
1737
+ "items": n => { listPreDbResponse.items = n.getCollectionOfObjectValues(createPreDbSummaryDtoFromDiscriminatorValue); },
1738
+ "page": n => { listPreDbResponse.page = n.getNumberValue(); },
1739
+ "pageSize": n => { listPreDbResponse.pageSize = n.getNumberValue(); },
1740
+ "sortBy": n => { listPreDbResponse.sortBy = n.getStringValue(); },
1741
+ "sortDirection": n => { listPreDbResponse.sortDirection = n.getStringValue(); },
1742
+ "totalCount": n => { listPreDbResponse.totalCount = n.getNumberValue(); },
1743
+ };
1744
+ }
1745
+ /**
1746
+ * The deserialization information for the current model
1747
+ * @param ListSitesResponse The instance to deserialize into.
1748
+ * @returns {Record<string, (node: ParseNode) => void>}
1749
+ */
1750
+ // @ts-ignore
1751
+ export function deserializeIntoListSitesResponse(listSitesResponse = {}) {
1752
+ return {
1753
+ "items": n => { listSitesResponse.items = n.getCollectionOfObjectValues(createSiteSummaryDtoFromDiscriminatorValue); },
1754
+ "page": n => { listSitesResponse.page = n.getNumberValue(); },
1755
+ "pageSize": n => { listSitesResponse.pageSize = n.getNumberValue(); },
1756
+ "sortBy": n => { listSitesResponse.sortBy = n.getStringValue(); },
1757
+ "sortDirection": n => { listSitesResponse.sortDirection = n.getStringValue(); },
1758
+ "totalCount": n => { listSitesResponse.totalCount = n.getNumberValue(); },
1759
+ };
1760
+ }
1761
+ /**
1762
+ * The deserialization information for the current model
1763
+ * @param ListVideosResponse The instance to deserialize into.
1764
+ * @returns {Record<string, (node: ParseNode) => void>}
1765
+ */
1766
+ // @ts-ignore
1767
+ export function deserializeIntoListVideosResponse(listVideosResponse = {}) {
1768
+ return {
1769
+ "items": n => { listVideosResponse.items = n.getCollectionOfObjectValues(createVideoSummaryDtoFromDiscriminatorValue); },
1770
+ "page": n => { listVideosResponse.page = n.getNumberValue(); },
1771
+ "pageSize": n => { listVideosResponse.pageSize = n.getNumberValue(); },
1772
+ "sortBy": n => { listVideosResponse.sortBy = n.getStringValue(); },
1773
+ "sortDirection": n => { listVideosResponse.sortDirection = n.getStringValue(); },
1774
+ "totalCount": n => { listVideosResponse.totalCount = n.getNumberValue(); },
1775
+ };
1776
+ }
1777
+ /**
1778
+ * The deserialization information for the current model
1779
+ * @param ListWantedVideosResponse The instance to deserialize into.
1780
+ * @returns {Record<string, (node: ParseNode) => void>}
1781
+ */
1782
+ // @ts-ignore
1783
+ export function deserializeIntoListWantedVideosResponse(listWantedVideosResponse = {}) {
1784
+ return {
1785
+ "items": n => { listWantedVideosResponse.items = n.getCollectionOfObjectValues(createWantedVideoSummaryDtoFromDiscriminatorValue); },
1786
+ "page": n => { listWantedVideosResponse.page = n.getNumberValue(); },
1787
+ "pageSize": n => { listWantedVideosResponse.pageSize = n.getNumberValue(); },
1788
+ "sortBy": n => { listWantedVideosResponse.sortBy = n.getStringValue(); },
1789
+ "sortDirection": n => { listWantedVideosResponse.sortDirection = n.getStringValue(); },
1790
+ "totalCount": n => { listWantedVideosResponse.totalCount = n.getNumberValue(); },
1791
+ "totalPages": n => { listWantedVideosResponse.totalPages = n.getNumberValue(); },
1792
+ };
1793
+ }
1794
+ /**
1795
+ * The deserialization information for the current model
1796
+ * @param LookupIndexerFilehashesRequest The instance to deserialize into.
1797
+ * @returns {Record<string, (node: ParseNode) => void>}
1798
+ */
1799
+ // @ts-ignore
1800
+ export function deserializeIntoLookupIndexerFilehashesRequest(lookupIndexerFilehashesRequest = {}) {
1801
+ return {
1802
+ "filenames": n => { lookupIndexerFilehashesRequest.filenames = n.getCollectionOfPrimitiveValues("string"); },
1803
+ "filesizes": n => { lookupIndexerFilehashesRequest.filesizes = n.getCollectionOfPrimitiveValues("number"); },
1804
+ "ids": n => { lookupIndexerFilehashesRequest.ids = n.getCollectionOfPrimitiveValues("string"); },
1805
+ "indexerKeys": n => { lookupIndexerFilehashesRequest.indexerKeys = n.getCollectionOfObjectValues(createIndexerFilehashLookupKeyDtoFromDiscriminatorValue); },
1806
+ "osHashes": n => { lookupIndexerFilehashesRequest.osHashes = n.getCollectionOfPrimitiveValues("string"); },
1807
+ "pHashes": n => { lookupIndexerFilehashesRequest.pHashes = n.getCollectionOfPrimitiveValues("string"); },
1808
+ };
1809
+ }
1810
+ /**
1811
+ * The deserialization information for the current model
1812
+ * @param LookupIndexerFilehashesResponse The instance to deserialize into.
1813
+ * @returns {Record<string, (node: ParseNode) => void>}
1814
+ */
1815
+ // @ts-ignore
1816
+ export function deserializeIntoLookupIndexerFilehashesResponse(lookupIndexerFilehashesResponse = {}) {
1817
+ return {
1818
+ "items": n => { lookupIndexerFilehashesResponse.items = n.getCollectionOfObjectValues(createIndexerFilehashDtoFromDiscriminatorValue); },
1819
+ };
1820
+ }
1821
+ /**
1822
+ * The deserialization information for the current model
1823
+ * @param LookupVideoFilehashesRequest The instance to deserialize into.
1824
+ * @returns {Record<string, (node: ParseNode) => void>}
1825
+ */
1826
+ // @ts-ignore
1827
+ export function deserializeIntoLookupVideoFilehashesRequest(lookupVideoFilehashesRequest = {}) {
1828
+ return {
1829
+ "filenames": n => { lookupVideoFilehashesRequest.filenames = n.getCollectionOfPrimitiveValues("string"); },
1830
+ "filesizes": n => { lookupVideoFilehashesRequest.filesizes = n.getCollectionOfPrimitiveValues("number"); },
1831
+ "ids": n => { lookupVideoFilehashesRequest.ids = n.getCollectionOfPrimitiveValues("string"); },
1832
+ "osHashes": n => { lookupVideoFilehashesRequest.osHashes = n.getCollectionOfPrimitiveValues("string"); },
1833
+ "pHashes": n => { lookupVideoFilehashesRequest.pHashes = n.getCollectionOfPrimitiveValues("string"); },
1834
+ "videoIds": n => { lookupVideoFilehashesRequest.videoIds = n.getCollectionOfPrimitiveValues("string"); },
1835
+ };
1836
+ }
1837
+ /**
1838
+ * The deserialization information for the current model
1839
+ * @param LookupVideoFilehashesResponse The instance to deserialize into.
1840
+ * @returns {Record<string, (node: ParseNode) => void>}
1841
+ */
1842
+ // @ts-ignore
1843
+ export function deserializeIntoLookupVideoFilehashesResponse(lookupVideoFilehashesResponse = {}) {
1844
+ return {
1845
+ "items": n => { lookupVideoFilehashesResponse.items = n.getCollectionOfObjectValues(createVideoFilehashDtoFromDiscriminatorValue); },
1846
+ };
1847
+ }
1848
+ /**
1849
+ * The deserialization information for the current model
1850
+ * @param PreDbItemDto The instance to deserialize into.
1851
+ * @returns {Record<string, (node: ParseNode) => void>}
1852
+ */
1853
+ // @ts-ignore
1854
+ export function deserializeIntoPreDbItemDto(preDbItemDto = {}) {
1855
+ return {
1856
+ "id": n => { preDbItemDto.id = n.getGuidValue(); },
1857
+ "title": n => { preDbItemDto.title = n.getStringValue(); },
1858
+ };
1859
+ }
1860
+ /**
1861
+ * The deserialization information for the current model
1862
+ * @param PreDbSummaryDto The instance to deserialize into.
1863
+ * @returns {Record<string, (node: ParseNode) => void>}
1864
+ */
1865
+ // @ts-ignore
1866
+ export function deserializeIntoPreDbSummaryDto(preDbSummaryDto = {}) {
1867
+ return {
1868
+ "category": n => { preDbSummaryDto.category = n.getStringValue(); },
1869
+ "filesize": n => { preDbSummaryDto.filesize = n.getNumberValue(); },
1870
+ "id": n => { preDbSummaryDto.id = n.getGuidValue(); },
1871
+ "releaseDate": n => { preDbSummaryDto.releaseDate = n.getDateOnlyValue(); },
1872
+ "releaseGroup": n => { preDbSummaryDto.releaseGroup = n.getStringValue(); },
1873
+ "title": n => { preDbSummaryDto.title = n.getStringValue(); },
1874
+ };
1875
+ }
1876
+ /**
1877
+ * The deserialization information for the current model
1878
+ * @param PreDbVideoGroupDto The instance to deserialize into.
1879
+ * @returns {Record<string, (node: ParseNode) => void>}
1880
+ */
1881
+ // @ts-ignore
1882
+ export function deserializeIntoPreDbVideoGroupDto(preDbVideoGroupDto = {}) {
1883
+ return {
1884
+ "predbs": n => { preDbVideoGroupDto.predbs = n.getCollectionOfObjectValues(createPreDbItemDtoFromDiscriminatorValue); },
1885
+ "siteId": n => { preDbVideoGroupDto.siteId = n.getGuidValue(); },
1886
+ "siteTitle": n => { preDbVideoGroupDto.siteTitle = n.getStringValue(); },
1887
+ "videoId": n => { preDbVideoGroupDto.videoId = n.getGuidValue(); },
1888
+ "videoTitle": n => { preDbVideoGroupDto.videoTitle = n.getStringValue(); },
1889
+ };
1890
+ }
1891
+ /**
1892
+ * The deserialization information for the current model
1893
+ * @param ProblemDetails The instance to deserialize into.
1894
+ * @returns {Record<string, (node: ParseNode) => void>}
1895
+ */
1896
+ // @ts-ignore
1897
+ export function deserializeIntoProblemDetails(problemDetails = {}) {
1898
+ return {
1899
+ "detail": n => { problemDetails.detail = n.getStringValue(); },
1900
+ "instance": n => { problemDetails.instance = n.getStringValue(); },
1901
+ "status": n => { problemDetails.status = n.getNumberValue(); },
1902
+ "title": n => { problemDetails.title = n.getStringValue(); },
1903
+ "type": n => { problemDetails.type = n.getStringValue(); },
1904
+ };
1905
+ }
1906
+ /**
1907
+ * The deserialization information for the current model
1908
+ * @param RateLimitWindowStatus The instance to deserialize into.
1909
+ * @returns {Record<string, (node: ParseNode) => void>}
1910
+ */
1911
+ // @ts-ignore
1912
+ export function deserializeIntoRateLimitWindowStatus(rateLimitWindowStatus = {}) {
1913
+ return {
1914
+ "limit": n => { rateLimitWindowStatus.limit = n.getNumberValue(); },
1915
+ "remaining": n => { rateLimitWindowStatus.remaining = n.getNumberValue(); },
1916
+ "resetsInSeconds": n => { rateLimitWindowStatus.resetsInSeconds = n.getNumberValue(); },
1917
+ "used": n => { rateLimitWindowStatus.used = n.getNumberValue(); },
1918
+ };
1919
+ }
1920
+ /**
1921
+ * The deserialization information for the current model
1922
+ * @param ReportVideoUserImageRequest The instance to deserialize into.
1923
+ * @returns {Record<string, (node: ParseNode) => void>}
1924
+ */
1925
+ // @ts-ignore
1926
+ export function deserializeIntoReportVideoUserImageRequest(reportVideoUserImageRequest = {}) {
1927
+ return {
1928
+ "details": n => { reportVideoUserImageRequest.details = n.getStringValue(); },
1929
+ "reason": n => { reportVideoUserImageRequest.reason = n.getEnumValue(ReportVideoUserImageRequest_reasonObject); },
1930
+ };
1931
+ }
1932
+ /**
1933
+ * The deserialization information for the current model
1934
+ * @param ReportVideoUserImageResponse The instance to deserialize into.
1935
+ * @returns {Record<string, (node: ParseNode) => void>}
1936
+ */
1937
+ // @ts-ignore
1938
+ export function deserializeIntoReportVideoUserImageResponse(reportVideoUserImageResponse = {}) {
1939
+ return {
1940
+ "moderationTargetId": n => { reportVideoUserImageResponse.moderationTargetId = n.getGuidValue(); },
1941
+ "status": n => { reportVideoUserImageResponse.status = n.getStringValue(); },
1942
+ "visibility": n => { reportVideoUserImageResponse.visibility = n.getStringValue(); },
1943
+ "weightedReportScore": n => { reportVideoUserImageResponse.weightedReportScore = n.getNumberValue(); },
1944
+ };
1945
+ }
1946
+ /**
1947
+ * The deserialization information for the current model
1948
+ * @param SearchPreDbByVideoResponse The instance to deserialize into.
1949
+ * @returns {Record<string, (node: ParseNode) => void>}
1950
+ */
1951
+ // @ts-ignore
1952
+ export function deserializeIntoSearchPreDbByVideoResponse(searchPreDbByVideoResponse = {}) {
1953
+ return {
1954
+ "items": n => { searchPreDbByVideoResponse.items = n.getCollectionOfObjectValues(createPreDbVideoGroupDtoFromDiscriminatorValue); },
1955
+ "totalGroups": n => { searchPreDbByVideoResponse.totalGroups = n.getNumberValue(); },
1956
+ };
1957
+ }
1958
+ /**
1959
+ * The deserialization information for the current model
1960
+ * @param SiteSummaryDto The instance to deserialize into.
1961
+ * @returns {Record<string, (node: ParseNode) => void>}
1962
+ */
1963
+ // @ts-ignore
1964
+ export function deserializeIntoSiteSummaryDto(siteSummaryDto = {}) {
1965
+ return {
1966
+ "id": n => { siteSummaryDto.id = n.getGuidValue(); },
1967
+ "networkId": n => { siteSummaryDto.networkId = n.getGuidValue(); },
1968
+ "networkTitle": n => { siteSummaryDto.networkTitle = n.getStringValue(); },
1969
+ "title": n => { siteSummaryDto.title = n.getStringValue(); },
1970
+ "url": n => { siteSummaryDto.url = n.getStringValue(); },
1971
+ };
1972
+ }
1973
+ /**
1974
+ * The deserialization information for the current model
1975
+ * @param SubmitVideoUserImageResponse The instance to deserialize into.
1976
+ * @returns {Record<string, (node: ParseNode) => void>}
1977
+ */
1978
+ // @ts-ignore
1979
+ export function deserializeIntoSubmitVideoUserImageResponse(submitVideoUserImageResponse = {}) {
1980
+ return {
1981
+ "moderationStatus": n => { submitVideoUserImageResponse.moderationStatus = n.getStringValue(); },
1982
+ "moderationTargetId": n => { submitVideoUserImageResponse.moderationTargetId = n.getGuidValue(); },
1983
+ "moderationVisibility": n => { submitVideoUserImageResponse.moderationVisibility = n.getStringValue(); },
1984
+ "videoUserImageId": n => { submitVideoUserImageResponse.videoUserImageId = n.getGuidValue(); },
1985
+ };
1986
+ }
1987
+ /**
1988
+ * The deserialization information for the current model
1989
+ * @param UnlinkedVideoFilehashesResponse The instance to deserialize into.
1990
+ * @returns {Record<string, (node: ParseNode) => void>}
1991
+ */
1992
+ // @ts-ignore
1993
+ export function deserializeIntoUnlinkedVideoFilehashesResponse(unlinkedVideoFilehashesResponse = {}) {
1994
+ return {
1995
+ "items": n => { unlinkedVideoFilehashesResponse.items = n.getCollectionOfObjectValues(createVideoFilehashDtoFromDiscriminatorValue); },
1996
+ "page": n => { unlinkedVideoFilehashesResponse.page = n.getNumberValue(); },
1997
+ "pageSize": n => { unlinkedVideoFilehashesResponse.pageSize = n.getNumberValue(); },
1998
+ "sortBy": n => { unlinkedVideoFilehashesResponse.sortBy = n.getStringValue(); },
1999
+ "sortDirection": n => { unlinkedVideoFilehashesResponse.sortDirection = n.getStringValue(); },
2000
+ "totalCount": n => { unlinkedVideoFilehashesResponse.totalCount = n.getNumberValue(); },
2001
+ };
2002
+ }
2003
+ /**
2004
+ * The deserialization information for the current model
2005
+ * @param UpdateDownloadedFromIndexerFilenameRequest The instance to deserialize into.
2006
+ * @returns {Record<string, (node: ParseNode) => void>}
2007
+ */
2008
+ // @ts-ignore
2009
+ export function deserializeIntoUpdateDownloadedFromIndexerFilenameRequest(updateDownloadedFromIndexerFilenameRequest = {}) {
2010
+ return {
2011
+ "filename": n => { updateDownloadedFromIndexerFilenameRequest.filename = n.getStringValue(); },
2012
+ "filesize": n => { updateDownloadedFromIndexerFilenameRequest.filesize = n.getNumberValue(); },
2013
+ "osHash": n => { updateDownloadedFromIndexerFilenameRequest.osHash = n.getStringValue(); },
2014
+ "pHash": n => { updateDownloadedFromIndexerFilenameRequest.pHash = n.getStringValue(); },
2015
+ };
2016
+ }
2017
+ /**
2018
+ * The deserialization information for the current model
2019
+ * @param UpdateDownloadedFromIndexerRequest The instance to deserialize into.
2020
+ * @returns {Record<string, (node: ParseNode) => void>}
2021
+ */
2022
+ // @ts-ignore
2023
+ export function deserializeIntoUpdateDownloadedFromIndexerRequest(updateDownloadedFromIndexerRequest = {}) {
2024
+ return {
2025
+ "downloadIdentifier": n => { updateDownloadedFromIndexerRequest.downloadIdentifier = n.getStringValue(); },
2026
+ "indexerId": n => { updateDownloadedFromIndexerRequest.indexerId = n.getStringValue(); },
2027
+ "indexerSource": n => { updateDownloadedFromIndexerRequest.indexerSource = n.getNumberValue(); },
2028
+ "nzbName": n => { updateDownloadedFromIndexerRequest.nzbName = n.getStringValue(); },
2029
+ "nzbUrl": n => { updateDownloadedFromIndexerRequest.nzbUrl = n.getStringValue(); },
2030
+ };
2031
+ }
2032
+ /**
2033
+ * The deserialization information for the current model
2034
+ * @param UpdateWantedVideoRequest The instance to deserialize into.
2035
+ * @returns {Record<string, (node: ParseNode) => void>}
2036
+ */
2037
+ // @ts-ignore
2038
+ export function deserializeIntoUpdateWantedVideoRequest(updateWantedVideoRequest = {}) {
2039
+ return {
2040
+ "fulfilledAtUtc": n => { updateWantedVideoRequest.fulfilledAtUtc = n.getDateValue(); },
2041
+ "fulfilledInQuality": n => { updateWantedVideoRequest.fulfilledInQuality = n.getNumberValue(); },
2042
+ "fulfillmentByApp": n => { updateWantedVideoRequest.fulfillmentByApp = n.getNumberValue(); },
2043
+ "fulfillmentExternalId": n => { updateWantedVideoRequest.fulfillmentExternalId = n.getStringValue(); },
2044
+ "isFulfilled": n => { updateWantedVideoRequest.isFulfilled = n.getBooleanValue(); },
2045
+ };
2046
+ }
2047
+ /**
2048
+ * The deserialization information for the current model
2049
+ * @param UpdateWantedVideoResponse The instance to deserialize into.
2050
+ * @returns {Record<string, (node: ParseNode) => void>}
2051
+ */
2052
+ // @ts-ignore
2053
+ export function deserializeIntoUpdateWantedVideoResponse(updateWantedVideoResponse = {}) {
2054
+ return {
2055
+ "createdAtUtc": n => { updateWantedVideoResponse.createdAtUtc = n.getDateValue(); },
2056
+ "fulfilledAtUtc": n => { updateWantedVideoResponse.fulfilledAtUtc = n.getDateValue(); },
2057
+ "fulfilledInQuality": n => { updateWantedVideoResponse.fulfilledInQuality = n.getNumberValue(); },
2058
+ "fulfillmentByApp": n => { updateWantedVideoResponse.fulfillmentByApp = n.getNumberValue(); },
2059
+ "fulfillmentExternalId": n => { updateWantedVideoResponse.fulfillmentExternalId = n.getStringValue(); },
2060
+ "isFulfilled": n => { updateWantedVideoResponse.isFulfilled = n.getBooleanValue(); },
2061
+ "updatedAtUtc": n => { updateWantedVideoResponse.updatedAtUtc = n.getDateValue(); },
2062
+ "videoId": n => { updateWantedVideoResponse.videoId = n.getGuidValue(); },
2063
+ };
2064
+ }
2065
+ /**
2066
+ * The deserialization information for the current model
2067
+ * @param UserIdentityResponse The instance to deserialize into.
2068
+ * @returns {Record<string, (node: ParseNode) => void>}
2069
+ */
2070
+ // @ts-ignore
2071
+ export function deserializeIntoUserIdentityResponse(userIdentityResponse = {}) {
2072
+ return {
2073
+ "activeSubscriptions": n => { userIdentityResponse.activeSubscriptions = n.getCollectionOfObjectValues(createActiveSubscriptionDtoFromDiscriminatorValue); },
2074
+ "userHash": n => { userIdentityResponse.userHash = n.getStringValue(); },
2075
+ };
2076
+ }
2077
+ /**
2078
+ * The deserialization information for the current model
2079
+ * @param VideoDetailActorDto The instance to deserialize into.
2080
+ * @returns {Record<string, (node: ParseNode) => void>}
2081
+ */
2082
+ // @ts-ignore
2083
+ export function deserializeIntoVideoDetailActorDto(videoDetailActorDto = {}) {
2084
+ return {
2085
+ "birthday": n => { videoDetailActorDto.birthday = n.getDateOnlyValue(); },
2086
+ "gender": n => { videoDetailActorDto.gender = n.getNumberValue(); },
2087
+ "id": n => { videoDetailActorDto.id = n.getGuidValue(); },
2088
+ "images": n => { videoDetailActorDto.images = n.getCollectionOfObjectValues(createVideoDetailActorImageDtoFromDiscriminatorValue); },
2089
+ "name": n => { videoDetailActorDto.name = n.getStringValue(); },
2090
+ "nationality": n => { videoDetailActorDto.nationality = n.getNumberValue(); },
2091
+ };
2092
+ }
2093
+ /**
2094
+ * The deserialization information for the current model
2095
+ * @param VideoDetailActorImageDto The instance to deserialize into.
2096
+ * @returns {Record<string, (node: ParseNode) => void>}
2097
+ */
2098
+ // @ts-ignore
2099
+ export function deserializeIntoVideoDetailActorImageDto(videoDetailActorImageDto = {}) {
2100
+ return {
2101
+ "cdnPath": n => { videoDetailActorImageDto.cdnPath = n.getStringValue(); },
2102
+ "id": n => { videoDetailActorImageDto.id = n.getGuidValue(); },
2103
+ "imageType": n => { videoDetailActorImageDto.imageType = n.getNumberValue(); },
2104
+ };
2105
+ }
2106
+ /**
2107
+ * The deserialization information for the current model
2108
+ * @param VideoDetailDto The instance to deserialize into.
2109
+ * @returns {Record<string, (node: ParseNode) => void>}
2110
+ */
2111
+ // @ts-ignore
2112
+ export function deserializeIntoVideoDetailDto(videoDetailDto = {}) {
2113
+ return {
2114
+ "actors": n => { videoDetailDto.actors = n.getCollectionOfObjectValues(createVideoDetailActorDtoFromDiscriminatorValue); },
2115
+ "createdAtUtc": n => { videoDetailDto.createdAtUtc = n.getDateValue(); },
2116
+ "id": n => { videoDetailDto.id = n.getGuidValue(); },
2117
+ "images": n => { videoDetailDto.images = n.getCollectionOfObjectValues(createVideoDetailImageDtoFromDiscriminatorValue); },
2118
+ "preNames": n => { videoDetailDto.preNames = n.getCollectionOfObjectValues(createVideoDetailPreNameDtoFromDiscriminatorValue); },
2119
+ "releaseDate": n => { videoDetailDto.releaseDate = n.getDateOnlyValue(); },
2120
+ "site": n => { videoDetailDto.site = n.getObjectValue(createVideoDetailSiteDtoFromDiscriminatorValue); },
2121
+ "title": n => { videoDetailDto.title = n.getStringValue(); },
2122
+ "updatedAtUtc": n => { videoDetailDto.updatedAtUtc = n.getDateValue(); },
2123
+ };
2124
+ }
2125
+ /**
2126
+ * The deserialization information for the current model
2127
+ * @param VideoDetailImageDto The instance to deserialize into.
2128
+ * @returns {Record<string, (node: ParseNode) => void>}
2129
+ */
2130
+ // @ts-ignore
2131
+ export function deserializeIntoVideoDetailImageDto(videoDetailImageDto = {}) {
2132
+ return {
2133
+ "cdnPath": n => { videoDetailImageDto.cdnPath = n.getStringValue(); },
2134
+ "id": n => { videoDetailImageDto.id = n.getGuidValue(); },
2135
+ };
2136
+ }
2137
+ /**
2138
+ * The deserialization information for the current model
2139
+ * @param VideoDetailNetworkDto The instance to deserialize into.
2140
+ * @returns {Record<string, (node: ParseNode) => void>}
2141
+ */
2142
+ // @ts-ignore
2143
+ export function deserializeIntoVideoDetailNetworkDto(videoDetailNetworkDto = {}) {
2144
+ return {
2145
+ "id": n => { videoDetailNetworkDto.id = n.getGuidValue(); },
2146
+ "title": n => { videoDetailNetworkDto.title = n.getStringValue(); },
2147
+ "url": n => { videoDetailNetworkDto.url = n.getStringValue(); },
2148
+ };
2149
+ }
2150
+ /**
2151
+ * The deserialization information for the current model
2152
+ * @param VideoDetailPreNameDto The instance to deserialize into.
2153
+ * @returns {Record<string, (node: ParseNode) => void>}
2154
+ */
2155
+ // @ts-ignore
2156
+ export function deserializeIntoVideoDetailPreNameDto(videoDetailPreNameDto = {}) {
2157
+ return {
2158
+ "id": n => { videoDetailPreNameDto.id = n.getGuidValue(); },
2159
+ "title": n => { videoDetailPreNameDto.title = n.getStringValue(); },
2160
+ };
2161
+ }
2162
+ /**
2163
+ * The deserialization information for the current model
2164
+ * @param VideoDetailSiteDto The instance to deserialize into.
2165
+ * @returns {Record<string, (node: ParseNode) => void>}
2166
+ */
2167
+ // @ts-ignore
2168
+ export function deserializeIntoVideoDetailSiteDto(videoDetailSiteDto = {}) {
2169
+ return {
2170
+ "id": n => { videoDetailSiteDto.id = n.getGuidValue(); },
2171
+ "network": n => { videoDetailSiteDto.network = n.getObjectValue(createVideoDetailNetworkDtoFromDiscriminatorValue); },
2172
+ "title": n => { videoDetailSiteDto.title = n.getStringValue(); },
2173
+ "url": n => { videoDetailSiteDto.url = n.getStringValue(); },
2174
+ };
2175
+ }
2176
+ /**
2177
+ * The deserialization information for the current model
2178
+ * @param VideoFilehashChangeDto The instance to deserialize into.
2179
+ * @returns {Record<string, (node: ParseNode) => void>}
2180
+ */
2181
+ // @ts-ignore
2182
+ export function deserializeIntoVideoFilehashChangeDto(videoFilehashChangeDto = {}) {
2183
+ return {
2184
+ "eventType": n => { videoFilehashChangeDto.eventType = n.getStringValue(); },
2185
+ "filehash": n => { videoFilehashChangeDto.filehash = n.getObjectValue(createVideoFilehashChangeFilehashDtoFromDiscriminatorValue); },
2186
+ };
2187
+ }
2188
+ /**
2189
+ * The deserialization information for the current model
2190
+ * @param VideoFilehashChangeFilehashDto The instance to deserialize into.
2191
+ * @returns {Record<string, (node: ParseNode) => void>}
2192
+ */
2193
+ // @ts-ignore
2194
+ export function deserializeIntoVideoFilehashChangeFilehashDto(videoFilehashChangeFilehashDto = {}) {
2195
+ return {
2196
+ "createdAtUtc": n => { videoFilehashChangeFilehashDto.createdAtUtc = n.getDateValue(); },
2197
+ "deletedAtUtc": n => { videoFilehashChangeFilehashDto.deletedAtUtc = n.getDateValue(); },
2198
+ "filename": n => { videoFilehashChangeFilehashDto.filename = n.getStringValue(); },
2199
+ "filesize": n => { videoFilehashChangeFilehashDto.filesize = n.getNumberValue(); },
2200
+ "id": n => { videoFilehashChangeFilehashDto.id = n.getGuidValue(); },
2201
+ "isDeleted": n => { videoFilehashChangeFilehashDto.isDeleted = n.getBooleanValue(); },
2202
+ "isVerified": n => { videoFilehashChangeFilehashDto.isVerified = n.getBooleanValue(); },
2203
+ "osHash": n => { videoFilehashChangeFilehashDto.osHash = n.getStringValue(); },
2204
+ "pHash": n => { videoFilehashChangeFilehashDto.pHash = n.getStringValue(); },
2205
+ "submissionCount": n => { videoFilehashChangeFilehashDto.submissionCount = n.getNumberValue(); },
2206
+ "updatedAtUtc": n => { videoFilehashChangeFilehashDto.updatedAtUtc = n.getDateValue(); },
2207
+ "videoId": n => { videoFilehashChangeFilehashDto.videoId = n.getGuidValue(); },
2208
+ };
2209
+ }
2210
+ /**
2211
+ * The deserialization information for the current model
2212
+ * @param VideoFilehashChangesCursorDto The instance to deserialize into.
2213
+ * @returns {Record<string, (node: ParseNode) => void>}
2214
+ */
2215
+ // @ts-ignore
2216
+ export function deserializeIntoVideoFilehashChangesCursorDto(videoFilehashChangesCursorDto = {}) {
2217
+ return {
2218
+ "id": n => { videoFilehashChangesCursorDto.id = n.getGuidValue(); },
2219
+ "updatedAtUtc": n => { videoFilehashChangesCursorDto.updatedAtUtc = n.getDateValue(); },
2220
+ };
2221
+ }
2222
+ /**
2223
+ * The deserialization information for the current model
2224
+ * @param VideoFilehashDto The instance to deserialize into.
2225
+ * @returns {Record<string, (node: ParseNode) => void>}
2226
+ */
2227
+ // @ts-ignore
2228
+ export function deserializeIntoVideoFilehashDto(videoFilehashDto = {}) {
2229
+ return {
2230
+ "createdAtUtc": n => { videoFilehashDto.createdAtUtc = n.getDateValue(); },
2231
+ "filename": n => { videoFilehashDto.filename = n.getStringValue(); },
2232
+ "filesize": n => { videoFilehashDto.filesize = n.getNumberValue(); },
2233
+ "id": n => { videoFilehashDto.id = n.getGuidValue(); },
2234
+ "isVerified": n => { videoFilehashDto.isVerified = n.getBooleanValue(); },
2235
+ "osHash": n => { videoFilehashDto.osHash = n.getStringValue(); },
2236
+ "pHash": n => { videoFilehashDto.pHash = n.getStringValue(); },
2237
+ "submissionCount": n => { videoFilehashDto.submissionCount = n.getNumberValue(); },
2238
+ "updatedAtUtc": n => { videoFilehashDto.updatedAtUtc = n.getDateValue(); },
2239
+ "videoId": n => { videoFilehashDto.videoId = n.getGuidValue(); },
2240
+ };
2241
+ }
2242
+ /**
2243
+ * The deserialization information for the current model
2244
+ * @param VideoFilehashesByVideoIdDto The instance to deserialize into.
2245
+ * @returns {Record<string, (node: ParseNode) => void>}
2246
+ */
2247
+ // @ts-ignore
2248
+ export function deserializeIntoVideoFilehashesByVideoIdDto(videoFilehashesByVideoIdDto = {}) {
2249
+ return {
2250
+ "filehashes": n => { videoFilehashesByVideoIdDto.filehashes = n.getCollectionOfObjectValues(createVideoFilehashDtoFromDiscriminatorValue); },
2251
+ "videoId": n => { videoFilehashesByVideoIdDto.videoId = n.getGuidValue(); },
2252
+ };
2253
+ }
2254
+ /**
2255
+ * The deserialization information for the current model
2256
+ * @param VideoSummaryActorDto The instance to deserialize into.
2257
+ * @returns {Record<string, (node: ParseNode) => void>}
2258
+ */
2259
+ // @ts-ignore
2260
+ export function deserializeIntoVideoSummaryActorDto(videoSummaryActorDto = {}) {
2261
+ return {
2262
+ "id": n => { videoSummaryActorDto.id = n.getGuidValue(); },
2263
+ "name": n => { videoSummaryActorDto.name = n.getStringValue(); },
2264
+ };
2265
+ }
2266
+ /**
2267
+ * The deserialization information for the current model
2268
+ * @param VideoSummaryDto The instance to deserialize into.
2269
+ * @returns {Record<string, (node: ParseNode) => void>}
2270
+ */
2271
+ // @ts-ignore
2272
+ export function deserializeIntoVideoSummaryDto(videoSummaryDto = {}) {
2273
+ return {
2274
+ "actors": n => { videoSummaryDto.actors = n.getCollectionOfObjectValues(createVideoSummaryActorDtoFromDiscriminatorValue); },
2275
+ "createdAtUtc": n => { videoSummaryDto.createdAtUtc = n.getDateValue(); },
2276
+ "id": n => { videoSummaryDto.id = n.getGuidValue(); },
2277
+ "releaseDate": n => { videoSummaryDto.releaseDate = n.getDateOnlyValue(); },
2278
+ "siteId": n => { videoSummaryDto.siteId = n.getGuidValue(); },
2279
+ "siteTitle": n => { videoSummaryDto.siteTitle = n.getStringValue(); },
2280
+ "title": n => { videoSummaryDto.title = n.getStringValue(); },
2281
+ };
2282
+ }
2283
+ /**
2284
+ * The deserialization information for the current model
2285
+ * @param VideoUserImageChangeItemDto The instance to deserialize into.
2286
+ * @returns {Record<string, (node: ParseNode) => void>}
2287
+ */
2288
+ // @ts-ignore
2289
+ export function deserializeIntoVideoUserImageChangeItemDto(videoUserImageChangeItemDto = {}) {
2290
+ return {
2291
+ "eventType": n => { videoUserImageChangeItemDto.eventType = n.getStringValue(); },
2292
+ "videoUserImage": n => { videoUserImageChangeItemDto.videoUserImage = n.getObjectValue(createVideoUserImageDtoFromDiscriminatorValue); },
2293
+ };
2294
+ }
2295
+ /**
2296
+ * The deserialization information for the current model
2297
+ * @param VideoUserImageChangesCursorDto The instance to deserialize into.
2298
+ * @returns {Record<string, (node: ParseNode) => void>}
2299
+ */
2300
+ // @ts-ignore
2301
+ export function deserializeIntoVideoUserImageChangesCursorDto(videoUserImageChangesCursorDto = {}) {
2302
+ return {
2303
+ "id": n => { videoUserImageChangesCursorDto.id = n.getGuidValue(); },
2304
+ "updatedAtUtc": n => { videoUserImageChangesCursorDto.updatedAtUtc = n.getDateValue(); },
2305
+ };
2306
+ }
2307
+ /**
2308
+ * The deserialization information for the current model
2309
+ * @param VideoUserImageDto The instance to deserialize into.
2310
+ * @returns {Record<string, (node: ParseNode) => void>}
2311
+ */
2312
+ // @ts-ignore
2313
+ export function deserializeIntoVideoUserImageDto(videoUserImageDto = {}) {
2314
+ return {
2315
+ "basedOnFileWithOsHash": n => { videoUserImageDto.basedOnFileWithOsHash = n.getStringValue(); },
2316
+ "createdAtUtc": n => { videoUserImageDto.createdAtUtc = n.getDateValue(); },
2317
+ "deletedAtUtc": n => { videoUserImageDto.deletedAtUtc = n.getDateValue(); },
2318
+ "displayOrder": n => { videoUserImageDto.displayOrder = n.getNumberValue(); },
2319
+ "filesize": n => { videoUserImageDto.filesize = n.getNumberValue(); },
2320
+ "hasVtt": n => { videoUserImageDto.hasVtt = n.getBooleanValue(); },
2321
+ "height": n => { videoUserImageDto.height = n.getNumberValue(); },
2322
+ "id": n => { videoUserImageDto.id = n.getGuidValue(); },
2323
+ "isDeleted": n => { videoUserImageDto.isDeleted = n.getBooleanValue(); },
2324
+ "moderationStatus": n => { videoUserImageDto.moderationStatus = n.getStringValue(); },
2325
+ "moderationVisibility": n => { videoUserImageDto.moderationVisibility = n.getStringValue(); },
2326
+ "previewImageType": n => { videoUserImageDto.previewImageType = n.getStringValue(); },
2327
+ "spriteColumns": n => { videoUserImageDto.spriteColumns = n.getNumberValue(); },
2328
+ "spriteRows": n => { videoUserImageDto.spriteRows = n.getNumberValue(); },
2329
+ "spriteTileCount": n => { videoUserImageDto.spriteTileCount = n.getNumberValue(); },
2330
+ "spriteTileHeight": n => { videoUserImageDto.spriteTileHeight = n.getNumberValue(); },
2331
+ "spriteTileWidth": n => { videoUserImageDto.spriteTileWidth = n.getNumberValue(); },
2332
+ "updatedAtUtc": n => { videoUserImageDto.updatedAtUtc = n.getDateValue(); },
2333
+ "url": n => { videoUserImageDto.url = n.getStringValue(); },
2334
+ "userId": n => { videoUserImageDto.userId = n.getGuidValue(); },
2335
+ "videoId": n => { videoUserImageDto.videoId = n.getGuidValue(); },
2336
+ "vttUrl": n => { videoUserImageDto.vttUrl = n.getStringValue(); },
2337
+ "width": n => { videoUserImageDto.width = n.getNumberValue(); },
2338
+ };
2339
+ }
2340
+ /**
2341
+ * The deserialization information for the current model
2342
+ * @param WantedVideoChangeDto The instance to deserialize into.
2343
+ * @returns {Record<string, (node: ParseNode) => void>}
2344
+ */
2345
+ // @ts-ignore
2346
+ export function deserializeIntoWantedVideoChangeDto(wantedVideoChangeDto = {}) {
2347
+ return {
2348
+ "eventType": n => { wantedVideoChangeDto.eventType = n.getStringValue(); },
2349
+ "wantedVideo": n => { wantedVideoChangeDto.wantedVideo = n.getObjectValue(createWantedVideoChangeWantedVideoDtoFromDiscriminatorValue); },
2350
+ };
2351
+ }
2352
+ /**
2353
+ * The deserialization information for the current model
2354
+ * @param WantedVideoChangesCursorDto The instance to deserialize into.
2355
+ * @returns {Record<string, (node: ParseNode) => void>}
2356
+ */
2357
+ // @ts-ignore
2358
+ export function deserializeIntoWantedVideoChangesCursorDto(wantedVideoChangesCursorDto = {}) {
2359
+ return {
2360
+ "id": n => { wantedVideoChangesCursorDto.id = n.getGuidValue(); },
2361
+ "updatedAtUtc": n => { wantedVideoChangesCursorDto.updatedAtUtc = n.getDateValue(); },
2362
+ };
2363
+ }
2364
+ /**
2365
+ * The deserialization information for the current model
2366
+ * @param WantedVideoChangeWantedVideoDto The instance to deserialize into.
2367
+ * @returns {Record<string, (node: ParseNode) => void>}
2368
+ */
2369
+ // @ts-ignore
2370
+ export function deserializeIntoWantedVideoChangeWantedVideoDto(wantedVideoChangeWantedVideoDto = {}) {
2371
+ return {
2372
+ "createdAtUtc": n => { wantedVideoChangeWantedVideoDto.createdAtUtc = n.getDateValue(); },
2373
+ "deletedAtUtc": n => { wantedVideoChangeWantedVideoDto.deletedAtUtc = n.getDateValue(); },
2374
+ "fulfilledAtUtc": n => { wantedVideoChangeWantedVideoDto.fulfilledAtUtc = n.getDateValue(); },
2375
+ "fulfilledInQuality": n => { wantedVideoChangeWantedVideoDto.fulfilledInQuality = n.getNumberValue(); },
2376
+ "fulfillmentByApp": n => { wantedVideoChangeWantedVideoDto.fulfillmentByApp = n.getNumberValue(); },
2377
+ "fulfillmentExternalId": n => { wantedVideoChangeWantedVideoDto.fulfillmentExternalId = n.getStringValue(); },
2378
+ "imageCdnPath": n => { wantedVideoChangeWantedVideoDto.imageCdnPath = n.getStringValue(); },
2379
+ "isDeleted": n => { wantedVideoChangeWantedVideoDto.isDeleted = n.getBooleanValue(); },
2380
+ "isFulfilled": n => { wantedVideoChangeWantedVideoDto.isFulfilled = n.getBooleanValue(); },
2381
+ "siteTitle": n => { wantedVideoChangeWantedVideoDto.siteTitle = n.getStringValue(); },
2382
+ "updatedAtUtc": n => { wantedVideoChangeWantedVideoDto.updatedAtUtc = n.getDateValue(); },
2383
+ "videoCreatedAtUtc": n => { wantedVideoChangeWantedVideoDto.videoCreatedAtUtc = n.getDateValue(); },
2384
+ "videoId": n => { wantedVideoChangeWantedVideoDto.videoId = n.getGuidValue(); },
2385
+ "videoReleaseDate": n => { wantedVideoChangeWantedVideoDto.videoReleaseDate = n.getDateOnlyValue(); },
2386
+ "videoTitle": n => { wantedVideoChangeWantedVideoDto.videoTitle = n.getStringValue(); },
2387
+ };
2388
+ }
2389
+ /**
2390
+ * The deserialization information for the current model
2391
+ * @param WantedVideoSummaryDto The instance to deserialize into.
2392
+ * @returns {Record<string, (node: ParseNode) => void>}
2393
+ */
2394
+ // @ts-ignore
2395
+ export function deserializeIntoWantedVideoSummaryDto(wantedVideoSummaryDto = {}) {
2396
+ return {
2397
+ "createdAtUtc": n => { wantedVideoSummaryDto.createdAtUtc = n.getDateValue(); },
2398
+ "fulfilledAtUtc": n => { wantedVideoSummaryDto.fulfilledAtUtc = n.getDateValue(); },
2399
+ "fulfilledInQuality": n => { wantedVideoSummaryDto.fulfilledInQuality = n.getNumberValue(); },
2400
+ "fulfillmentByApp": n => { wantedVideoSummaryDto.fulfillmentByApp = n.getNumberValue(); },
2401
+ "fulfillmentExternalId": n => { wantedVideoSummaryDto.fulfillmentExternalId = n.getStringValue(); },
2402
+ "imageCdnPath": n => { wantedVideoSummaryDto.imageCdnPath = n.getStringValue(); },
2403
+ "isFulfilled": n => { wantedVideoSummaryDto.isFulfilled = n.getBooleanValue(); },
2404
+ "siteTitle": n => { wantedVideoSummaryDto.siteTitle = n.getStringValue(); },
2405
+ "updatedAtUtc": n => { wantedVideoSummaryDto.updatedAtUtc = n.getDateValue(); },
2406
+ "videoCreatedAtUtc": n => { wantedVideoSummaryDto.videoCreatedAtUtc = n.getDateValue(); },
2407
+ "videoId": n => { wantedVideoSummaryDto.videoId = n.getGuidValue(); },
2408
+ "videoReleaseDate": n => { wantedVideoSummaryDto.videoReleaseDate = n.getDateOnlyValue(); },
2409
+ "videoTitle": n => { wantedVideoSummaryDto.videoTitle = n.getStringValue(); },
2410
+ };
2411
+ }
2412
+ /**
2413
+ * Serializes information the current object
2414
+ * @param ActiveSubscriptionDto The instance to serialize from.
2415
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2416
+ * @param writer Serialization writer to use to serialize this model
2417
+ */
2418
+ // @ts-ignore
2419
+ export function serializeActiveSubscriptionDto(writer, activeSubscriptionDto = {}, isSerializingDerivedType = false) {
2420
+ if (!activeSubscriptionDto || isSerializingDerivedType) {
2421
+ return;
2422
+ }
2423
+ writer.writeDateValue("endsAtUtc", activeSubscriptionDto.endsAtUtc);
2424
+ writer.writeStringValue("packageIdentifier", activeSubscriptionDto.packageIdentifier);
2425
+ writer.writeStringValue("packageTitle", activeSubscriptionDto.packageTitle);
2426
+ writer.writeDateValue("startsAtUtc", activeSubscriptionDto.startsAtUtc);
2427
+ writer.writeAdditionalData(activeSubscriptionDto.additionalData);
2428
+ }
2429
+ /**
2430
+ * Serializes information the current object
2431
+ * @param ActorAliasDto The instance to serialize from.
2432
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2433
+ * @param writer Serialization writer to use to serialize this model
2434
+ */
2435
+ // @ts-ignore
2436
+ export function serializeActorAliasDto(writer, actorAliasDto = {}, isSerializingDerivedType = false) {
2437
+ if (!actorAliasDto || isSerializingDerivedType) {
2438
+ return;
2439
+ }
2440
+ writer.writeStringValue("name", actorAliasDto.name);
2441
+ writer.writeGuidValue("siteId", actorAliasDto.siteId);
2442
+ writer.writeAdditionalData(actorAliasDto.additionalData);
2443
+ }
2444
+ /**
2445
+ * Serializes information the current object
2446
+ * @param ActorBioDto The instance to serialize from.
2447
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2448
+ * @param writer Serialization writer to use to serialize this model
2449
+ */
2450
+ // @ts-ignore
2451
+ export function serializeActorBioDto(writer, actorBioDto = {}, isSerializingDerivedType = false) {
2452
+ if (!actorBioDto || isSerializingDerivedType) {
2453
+ return;
2454
+ }
2455
+ writer.writeGuidValue("id", actorBioDto.id);
2456
+ writer.writeStringValue("text", actorBioDto.text);
2457
+ writer.writeAdditionalData(actorBioDto.additionalData);
2458
+ }
2459
+ /**
2460
+ * Serializes information the current object
2461
+ * @param ActorChangeActorDto The instance to serialize from.
2462
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2463
+ * @param writer Serialization writer to use to serialize this model
2464
+ */
2465
+ // @ts-ignore
2466
+ export function serializeActorChangeActorDto(writer, actorChangeActorDto = {}, isSerializingDerivedType = false) {
2467
+ if (!actorChangeActorDto || isSerializingDerivedType) {
2468
+ return;
2469
+ }
2470
+ writer.writeCollectionOfObjectValues("aliases", actorChangeActorDto.aliases, serializeActorChangeAliasDto);
2471
+ writer.writeCollectionOfObjectValues("bios", actorChangeActorDto.bios, serializeActorChangeBioDto);
2472
+ writer.writeDateOnlyValue("birthday", actorChangeActorDto.birthday);
2473
+ writer.writeNumberValue("birthdayType", actorChangeActorDto.birthdayType);
2474
+ writer.writeStringValue("birthdayTypeLabel", actorChangeActorDto.birthdayTypeLabel);
2475
+ writer.writeStringValue("birthplace", actorChangeActorDto.birthplace);
2476
+ writer.writeNumberValue("braSize", actorChangeActorDto.braSize);
2477
+ writer.writeStringValue("braSizeLabel", actorChangeActorDto.braSizeLabel);
2478
+ writer.writeNumberValue("breastType", actorChangeActorDto.breastType);
2479
+ writer.writeStringValue("breastTypeLabel", actorChangeActorDto.breastTypeLabel);
2480
+ writer.writeNumberValue("careerEnd", actorChangeActorDto.careerEnd);
2481
+ writer.writeNumberValue("careerStart", actorChangeActorDto.careerStart);
2482
+ writer.writeDateValue("createdAtUtc", actorChangeActorDto.createdAtUtc);
2483
+ writer.writeDateOnlyValue("deathday", actorChangeActorDto.deathday);
2484
+ writer.writeDateValue("deletedAtUtc", actorChangeActorDto.deletedAtUtc);
2485
+ writer.writeNumberValue("ethnicity", actorChangeActorDto.ethnicity);
2486
+ writer.writeStringValue("ethnicityLabel", actorChangeActorDto.ethnicityLabel);
2487
+ writer.writeNumberValue("eyecolor", actorChangeActorDto.eyecolor);
2488
+ writer.writeStringValue("eyecolorLabel", actorChangeActorDto.eyecolorLabel);
2489
+ writer.writeNumberValue("gender", actorChangeActorDto.gender);
2490
+ writer.writeStringValue("genderLabel", actorChangeActorDto.genderLabel);
2491
+ writer.writeNumberValue("haircolor", actorChangeActorDto.haircolor);
2492
+ writer.writeStringValue("haircolorLabel", actorChangeActorDto.haircolorLabel);
2493
+ writer.writeNumberValue("height", actorChangeActorDto.height);
2494
+ writer.writeNumberValue("hipSize", actorChangeActorDto.hipSize);
2495
+ writer.writeGuidValue("id", actorChangeActorDto.id);
2496
+ writer.writeCollectionOfObjectValues("images", actorChangeActorDto.images, serializeActorChangeImageDto);
2497
+ writer.writeBooleanValue("isDeleted", actorChangeActorDto.isDeleted);
2498
+ writer.writeCollectionOfObjectValues("links", actorChangeActorDto.links, serializeActorChangeLinkDto);
2499
+ writer.writeStringValue("name", actorChangeActorDto.name);
2500
+ writer.writeNumberValue("nationality", actorChangeActorDto.nationality);
2501
+ writer.writeStringValue("nationalityLabel", actorChangeActorDto.nationalityLabel);
2502
+ writer.writeStringValue("piercings", actorChangeActorDto.piercings);
2503
+ writer.writeStringValue("tattoos", actorChangeActorDto.tattoos);
2504
+ writer.writeDateValue("updatedAtUtc", actorChangeActorDto.updatedAtUtc);
2505
+ writer.writeNumberValue("waistSize", actorChangeActorDto.waistSize);
2506
+ writer.writeAdditionalData(actorChangeActorDto.additionalData);
2507
+ }
2508
+ /**
2509
+ * Serializes information the current object
2510
+ * @param ActorChangeAliasDto The instance to serialize from.
2511
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2512
+ * @param writer Serialization writer to use to serialize this model
2513
+ */
2514
+ // @ts-ignore
2515
+ export function serializeActorChangeAliasDto(writer, actorChangeAliasDto = {}, isSerializingDerivedType = false) {
2516
+ if (!actorChangeAliasDto || isSerializingDerivedType) {
2517
+ return;
2518
+ }
2519
+ writer.writeStringValue("name", actorChangeAliasDto.name);
2520
+ writer.writeGuidValue("siteId", actorChangeAliasDto.siteId);
2521
+ writer.writeAdditionalData(actorChangeAliasDto.additionalData);
2522
+ }
2523
+ /**
2524
+ * Serializes information the current object
2525
+ * @param ActorChangeBioDto The instance to serialize from.
2526
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2527
+ * @param writer Serialization writer to use to serialize this model
2528
+ */
2529
+ // @ts-ignore
2530
+ export function serializeActorChangeBioDto(writer, actorChangeBioDto = {}, isSerializingDerivedType = false) {
2531
+ if (!actorChangeBioDto || isSerializingDerivedType) {
2532
+ return;
2533
+ }
2534
+ writer.writeGuidValue("id", actorChangeBioDto.id);
2535
+ writer.writeStringValue("text", actorChangeBioDto.text);
2536
+ writer.writeAdditionalData(actorChangeBioDto.additionalData);
2537
+ }
2538
+ /**
2539
+ * Serializes information the current object
2540
+ * @param ActorChangeDto The instance to serialize from.
2541
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2542
+ * @param writer Serialization writer to use to serialize this model
2543
+ */
2544
+ // @ts-ignore
2545
+ export function serializeActorChangeDto(writer, actorChangeDto = {}, isSerializingDerivedType = false) {
2546
+ if (!actorChangeDto || isSerializingDerivedType) {
2547
+ return;
2548
+ }
2549
+ writer.writeObjectValue("actor", actorChangeDto.actor, serializeActorChangeActorDto);
2550
+ writer.writeStringValue("changeType", actorChangeDto.changeType);
2551
+ writer.writeAdditionalData(actorChangeDto.additionalData);
2552
+ }
2553
+ /**
2554
+ * Serializes information the current object
2555
+ * @param ActorChangeImageDto The instance to serialize from.
2556
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2557
+ * @param writer Serialization writer to use to serialize this model
2558
+ */
2559
+ // @ts-ignore
2560
+ export function serializeActorChangeImageDto(writer, actorChangeImageDto = {}, isSerializingDerivedType = false) {
2561
+ if (!actorChangeImageDto || isSerializingDerivedType) {
2562
+ return;
2563
+ }
2564
+ writer.writeGuidValue("id", actorChangeImageDto.id);
2565
+ writer.writeNumberValue("imageType", actorChangeImageDto.imageType);
2566
+ writer.writeStringValue("imageTypeLabel", actorChangeImageDto.imageTypeLabel);
2567
+ writer.writeStringValue("url", actorChangeImageDto.url);
2568
+ writer.writeAdditionalData(actorChangeImageDto.additionalData);
2569
+ }
2570
+ /**
2571
+ * Serializes information the current object
2572
+ * @param ActorChangeLinkDto The instance to serialize from.
2573
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2574
+ * @param writer Serialization writer to use to serialize this model
2575
+ */
2576
+ // @ts-ignore
2577
+ export function serializeActorChangeLinkDto(writer, actorChangeLinkDto = {}, isSerializingDerivedType = false) {
2578
+ if (!actorChangeLinkDto || isSerializingDerivedType) {
2579
+ return;
2580
+ }
2581
+ writer.writeNumberValue("externalSite", actorChangeLinkDto.externalSite);
2582
+ writer.writeStringValue("externalSiteLabel", actorChangeLinkDto.externalSiteLabel);
2583
+ writer.writeStringValue("url", actorChangeLinkDto.url);
2584
+ writer.writeAdditionalData(actorChangeLinkDto.additionalData);
2585
+ }
2586
+ /**
2587
+ * Serializes information the current object
2588
+ * @param ActorDetailDto The instance to serialize from.
2589
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2590
+ * @param writer Serialization writer to use to serialize this model
2591
+ */
2592
+ // @ts-ignore
2593
+ export function serializeActorDetailDto(writer, actorDetailDto = {}, isSerializingDerivedType = false) {
2594
+ if (!actorDetailDto || isSerializingDerivedType) {
2595
+ return;
2596
+ }
2597
+ writer.writeCollectionOfObjectValues("aliases", actorDetailDto.aliases, serializeActorAliasDto);
2598
+ writer.writeCollectionOfObjectValues("bios", actorDetailDto.bios, serializeActorBioDto);
2599
+ writer.writeDateOnlyValue("birthday", actorDetailDto.birthday);
2600
+ writer.writeNumberValue("birthdayType", actorDetailDto.birthdayType);
2601
+ writer.writeStringValue("birthdayTypeLabel", actorDetailDto.birthdayTypeLabel);
2602
+ writer.writeStringValue("birthplace", actorDetailDto.birthplace);
2603
+ writer.writeNumberValue("braSize", actorDetailDto.braSize);
2604
+ writer.writeStringValue("braSizeLabel", actorDetailDto.braSizeLabel);
2605
+ writer.writeNumberValue("breastType", actorDetailDto.breastType);
2606
+ writer.writeStringValue("breastTypeLabel", actorDetailDto.breastTypeLabel);
2607
+ writer.writeNumberValue("careerEnd", actorDetailDto.careerEnd);
2608
+ writer.writeNumberValue("careerStart", actorDetailDto.careerStart);
2609
+ writer.writeDateValue("createdAtUtc", actorDetailDto.createdAtUtc);
2610
+ writer.writeDateOnlyValue("deathday", actorDetailDto.deathday);
2611
+ writer.writeNumberValue("ethnicity", actorDetailDto.ethnicity);
2612
+ writer.writeStringValue("ethnicityLabel", actorDetailDto.ethnicityLabel);
2613
+ writer.writeNumberValue("eyecolor", actorDetailDto.eyecolor);
2614
+ writer.writeStringValue("eyecolorLabel", actorDetailDto.eyecolorLabel);
2615
+ writer.writeNumberValue("gender", actorDetailDto.gender);
2616
+ writer.writeStringValue("genderLabel", actorDetailDto.genderLabel);
2617
+ writer.writeNumberValue("haircolor", actorDetailDto.haircolor);
2618
+ writer.writeStringValue("haircolorLabel", actorDetailDto.haircolorLabel);
2619
+ writer.writeNumberValue("height", actorDetailDto.height);
2620
+ writer.writeNumberValue("hipSize", actorDetailDto.hipSize);
2621
+ writer.writeGuidValue("id", actorDetailDto.id);
2622
+ writer.writeCollectionOfObjectValues("images", actorDetailDto.images, serializeActorImageDetailDto);
2623
+ writer.writeCollectionOfObjectValues("links", actorDetailDto.links, serializeActorLinkDto);
2624
+ writer.writeStringValue("name", actorDetailDto.name);
2625
+ writer.writeNumberValue("nationality", actorDetailDto.nationality);
2626
+ writer.writeStringValue("nationalityLabel", actorDetailDto.nationalityLabel);
2627
+ writer.writeStringValue("piercings", actorDetailDto.piercings);
2628
+ writer.writeStringValue("tattoos", actorDetailDto.tattoos);
2629
+ writer.writeDateValue("updatedAtUtc", actorDetailDto.updatedAtUtc);
2630
+ writer.writeNumberValue("waistSize", actorDetailDto.waistSize);
2631
+ writer.writeAdditionalData(actorDetailDto.additionalData);
2632
+ }
2633
+ /**
2634
+ * Serializes information the current object
2635
+ * @param ActorImageDetailDto The instance to serialize from.
2636
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2637
+ * @param writer Serialization writer to use to serialize this model
2638
+ */
2639
+ // @ts-ignore
2640
+ export function serializeActorImageDetailDto(writer, actorImageDetailDto = {}, isSerializingDerivedType = false) {
2641
+ if (!actorImageDetailDto || isSerializingDerivedType) {
2642
+ return;
2643
+ }
2644
+ writer.writeGuidValue("id", actorImageDetailDto.id);
2645
+ writer.writeNumberValue("imageType", actorImageDetailDto.imageType);
2646
+ writer.writeStringValue("imageTypeLabel", actorImageDetailDto.imageTypeLabel);
2647
+ writer.writeStringValue("url", actorImageDetailDto.url);
2648
+ writer.writeAdditionalData(actorImageDetailDto.additionalData);
2649
+ }
2650
+ /**
2651
+ * Serializes information the current object
2652
+ * @param ActorLinkDto The instance to serialize from.
2653
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2654
+ * @param writer Serialization writer to use to serialize this model
2655
+ */
2656
+ // @ts-ignore
2657
+ export function serializeActorLinkDto(writer, actorLinkDto = {}, isSerializingDerivedType = false) {
2658
+ if (!actorLinkDto || isSerializingDerivedType) {
2659
+ return;
2660
+ }
2661
+ writer.writeNumberValue("externalSite", actorLinkDto.externalSite);
2662
+ writer.writeStringValue("externalSiteLabel", actorLinkDto.externalSiteLabel);
2663
+ writer.writeStringValue("url", actorLinkDto.url);
2664
+ writer.writeAdditionalData(actorLinkDto.additionalData);
2665
+ }
2666
+ /**
2667
+ * Serializes information the current object
2668
+ * @param ActorSummaryDto The instance to serialize from.
2669
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2670
+ * @param writer Serialization writer to use to serialize this model
2671
+ */
2672
+ // @ts-ignore
2673
+ export function serializeActorSummaryDto(writer, actorSummaryDto = {}, isSerializingDerivedType = false) {
2674
+ if (!actorSummaryDto || isSerializingDerivedType) {
2675
+ return;
2676
+ }
2677
+ writer.writeDateOnlyValue("birthday", actorSummaryDto.birthday);
2678
+ writer.writeNumberValue("ethnicity", actorSummaryDto.ethnicity);
2679
+ writer.writeStringValue("ethnicityLabel", actorSummaryDto.ethnicityLabel);
2680
+ writer.writeNumberValue("gender", actorSummaryDto.gender);
2681
+ writer.writeStringValue("genderLabel", actorSummaryDto.genderLabel);
2682
+ writer.writeGuidValue("id", actorSummaryDto.id);
2683
+ writer.writeStringValue("name", actorSummaryDto.name);
2684
+ writer.writeNumberValue("nationality", actorSummaryDto.nationality);
2685
+ writer.writeStringValue("nationalityLabel", actorSummaryDto.nationalityLabel);
2686
+ writer.writeStringValue("profileImageUrl", actorSummaryDto.profileImageUrl);
2687
+ writer.writeAdditionalData(actorSummaryDto.additionalData);
2688
+ }
2689
+ /**
2690
+ * Serializes information the current object
2691
+ * @param AddDownloadedFromIndexerFilenameRequest The instance to serialize from.
2692
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2693
+ * @param writer Serialization writer to use to serialize this model
2694
+ */
2695
+ // @ts-ignore
2696
+ export function serializeAddDownloadedFromIndexerFilenameRequest(writer, addDownloadedFromIndexerFilenameRequest = {}, isSerializingDerivedType = false) {
2697
+ if (!addDownloadedFromIndexerFilenameRequest || isSerializingDerivedType) {
2698
+ return;
2699
+ }
2700
+ writer.writeStringValue("filename", addDownloadedFromIndexerFilenameRequest.filename);
2701
+ writer.writeNumberValue("filesize", addDownloadedFromIndexerFilenameRequest.filesize);
2702
+ writer.writeStringValue("osHash", addDownloadedFromIndexerFilenameRequest.osHash);
2703
+ writer.writeStringValue("pHash", addDownloadedFromIndexerFilenameRequest.pHash);
2704
+ writer.writeAdditionalData(addDownloadedFromIndexerFilenameRequest.additionalData);
2705
+ }
2706
+ /**
2707
+ * Serializes information the current object
2708
+ * @param AddDownloadedFromIndexerRequest The instance to serialize from.
2709
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2710
+ * @param writer Serialization writer to use to serialize this model
2711
+ */
2712
+ // @ts-ignore
2713
+ export function serializeAddDownloadedFromIndexerRequest(writer, addDownloadedFromIndexerRequest = {}, isSerializingDerivedType = false) {
2714
+ if (!addDownloadedFromIndexerRequest || isSerializingDerivedType) {
2715
+ return;
2716
+ }
2717
+ writer.writeStringValue("downloadIdentifier", addDownloadedFromIndexerRequest.downloadIdentifier);
2718
+ writer.writeCollectionOfObjectValues("filenames", addDownloadedFromIndexerRequest.filenames, serializeAddDownloadedFromIndexerFilenameRequest);
2719
+ writer.writeStringValue("indexerId", addDownloadedFromIndexerRequest.indexerId);
2720
+ writer.writeNumberValue("indexerSource", addDownloadedFromIndexerRequest.indexerSource);
2721
+ writer.writeStringValue("nzbName", addDownloadedFromIndexerRequest.nzbName);
2722
+ writer.writeStringValue("nzbUrl", addDownloadedFromIndexerRequest.nzbUrl);
2723
+ writer.writeGuidValue("videoId", addDownloadedFromIndexerRequest.videoId);
2724
+ writer.writeAdditionalData(addDownloadedFromIndexerRequest.additionalData);
2725
+ }
2726
+ /**
2727
+ * Serializes information the current object
2728
+ * @param AddWantedVideosBatchRequest The instance to serialize from.
2729
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2730
+ * @param writer Serialization writer to use to serialize this model
2731
+ */
2732
+ // @ts-ignore
2733
+ export function serializeAddWantedVideosBatchRequest(writer, addWantedVideosBatchRequest = {}, isSerializingDerivedType = false) {
2734
+ if (!addWantedVideosBatchRequest || isSerializingDerivedType) {
2735
+ return;
2736
+ }
2737
+ writer.writeCollectionOfPrimitiveValues("videoIds", addWantedVideosBatchRequest.videoIds);
2738
+ writer.writeAdditionalData(addWantedVideosBatchRequest.additionalData);
2739
+ }
2740
+ /**
2741
+ * Serializes information the current object
2742
+ * @param AddWantedVideosBatchResponse The instance to serialize from.
2743
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2744
+ * @param writer Serialization writer to use to serialize this model
2745
+ */
2746
+ // @ts-ignore
2747
+ export function serializeAddWantedVideosBatchResponse(writer, addWantedVideosBatchResponse = {}, isSerializingDerivedType = false) {
2748
+ if (!addWantedVideosBatchResponse || isSerializingDerivedType) {
2749
+ return;
2750
+ }
2751
+ writer.writeNumberValue("added", addWantedVideosBatchResponse.added);
2752
+ writer.writeNumberValue("alreadyExisted", addWantedVideosBatchResponse.alreadyExisted);
2753
+ writer.writeNumberValue("notFound", addWantedVideosBatchResponse.notFound);
2754
+ writer.writeAdditionalData(addWantedVideosBatchResponse.additionalData);
2755
+ }
2756
+ /**
2757
+ * Serializes information the current object
2758
+ * @param DownloadedFromIndexerFilenameDto The instance to serialize from.
2759
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2760
+ * @param writer Serialization writer to use to serialize this model
2761
+ */
2762
+ // @ts-ignore
2763
+ export function serializeDownloadedFromIndexerFilenameDto(writer, downloadedFromIndexerFilenameDto = {}, isSerializingDerivedType = false) {
2764
+ if (!downloadedFromIndexerFilenameDto || isSerializingDerivedType) {
2765
+ return;
2766
+ }
2767
+ writer.writeDateValue("createdAtUtc", downloadedFromIndexerFilenameDto.createdAtUtc);
2768
+ writer.writeGuidValue("downloadedFromIndexerId", downloadedFromIndexerFilenameDto.downloadedFromIndexerId);
2769
+ writer.writeStringValue("filename", downloadedFromIndexerFilenameDto.filename);
2770
+ writer.writeNumberValue("filesize", downloadedFromIndexerFilenameDto.filesize);
2771
+ writer.writeGuidValue("id", downloadedFromIndexerFilenameDto.id);
2772
+ writer.writeStringValue("osHash", downloadedFromIndexerFilenameDto.osHash);
2773
+ writer.writeStringValue("pHash", downloadedFromIndexerFilenameDto.pHash);
2774
+ writer.writeDateValue("updatedAtUtc", downloadedFromIndexerFilenameDto.updatedAtUtc);
2775
+ writer.writeAdditionalData(downloadedFromIndexerFilenameDto.additionalData);
2776
+ }
2777
+ /**
2778
+ * Serializes information the current object
2779
+ * @param DownloadedFromIndexerResponse The instance to serialize from.
2780
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2781
+ * @param writer Serialization writer to use to serialize this model
2782
+ */
2783
+ // @ts-ignore
2784
+ export function serializeDownloadedFromIndexerResponse(writer, downloadedFromIndexerResponse = {}, isSerializingDerivedType = false) {
2785
+ if (!downloadedFromIndexerResponse || isSerializingDerivedType) {
2786
+ return;
2787
+ }
2788
+ writer.writeDateValue("createdAtUtc", downloadedFromIndexerResponse.createdAtUtc);
2789
+ writer.writeStringValue("downloadIdentifier", downloadedFromIndexerResponse.downloadIdentifier);
2790
+ writer.writeCollectionOfObjectValues("filenames", downloadedFromIndexerResponse.filenames, serializeDownloadedFromIndexerFilenameDto);
2791
+ writer.writeGuidValue("id", downloadedFromIndexerResponse.id);
2792
+ writer.writeStringValue("indexerId", downloadedFromIndexerResponse.indexerId);
2793
+ writer.writeNumberValue("indexerSource", downloadedFromIndexerResponse.indexerSource);
2794
+ writer.writeStringValue("nzbName", downloadedFromIndexerResponse.nzbName);
2795
+ writer.writeStringValue("nzbUrl", downloadedFromIndexerResponse.nzbUrl);
2796
+ writer.writeDateValue("updatedAtUtc", downloadedFromIndexerResponse.updatedAtUtc);
2797
+ writer.writeGuidValue("videoId", downloadedFromIndexerResponse.videoId);
2798
+ writer.writeAdditionalData(downloadedFromIndexerResponse.additionalData);
2799
+ }
2800
+ /**
2801
+ * Serializes information the current object
2802
+ * @param FavoriteActorChangeDto The instance to serialize from.
2803
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2804
+ * @param writer Serialization writer to use to serialize this model
2805
+ */
2806
+ // @ts-ignore
2807
+ export function serializeFavoriteActorChangeDto(writer, favoriteActorChangeDto = {}, isSerializingDerivedType = false) {
2808
+ if (!favoriteActorChangeDto || isSerializingDerivedType) {
2809
+ return;
2810
+ }
2811
+ writer.writeStringValue("eventType", favoriteActorChangeDto.eventType);
2812
+ writer.writeObjectValue("favoriteActor", favoriteActorChangeDto.favoriteActor, serializeFavoriteActorChangeFavoriteActorDto);
2813
+ writer.writeAdditionalData(favoriteActorChangeDto.additionalData);
2814
+ }
2815
+ /**
2816
+ * Serializes information the current object
2817
+ * @param FavoriteActorChangeFavoriteActorDto The instance to serialize from.
2818
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2819
+ * @param writer Serialization writer to use to serialize this model
2820
+ */
2821
+ // @ts-ignore
2822
+ export function serializeFavoriteActorChangeFavoriteActorDto(writer, favoriteActorChangeFavoriteActorDto = {}, isSerializingDerivedType = false) {
2823
+ if (!favoriteActorChangeFavoriteActorDto || isSerializingDerivedType) {
2824
+ return;
2825
+ }
2826
+ writer.writeDateValue("deletedAtUtc", favoriteActorChangeFavoriteActorDto.deletedAtUtc);
2827
+ writer.writeStringValue("ethnicity", favoriteActorChangeFavoriteActorDto.ethnicity);
2828
+ writer.writeDateValue("favoritedAtUtc", favoriteActorChangeFavoriteActorDto.favoritedAtUtc);
2829
+ writer.writeStringValue("gender", favoriteActorChangeFavoriteActorDto.gender);
2830
+ writer.writeGuidValue("id", favoriteActorChangeFavoriteActorDto.id);
2831
+ writer.writeBooleanValue("isDeleted", favoriteActorChangeFavoriteActorDto.isDeleted);
2832
+ writer.writeStringValue("name", favoriteActorChangeFavoriteActorDto.name);
2833
+ writer.writeStringValue("nationality", favoriteActorChangeFavoriteActorDto.nationality);
2834
+ writer.writeStringValue("profileImageCdnPath", favoriteActorChangeFavoriteActorDto.profileImageCdnPath);
2835
+ writer.writeDateValue("updatedAtUtc", favoriteActorChangeFavoriteActorDto.updatedAtUtc);
2836
+ writer.writeAdditionalData(favoriteActorChangeFavoriteActorDto.additionalData);
2837
+ }
2838
+ /**
2839
+ * Serializes information the current object
2840
+ * @param FavoriteActorChangesCursorDto The instance to serialize from.
2841
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2842
+ * @param writer Serialization writer to use to serialize this model
2843
+ */
2844
+ // @ts-ignore
2845
+ export function serializeFavoriteActorChangesCursorDto(writer, favoriteActorChangesCursorDto = {}, isSerializingDerivedType = false) {
2846
+ if (!favoriteActorChangesCursorDto || isSerializingDerivedType) {
2847
+ return;
2848
+ }
2849
+ writer.writeGuidValue("id", favoriteActorChangesCursorDto.id);
2850
+ writer.writeDateValue("updatedAtUtc", favoriteActorChangesCursorDto.updatedAtUtc);
2851
+ writer.writeAdditionalData(favoriteActorChangesCursorDto.additionalData);
2852
+ }
2853
+ /**
2854
+ * Serializes information the current object
2855
+ * @param FavoriteActorSummaryDto The instance to serialize from.
2856
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2857
+ * @param writer Serialization writer to use to serialize this model
2858
+ */
2859
+ // @ts-ignore
2860
+ export function serializeFavoriteActorSummaryDto(writer, favoriteActorSummaryDto = {}, isSerializingDerivedType = false) {
2861
+ if (!favoriteActorSummaryDto || isSerializingDerivedType) {
2862
+ return;
2863
+ }
2864
+ writer.writeStringValue("ethnicity", favoriteActorSummaryDto.ethnicity);
2865
+ writer.writeDateValue("favoritedAtUtc", favoriteActorSummaryDto.favoritedAtUtc);
2866
+ writer.writeStringValue("gender", favoriteActorSummaryDto.gender);
2867
+ writer.writeGuidValue("id", favoriteActorSummaryDto.id);
2868
+ writer.writeStringValue("name", favoriteActorSummaryDto.name);
2869
+ writer.writeStringValue("nationality", favoriteActorSummaryDto.nationality);
2870
+ writer.writeStringValue("profileImageCdnPath", favoriteActorSummaryDto.profileImageCdnPath);
2871
+ writer.writeAdditionalData(favoriteActorSummaryDto.additionalData);
2872
+ }
2873
+ /**
2874
+ * Serializes information the current object
2875
+ * @param FavoriteSiteChangeDto The instance to serialize from.
2876
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2877
+ * @param writer Serialization writer to use to serialize this model
2878
+ */
2879
+ // @ts-ignore
2880
+ export function serializeFavoriteSiteChangeDto(writer, favoriteSiteChangeDto = {}, isSerializingDerivedType = false) {
2881
+ if (!favoriteSiteChangeDto || isSerializingDerivedType) {
2882
+ return;
2883
+ }
2884
+ writer.writeStringValue("eventType", favoriteSiteChangeDto.eventType);
2885
+ writer.writeObjectValue("favoriteSite", favoriteSiteChangeDto.favoriteSite, serializeFavoriteSiteChangeFavoriteSiteDto);
2886
+ writer.writeAdditionalData(favoriteSiteChangeDto.additionalData);
2887
+ }
2888
+ /**
2889
+ * Serializes information the current object
2890
+ * @param FavoriteSiteChangeFavoriteSiteDto The instance to serialize from.
2891
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2892
+ * @param writer Serialization writer to use to serialize this model
2893
+ */
2894
+ // @ts-ignore
2895
+ export function serializeFavoriteSiteChangeFavoriteSiteDto(writer, favoriteSiteChangeFavoriteSiteDto = {}, isSerializingDerivedType = false) {
2896
+ if (!favoriteSiteChangeFavoriteSiteDto || isSerializingDerivedType) {
2897
+ return;
2898
+ }
2899
+ writer.writeDateValue("deletedAtUtc", favoriteSiteChangeFavoriteSiteDto.deletedAtUtc);
2900
+ writer.writeDateValue("favoritedAtUtc", favoriteSiteChangeFavoriteSiteDto.favoritedAtUtc);
2901
+ writer.writeGuidValue("id", favoriteSiteChangeFavoriteSiteDto.id);
2902
+ writer.writeBooleanValue("isDeleted", favoriteSiteChangeFavoriteSiteDto.isDeleted);
2903
+ writer.writeGuidValue("networkId", favoriteSiteChangeFavoriteSiteDto.networkId);
2904
+ writer.writeStringValue("networkTitle", favoriteSiteChangeFavoriteSiteDto.networkTitle);
2905
+ writer.writeStringValue("title", favoriteSiteChangeFavoriteSiteDto.title);
2906
+ writer.writeDateValue("updatedAtUtc", favoriteSiteChangeFavoriteSiteDto.updatedAtUtc);
2907
+ writer.writeStringValue("url", favoriteSiteChangeFavoriteSiteDto.url);
2908
+ writer.writeAdditionalData(favoriteSiteChangeFavoriteSiteDto.additionalData);
2909
+ }
2910
+ /**
2911
+ * Serializes information the current object
2912
+ * @param FavoriteSiteChangesCursorDto The instance to serialize from.
2913
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2914
+ * @param writer Serialization writer to use to serialize this model
2915
+ */
2916
+ // @ts-ignore
2917
+ export function serializeFavoriteSiteChangesCursorDto(writer, favoriteSiteChangesCursorDto = {}, isSerializingDerivedType = false) {
2918
+ if (!favoriteSiteChangesCursorDto || isSerializingDerivedType) {
2919
+ return;
2920
+ }
2921
+ writer.writeGuidValue("id", favoriteSiteChangesCursorDto.id);
2922
+ writer.writeDateValue("updatedAtUtc", favoriteSiteChangesCursorDto.updatedAtUtc);
2923
+ writer.writeAdditionalData(favoriteSiteChangesCursorDto.additionalData);
2924
+ }
2925
+ /**
2926
+ * Serializes information the current object
2927
+ * @param FavoriteSiteSummaryDto The instance to serialize from.
2928
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2929
+ * @param writer Serialization writer to use to serialize this model
2930
+ */
2931
+ // @ts-ignore
2932
+ export function serializeFavoriteSiteSummaryDto(writer, favoriteSiteSummaryDto = {}, isSerializingDerivedType = false) {
2933
+ if (!favoriteSiteSummaryDto || isSerializingDerivedType) {
2934
+ return;
2935
+ }
2936
+ writer.writeDateValue("favoritedAtUtc", favoriteSiteSummaryDto.favoritedAtUtc);
2937
+ writer.writeGuidValue("id", favoriteSiteSummaryDto.id);
2938
+ writer.writeGuidValue("networkId", favoriteSiteSummaryDto.networkId);
2939
+ writer.writeStringValue("networkTitle", favoriteSiteSummaryDto.networkTitle);
2940
+ writer.writeStringValue("title", favoriteSiteSummaryDto.title);
2941
+ writer.writeStringValue("url", favoriteSiteSummaryDto.url);
2942
+ writer.writeAdditionalData(favoriteSiteSummaryDto.additionalData);
2943
+ }
2944
+ /**
2945
+ * Serializes information the current object
2946
+ * @param GetActorChangesResponse The instance to serialize from.
2947
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2948
+ * @param writer Serialization writer to use to serialize this model
2949
+ */
2950
+ // @ts-ignore
2951
+ export function serializeGetActorChangesResponse(writer, getActorChangesResponse = {}, isSerializingDerivedType = false) {
2952
+ if (!getActorChangesResponse || isSerializingDerivedType) {
2953
+ return;
2954
+ }
2955
+ writer.writeBooleanValue("hasMore", getActorChangesResponse.hasMore);
2956
+ writer.writeCollectionOfObjectValues("items", getActorChangesResponse.items, serializeActorChangeDto);
2957
+ writer.writeGuidValue("nextCursorId", getActorChangesResponse.nextCursorId);
2958
+ writer.writeDateValue("nextCursorUtc", getActorChangesResponse.nextCursorUtc);
2959
+ writer.writeNumberValue("pageSize", getActorChangesResponse.pageSize);
2960
+ writer.writeAdditionalData(getActorChangesResponse.additionalData);
2961
+ }
2962
+ /**
2963
+ * Serializes information the current object
2964
+ * @param GetActorsByIdsRequest The instance to serialize from.
2965
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2966
+ * @param writer Serialization writer to use to serialize this model
2967
+ */
2968
+ // @ts-ignore
2969
+ export function serializeGetActorsByIdsRequest(writer, getActorsByIdsRequest = {}, isSerializingDerivedType = false) {
2970
+ if (!getActorsByIdsRequest || isSerializingDerivedType) {
2971
+ return;
2972
+ }
2973
+ writer.writeCollectionOfPrimitiveValues("ids", getActorsByIdsRequest.ids);
2974
+ writer.writeAdditionalData(getActorsByIdsRequest.additionalData);
2975
+ }
2976
+ /**
2977
+ * Serializes information the current object
2978
+ * @param GetFavoriteActorChangesResponse The instance to serialize from.
2979
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2980
+ * @param writer Serialization writer to use to serialize this model
2981
+ */
2982
+ // @ts-ignore
2983
+ export function serializeGetFavoriteActorChangesResponse(writer, getFavoriteActorChangesResponse = {}, isSerializingDerivedType = false) {
2984
+ if (!getFavoriteActorChangesResponse || isSerializingDerivedType) {
2985
+ return;
2986
+ }
2987
+ writer.writeBooleanValue("hasMore", getFavoriteActorChangesResponse.hasMore);
2988
+ writer.writeCollectionOfObjectValues("items", getFavoriteActorChangesResponse.items, serializeFavoriteActorChangeDto);
2989
+ writer.writeObjectValue("nextCursor", getFavoriteActorChangesResponse.nextCursor, serializeFavoriteActorChangesCursorDto);
2990
+ writer.writeNumberValue("pageSize", getFavoriteActorChangesResponse.pageSize);
2991
+ writer.writeAdditionalData(getFavoriteActorChangesResponse.additionalData);
2992
+ }
2993
+ /**
2994
+ * Serializes information the current object
2995
+ * @param GetFavoriteSiteChangesResponse The instance to serialize from.
2996
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
2997
+ * @param writer Serialization writer to use to serialize this model
2998
+ */
2999
+ // @ts-ignore
3000
+ export function serializeGetFavoriteSiteChangesResponse(writer, getFavoriteSiteChangesResponse = {}, isSerializingDerivedType = false) {
3001
+ if (!getFavoriteSiteChangesResponse || isSerializingDerivedType) {
3002
+ return;
3003
+ }
3004
+ writer.writeBooleanValue("hasMore", getFavoriteSiteChangesResponse.hasMore);
3005
+ writer.writeCollectionOfObjectValues("items", getFavoriteSiteChangesResponse.items, serializeFavoriteSiteChangeDto);
3006
+ writer.writeObjectValue("nextCursor", getFavoriteSiteChangesResponse.nextCursor, serializeFavoriteSiteChangesCursorDto);
3007
+ writer.writeNumberValue("pageSize", getFavoriteSiteChangesResponse.pageSize);
3008
+ writer.writeAdditionalData(getFavoriteSiteChangesResponse.additionalData);
3009
+ }
3010
+ /**
3011
+ * Serializes information the current object
3012
+ * @param GetHealthResponse The instance to serialize from.
3013
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3014
+ * @param writer Serialization writer to use to serialize this model
3015
+ */
3016
+ // @ts-ignore
3017
+ export function serializeGetHealthResponse(writer, getHealthResponse = {}, isSerializingDerivedType = false) {
3018
+ if (!getHealthResponse || isSerializingDerivedType) {
3019
+ return;
3020
+ }
3021
+ writer.writeStringValue("status", getHealthResponse.status);
3022
+ writer.writeDateValue("timestamp", getHealthResponse.timestamp);
3023
+ writer.writeAdditionalData(getHealthResponse.additionalData);
3024
+ }
3025
+ /**
3026
+ * Serializes information the current object
3027
+ * @param GetIndexerFilehashChangesResponse The instance to serialize from.
3028
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3029
+ * @param writer Serialization writer to use to serialize this model
3030
+ */
3031
+ // @ts-ignore
3032
+ export function serializeGetIndexerFilehashChangesResponse(writer, getIndexerFilehashChangesResponse = {}, isSerializingDerivedType = false) {
3033
+ if (!getIndexerFilehashChangesResponse || isSerializingDerivedType) {
3034
+ return;
3035
+ }
3036
+ writer.writeBooleanValue("hasMore", getIndexerFilehashChangesResponse.hasMore);
3037
+ writer.writeCollectionOfObjectValues("items", getIndexerFilehashChangesResponse.items, serializeIndexerFilehashChangeDto);
3038
+ writer.writeObjectValue("nextCursor", getIndexerFilehashChangesResponse.nextCursor, serializeIndexerFilehashChangesCursorDto);
3039
+ writer.writeNumberValue("pageSize", getIndexerFilehashChangesResponse.pageSize);
3040
+ writer.writeAdditionalData(getIndexerFilehashChangesResponse.additionalData);
3041
+ }
3042
+ /**
3043
+ * Serializes information the current object
3044
+ * @param GetRateLimitResponse The instance to serialize from.
3045
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3046
+ * @param writer Serialization writer to use to serialize this model
3047
+ */
3048
+ // @ts-ignore
3049
+ export function serializeGetRateLimitResponse(writer, getRateLimitResponse = {}, isSerializingDerivedType = false) {
3050
+ if (!getRateLimitResponse || isSerializingDerivedType) {
3051
+ return;
3052
+ }
3053
+ writer.writeObjectValue("hourly", getRateLimitResponse.hourly, serializeRateLimitWindowStatus);
3054
+ writer.writeBooleanValue("isEnforced", getRateLimitResponse.isEnforced);
3055
+ writer.writeObjectValue("monthly", getRateLimitResponse.monthly, serializeRateLimitWindowStatus);
3056
+ writer.writeAdditionalData(getRateLimitResponse.additionalData);
3057
+ }
3058
+ /**
3059
+ * Serializes information the current object
3060
+ * @param GetVideoFilehashChangesResponse The instance to serialize from.
3061
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3062
+ * @param writer Serialization writer to use to serialize this model
3063
+ */
3064
+ // @ts-ignore
3065
+ export function serializeGetVideoFilehashChangesResponse(writer, getVideoFilehashChangesResponse = {}, isSerializingDerivedType = false) {
3066
+ if (!getVideoFilehashChangesResponse || isSerializingDerivedType) {
3067
+ return;
3068
+ }
3069
+ writer.writeBooleanValue("hasMore", getVideoFilehashChangesResponse.hasMore);
3070
+ writer.writeCollectionOfObjectValues("items", getVideoFilehashChangesResponse.items, serializeVideoFilehashChangeDto);
3071
+ writer.writeObjectValue("nextCursor", getVideoFilehashChangesResponse.nextCursor, serializeVideoFilehashChangesCursorDto);
3072
+ writer.writeNumberValue("pageSize", getVideoFilehashChangesResponse.pageSize);
3073
+ writer.writeAdditionalData(getVideoFilehashChangesResponse.additionalData);
3074
+ }
3075
+ /**
3076
+ * Serializes information the current object
3077
+ * @param GetVideoFilehashesByVideoIdsRequest The instance to serialize from.
3078
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3079
+ * @param writer Serialization writer to use to serialize this model
3080
+ */
3081
+ // @ts-ignore
3082
+ export function serializeGetVideoFilehashesByVideoIdsRequest(writer, getVideoFilehashesByVideoIdsRequest = {}, isSerializingDerivedType = false) {
3083
+ if (!getVideoFilehashesByVideoIdsRequest || isSerializingDerivedType) {
3084
+ return;
3085
+ }
3086
+ writer.writeCollectionOfPrimitiveValues("ids", getVideoFilehashesByVideoIdsRequest.ids);
3087
+ writer.writeAdditionalData(getVideoFilehashesByVideoIdsRequest.additionalData);
3088
+ }
3089
+ /**
3090
+ * Serializes information the current object
3091
+ * @param GetVideoFilehashesByVideoIdsResponse The instance to serialize from.
3092
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3093
+ * @param writer Serialization writer to use to serialize this model
3094
+ */
3095
+ // @ts-ignore
3096
+ export function serializeGetVideoFilehashesByVideoIdsResponse(writer, getVideoFilehashesByVideoIdsResponse = {}, isSerializingDerivedType = false) {
3097
+ if (!getVideoFilehashesByVideoIdsResponse || isSerializingDerivedType) {
3098
+ return;
3099
+ }
3100
+ writer.writeCollectionOfObjectValues("items", getVideoFilehashesByVideoIdsResponse.items, serializeVideoFilehashesByVideoIdDto);
3101
+ writer.writeCollectionOfPrimitiveValues("notFoundVideoIds", getVideoFilehashesByVideoIdsResponse.notFoundVideoIds);
3102
+ writer.writeAdditionalData(getVideoFilehashesByVideoIdsResponse.additionalData);
3103
+ }
3104
+ /**
3105
+ * Serializes information the current object
3106
+ * @param GetVideosByIdsRequest The instance to serialize from.
3107
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3108
+ * @param writer Serialization writer to use to serialize this model
3109
+ */
3110
+ // @ts-ignore
3111
+ export function serializeGetVideosByIdsRequest(writer, getVideosByIdsRequest = {}, isSerializingDerivedType = false) {
3112
+ if (!getVideosByIdsRequest || isSerializingDerivedType) {
3113
+ return;
3114
+ }
3115
+ writer.writeCollectionOfPrimitiveValues("ids", getVideosByIdsRequest.ids);
3116
+ writer.writeAdditionalData(getVideosByIdsRequest.additionalData);
3117
+ }
3118
+ /**
3119
+ * Serializes information the current object
3120
+ * @param GetVideoUserImageChangesResponse The instance to serialize from.
3121
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3122
+ * @param writer Serialization writer to use to serialize this model
3123
+ */
3124
+ // @ts-ignore
3125
+ export function serializeGetVideoUserImageChangesResponse(writer, getVideoUserImageChangesResponse = {}, isSerializingDerivedType = false) {
3126
+ if (!getVideoUserImageChangesResponse || isSerializingDerivedType) {
3127
+ return;
3128
+ }
3129
+ writer.writeBooleanValue("hasMore", getVideoUserImageChangesResponse.hasMore);
3130
+ writer.writeCollectionOfObjectValues("items", getVideoUserImageChangesResponse.items, serializeVideoUserImageChangeItemDto);
3131
+ writer.writeObjectValue("nextCursor", getVideoUserImageChangesResponse.nextCursor, serializeVideoUserImageChangesCursorDto);
3132
+ writer.writeNumberValue("pageSize", getVideoUserImageChangesResponse.pageSize);
3133
+ writer.writeAdditionalData(getVideoUserImageChangesResponse.additionalData);
3134
+ }
3135
+ /**
3136
+ * Serializes information the current object
3137
+ * @param GetWantedVideoChangesResponse The instance to serialize from.
3138
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3139
+ * @param writer Serialization writer to use to serialize this model
3140
+ */
3141
+ // @ts-ignore
3142
+ export function serializeGetWantedVideoChangesResponse(writer, getWantedVideoChangesResponse = {}, isSerializingDerivedType = false) {
3143
+ if (!getWantedVideoChangesResponse || isSerializingDerivedType) {
3144
+ return;
3145
+ }
3146
+ writer.writeBooleanValue("hasMore", getWantedVideoChangesResponse.hasMore);
3147
+ writer.writeCollectionOfObjectValues("items", getWantedVideoChangesResponse.items, serializeWantedVideoChangeDto);
3148
+ writer.writeObjectValue("nextCursor", getWantedVideoChangesResponse.nextCursor, serializeWantedVideoChangesCursorDto);
3149
+ writer.writeNumberValue("pageSize", getWantedVideoChangesResponse.pageSize);
3150
+ writer.writeAdditionalData(getWantedVideoChangesResponse.additionalData);
3151
+ }
3152
+ /**
3153
+ * Serializes information the current object
3154
+ * @param IndexerFilehashChangeDto The instance to serialize from.
3155
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3156
+ * @param writer Serialization writer to use to serialize this model
3157
+ */
3158
+ // @ts-ignore
3159
+ export function serializeIndexerFilehashChangeDto(writer, indexerFilehashChangeDto = {}, isSerializingDerivedType = false) {
3160
+ if (!indexerFilehashChangeDto || isSerializingDerivedType) {
3161
+ return;
3162
+ }
3163
+ writer.writeStringValue("eventType", indexerFilehashChangeDto.eventType);
3164
+ writer.writeObjectValue("filehash", indexerFilehashChangeDto.filehash, serializeIndexerFilehashChangeFilehashDto);
3165
+ writer.writeAdditionalData(indexerFilehashChangeDto.additionalData);
3166
+ }
3167
+ /**
3168
+ * Serializes information the current object
3169
+ * @param IndexerFilehashChangeFilehashDto The instance to serialize from.
3170
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3171
+ * @param writer Serialization writer to use to serialize this model
3172
+ */
3173
+ // @ts-ignore
3174
+ export function serializeIndexerFilehashChangeFilehashDto(writer, indexerFilehashChangeFilehashDto = {}, isSerializingDerivedType = false) {
3175
+ if (!indexerFilehashChangeFilehashDto || isSerializingDerivedType) {
3176
+ return;
3177
+ }
3178
+ writer.writeDateValue("createdAtUtc", indexerFilehashChangeFilehashDto.createdAtUtc);
3179
+ writer.writeDateValue("deletedAtUtc", indexerFilehashChangeFilehashDto.deletedAtUtc);
3180
+ writer.writeStringValue("filename", indexerFilehashChangeFilehashDto.filename);
3181
+ writer.writeNumberValue("filesize", indexerFilehashChangeFilehashDto.filesize);
3182
+ writer.writeGuidValue("id", indexerFilehashChangeFilehashDto.id);
3183
+ writer.writeStringValue("indexerId", indexerFilehashChangeFilehashDto.indexerId);
3184
+ writer.writeStringValue("indexerSource", indexerFilehashChangeFilehashDto.indexerSource);
3185
+ writer.writeBooleanValue("isDeleted", indexerFilehashChangeFilehashDto.isDeleted);
3186
+ writer.writeBooleanValue("isVerified", indexerFilehashChangeFilehashDto.isVerified);
3187
+ writer.writeStringValue("osHash", indexerFilehashChangeFilehashDto.osHash);
3188
+ writer.writeStringValue("pHash", indexerFilehashChangeFilehashDto.pHash);
3189
+ writer.writeNumberValue("submissionCount", indexerFilehashChangeFilehashDto.submissionCount);
3190
+ writer.writeDateValue("updatedAtUtc", indexerFilehashChangeFilehashDto.updatedAtUtc);
3191
+ writer.writeAdditionalData(indexerFilehashChangeFilehashDto.additionalData);
3192
+ }
3193
+ /**
3194
+ * Serializes information the current object
3195
+ * @param IndexerFilehashChangesCursorDto The instance to serialize from.
3196
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3197
+ * @param writer Serialization writer to use to serialize this model
3198
+ */
3199
+ // @ts-ignore
3200
+ export function serializeIndexerFilehashChangesCursorDto(writer, indexerFilehashChangesCursorDto = {}, isSerializingDerivedType = false) {
3201
+ if (!indexerFilehashChangesCursorDto || isSerializingDerivedType) {
3202
+ return;
3203
+ }
3204
+ writer.writeGuidValue("id", indexerFilehashChangesCursorDto.id);
3205
+ writer.writeDateValue("updatedAtUtc", indexerFilehashChangesCursorDto.updatedAtUtc);
3206
+ writer.writeAdditionalData(indexerFilehashChangesCursorDto.additionalData);
3207
+ }
3208
+ /**
3209
+ * Serializes information the current object
3210
+ * @param IndexerFilehashDto The instance to serialize from.
3211
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3212
+ * @param writer Serialization writer to use to serialize this model
3213
+ */
3214
+ // @ts-ignore
3215
+ export function serializeIndexerFilehashDto(writer, indexerFilehashDto = {}, isSerializingDerivedType = false) {
3216
+ if (!indexerFilehashDto || isSerializingDerivedType) {
3217
+ return;
3218
+ }
3219
+ writer.writeDateValue("createdAtUtc", indexerFilehashDto.createdAtUtc);
3220
+ writer.writeStringValue("filename", indexerFilehashDto.filename);
3221
+ writer.writeNumberValue("filesize", indexerFilehashDto.filesize);
3222
+ writer.writeGuidValue("id", indexerFilehashDto.id);
3223
+ writer.writeStringValue("indexerId", indexerFilehashDto.indexerId);
3224
+ writer.writeStringValue("indexerSource", indexerFilehashDto.indexerSource);
3225
+ writer.writeBooleanValue("isVerified", indexerFilehashDto.isVerified);
3226
+ writer.writeStringValue("osHash", indexerFilehashDto.osHash);
3227
+ writer.writeStringValue("pHash", indexerFilehashDto.pHash);
3228
+ writer.writeNumberValue("submissionCount", indexerFilehashDto.submissionCount);
3229
+ writer.writeDateValue("updatedAtUtc", indexerFilehashDto.updatedAtUtc);
3230
+ writer.writeAdditionalData(indexerFilehashDto.additionalData);
3231
+ }
3232
+ /**
3233
+ * Serializes information the current object
3234
+ * @param IndexerFilehashLookupKeyDto The instance to serialize from.
3235
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3236
+ * @param writer Serialization writer to use to serialize this model
3237
+ */
3238
+ // @ts-ignore
3239
+ export function serializeIndexerFilehashLookupKeyDto(writer, indexerFilehashLookupKeyDto = {}, isSerializingDerivedType = false) {
3240
+ if (!indexerFilehashLookupKeyDto || isSerializingDerivedType) {
3241
+ return;
3242
+ }
3243
+ writer.writeStringValue("indexerId", indexerFilehashLookupKeyDto.indexerId);
3244
+ writer.writeEnumValue("indexerSource", indexerFilehashLookupKeyDto.indexerSource);
3245
+ writer.writeAdditionalData(indexerFilehashLookupKeyDto.additionalData);
3246
+ }
3247
+ /**
3248
+ * Serializes information the current object
3249
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3250
+ * @param LatestIndexerFilehashesResponse The instance to serialize from.
3251
+ * @param writer Serialization writer to use to serialize this model
3252
+ */
3253
+ // @ts-ignore
3254
+ export function serializeLatestIndexerFilehashesResponse(writer, latestIndexerFilehashesResponse = {}, isSerializingDerivedType = false) {
3255
+ if (!latestIndexerFilehashesResponse || isSerializingDerivedType) {
3256
+ return;
3257
+ }
3258
+ writer.writeCollectionOfObjectValues("items", latestIndexerFilehashesResponse.items, serializeIndexerFilehashDto);
3259
+ writer.writeNumberValue("page", latestIndexerFilehashesResponse.page);
3260
+ writer.writeNumberValue("pageSize", latestIndexerFilehashesResponse.pageSize);
3261
+ writer.writeStringValue("sortBy", latestIndexerFilehashesResponse.sortBy);
3262
+ writer.writeStringValue("sortDirection", latestIndexerFilehashesResponse.sortDirection);
3263
+ writer.writeNumberValue("totalCount", latestIndexerFilehashesResponse.totalCount);
3264
+ writer.writeAdditionalData(latestIndexerFilehashesResponse.additionalData);
3265
+ }
3266
+ /**
3267
+ * Serializes information the current object
3268
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3269
+ * @param LatestPreDbItemDto The instance to serialize from.
3270
+ * @param writer Serialization writer to use to serialize this model
3271
+ */
3272
+ // @ts-ignore
3273
+ export function serializeLatestPreDbItemDto(writer, latestPreDbItemDto = {}, isSerializingDerivedType = false) {
3274
+ if (!latestPreDbItemDto || isSerializingDerivedType) {
3275
+ return;
3276
+ }
3277
+ writer.writeDateValue("createdAtUtc", latestPreDbItemDto.createdAtUtc);
3278
+ writer.writeGuidValue("id", latestPreDbItemDto.id);
3279
+ writer.writeStringValue("title", latestPreDbItemDto.title);
3280
+ writer.writeObjectValue("video", latestPreDbItemDto.video, serializeLatestPreDbVideoDto);
3281
+ writer.writeAdditionalData(latestPreDbItemDto.additionalData);
3282
+ }
3283
+ /**
3284
+ * Serializes information the current object
3285
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3286
+ * @param LatestPreDbResponse The instance to serialize from.
3287
+ * @param writer Serialization writer to use to serialize this model
3288
+ */
3289
+ // @ts-ignore
3290
+ export function serializeLatestPreDbResponse(writer, latestPreDbResponse = {}, isSerializingDerivedType = false) {
3291
+ if (!latestPreDbResponse || isSerializingDerivedType) {
3292
+ return;
3293
+ }
3294
+ writer.writeCollectionOfObjectValues("items", latestPreDbResponse.items, serializeLatestPreDbItemDto);
3295
+ writer.writeNumberValue("page", latestPreDbResponse.page);
3296
+ writer.writeNumberValue("pageSize", latestPreDbResponse.pageSize);
3297
+ writer.writeNumberValue("totalCount", latestPreDbResponse.totalCount);
3298
+ writer.writeAdditionalData(latestPreDbResponse.additionalData);
3299
+ }
3300
+ /**
3301
+ * Serializes information the current object
3302
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3303
+ * @param LatestPreDbSiteDto The instance to serialize from.
3304
+ * @param writer Serialization writer to use to serialize this model
3305
+ */
3306
+ // @ts-ignore
3307
+ export function serializeLatestPreDbSiteDto(writer, latestPreDbSiteDto = {}, isSerializingDerivedType = false) {
3308
+ if (!latestPreDbSiteDto || isSerializingDerivedType) {
3309
+ return;
3310
+ }
3311
+ writer.writeGuidValue("id", latestPreDbSiteDto.id);
3312
+ writer.writeStringValue("title", latestPreDbSiteDto.title);
3313
+ writer.writeAdditionalData(latestPreDbSiteDto.additionalData);
3314
+ }
3315
+ /**
3316
+ * Serializes information the current object
3317
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3318
+ * @param LatestPreDbVideoDto The instance to serialize from.
3319
+ * @param writer Serialization writer to use to serialize this model
3320
+ */
3321
+ // @ts-ignore
3322
+ export function serializeLatestPreDbVideoDto(writer, latestPreDbVideoDto = {}, isSerializingDerivedType = false) {
3323
+ if (!latestPreDbVideoDto || isSerializingDerivedType) {
3324
+ return;
3325
+ }
3326
+ writer.writeGuidValue("id", latestPreDbVideoDto.id);
3327
+ writer.writeDateOnlyValue("releaseDate", latestPreDbVideoDto.releaseDate);
3328
+ writer.writeObjectValue("site", latestPreDbVideoDto.site, serializeLatestPreDbSiteDto);
3329
+ writer.writeStringValue("title", latestPreDbVideoDto.title);
3330
+ writer.writeAdditionalData(latestPreDbVideoDto.additionalData);
3331
+ }
3332
+ /**
3333
+ * Serializes information the current object
3334
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3335
+ * @param LatestVideoFilehashesResponse The instance to serialize from.
3336
+ * @param writer Serialization writer to use to serialize this model
3337
+ */
3338
+ // @ts-ignore
3339
+ export function serializeLatestVideoFilehashesResponse(writer, latestVideoFilehashesResponse = {}, isSerializingDerivedType = false) {
3340
+ if (!latestVideoFilehashesResponse || isSerializingDerivedType) {
3341
+ return;
3342
+ }
3343
+ writer.writeCollectionOfObjectValues("items", latestVideoFilehashesResponse.items, serializeVideoFilehashDto);
3344
+ writer.writeNumberValue("page", latestVideoFilehashesResponse.page);
3345
+ writer.writeNumberValue("pageSize", latestVideoFilehashesResponse.pageSize);
3346
+ writer.writeStringValue("sortBy", latestVideoFilehashesResponse.sortBy);
3347
+ writer.writeStringValue("sortDirection", latestVideoFilehashesResponse.sortDirection);
3348
+ writer.writeNumberValue("totalCount", latestVideoFilehashesResponse.totalCount);
3349
+ writer.writeAdditionalData(latestVideoFilehashesResponse.additionalData);
3350
+ }
3351
+ /**
3352
+ * Serializes information the current object
3353
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3354
+ * @param ListActorsResponse The instance to serialize from.
3355
+ * @param writer Serialization writer to use to serialize this model
3356
+ */
3357
+ // @ts-ignore
3358
+ export function serializeListActorsResponse(writer, listActorsResponse = {}, isSerializingDerivedType = false) {
3359
+ if (!listActorsResponse || isSerializingDerivedType) {
3360
+ return;
3361
+ }
3362
+ writer.writeCollectionOfObjectValues("items", listActorsResponse.items, serializeActorSummaryDto);
3363
+ writer.writeNumberValue("page", listActorsResponse.page);
3364
+ writer.writeNumberValue("pageSize", listActorsResponse.pageSize);
3365
+ writer.writeStringValue("sortBy", listActorsResponse.sortBy);
3366
+ writer.writeStringValue("sortDirection", listActorsResponse.sortDirection);
3367
+ writer.writeNumberValue("totalCount", listActorsResponse.totalCount);
3368
+ writer.writeNumberValue("totalPages", listActorsResponse.totalPages);
3369
+ writer.writeAdditionalData(listActorsResponse.additionalData);
3370
+ }
3371
+ /**
3372
+ * Serializes information the current object
3373
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3374
+ * @param ListFavoriteActorsResponse The instance to serialize from.
3375
+ * @param writer Serialization writer to use to serialize this model
3376
+ */
3377
+ // @ts-ignore
3378
+ export function serializeListFavoriteActorsResponse(writer, listFavoriteActorsResponse = {}, isSerializingDerivedType = false) {
3379
+ if (!listFavoriteActorsResponse || isSerializingDerivedType) {
3380
+ return;
3381
+ }
3382
+ writer.writeCollectionOfObjectValues("items", listFavoriteActorsResponse.items, serializeFavoriteActorSummaryDto);
3383
+ writer.writeNumberValue("page", listFavoriteActorsResponse.page);
3384
+ writer.writeNumberValue("pageSize", listFavoriteActorsResponse.pageSize);
3385
+ writer.writeStringValue("sortBy", listFavoriteActorsResponse.sortBy);
3386
+ writer.writeStringValue("sortDirection", listFavoriteActorsResponse.sortDirection);
3387
+ writer.writeNumberValue("totalCount", listFavoriteActorsResponse.totalCount);
3388
+ writer.writeNumberValue("totalPages", listFavoriteActorsResponse.totalPages);
3389
+ writer.writeAdditionalData(listFavoriteActorsResponse.additionalData);
3390
+ }
3391
+ /**
3392
+ * Serializes information the current object
3393
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3394
+ * @param ListFavoriteSitesResponse The instance to serialize from.
3395
+ * @param writer Serialization writer to use to serialize this model
3396
+ */
3397
+ // @ts-ignore
3398
+ export function serializeListFavoriteSitesResponse(writer, listFavoriteSitesResponse = {}, isSerializingDerivedType = false) {
3399
+ if (!listFavoriteSitesResponse || isSerializingDerivedType) {
3400
+ return;
3401
+ }
3402
+ writer.writeCollectionOfObjectValues("items", listFavoriteSitesResponse.items, serializeFavoriteSiteSummaryDto);
3403
+ writer.writeNumberValue("page", listFavoriteSitesResponse.page);
3404
+ writer.writeNumberValue("pageSize", listFavoriteSitesResponse.pageSize);
3405
+ writer.writeStringValue("sortBy", listFavoriteSitesResponse.sortBy);
3406
+ writer.writeStringValue("sortDirection", listFavoriteSitesResponse.sortDirection);
3407
+ writer.writeNumberValue("totalCount", listFavoriteSitesResponse.totalCount);
3408
+ writer.writeNumberValue("totalPages", listFavoriteSitesResponse.totalPages);
3409
+ writer.writeAdditionalData(listFavoriteSitesResponse.additionalData);
3410
+ }
3411
+ /**
3412
+ * Serializes information the current object
3413
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3414
+ * @param ListPreDbResponse The instance to serialize from.
3415
+ * @param writer Serialization writer to use to serialize this model
3416
+ */
3417
+ // @ts-ignore
3418
+ export function serializeListPreDbResponse(writer, listPreDbResponse = {}, isSerializingDerivedType = false) {
3419
+ if (!listPreDbResponse || isSerializingDerivedType) {
3420
+ return;
3421
+ }
3422
+ writer.writeCollectionOfObjectValues("items", listPreDbResponse.items, serializePreDbSummaryDto);
3423
+ writer.writeNumberValue("page", listPreDbResponse.page);
3424
+ writer.writeNumberValue("pageSize", listPreDbResponse.pageSize);
3425
+ writer.writeStringValue("sortBy", listPreDbResponse.sortBy);
3426
+ writer.writeStringValue("sortDirection", listPreDbResponse.sortDirection);
3427
+ writer.writeNumberValue("totalCount", listPreDbResponse.totalCount);
3428
+ writer.writeAdditionalData(listPreDbResponse.additionalData);
3429
+ }
3430
+ /**
3431
+ * Serializes information the current object
3432
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3433
+ * @param ListSitesResponse The instance to serialize from.
3434
+ * @param writer Serialization writer to use to serialize this model
3435
+ */
3436
+ // @ts-ignore
3437
+ export function serializeListSitesResponse(writer, listSitesResponse = {}, isSerializingDerivedType = false) {
3438
+ if (!listSitesResponse || isSerializingDerivedType) {
3439
+ return;
3440
+ }
3441
+ writer.writeCollectionOfObjectValues("items", listSitesResponse.items, serializeSiteSummaryDto);
3442
+ writer.writeNumberValue("page", listSitesResponse.page);
3443
+ writer.writeNumberValue("pageSize", listSitesResponse.pageSize);
3444
+ writer.writeStringValue("sortBy", listSitesResponse.sortBy);
3445
+ writer.writeStringValue("sortDirection", listSitesResponse.sortDirection);
3446
+ writer.writeNumberValue("totalCount", listSitesResponse.totalCount);
3447
+ writer.writeAdditionalData(listSitesResponse.additionalData);
3448
+ }
3449
+ /**
3450
+ * Serializes information the current object
3451
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3452
+ * @param ListVideosResponse The instance to serialize from.
3453
+ * @param writer Serialization writer to use to serialize this model
3454
+ */
3455
+ // @ts-ignore
3456
+ export function serializeListVideosResponse(writer, listVideosResponse = {}, isSerializingDerivedType = false) {
3457
+ if (!listVideosResponse || isSerializingDerivedType) {
3458
+ return;
3459
+ }
3460
+ writer.writeCollectionOfObjectValues("items", listVideosResponse.items, serializeVideoSummaryDto);
3461
+ writer.writeNumberValue("page", listVideosResponse.page);
3462
+ writer.writeNumberValue("pageSize", listVideosResponse.pageSize);
3463
+ writer.writeStringValue("sortBy", listVideosResponse.sortBy);
3464
+ writer.writeStringValue("sortDirection", listVideosResponse.sortDirection);
3465
+ writer.writeNumberValue("totalCount", listVideosResponse.totalCount);
3466
+ writer.writeAdditionalData(listVideosResponse.additionalData);
3467
+ }
3468
+ /**
3469
+ * Serializes information the current object
3470
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3471
+ * @param ListWantedVideosResponse The instance to serialize from.
3472
+ * @param writer Serialization writer to use to serialize this model
3473
+ */
3474
+ // @ts-ignore
3475
+ export function serializeListWantedVideosResponse(writer, listWantedVideosResponse = {}, isSerializingDerivedType = false) {
3476
+ if (!listWantedVideosResponse || isSerializingDerivedType) {
3477
+ return;
3478
+ }
3479
+ writer.writeCollectionOfObjectValues("items", listWantedVideosResponse.items, serializeWantedVideoSummaryDto);
3480
+ writer.writeNumberValue("page", listWantedVideosResponse.page);
3481
+ writer.writeNumberValue("pageSize", listWantedVideosResponse.pageSize);
3482
+ writer.writeStringValue("sortBy", listWantedVideosResponse.sortBy);
3483
+ writer.writeStringValue("sortDirection", listWantedVideosResponse.sortDirection);
3484
+ writer.writeNumberValue("totalCount", listWantedVideosResponse.totalCount);
3485
+ writer.writeNumberValue("totalPages", listWantedVideosResponse.totalPages);
3486
+ writer.writeAdditionalData(listWantedVideosResponse.additionalData);
3487
+ }
3488
+ /**
3489
+ * Serializes information the current object
3490
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3491
+ * @param LookupIndexerFilehashesRequest The instance to serialize from.
3492
+ * @param writer Serialization writer to use to serialize this model
3493
+ */
3494
+ // @ts-ignore
3495
+ export function serializeLookupIndexerFilehashesRequest(writer, lookupIndexerFilehashesRequest = {}, isSerializingDerivedType = false) {
3496
+ if (!lookupIndexerFilehashesRequest || isSerializingDerivedType) {
3497
+ return;
3498
+ }
3499
+ writer.writeCollectionOfPrimitiveValues("filenames", lookupIndexerFilehashesRequest.filenames);
3500
+ writer.writeCollectionOfPrimitiveValues("filesizes", lookupIndexerFilehashesRequest.filesizes);
3501
+ writer.writeCollectionOfPrimitiveValues("ids", lookupIndexerFilehashesRequest.ids);
3502
+ writer.writeCollectionOfObjectValues("indexerKeys", lookupIndexerFilehashesRequest.indexerKeys, serializeIndexerFilehashLookupKeyDto);
3503
+ writer.writeCollectionOfPrimitiveValues("osHashes", lookupIndexerFilehashesRequest.osHashes);
3504
+ writer.writeCollectionOfPrimitiveValues("pHashes", lookupIndexerFilehashesRequest.pHashes);
3505
+ writer.writeAdditionalData(lookupIndexerFilehashesRequest.additionalData);
3506
+ }
3507
+ /**
3508
+ * Serializes information the current object
3509
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3510
+ * @param LookupIndexerFilehashesResponse The instance to serialize from.
3511
+ * @param writer Serialization writer to use to serialize this model
3512
+ */
3513
+ // @ts-ignore
3514
+ export function serializeLookupIndexerFilehashesResponse(writer, lookupIndexerFilehashesResponse = {}, isSerializingDerivedType = false) {
3515
+ if (!lookupIndexerFilehashesResponse || isSerializingDerivedType) {
3516
+ return;
3517
+ }
3518
+ writer.writeCollectionOfObjectValues("items", lookupIndexerFilehashesResponse.items, serializeIndexerFilehashDto);
3519
+ writer.writeAdditionalData(lookupIndexerFilehashesResponse.additionalData);
3520
+ }
3521
+ /**
3522
+ * Serializes information the current object
3523
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3524
+ * @param LookupVideoFilehashesRequest The instance to serialize from.
3525
+ * @param writer Serialization writer to use to serialize this model
3526
+ */
3527
+ // @ts-ignore
3528
+ export function serializeLookupVideoFilehashesRequest(writer, lookupVideoFilehashesRequest = {}, isSerializingDerivedType = false) {
3529
+ if (!lookupVideoFilehashesRequest || isSerializingDerivedType) {
3530
+ return;
3531
+ }
3532
+ writer.writeCollectionOfPrimitiveValues("filenames", lookupVideoFilehashesRequest.filenames);
3533
+ writer.writeCollectionOfPrimitiveValues("filesizes", lookupVideoFilehashesRequest.filesizes);
3534
+ writer.writeCollectionOfPrimitiveValues("ids", lookupVideoFilehashesRequest.ids);
3535
+ writer.writeCollectionOfPrimitiveValues("osHashes", lookupVideoFilehashesRequest.osHashes);
3536
+ writer.writeCollectionOfPrimitiveValues("pHashes", lookupVideoFilehashesRequest.pHashes);
3537
+ writer.writeCollectionOfPrimitiveValues("videoIds", lookupVideoFilehashesRequest.videoIds);
3538
+ writer.writeAdditionalData(lookupVideoFilehashesRequest.additionalData);
3539
+ }
3540
+ /**
3541
+ * Serializes information the current object
3542
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3543
+ * @param LookupVideoFilehashesResponse The instance to serialize from.
3544
+ * @param writer Serialization writer to use to serialize this model
3545
+ */
3546
+ // @ts-ignore
3547
+ export function serializeLookupVideoFilehashesResponse(writer, lookupVideoFilehashesResponse = {}, isSerializingDerivedType = false) {
3548
+ if (!lookupVideoFilehashesResponse || isSerializingDerivedType) {
3549
+ return;
3550
+ }
3551
+ writer.writeCollectionOfObjectValues("items", lookupVideoFilehashesResponse.items, serializeVideoFilehashDto);
3552
+ writer.writeAdditionalData(lookupVideoFilehashesResponse.additionalData);
3553
+ }
3554
+ /**
3555
+ * Serializes information the current object
3556
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3557
+ * @param PreDbItemDto The instance to serialize from.
3558
+ * @param writer Serialization writer to use to serialize this model
3559
+ */
3560
+ // @ts-ignore
3561
+ export function serializePreDbItemDto(writer, preDbItemDto = {}, isSerializingDerivedType = false) {
3562
+ if (!preDbItemDto || isSerializingDerivedType) {
3563
+ return;
3564
+ }
3565
+ writer.writeGuidValue("id", preDbItemDto.id);
3566
+ writer.writeStringValue("title", preDbItemDto.title);
3567
+ writer.writeAdditionalData(preDbItemDto.additionalData);
3568
+ }
3569
+ /**
3570
+ * Serializes information the current object
3571
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3572
+ * @param PreDbSummaryDto The instance to serialize from.
3573
+ * @param writer Serialization writer to use to serialize this model
3574
+ */
3575
+ // @ts-ignore
3576
+ export function serializePreDbSummaryDto(writer, preDbSummaryDto = {}, isSerializingDerivedType = false) {
3577
+ if (!preDbSummaryDto || isSerializingDerivedType) {
3578
+ return;
3579
+ }
3580
+ writer.writeStringValue("category", preDbSummaryDto.category);
3581
+ writer.writeNumberValue("filesize", preDbSummaryDto.filesize);
3582
+ writer.writeGuidValue("id", preDbSummaryDto.id);
3583
+ writer.writeDateOnlyValue("releaseDate", preDbSummaryDto.releaseDate);
3584
+ writer.writeStringValue("releaseGroup", preDbSummaryDto.releaseGroup);
3585
+ writer.writeStringValue("title", preDbSummaryDto.title);
3586
+ writer.writeAdditionalData(preDbSummaryDto.additionalData);
3587
+ }
3588
+ /**
3589
+ * Serializes information the current object
3590
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3591
+ * @param PreDbVideoGroupDto The instance to serialize from.
3592
+ * @param writer Serialization writer to use to serialize this model
3593
+ */
3594
+ // @ts-ignore
3595
+ export function serializePreDbVideoGroupDto(writer, preDbVideoGroupDto = {}, isSerializingDerivedType = false) {
3596
+ if (!preDbVideoGroupDto || isSerializingDerivedType) {
3597
+ return;
3598
+ }
3599
+ writer.writeCollectionOfObjectValues("predbs", preDbVideoGroupDto.predbs, serializePreDbItemDto);
3600
+ writer.writeGuidValue("siteId", preDbVideoGroupDto.siteId);
3601
+ writer.writeStringValue("siteTitle", preDbVideoGroupDto.siteTitle);
3602
+ writer.writeGuidValue("videoId", preDbVideoGroupDto.videoId);
3603
+ writer.writeStringValue("videoTitle", preDbVideoGroupDto.videoTitle);
3604
+ writer.writeAdditionalData(preDbVideoGroupDto.additionalData);
3605
+ }
3606
+ /**
3607
+ * Serializes information the current object
3608
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3609
+ * @param ProblemDetails The instance to serialize from.
3610
+ * @param writer Serialization writer to use to serialize this model
3611
+ */
3612
+ // @ts-ignore
3613
+ export function serializeProblemDetails(writer, problemDetails = {}, isSerializingDerivedType = false) {
3614
+ if (!problemDetails || isSerializingDerivedType) {
3615
+ return;
3616
+ }
3617
+ writer.writeStringValue("detail", problemDetails.detail);
3618
+ writer.writeStringValue("instance", problemDetails.instance);
3619
+ writer.writeNumberValue("status", problemDetails.status);
3620
+ writer.writeStringValue("title", problemDetails.title);
3621
+ writer.writeStringValue("type", problemDetails.type);
3622
+ writer.writeAdditionalData(problemDetails.additionalData);
3623
+ }
3624
+ /**
3625
+ * Serializes information the current object
3626
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3627
+ * @param RateLimitWindowStatus The instance to serialize from.
3628
+ * @param writer Serialization writer to use to serialize this model
3629
+ */
3630
+ // @ts-ignore
3631
+ export function serializeRateLimitWindowStatus(writer, rateLimitWindowStatus = {}, isSerializingDerivedType = false) {
3632
+ if (!rateLimitWindowStatus || isSerializingDerivedType) {
3633
+ return;
3634
+ }
3635
+ writer.writeNumberValue("limit", rateLimitWindowStatus.limit);
3636
+ writer.writeNumberValue("remaining", rateLimitWindowStatus.remaining);
3637
+ writer.writeNumberValue("resetsInSeconds", rateLimitWindowStatus.resetsInSeconds);
3638
+ writer.writeNumberValue("used", rateLimitWindowStatus.used);
3639
+ writer.writeAdditionalData(rateLimitWindowStatus.additionalData);
3640
+ }
3641
+ /**
3642
+ * Serializes information the current object
3643
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3644
+ * @param ReportVideoUserImageRequest The instance to serialize from.
3645
+ * @param writer Serialization writer to use to serialize this model
3646
+ */
3647
+ // @ts-ignore
3648
+ export function serializeReportVideoUserImageRequest(writer, reportVideoUserImageRequest = {}, isSerializingDerivedType = false) {
3649
+ if (!reportVideoUserImageRequest || isSerializingDerivedType) {
3650
+ return;
3651
+ }
3652
+ writer.writeStringValue("details", reportVideoUserImageRequest.details);
3653
+ writer.writeEnumValue("reason", reportVideoUserImageRequest.reason);
3654
+ writer.writeAdditionalData(reportVideoUserImageRequest.additionalData);
3655
+ }
3656
+ /**
3657
+ * Serializes information the current object
3658
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3659
+ * @param ReportVideoUserImageResponse The instance to serialize from.
3660
+ * @param writer Serialization writer to use to serialize this model
3661
+ */
3662
+ // @ts-ignore
3663
+ export function serializeReportVideoUserImageResponse(writer, reportVideoUserImageResponse = {}, isSerializingDerivedType = false) {
3664
+ if (!reportVideoUserImageResponse || isSerializingDerivedType) {
3665
+ return;
3666
+ }
3667
+ writer.writeGuidValue("moderationTargetId", reportVideoUserImageResponse.moderationTargetId);
3668
+ writer.writeStringValue("status", reportVideoUserImageResponse.status);
3669
+ writer.writeStringValue("visibility", reportVideoUserImageResponse.visibility);
3670
+ writer.writeNumberValue("weightedReportScore", reportVideoUserImageResponse.weightedReportScore);
3671
+ writer.writeAdditionalData(reportVideoUserImageResponse.additionalData);
3672
+ }
3673
+ /**
3674
+ * Serializes information the current object
3675
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3676
+ * @param SearchPreDbByVideoResponse The instance to serialize from.
3677
+ * @param writer Serialization writer to use to serialize this model
3678
+ */
3679
+ // @ts-ignore
3680
+ export function serializeSearchPreDbByVideoResponse(writer, searchPreDbByVideoResponse = {}, isSerializingDerivedType = false) {
3681
+ if (!searchPreDbByVideoResponse || isSerializingDerivedType) {
3682
+ return;
3683
+ }
3684
+ writer.writeCollectionOfObjectValues("items", searchPreDbByVideoResponse.items, serializePreDbVideoGroupDto);
3685
+ writer.writeNumberValue("totalGroups", searchPreDbByVideoResponse.totalGroups);
3686
+ writer.writeAdditionalData(searchPreDbByVideoResponse.additionalData);
3687
+ }
3688
+ /**
3689
+ * Serializes information the current object
3690
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3691
+ * @param SiteSummaryDto The instance to serialize from.
3692
+ * @param writer Serialization writer to use to serialize this model
3693
+ */
3694
+ // @ts-ignore
3695
+ export function serializeSiteSummaryDto(writer, siteSummaryDto = {}, isSerializingDerivedType = false) {
3696
+ if (!siteSummaryDto || isSerializingDerivedType) {
3697
+ return;
3698
+ }
3699
+ writer.writeGuidValue("id", siteSummaryDto.id);
3700
+ writer.writeGuidValue("networkId", siteSummaryDto.networkId);
3701
+ writer.writeStringValue("networkTitle", siteSummaryDto.networkTitle);
3702
+ writer.writeStringValue("title", siteSummaryDto.title);
3703
+ writer.writeStringValue("url", siteSummaryDto.url);
3704
+ writer.writeAdditionalData(siteSummaryDto.additionalData);
3705
+ }
3706
+ /**
3707
+ * Serializes information the current object
3708
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3709
+ * @param SubmitVideoUserImageResponse The instance to serialize from.
3710
+ * @param writer Serialization writer to use to serialize this model
3711
+ */
3712
+ // @ts-ignore
3713
+ export function serializeSubmitVideoUserImageResponse(writer, submitVideoUserImageResponse = {}, isSerializingDerivedType = false) {
3714
+ if (!submitVideoUserImageResponse || isSerializingDerivedType) {
3715
+ return;
3716
+ }
3717
+ writer.writeStringValue("moderationStatus", submitVideoUserImageResponse.moderationStatus);
3718
+ writer.writeGuidValue("moderationTargetId", submitVideoUserImageResponse.moderationTargetId);
3719
+ writer.writeStringValue("moderationVisibility", submitVideoUserImageResponse.moderationVisibility);
3720
+ writer.writeGuidValue("videoUserImageId", submitVideoUserImageResponse.videoUserImageId);
3721
+ writer.writeAdditionalData(submitVideoUserImageResponse.additionalData);
3722
+ }
3723
+ /**
3724
+ * Serializes information the current object
3725
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3726
+ * @param UnlinkedVideoFilehashesResponse The instance to serialize from.
3727
+ * @param writer Serialization writer to use to serialize this model
3728
+ */
3729
+ // @ts-ignore
3730
+ export function serializeUnlinkedVideoFilehashesResponse(writer, unlinkedVideoFilehashesResponse = {}, isSerializingDerivedType = false) {
3731
+ if (!unlinkedVideoFilehashesResponse || isSerializingDerivedType) {
3732
+ return;
3733
+ }
3734
+ writer.writeCollectionOfObjectValues("items", unlinkedVideoFilehashesResponse.items, serializeVideoFilehashDto);
3735
+ writer.writeNumberValue("page", unlinkedVideoFilehashesResponse.page);
3736
+ writer.writeNumberValue("pageSize", unlinkedVideoFilehashesResponse.pageSize);
3737
+ writer.writeStringValue("sortBy", unlinkedVideoFilehashesResponse.sortBy);
3738
+ writer.writeStringValue("sortDirection", unlinkedVideoFilehashesResponse.sortDirection);
3739
+ writer.writeNumberValue("totalCount", unlinkedVideoFilehashesResponse.totalCount);
3740
+ writer.writeAdditionalData(unlinkedVideoFilehashesResponse.additionalData);
3741
+ }
3742
+ /**
3743
+ * Serializes information the current object
3744
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3745
+ * @param UpdateDownloadedFromIndexerFilenameRequest The instance to serialize from.
3746
+ * @param writer Serialization writer to use to serialize this model
3747
+ */
3748
+ // @ts-ignore
3749
+ export function serializeUpdateDownloadedFromIndexerFilenameRequest(writer, updateDownloadedFromIndexerFilenameRequest = {}, isSerializingDerivedType = false) {
3750
+ if (!updateDownloadedFromIndexerFilenameRequest || isSerializingDerivedType) {
3751
+ return;
3752
+ }
3753
+ writer.writeStringValue("filename", updateDownloadedFromIndexerFilenameRequest.filename);
3754
+ writer.writeNumberValue("filesize", updateDownloadedFromIndexerFilenameRequest.filesize);
3755
+ writer.writeStringValue("osHash", updateDownloadedFromIndexerFilenameRequest.osHash);
3756
+ writer.writeStringValue("pHash", updateDownloadedFromIndexerFilenameRequest.pHash);
3757
+ writer.writeAdditionalData(updateDownloadedFromIndexerFilenameRequest.additionalData);
3758
+ }
3759
+ /**
3760
+ * Serializes information the current object
3761
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3762
+ * @param UpdateDownloadedFromIndexerRequest The instance to serialize from.
3763
+ * @param writer Serialization writer to use to serialize this model
3764
+ */
3765
+ // @ts-ignore
3766
+ export function serializeUpdateDownloadedFromIndexerRequest(writer, updateDownloadedFromIndexerRequest = {}, isSerializingDerivedType = false) {
3767
+ if (!updateDownloadedFromIndexerRequest || isSerializingDerivedType) {
3768
+ return;
3769
+ }
3770
+ writer.writeStringValue("downloadIdentifier", updateDownloadedFromIndexerRequest.downloadIdentifier);
3771
+ writer.writeStringValue("indexerId", updateDownloadedFromIndexerRequest.indexerId);
3772
+ writer.writeNumberValue("indexerSource", updateDownloadedFromIndexerRequest.indexerSource);
3773
+ writer.writeStringValue("nzbName", updateDownloadedFromIndexerRequest.nzbName);
3774
+ writer.writeStringValue("nzbUrl", updateDownloadedFromIndexerRequest.nzbUrl);
3775
+ writer.writeAdditionalData(updateDownloadedFromIndexerRequest.additionalData);
3776
+ }
3777
+ /**
3778
+ * Serializes information the current object
3779
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3780
+ * @param UpdateWantedVideoRequest The instance to serialize from.
3781
+ * @param writer Serialization writer to use to serialize this model
3782
+ */
3783
+ // @ts-ignore
3784
+ export function serializeUpdateWantedVideoRequest(writer, updateWantedVideoRequest = {}, isSerializingDerivedType = false) {
3785
+ if (!updateWantedVideoRequest || isSerializingDerivedType) {
3786
+ return;
3787
+ }
3788
+ writer.writeDateValue("fulfilledAtUtc", updateWantedVideoRequest.fulfilledAtUtc);
3789
+ writer.writeNumberValue("fulfilledInQuality", updateWantedVideoRequest.fulfilledInQuality);
3790
+ writer.writeNumberValue("fulfillmentByApp", updateWantedVideoRequest.fulfillmentByApp);
3791
+ writer.writeStringValue("fulfillmentExternalId", updateWantedVideoRequest.fulfillmentExternalId);
3792
+ writer.writeBooleanValue("isFulfilled", updateWantedVideoRequest.isFulfilled);
3793
+ writer.writeAdditionalData(updateWantedVideoRequest.additionalData);
3794
+ }
3795
+ /**
3796
+ * Serializes information the current object
3797
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3798
+ * @param UpdateWantedVideoResponse The instance to serialize from.
3799
+ * @param writer Serialization writer to use to serialize this model
3800
+ */
3801
+ // @ts-ignore
3802
+ export function serializeUpdateWantedVideoResponse(writer, updateWantedVideoResponse = {}, isSerializingDerivedType = false) {
3803
+ if (!updateWantedVideoResponse || isSerializingDerivedType) {
3804
+ return;
3805
+ }
3806
+ writer.writeDateValue("createdAtUtc", updateWantedVideoResponse.createdAtUtc);
3807
+ writer.writeDateValue("fulfilledAtUtc", updateWantedVideoResponse.fulfilledAtUtc);
3808
+ writer.writeNumberValue("fulfilledInQuality", updateWantedVideoResponse.fulfilledInQuality);
3809
+ writer.writeNumberValue("fulfillmentByApp", updateWantedVideoResponse.fulfillmentByApp);
3810
+ writer.writeStringValue("fulfillmentExternalId", updateWantedVideoResponse.fulfillmentExternalId);
3811
+ writer.writeBooleanValue("isFulfilled", updateWantedVideoResponse.isFulfilled);
3812
+ writer.writeDateValue("updatedAtUtc", updateWantedVideoResponse.updatedAtUtc);
3813
+ writer.writeGuidValue("videoId", updateWantedVideoResponse.videoId);
3814
+ writer.writeAdditionalData(updateWantedVideoResponse.additionalData);
3815
+ }
3816
+ /**
3817
+ * Serializes information the current object
3818
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3819
+ * @param UserIdentityResponse The instance to serialize from.
3820
+ * @param writer Serialization writer to use to serialize this model
3821
+ */
3822
+ // @ts-ignore
3823
+ export function serializeUserIdentityResponse(writer, userIdentityResponse = {}, isSerializingDerivedType = false) {
3824
+ if (!userIdentityResponse || isSerializingDerivedType) {
3825
+ return;
3826
+ }
3827
+ writer.writeCollectionOfObjectValues("activeSubscriptions", userIdentityResponse.activeSubscriptions, serializeActiveSubscriptionDto);
3828
+ writer.writeStringValue("userHash", userIdentityResponse.userHash);
3829
+ writer.writeAdditionalData(userIdentityResponse.additionalData);
3830
+ }
3831
+ /**
3832
+ * Serializes information the current object
3833
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3834
+ * @param VideoDetailActorDto The instance to serialize from.
3835
+ * @param writer Serialization writer to use to serialize this model
3836
+ */
3837
+ // @ts-ignore
3838
+ export function serializeVideoDetailActorDto(writer, videoDetailActorDto = {}, isSerializingDerivedType = false) {
3839
+ if (!videoDetailActorDto || isSerializingDerivedType) {
3840
+ return;
3841
+ }
3842
+ writer.writeDateOnlyValue("birthday", videoDetailActorDto.birthday);
3843
+ writer.writeNumberValue("gender", videoDetailActorDto.gender);
3844
+ writer.writeGuidValue("id", videoDetailActorDto.id);
3845
+ writer.writeCollectionOfObjectValues("images", videoDetailActorDto.images, serializeVideoDetailActorImageDto);
3846
+ writer.writeStringValue("name", videoDetailActorDto.name);
3847
+ writer.writeNumberValue("nationality", videoDetailActorDto.nationality);
3848
+ writer.writeAdditionalData(videoDetailActorDto.additionalData);
3849
+ }
3850
+ /**
3851
+ * Serializes information the current object
3852
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3853
+ * @param VideoDetailActorImageDto The instance to serialize from.
3854
+ * @param writer Serialization writer to use to serialize this model
3855
+ */
3856
+ // @ts-ignore
3857
+ export function serializeVideoDetailActorImageDto(writer, videoDetailActorImageDto = {}, isSerializingDerivedType = false) {
3858
+ if (!videoDetailActorImageDto || isSerializingDerivedType) {
3859
+ return;
3860
+ }
3861
+ writer.writeStringValue("cdnPath", videoDetailActorImageDto.cdnPath);
3862
+ writer.writeGuidValue("id", videoDetailActorImageDto.id);
3863
+ writer.writeNumberValue("imageType", videoDetailActorImageDto.imageType);
3864
+ writer.writeAdditionalData(videoDetailActorImageDto.additionalData);
3865
+ }
3866
+ /**
3867
+ * Serializes information the current object
3868
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3869
+ * @param VideoDetailDto The instance to serialize from.
3870
+ * @param writer Serialization writer to use to serialize this model
3871
+ */
3872
+ // @ts-ignore
3873
+ export function serializeVideoDetailDto(writer, videoDetailDto = {}, isSerializingDerivedType = false) {
3874
+ if (!videoDetailDto || isSerializingDerivedType) {
3875
+ return;
3876
+ }
3877
+ writer.writeCollectionOfObjectValues("actors", videoDetailDto.actors, serializeVideoDetailActorDto);
3878
+ writer.writeDateValue("createdAtUtc", videoDetailDto.createdAtUtc);
3879
+ writer.writeGuidValue("id", videoDetailDto.id);
3880
+ writer.writeCollectionOfObjectValues("images", videoDetailDto.images, serializeVideoDetailImageDto);
3881
+ writer.writeCollectionOfObjectValues("preNames", videoDetailDto.preNames, serializeVideoDetailPreNameDto);
3882
+ writer.writeDateOnlyValue("releaseDate", videoDetailDto.releaseDate);
3883
+ writer.writeObjectValue("site", videoDetailDto.site, serializeVideoDetailSiteDto);
3884
+ writer.writeStringValue("title", videoDetailDto.title);
3885
+ writer.writeDateValue("updatedAtUtc", videoDetailDto.updatedAtUtc);
3886
+ writer.writeAdditionalData(videoDetailDto.additionalData);
3887
+ }
3888
+ /**
3889
+ * Serializes information the current object
3890
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3891
+ * @param VideoDetailImageDto The instance to serialize from.
3892
+ * @param writer Serialization writer to use to serialize this model
3893
+ */
3894
+ // @ts-ignore
3895
+ export function serializeVideoDetailImageDto(writer, videoDetailImageDto = {}, isSerializingDerivedType = false) {
3896
+ if (!videoDetailImageDto || isSerializingDerivedType) {
3897
+ return;
3898
+ }
3899
+ writer.writeStringValue("cdnPath", videoDetailImageDto.cdnPath);
3900
+ writer.writeGuidValue("id", videoDetailImageDto.id);
3901
+ writer.writeAdditionalData(videoDetailImageDto.additionalData);
3902
+ }
3903
+ /**
3904
+ * Serializes information the current object
3905
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3906
+ * @param VideoDetailNetworkDto The instance to serialize from.
3907
+ * @param writer Serialization writer to use to serialize this model
3908
+ */
3909
+ // @ts-ignore
3910
+ export function serializeVideoDetailNetworkDto(writer, videoDetailNetworkDto = {}, isSerializingDerivedType = false) {
3911
+ if (!videoDetailNetworkDto || isSerializingDerivedType) {
3912
+ return;
3913
+ }
3914
+ writer.writeGuidValue("id", videoDetailNetworkDto.id);
3915
+ writer.writeStringValue("title", videoDetailNetworkDto.title);
3916
+ writer.writeStringValue("url", videoDetailNetworkDto.url);
3917
+ writer.writeAdditionalData(videoDetailNetworkDto.additionalData);
3918
+ }
3919
+ /**
3920
+ * Serializes information the current object
3921
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3922
+ * @param VideoDetailPreNameDto The instance to serialize from.
3923
+ * @param writer Serialization writer to use to serialize this model
3924
+ */
3925
+ // @ts-ignore
3926
+ export function serializeVideoDetailPreNameDto(writer, videoDetailPreNameDto = {}, isSerializingDerivedType = false) {
3927
+ if (!videoDetailPreNameDto || isSerializingDerivedType) {
3928
+ return;
3929
+ }
3930
+ writer.writeGuidValue("id", videoDetailPreNameDto.id);
3931
+ writer.writeStringValue("title", videoDetailPreNameDto.title);
3932
+ writer.writeAdditionalData(videoDetailPreNameDto.additionalData);
3933
+ }
3934
+ /**
3935
+ * Serializes information the current object
3936
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3937
+ * @param VideoDetailSiteDto The instance to serialize from.
3938
+ * @param writer Serialization writer to use to serialize this model
3939
+ */
3940
+ // @ts-ignore
3941
+ export function serializeVideoDetailSiteDto(writer, videoDetailSiteDto = {}, isSerializingDerivedType = false) {
3942
+ if (!videoDetailSiteDto || isSerializingDerivedType) {
3943
+ return;
3944
+ }
3945
+ writer.writeGuidValue("id", videoDetailSiteDto.id);
3946
+ writer.writeObjectValue("network", videoDetailSiteDto.network, serializeVideoDetailNetworkDto);
3947
+ writer.writeStringValue("title", videoDetailSiteDto.title);
3948
+ writer.writeStringValue("url", videoDetailSiteDto.url);
3949
+ writer.writeAdditionalData(videoDetailSiteDto.additionalData);
3950
+ }
3951
+ /**
3952
+ * Serializes information the current object
3953
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3954
+ * @param VideoFilehashChangeDto The instance to serialize from.
3955
+ * @param writer Serialization writer to use to serialize this model
3956
+ */
3957
+ // @ts-ignore
3958
+ export function serializeVideoFilehashChangeDto(writer, videoFilehashChangeDto = {}, isSerializingDerivedType = false) {
3959
+ if (!videoFilehashChangeDto || isSerializingDerivedType) {
3960
+ return;
3961
+ }
3962
+ writer.writeStringValue("eventType", videoFilehashChangeDto.eventType);
3963
+ writer.writeObjectValue("filehash", videoFilehashChangeDto.filehash, serializeVideoFilehashChangeFilehashDto);
3964
+ writer.writeAdditionalData(videoFilehashChangeDto.additionalData);
3965
+ }
3966
+ /**
3967
+ * Serializes information the current object
3968
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3969
+ * @param VideoFilehashChangeFilehashDto The instance to serialize from.
3970
+ * @param writer Serialization writer to use to serialize this model
3971
+ */
3972
+ // @ts-ignore
3973
+ export function serializeVideoFilehashChangeFilehashDto(writer, videoFilehashChangeFilehashDto = {}, isSerializingDerivedType = false) {
3974
+ if (!videoFilehashChangeFilehashDto || isSerializingDerivedType) {
3975
+ return;
3976
+ }
3977
+ writer.writeDateValue("createdAtUtc", videoFilehashChangeFilehashDto.createdAtUtc);
3978
+ writer.writeDateValue("deletedAtUtc", videoFilehashChangeFilehashDto.deletedAtUtc);
3979
+ writer.writeStringValue("filename", videoFilehashChangeFilehashDto.filename);
3980
+ writer.writeNumberValue("filesize", videoFilehashChangeFilehashDto.filesize);
3981
+ writer.writeGuidValue("id", videoFilehashChangeFilehashDto.id);
3982
+ writer.writeBooleanValue("isDeleted", videoFilehashChangeFilehashDto.isDeleted);
3983
+ writer.writeBooleanValue("isVerified", videoFilehashChangeFilehashDto.isVerified);
3984
+ writer.writeStringValue("osHash", videoFilehashChangeFilehashDto.osHash);
3985
+ writer.writeStringValue("pHash", videoFilehashChangeFilehashDto.pHash);
3986
+ writer.writeNumberValue("submissionCount", videoFilehashChangeFilehashDto.submissionCount);
3987
+ writer.writeDateValue("updatedAtUtc", videoFilehashChangeFilehashDto.updatedAtUtc);
3988
+ writer.writeGuidValue("videoId", videoFilehashChangeFilehashDto.videoId);
3989
+ writer.writeAdditionalData(videoFilehashChangeFilehashDto.additionalData);
3990
+ }
3991
+ /**
3992
+ * Serializes information the current object
3993
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
3994
+ * @param VideoFilehashChangesCursorDto The instance to serialize from.
3995
+ * @param writer Serialization writer to use to serialize this model
3996
+ */
3997
+ // @ts-ignore
3998
+ export function serializeVideoFilehashChangesCursorDto(writer, videoFilehashChangesCursorDto = {}, isSerializingDerivedType = false) {
3999
+ if (!videoFilehashChangesCursorDto || isSerializingDerivedType) {
4000
+ return;
4001
+ }
4002
+ writer.writeGuidValue("id", videoFilehashChangesCursorDto.id);
4003
+ writer.writeDateValue("updatedAtUtc", videoFilehashChangesCursorDto.updatedAtUtc);
4004
+ writer.writeAdditionalData(videoFilehashChangesCursorDto.additionalData);
4005
+ }
4006
+ /**
4007
+ * Serializes information the current object
4008
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4009
+ * @param VideoFilehashDto The instance to serialize from.
4010
+ * @param writer Serialization writer to use to serialize this model
4011
+ */
4012
+ // @ts-ignore
4013
+ export function serializeVideoFilehashDto(writer, videoFilehashDto = {}, isSerializingDerivedType = false) {
4014
+ if (!videoFilehashDto || isSerializingDerivedType) {
4015
+ return;
4016
+ }
4017
+ writer.writeDateValue("createdAtUtc", videoFilehashDto.createdAtUtc);
4018
+ writer.writeStringValue("filename", videoFilehashDto.filename);
4019
+ writer.writeNumberValue("filesize", videoFilehashDto.filesize);
4020
+ writer.writeGuidValue("id", videoFilehashDto.id);
4021
+ writer.writeBooleanValue("isVerified", videoFilehashDto.isVerified);
4022
+ writer.writeStringValue("osHash", videoFilehashDto.osHash);
4023
+ writer.writeStringValue("pHash", videoFilehashDto.pHash);
4024
+ writer.writeNumberValue("submissionCount", videoFilehashDto.submissionCount);
4025
+ writer.writeDateValue("updatedAtUtc", videoFilehashDto.updatedAtUtc);
4026
+ writer.writeGuidValue("videoId", videoFilehashDto.videoId);
4027
+ writer.writeAdditionalData(videoFilehashDto.additionalData);
4028
+ }
4029
+ /**
4030
+ * Serializes information the current object
4031
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4032
+ * @param VideoFilehashesByVideoIdDto The instance to serialize from.
4033
+ * @param writer Serialization writer to use to serialize this model
4034
+ */
4035
+ // @ts-ignore
4036
+ export function serializeVideoFilehashesByVideoIdDto(writer, videoFilehashesByVideoIdDto = {}, isSerializingDerivedType = false) {
4037
+ if (!videoFilehashesByVideoIdDto || isSerializingDerivedType) {
4038
+ return;
4039
+ }
4040
+ writer.writeCollectionOfObjectValues("filehashes", videoFilehashesByVideoIdDto.filehashes, serializeVideoFilehashDto);
4041
+ writer.writeGuidValue("videoId", videoFilehashesByVideoIdDto.videoId);
4042
+ writer.writeAdditionalData(videoFilehashesByVideoIdDto.additionalData);
4043
+ }
4044
+ /**
4045
+ * Serializes information the current object
4046
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4047
+ * @param VideoSummaryActorDto The instance to serialize from.
4048
+ * @param writer Serialization writer to use to serialize this model
4049
+ */
4050
+ // @ts-ignore
4051
+ export function serializeVideoSummaryActorDto(writer, videoSummaryActorDto = {}, isSerializingDerivedType = false) {
4052
+ if (!videoSummaryActorDto || isSerializingDerivedType) {
4053
+ return;
4054
+ }
4055
+ writer.writeGuidValue("id", videoSummaryActorDto.id);
4056
+ writer.writeStringValue("name", videoSummaryActorDto.name);
4057
+ writer.writeAdditionalData(videoSummaryActorDto.additionalData);
4058
+ }
4059
+ /**
4060
+ * Serializes information the current object
4061
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4062
+ * @param VideoSummaryDto The instance to serialize from.
4063
+ * @param writer Serialization writer to use to serialize this model
4064
+ */
4065
+ // @ts-ignore
4066
+ export function serializeVideoSummaryDto(writer, videoSummaryDto = {}, isSerializingDerivedType = false) {
4067
+ if (!videoSummaryDto || isSerializingDerivedType) {
4068
+ return;
4069
+ }
4070
+ writer.writeCollectionOfObjectValues("actors", videoSummaryDto.actors, serializeVideoSummaryActorDto);
4071
+ writer.writeDateValue("createdAtUtc", videoSummaryDto.createdAtUtc);
4072
+ writer.writeGuidValue("id", videoSummaryDto.id);
4073
+ writer.writeDateOnlyValue("releaseDate", videoSummaryDto.releaseDate);
4074
+ writer.writeGuidValue("siteId", videoSummaryDto.siteId);
4075
+ writer.writeStringValue("siteTitle", videoSummaryDto.siteTitle);
4076
+ writer.writeStringValue("title", videoSummaryDto.title);
4077
+ writer.writeAdditionalData(videoSummaryDto.additionalData);
4078
+ }
4079
+ /**
4080
+ * Serializes information the current object
4081
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4082
+ * @param VideoUserImageChangeItemDto The instance to serialize from.
4083
+ * @param writer Serialization writer to use to serialize this model
4084
+ */
4085
+ // @ts-ignore
4086
+ export function serializeVideoUserImageChangeItemDto(writer, videoUserImageChangeItemDto = {}, isSerializingDerivedType = false) {
4087
+ if (!videoUserImageChangeItemDto || isSerializingDerivedType) {
4088
+ return;
4089
+ }
4090
+ writer.writeStringValue("eventType", videoUserImageChangeItemDto.eventType);
4091
+ writer.writeObjectValue("videoUserImage", videoUserImageChangeItemDto.videoUserImage, serializeVideoUserImageDto);
4092
+ writer.writeAdditionalData(videoUserImageChangeItemDto.additionalData);
4093
+ }
4094
+ /**
4095
+ * Serializes information the current object
4096
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4097
+ * @param VideoUserImageChangesCursorDto The instance to serialize from.
4098
+ * @param writer Serialization writer to use to serialize this model
4099
+ */
4100
+ // @ts-ignore
4101
+ export function serializeVideoUserImageChangesCursorDto(writer, videoUserImageChangesCursorDto = {}, isSerializingDerivedType = false) {
4102
+ if (!videoUserImageChangesCursorDto || isSerializingDerivedType) {
4103
+ return;
4104
+ }
4105
+ writer.writeGuidValue("id", videoUserImageChangesCursorDto.id);
4106
+ writer.writeDateValue("updatedAtUtc", videoUserImageChangesCursorDto.updatedAtUtc);
4107
+ writer.writeAdditionalData(videoUserImageChangesCursorDto.additionalData);
4108
+ }
4109
+ /**
4110
+ * Serializes information the current object
4111
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4112
+ * @param VideoUserImageDto The instance to serialize from.
4113
+ * @param writer Serialization writer to use to serialize this model
4114
+ */
4115
+ // @ts-ignore
4116
+ export function serializeVideoUserImageDto(writer, videoUserImageDto = {}, isSerializingDerivedType = false) {
4117
+ if (!videoUserImageDto || isSerializingDerivedType) {
4118
+ return;
4119
+ }
4120
+ writer.writeStringValue("basedOnFileWithOsHash", videoUserImageDto.basedOnFileWithOsHash);
4121
+ writer.writeDateValue("createdAtUtc", videoUserImageDto.createdAtUtc);
4122
+ writer.writeDateValue("deletedAtUtc", videoUserImageDto.deletedAtUtc);
4123
+ writer.writeNumberValue("displayOrder", videoUserImageDto.displayOrder);
4124
+ writer.writeNumberValue("filesize", videoUserImageDto.filesize);
4125
+ writer.writeBooleanValue("hasVtt", videoUserImageDto.hasVtt);
4126
+ writer.writeNumberValue("height", videoUserImageDto.height);
4127
+ writer.writeGuidValue("id", videoUserImageDto.id);
4128
+ writer.writeBooleanValue("isDeleted", videoUserImageDto.isDeleted);
4129
+ writer.writeStringValue("moderationStatus", videoUserImageDto.moderationStatus);
4130
+ writer.writeStringValue("moderationVisibility", videoUserImageDto.moderationVisibility);
4131
+ writer.writeStringValue("previewImageType", videoUserImageDto.previewImageType);
4132
+ writer.writeNumberValue("spriteColumns", videoUserImageDto.spriteColumns);
4133
+ writer.writeNumberValue("spriteRows", videoUserImageDto.spriteRows);
4134
+ writer.writeNumberValue("spriteTileCount", videoUserImageDto.spriteTileCount);
4135
+ writer.writeNumberValue("spriteTileHeight", videoUserImageDto.spriteTileHeight);
4136
+ writer.writeNumberValue("spriteTileWidth", videoUserImageDto.spriteTileWidth);
4137
+ writer.writeDateValue("updatedAtUtc", videoUserImageDto.updatedAtUtc);
4138
+ writer.writeStringValue("url", videoUserImageDto.url);
4139
+ writer.writeGuidValue("userId", videoUserImageDto.userId);
4140
+ writer.writeGuidValue("videoId", videoUserImageDto.videoId);
4141
+ writer.writeStringValue("vttUrl", videoUserImageDto.vttUrl);
4142
+ writer.writeNumberValue("width", videoUserImageDto.width);
4143
+ writer.writeAdditionalData(videoUserImageDto.additionalData);
4144
+ }
4145
+ /**
4146
+ * Serializes information the current object
4147
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4148
+ * @param WantedVideoChangeDto The instance to serialize from.
4149
+ * @param writer Serialization writer to use to serialize this model
4150
+ */
4151
+ // @ts-ignore
4152
+ export function serializeWantedVideoChangeDto(writer, wantedVideoChangeDto = {}, isSerializingDerivedType = false) {
4153
+ if (!wantedVideoChangeDto || isSerializingDerivedType) {
4154
+ return;
4155
+ }
4156
+ writer.writeStringValue("eventType", wantedVideoChangeDto.eventType);
4157
+ writer.writeObjectValue("wantedVideo", wantedVideoChangeDto.wantedVideo, serializeWantedVideoChangeWantedVideoDto);
4158
+ writer.writeAdditionalData(wantedVideoChangeDto.additionalData);
4159
+ }
4160
+ /**
4161
+ * Serializes information the current object
4162
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4163
+ * @param WantedVideoChangesCursorDto The instance to serialize from.
4164
+ * @param writer Serialization writer to use to serialize this model
4165
+ */
4166
+ // @ts-ignore
4167
+ export function serializeWantedVideoChangesCursorDto(writer, wantedVideoChangesCursorDto = {}, isSerializingDerivedType = false) {
4168
+ if (!wantedVideoChangesCursorDto || isSerializingDerivedType) {
4169
+ return;
4170
+ }
4171
+ writer.writeGuidValue("id", wantedVideoChangesCursorDto.id);
4172
+ writer.writeDateValue("updatedAtUtc", wantedVideoChangesCursorDto.updatedAtUtc);
4173
+ writer.writeAdditionalData(wantedVideoChangesCursorDto.additionalData);
4174
+ }
4175
+ /**
4176
+ * Serializes information the current object
4177
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4178
+ * @param WantedVideoChangeWantedVideoDto The instance to serialize from.
4179
+ * @param writer Serialization writer to use to serialize this model
4180
+ */
4181
+ // @ts-ignore
4182
+ export function serializeWantedVideoChangeWantedVideoDto(writer, wantedVideoChangeWantedVideoDto = {}, isSerializingDerivedType = false) {
4183
+ if (!wantedVideoChangeWantedVideoDto || isSerializingDerivedType) {
4184
+ return;
4185
+ }
4186
+ writer.writeDateValue("createdAtUtc", wantedVideoChangeWantedVideoDto.createdAtUtc);
4187
+ writer.writeDateValue("deletedAtUtc", wantedVideoChangeWantedVideoDto.deletedAtUtc);
4188
+ writer.writeDateValue("fulfilledAtUtc", wantedVideoChangeWantedVideoDto.fulfilledAtUtc);
4189
+ writer.writeNumberValue("fulfilledInQuality", wantedVideoChangeWantedVideoDto.fulfilledInQuality);
4190
+ writer.writeNumberValue("fulfillmentByApp", wantedVideoChangeWantedVideoDto.fulfillmentByApp);
4191
+ writer.writeStringValue("fulfillmentExternalId", wantedVideoChangeWantedVideoDto.fulfillmentExternalId);
4192
+ writer.writeStringValue("imageCdnPath", wantedVideoChangeWantedVideoDto.imageCdnPath);
4193
+ writer.writeBooleanValue("isDeleted", wantedVideoChangeWantedVideoDto.isDeleted);
4194
+ writer.writeBooleanValue("isFulfilled", wantedVideoChangeWantedVideoDto.isFulfilled);
4195
+ writer.writeStringValue("siteTitle", wantedVideoChangeWantedVideoDto.siteTitle);
4196
+ writer.writeDateValue("updatedAtUtc", wantedVideoChangeWantedVideoDto.updatedAtUtc);
4197
+ writer.writeDateValue("videoCreatedAtUtc", wantedVideoChangeWantedVideoDto.videoCreatedAtUtc);
4198
+ writer.writeGuidValue("videoId", wantedVideoChangeWantedVideoDto.videoId);
4199
+ writer.writeDateOnlyValue("videoReleaseDate", wantedVideoChangeWantedVideoDto.videoReleaseDate);
4200
+ writer.writeStringValue("videoTitle", wantedVideoChangeWantedVideoDto.videoTitle);
4201
+ writer.writeAdditionalData(wantedVideoChangeWantedVideoDto.additionalData);
4202
+ }
4203
+ /**
4204
+ * Serializes information the current object
4205
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
4206
+ * @param WantedVideoSummaryDto The instance to serialize from.
4207
+ * @param writer Serialization writer to use to serialize this model
4208
+ */
4209
+ // @ts-ignore
4210
+ export function serializeWantedVideoSummaryDto(writer, wantedVideoSummaryDto = {}, isSerializingDerivedType = false) {
4211
+ if (!wantedVideoSummaryDto || isSerializingDerivedType) {
4212
+ return;
4213
+ }
4214
+ writer.writeDateValue("createdAtUtc", wantedVideoSummaryDto.createdAtUtc);
4215
+ writer.writeDateValue("fulfilledAtUtc", wantedVideoSummaryDto.fulfilledAtUtc);
4216
+ writer.writeNumberValue("fulfilledInQuality", wantedVideoSummaryDto.fulfilledInQuality);
4217
+ writer.writeNumberValue("fulfillmentByApp", wantedVideoSummaryDto.fulfillmentByApp);
4218
+ writer.writeStringValue("fulfillmentExternalId", wantedVideoSummaryDto.fulfillmentExternalId);
4219
+ writer.writeStringValue("imageCdnPath", wantedVideoSummaryDto.imageCdnPath);
4220
+ writer.writeBooleanValue("isFulfilled", wantedVideoSummaryDto.isFulfilled);
4221
+ writer.writeStringValue("siteTitle", wantedVideoSummaryDto.siteTitle);
4222
+ writer.writeDateValue("updatedAtUtc", wantedVideoSummaryDto.updatedAtUtc);
4223
+ writer.writeDateValue("videoCreatedAtUtc", wantedVideoSummaryDto.videoCreatedAtUtc);
4224
+ writer.writeGuidValue("videoId", wantedVideoSummaryDto.videoId);
4225
+ writer.writeDateOnlyValue("videoReleaseDate", wantedVideoSummaryDto.videoReleaseDate);
4226
+ writer.writeStringValue("videoTitle", wantedVideoSummaryDto.videoTitle);
4227
+ writer.writeAdditionalData(wantedVideoSummaryDto.additionalData);
4228
+ }
4229
+ /**
4230
+ * Allowed values: DrunkenSlug, NzbFinder, NzbPorn.
4231
+ */
4232
+ export const IndexerFilehashLookupKeyDto_indexerSourceObject = {
4233
+ DrunkenSlug: "DrunkenSlug",
4234
+ NzbFinder: "NzbFinder",
4235
+ NzbPorn: "NzbPorn",
4236
+ };
4237
+ /**
4238
+ * Allowed values: NotRelatedToVideo, SpamOrPromotional, OffensiveOrProhibited, DuplicateOrLowQuality, MisleadingOrWrongPreview, CopyrightConcern, Other.
4239
+ */
4240
+ export const ReportVideoUserImageRequest_reasonObject = {
4241
+ NotRelatedToVideo: "NotRelatedToVideo",
4242
+ SpamOrPromotional: "SpamOrPromotional",
4243
+ OffensiveOrProhibited: "OffensiveOrProhibited",
4244
+ DuplicateOrLowQuality: "DuplicateOrLowQuality",
4245
+ MisleadingOrWrongPreview: "MisleadingOrWrongPreview",
4246
+ CopyrightConcern: "CopyrightConcern",
4247
+ Other: "Other",
4248
+ };
4249
+ /* tslint:enable */
4250
+ /* eslint-enable */
4251
+ //# sourceMappingURL=index.js.map