alis-sdk-ruby 0.1.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,718 @@
1
+ module AlisSdkRuby
2
+ # @api private
3
+ module ClientApi
4
+
5
+ include Seahorse::Model
6
+
7
+ ArrayOfArticleInfo = Shapes::ListShape.new(name: 'ArrayOfArticleInfo')
8
+ ArrayOfNotification = Shapes::ListShape.new(name: 'ArrayOfNotification')
9
+ ArticleContent = Shapes::StructureShape.new(name: 'ArticleContent')
10
+ ArticleImage = Shapes::StructureShape.new(name: 'ArticleImage')
11
+ ArticleInfo = Shapes::StructureShape.new(name: 'ArticleInfo')
12
+ GetArticlesArticle_idAlistokenRequest = Shapes::StructureShape.new(name: 'GetArticlesArticle_idAlistokenRequest')
13
+ GetArticlesArticle_idAlistokenResponse = Shapes::StructureShape.new(name: 'GetArticlesArticle_idAlistokenResponse')
14
+ GetArticlesArticle_idLikesRequest = Shapes::StructureShape.new(name: 'GetArticlesArticle_idLikesRequest')
15
+ GetArticlesArticle_idLikesResponse = Shapes::StructureShape.new(name: 'GetArticlesArticle_idLikesResponse')
16
+ GetArticlesArticle_idRequest = Shapes::StructureShape.new(name: 'GetArticlesArticle_idRequest')
17
+ GetArticlesArticle_idResponse = Shapes::StructureShape.new(name: 'GetArticlesArticle_idResponse')
18
+ GetArticlesPopularRequest = Shapes::StructureShape.new(name: 'GetArticlesPopularRequest')
19
+ GetArticlesPopularResponse = Shapes::StructureShape.new(name: 'GetArticlesPopularResponse')
20
+ GetArticlesRecentRequest = Shapes::StructureShape.new(name: 'GetArticlesRecentRequest')
21
+ GetArticlesRecentResponse = Shapes::StructureShape.new(name: 'GetArticlesRecentResponse')
22
+ GetMeArticlesArticle_idDraftsRequest = Shapes::StructureShape.new(name: 'GetMeArticlesArticle_idDraftsRequest')
23
+ GetMeArticlesArticle_idDraftsResponse = Shapes::StructureShape.new(name: 'GetMeArticlesArticle_idDraftsResponse')
24
+ GetMeArticlesArticle_idLikeRequest = Shapes::StructureShape.new(name: 'GetMeArticlesArticle_idLikeRequest')
25
+ GetMeArticlesArticle_idLikeResponse = Shapes::StructureShape.new(name: 'GetMeArticlesArticle_idLikeResponse')
26
+ GetMeArticlesArticle_idPublicEditRequest = Shapes::StructureShape.new(name: 'GetMeArticlesArticle_idPublicEditRequest')
27
+ GetMeArticlesArticle_idPublicEditResponse = Shapes::StructureShape.new(name: 'GetMeArticlesArticle_idPublicEditResponse')
28
+ GetMeArticlesArticle_idPublicRequest = Shapes::StructureShape.new(name: 'GetMeArticlesArticle_idPublicRequest')
29
+ GetMeArticlesArticle_idPublicResponse = Shapes::StructureShape.new(name: 'GetMeArticlesArticle_idPublicResponse')
30
+ GetMeArticlesDraftsRequest = Shapes::StructureShape.new(name: 'GetMeArticlesDraftsRequest')
31
+ GetMeArticlesDraftsResponse = Shapes::StructureShape.new(name: 'GetMeArticlesDraftsResponse')
32
+ GetMeArticlesPublicRequest = Shapes::StructureShape.new(name: 'GetMeArticlesPublicRequest')
33
+ GetMeArticlesPublicResponse = Shapes::StructureShape.new(name: 'GetMeArticlesPublicResponse')
34
+ GetMeInfoRequest = Shapes::StructureShape.new(name: 'GetMeInfoRequest')
35
+ GetMeInfoResponse = Shapes::StructureShape.new(name: 'GetMeInfoResponse')
36
+ GetMeNotificationsRequest = Shapes::StructureShape.new(name: 'GetMeNotificationsRequest')
37
+ GetMeNotificationsResponse = Shapes::StructureShape.new(name: 'GetMeNotificationsResponse')
38
+ GetMeUnread_notification_managersRequest = Shapes::StructureShape.new(name: 'GetMeUnread_notification_managersRequest')
39
+ GetMeUnread_notification_managersResponse = Shapes::StructureShape.new(name: 'GetMeUnread_notification_managersResponse')
40
+ GetMeWalletBalanceRequest = Shapes::StructureShape.new(name: 'GetMeWalletBalanceRequest')
41
+ GetMeWalletBalanceResponse = Shapes::StructureShape.new(name: 'GetMeWalletBalanceResponse')
42
+ GetUsersUser_idArticlesPublicRequest = Shapes::StructureShape.new(name: 'GetUsersUser_idArticlesPublicRequest')
43
+ GetUsersUser_idArticlesPublicResponse = Shapes::StructureShape.new(name: 'GetUsersUser_idArticlesPublicResponse')
44
+ GetUsersUser_idInfoRequest = Shapes::StructureShape.new(name: 'GetUsersUser_idInfoRequest')
45
+ GetUsersUser_idInfoResponse = Shapes::StructureShape.new(name: 'GetUsersUser_idInfoResponse')
46
+ MODEL69304a = Shapes::StructureShape.new(name: 'MODEL69304a')
47
+ MODEL84cbde = Shapes::StructureShape.new(name: 'MODEL84cbde')
48
+ MODELa08eaf = Shapes::StructureShape.new(name: 'MODELa08eaf')
49
+ MODELc40ebe = Shapes::StructureShape.new(name: 'MODELc40ebe')
50
+ MODELcde73d = Shapes::StructureShape.new(name: 'MODELcde73d')
51
+ MODELd06bfe = Shapes::StructureShape.new(name: 'MODELd06bfe')
52
+ MODELd25993 = Shapes::StructureShape.new(name: 'MODELd25993')
53
+ MeArticlesDraftsCreate = Shapes::StructureShape.new(name: 'MeArticlesDraftsCreate')
54
+ MeInfoIcon = Shapes::StructureShape.new(name: 'MeInfoIcon')
55
+ MeInfoUpdate = Shapes::StructureShape.new(name: 'MeInfoUpdate')
56
+ MeWalletBalance = Shapes::StructureShape.new(name: 'MeWalletBalance')
57
+ Notification = Shapes::StructureShape.new(name: 'Notification')
58
+ PostMeArticlesArticle_idFraudRequest = Shapes::StructureShape.new(name: 'PostMeArticlesArticle_idFraudRequest')
59
+ PostMeArticlesArticle_idFraudResponse = Shapes::StructureShape.new(name: 'PostMeArticlesArticle_idFraudResponse')
60
+ PostMeArticlesArticle_idImagesRequest = Shapes::StructureShape.new(name: 'PostMeArticlesArticle_idImagesRequest')
61
+ PostMeArticlesArticle_idImagesResponse = Shapes::StructureShape.new(name: 'PostMeArticlesArticle_idImagesResponse')
62
+ PostMeArticlesArticle_idLikeRequest = Shapes::StructureShape.new(name: 'PostMeArticlesArticle_idLikeRequest')
63
+ PostMeArticlesArticle_idLikeResponse = Shapes::StructureShape.new(name: 'PostMeArticlesArticle_idLikeResponse')
64
+ PostMeArticlesArticle_idPvRequest = Shapes::StructureShape.new(name: 'PostMeArticlesArticle_idPvRequest')
65
+ PostMeArticlesArticle_idPvResponse = Shapes::StructureShape.new(name: 'PostMeArticlesArticle_idPvResponse')
66
+ PostMeArticlesDraftsRequest = Shapes::StructureShape.new(name: 'PostMeArticlesDraftsRequest')
67
+ PostMeArticlesDraftsResponse = Shapes::StructureShape.new(name: 'PostMeArticlesDraftsResponse')
68
+ PostMeInfoIconRequest = Shapes::StructureShape.new(name: 'PostMeInfoIconRequest')
69
+ PostMeInfoIconResponse = Shapes::StructureShape.new(name: 'PostMeInfoIconResponse')
70
+ PutMeArticlesArticle_idDraftsPublishRequest = Shapes::StructureShape.new(name: 'PutMeArticlesArticle_idDraftsPublishRequest')
71
+ PutMeArticlesArticle_idDraftsPublishResponse = Shapes::StructureShape.new(name: 'PutMeArticlesArticle_idDraftsPublishResponse')
72
+ PutMeArticlesArticle_idDraftsRequest = Shapes::StructureShape.new(name: 'PutMeArticlesArticle_idDraftsRequest')
73
+ PutMeArticlesArticle_idDraftsResponse = Shapes::StructureShape.new(name: 'PutMeArticlesArticle_idDraftsResponse')
74
+ PutMeArticlesArticle_idPublicRepublishRequest = Shapes::StructureShape.new(name: 'PutMeArticlesArticle_idPublicRepublishRequest')
75
+ PutMeArticlesArticle_idPublicRepublishResponse = Shapes::StructureShape.new(name: 'PutMeArticlesArticle_idPublicRepublishResponse')
76
+ PutMeArticlesArticle_idPublicRequest = Shapes::StructureShape.new(name: 'PutMeArticlesArticle_idPublicRequest')
77
+ PutMeArticlesArticle_idPublicResponse = Shapes::StructureShape.new(name: 'PutMeArticlesArticle_idPublicResponse')
78
+ PutMeArticlesArticle_idPublicUnpublishRequest = Shapes::StructureShape.new(name: 'PutMeArticlesArticle_idPublicUnpublishRequest')
79
+ PutMeArticlesArticle_idPublicUnpublishResponse = Shapes::StructureShape.new(name: 'PutMeArticlesArticle_idPublicUnpublishResponse')
80
+ PutMeInfoRequest = Shapes::StructureShape.new(name: 'PutMeInfoRequest')
81
+ PutMeInfoResponse = Shapes::StructureShape.new(name: 'PutMeInfoResponse')
82
+ PutMeUnread_notification_managersRequest = Shapes::StructureShape.new(name: 'PutMeUnread_notification_managersRequest')
83
+ PutMeUnread_notification_managersResponse = Shapes::StructureShape.new(name: 'PutMeUnread_notification_managersResponse')
84
+ UpdateArticle = Shapes::StructureShape.new(name: 'UpdateArticle')
85
+ UserInfo = Shapes::StructureShape.new(name: 'UserInfo')
86
+ boolean = Shapes::BooleanShape.new(name: 'boolean')
87
+ double = Shapes::FloatShape.new(name: 'double')
88
+ integer = Shapes::IntegerShape.new(name: 'integer')
89
+ long = Shapes::IntegerShape.new(name: 'long')
90
+ string = Shapes::StringShape.new(name: 'string')
91
+ timestampIso8601 = Shapes::TimestampShape.new(name: 'timestampIso8601', timestampFormat: "iso8601")
92
+ timestampUnix = Shapes::TimestampShape.new(name: 'timestampUnix', timestampFormat: "iso8601")
93
+
94
+ ArrayOfArticleInfo.member = Shapes::ShapeRef.new(shape: ArticleInfo)
95
+
96
+ ArrayOfNotification.member = Shapes::ShapeRef.new(shape: Notification)
97
+
98
+ ArticleContent.add_member(:article_id, Shapes::ShapeRef.new(shape: string, location_name: "article_id"))
99
+ ArticleContent.add_member(:body, Shapes::ShapeRef.new(shape: string, location_name: "body"))
100
+ ArticleContent.add_member(:created_at, Shapes::ShapeRef.new(shape: integer, location_name: "created_at"))
101
+ ArticleContent.add_member(:eye_catch_url, Shapes::ShapeRef.new(shape: string, location_name: "eye_catch_url"))
102
+ ArticleContent.add_member(:overview, Shapes::ShapeRef.new(shape: string, location_name: "overview"))
103
+ ArticleContent.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "title"))
104
+ ArticleContent.add_member(:user_id, Shapes::ShapeRef.new(shape: string, location_name: "user_id"))
105
+ ArticleContent.struct_class = Types::ArticleContent
106
+
107
+ ArticleImage.add_member(:article_image, Shapes::ShapeRef.new(shape: string, location_name: "article_image"))
108
+ ArticleImage.struct_class = Types::ArticleImage
109
+
110
+ ArticleInfo.add_member(:article_id, Shapes::ShapeRef.new(shape: string, location_name: "article_id"))
111
+ ArticleInfo.add_member(:created_at, Shapes::ShapeRef.new(shape: integer, location_name: "created_at"))
112
+ ArticleInfo.add_member(:eye_catch_url, Shapes::ShapeRef.new(shape: string, location_name: "eye_catch_url"))
113
+ ArticleInfo.add_member(:overview, Shapes::ShapeRef.new(shape: string, location_name: "overview"))
114
+ ArticleInfo.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "title"))
115
+ ArticleInfo.add_member(:user_id, Shapes::ShapeRef.new(shape: string, location_name: "user_id"))
116
+ ArticleInfo.struct_class = Types::ArticleInfo
117
+
118
+ GetArticlesArticle_idAlistokenRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
119
+ GetArticlesArticle_idAlistokenRequest.struct_class = Types::GetArticlesArticle_idAlistokenRequest
120
+
121
+ GetArticlesArticle_idAlistokenResponse.add_member(:model69304a, Shapes::ShapeRef.new(shape: MODEL69304a, required: true, location_name: "MODEL69304a"))
122
+ GetArticlesArticle_idAlistokenResponse.struct_class = Types::GetArticlesArticle_idAlistokenResponse
123
+ GetArticlesArticle_idAlistokenResponse[:payload] = :model69304a
124
+ GetArticlesArticle_idAlistokenResponse[:payload_member] = GetArticlesArticle_idAlistokenResponse.member(:model69304a)
125
+
126
+ GetArticlesArticle_idLikesRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
127
+ GetArticlesArticle_idLikesRequest.struct_class = Types::GetArticlesArticle_idLikesRequest
128
+
129
+ GetArticlesArticle_idLikesResponse.add_member(:mode_ld_25993, Shapes::ShapeRef.new(shape: MODELd25993, required: true, location_name: "MODELd25993"))
130
+ GetArticlesArticle_idLikesResponse.struct_class = Types::GetArticlesArticle_idLikesResponse
131
+ GetArticlesArticle_idLikesResponse[:payload] = :mode_ld_25993
132
+ GetArticlesArticle_idLikesResponse[:payload_member] = GetArticlesArticle_idLikesResponse.member(:mode_ld_25993)
133
+
134
+ GetArticlesArticle_idRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
135
+ GetArticlesArticle_idRequest.struct_class = Types::GetArticlesArticle_idRequest
136
+
137
+ GetArticlesArticle_idResponse.add_member(:article_content, Shapes::ShapeRef.new(shape: ArticleContent, required: true, location_name: "ArticleContent"))
138
+ GetArticlesArticle_idResponse.struct_class = Types::GetArticlesArticle_idResponse
139
+ GetArticlesArticle_idResponse[:payload] = :article_content
140
+ GetArticlesArticle_idResponse[:payload_member] = GetArticlesArticle_idResponse.member(:article_content)
141
+
142
+ GetArticlesPopularRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "article_id"))
143
+ GetArticlesPopularRequest.add_member(:limit, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "limit"))
144
+ GetArticlesPopularRequest.add_member(:score, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "score"))
145
+ GetArticlesPopularRequest.struct_class = Types::GetArticlesPopularRequest
146
+
147
+ GetArticlesPopularResponse.add_member(:array_of_article_info, Shapes::ShapeRef.new(shape: ArrayOfArticleInfo, required: true, location_name: "ArrayOfArticleInfo"))
148
+ GetArticlesPopularResponse.struct_class = Types::GetArticlesPopularResponse
149
+ GetArticlesPopularResponse[:payload] = :array_of_article_info
150
+ GetArticlesPopularResponse[:payload_member] = GetArticlesPopularResponse.member(:array_of_article_info)
151
+
152
+ GetArticlesRecentRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "article_id"))
153
+ GetArticlesRecentRequest.add_member(:limit, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "limit"))
154
+ GetArticlesRecentRequest.add_member(:sort_key, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "sort_key"))
155
+ GetArticlesRecentRequest.struct_class = Types::GetArticlesRecentRequest
156
+
157
+ GetArticlesRecentResponse.add_member(:array_of_article_info, Shapes::ShapeRef.new(shape: ArrayOfArticleInfo, required: true, location_name: "ArrayOfArticleInfo"))
158
+ GetArticlesRecentResponse.struct_class = Types::GetArticlesRecentResponse
159
+ GetArticlesRecentResponse[:payload] = :array_of_article_info
160
+ GetArticlesRecentResponse[:payload_member] = GetArticlesRecentResponse.member(:array_of_article_info)
161
+
162
+ GetMeArticlesArticle_idDraftsRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
163
+ GetMeArticlesArticle_idDraftsRequest.struct_class = Types::GetMeArticlesArticle_idDraftsRequest
164
+
165
+ GetMeArticlesArticle_idDraftsResponse.add_member(:article_content, Shapes::ShapeRef.new(shape: ArticleContent, required: true, location_name: "ArticleContent"))
166
+ GetMeArticlesArticle_idDraftsResponse.struct_class = Types::GetMeArticlesArticle_idDraftsResponse
167
+ GetMeArticlesArticle_idDraftsResponse[:payload] = :article_content
168
+ GetMeArticlesArticle_idDraftsResponse[:payload_member] = GetMeArticlesArticle_idDraftsResponse.member(:article_content)
169
+
170
+ GetMeArticlesArticle_idLikeRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
171
+ GetMeArticlesArticle_idLikeRequest.struct_class = Types::GetMeArticlesArticle_idLikeRequest
172
+
173
+ GetMeArticlesArticle_idLikeResponse.add_member(:model84cbde, Shapes::ShapeRef.new(shape: MODEL84cbde, required: true, location_name: "MODEL84cbde"))
174
+ GetMeArticlesArticle_idLikeResponse.struct_class = Types::GetMeArticlesArticle_idLikeResponse
175
+ GetMeArticlesArticle_idLikeResponse[:payload] = :model84cbde
176
+ GetMeArticlesArticle_idLikeResponse[:payload_member] = GetMeArticlesArticle_idLikeResponse.member(:model84cbde)
177
+
178
+ GetMeArticlesArticle_idPublicEditRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
179
+ GetMeArticlesArticle_idPublicEditRequest.struct_class = Types::GetMeArticlesArticle_idPublicEditRequest
180
+
181
+ GetMeArticlesArticle_idPublicEditResponse.add_member(:article_content, Shapes::ShapeRef.new(shape: ArticleContent, required: true, location_name: "ArticleContent"))
182
+ GetMeArticlesArticle_idPublicEditResponse.struct_class = Types::GetMeArticlesArticle_idPublicEditResponse
183
+ GetMeArticlesArticle_idPublicEditResponse[:payload] = :article_content
184
+ GetMeArticlesArticle_idPublicEditResponse[:payload_member] = GetMeArticlesArticle_idPublicEditResponse.member(:article_content)
185
+
186
+ GetMeArticlesArticle_idPublicRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
187
+ GetMeArticlesArticle_idPublicRequest.struct_class = Types::GetMeArticlesArticle_idPublicRequest
188
+
189
+ GetMeArticlesArticle_idPublicResponse.add_member(:article_content, Shapes::ShapeRef.new(shape: ArticleContent, required: true, location_name: "ArticleContent"))
190
+ GetMeArticlesArticle_idPublicResponse.struct_class = Types::GetMeArticlesArticle_idPublicResponse
191
+ GetMeArticlesArticle_idPublicResponse[:payload] = :article_content
192
+ GetMeArticlesArticle_idPublicResponse[:payload_member] = GetMeArticlesArticle_idPublicResponse.member(:article_content)
193
+
194
+ GetMeArticlesDraftsRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "article_id"))
195
+ GetMeArticlesDraftsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "limit"))
196
+ GetMeArticlesDraftsRequest.add_member(:sort_key, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "sort_key"))
197
+ GetMeArticlesDraftsRequest.struct_class = Types::GetMeArticlesDraftsRequest
198
+
199
+ GetMeArticlesDraftsResponse.add_member(:array_of_article_info, Shapes::ShapeRef.new(shape: ArrayOfArticleInfo, required: true, location_name: "ArrayOfArticleInfo"))
200
+ GetMeArticlesDraftsResponse.struct_class = Types::GetMeArticlesDraftsResponse
201
+ GetMeArticlesDraftsResponse[:payload] = :array_of_article_info
202
+ GetMeArticlesDraftsResponse[:payload_member] = GetMeArticlesDraftsResponse.member(:array_of_article_info)
203
+
204
+ GetMeArticlesPublicRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "article_id"))
205
+ GetMeArticlesPublicRequest.add_member(:limit, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "limit"))
206
+ GetMeArticlesPublicRequest.add_member(:sort_key, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "sort_key"))
207
+ GetMeArticlesPublicRequest.struct_class = Types::GetMeArticlesPublicRequest
208
+
209
+ GetMeArticlesPublicResponse.add_member(:array_of_article_info, Shapes::ShapeRef.new(shape: ArrayOfArticleInfo, required: true, location_name: "ArrayOfArticleInfo"))
210
+ GetMeArticlesPublicResponse.struct_class = Types::GetMeArticlesPublicResponse
211
+ GetMeArticlesPublicResponse[:payload] = :array_of_article_info
212
+ GetMeArticlesPublicResponse[:payload_member] = GetMeArticlesPublicResponse.member(:array_of_article_info)
213
+
214
+ GetMeInfoRequest.struct_class = Types::GetMeInfoRequest
215
+
216
+ GetMeInfoResponse.add_member(:user_info, Shapes::ShapeRef.new(shape: UserInfo, required: true, location_name: "UserInfo"))
217
+ GetMeInfoResponse.struct_class = Types::GetMeInfoResponse
218
+ GetMeInfoResponse[:payload] = :user_info
219
+ GetMeInfoResponse[:payload_member] = GetMeInfoResponse.member(:user_info)
220
+
221
+ GetMeNotificationsRequest.struct_class = Types::GetMeNotificationsRequest
222
+
223
+ GetMeNotificationsResponse.add_member(:array_of_notification, Shapes::ShapeRef.new(shape: ArrayOfNotification, required: true, location_name: "ArrayOfNotification"))
224
+ GetMeNotificationsResponse.struct_class = Types::GetMeNotificationsResponse
225
+ GetMeNotificationsResponse[:payload] = :array_of_notification
226
+ GetMeNotificationsResponse[:payload_member] = GetMeNotificationsResponse.member(:array_of_notification)
227
+
228
+ GetMeUnread_notification_managersRequest.struct_class = Types::GetMeUnread_notification_managersRequest
229
+
230
+ GetMeUnread_notification_managersResponse.add_member(:mode_lc_40ebe, Shapes::ShapeRef.new(shape: MODELc40ebe, required: true, location_name: "MODELc40ebe"))
231
+ GetMeUnread_notification_managersResponse.struct_class = Types::GetMeUnread_notification_managersResponse
232
+ GetMeUnread_notification_managersResponse[:payload] = :mode_lc_40ebe
233
+ GetMeUnread_notification_managersResponse[:payload_member] = GetMeUnread_notification_managersResponse.member(:mode_lc_40ebe)
234
+
235
+ GetMeWalletBalanceRequest.struct_class = Types::GetMeWalletBalanceRequest
236
+
237
+ GetMeWalletBalanceResponse.add_member(:me_wallet_balance, Shapes::ShapeRef.new(shape: MeWalletBalance, required: true, location_name: "MeWalletBalance"))
238
+ GetMeWalletBalanceResponse.struct_class = Types::GetMeWalletBalanceResponse
239
+ GetMeWalletBalanceResponse[:payload] = :me_wallet_balance
240
+ GetMeWalletBalanceResponse[:payload_member] = GetMeWalletBalanceResponse.member(:me_wallet_balance)
241
+
242
+ GetUsersUser_idArticlesPublicRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "article_id"))
243
+ GetUsersUser_idArticlesPublicRequest.add_member(:limit, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "limit"))
244
+ GetUsersUser_idArticlesPublicRequest.add_member(:sort_key, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "sort_key"))
245
+ GetUsersUser_idArticlesPublicRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "user_id"))
246
+ GetUsersUser_idArticlesPublicRequest.struct_class = Types::GetUsersUser_idArticlesPublicRequest
247
+
248
+ GetUsersUser_idArticlesPublicResponse.add_member(:array_of_article_info, Shapes::ShapeRef.new(shape: ArrayOfArticleInfo, required: true, location_name: "ArrayOfArticleInfo"))
249
+ GetUsersUser_idArticlesPublicResponse.struct_class = Types::GetUsersUser_idArticlesPublicResponse
250
+ GetUsersUser_idArticlesPublicResponse[:payload] = :array_of_article_info
251
+ GetUsersUser_idArticlesPublicResponse[:payload_member] = GetUsersUser_idArticlesPublicResponse.member(:array_of_article_info)
252
+
253
+ GetUsersUser_idInfoRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "user_id"))
254
+ GetUsersUser_idInfoRequest.struct_class = Types::GetUsersUser_idInfoRequest
255
+
256
+ GetUsersUser_idInfoResponse.add_member(:user_info, Shapes::ShapeRef.new(shape: UserInfo, required: true, location_name: "UserInfo"))
257
+ GetUsersUser_idInfoResponse.struct_class = Types::GetUsersUser_idInfoResponse
258
+ GetUsersUser_idInfoResponse[:payload] = :user_info
259
+ GetUsersUser_idInfoResponse[:payload_member] = GetUsersUser_idInfoResponse.member(:user_info)
260
+
261
+ MODEL69304a.add_member(:alistoken, Shapes::ShapeRef.new(shape: double, location_name: "alistoken"))
262
+ MODEL69304a.struct_class = Types::MODEL69304a
263
+
264
+ MODEL84cbde.add_member(:liked, Shapes::ShapeRef.new(shape: boolean, location_name: "liked"))
265
+ MODEL84cbde.struct_class = Types::MODEL84cbde
266
+
267
+ MODELa08eaf.add_member(:image_url, Shapes::ShapeRef.new(shape: string, location_name: "image_url"))
268
+ MODELa08eaf.struct_class = Types::MODELa08eaf
269
+
270
+ MODELc40ebe.add_member(:unread, Shapes::ShapeRef.new(shape: boolean, location_name: "unread"))
271
+ MODELc40ebe.struct_class = Types::MODELc40ebe
272
+
273
+ MODELcde73d.add_member(:article_id, Shapes::ShapeRef.new(shape: string, location_name: "article_id"))
274
+ MODELcde73d.struct_class = Types::MODELcde73d
275
+
276
+ MODELd06bfe.add_member(:image_url, Shapes::ShapeRef.new(shape: string, location_name: "image_url"))
277
+ MODELd06bfe.struct_class = Types::MODELd06bfe
278
+
279
+ MODELd25993.add_member(:count, Shapes::ShapeRef.new(shape: double, location_name: "count"))
280
+ MODELd25993.struct_class = Types::MODELd25993
281
+
282
+ MeArticlesDraftsCreate.add_member(:body, Shapes::ShapeRef.new(shape: string, location_name: "body"))
283
+ MeArticlesDraftsCreate.add_member(:eye_catch_url, Shapes::ShapeRef.new(shape: string, location_name: "eye_catch_url"))
284
+ MeArticlesDraftsCreate.add_member(:overview, Shapes::ShapeRef.new(shape: string, location_name: "overview"))
285
+ MeArticlesDraftsCreate.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "title"))
286
+ MeArticlesDraftsCreate.struct_class = Types::MeArticlesDraftsCreate
287
+
288
+ MeInfoIcon.add_member(:icon_image, Shapes::ShapeRef.new(shape: string, location_name: "icon_image"))
289
+ MeInfoIcon.struct_class = Types::MeInfoIcon
290
+
291
+ MeInfoUpdate.add_member(:self_introduction, Shapes::ShapeRef.new(shape: string, location_name: "self_introduction"))
292
+ MeInfoUpdate.add_member(:user_display_name, Shapes::ShapeRef.new(shape: string, location_name: "user_display_name"))
293
+ MeInfoUpdate.struct_class = Types::MeInfoUpdate
294
+
295
+ MeWalletBalance.add_member(:private_eth_address, Shapes::ShapeRef.new(shape: string, location_name: "private_eth_address"))
296
+ MeWalletBalance.struct_class = Types::MeWalletBalance
297
+
298
+ Notification.add_member(:acted_user_id, Shapes::ShapeRef.new(shape: string, location_name: "acted_user_id"))
299
+ Notification.add_member(:created_at, Shapes::ShapeRef.new(shape: integer, location_name: "created_at"))
300
+ Notification.add_member(:sort_key, Shapes::ShapeRef.new(shape: integer, location_name: "sort_key"))
301
+ Notification.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "type"))
302
+ Notification.add_member(:user_id, Shapes::ShapeRef.new(shape: string, location_name: "user_id"))
303
+ Notification.struct_class = Types::Notification
304
+
305
+ PostMeArticlesArticle_idFraudRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
306
+ PostMeArticlesArticle_idFraudRequest.struct_class = Types::PostMeArticlesArticle_idFraudRequest
307
+
308
+ PostMeArticlesArticle_idFraudResponse.struct_class = Types::PostMeArticlesArticle_idFraudResponse
309
+
310
+ PostMeArticlesArticle_idImagesRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
311
+ PostMeArticlesArticle_idImagesRequest.add_member(:article_image, Shapes::ShapeRef.new(shape: ArticleImage, required: true, location_name: "ArticleImage"))
312
+ PostMeArticlesArticle_idImagesRequest.struct_class = Types::PostMeArticlesArticle_idImagesRequest
313
+ PostMeArticlesArticle_idImagesRequest[:payload] = :article_image
314
+ PostMeArticlesArticle_idImagesRequest[:payload_member] = PostMeArticlesArticle_idImagesRequest.member(:article_image)
315
+
316
+ PostMeArticlesArticle_idImagesResponse.add_member(:mode_ld_06bfe, Shapes::ShapeRef.new(shape: MODELd06bfe, required: true, location_name: "MODELd06bfe"))
317
+ PostMeArticlesArticle_idImagesResponse.struct_class = Types::PostMeArticlesArticle_idImagesResponse
318
+ PostMeArticlesArticle_idImagesResponse[:payload] = :mode_ld_06bfe
319
+ PostMeArticlesArticle_idImagesResponse[:payload_member] = PostMeArticlesArticle_idImagesResponse.member(:mode_ld_06bfe)
320
+
321
+ PostMeArticlesArticle_idLikeRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
322
+ PostMeArticlesArticle_idLikeRequest.struct_class = Types::PostMeArticlesArticle_idLikeRequest
323
+
324
+ PostMeArticlesArticle_idLikeResponse.struct_class = Types::PostMeArticlesArticle_idLikeResponse
325
+
326
+ PostMeArticlesArticle_idPvRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
327
+ PostMeArticlesArticle_idPvRequest.struct_class = Types::PostMeArticlesArticle_idPvRequest
328
+
329
+ PostMeArticlesArticle_idPvResponse.struct_class = Types::PostMeArticlesArticle_idPvResponse
330
+
331
+ PostMeArticlesDraftsRequest.add_member(:me_articles_drafts_create, Shapes::ShapeRef.new(shape: MeArticlesDraftsCreate, required: true, location_name: "MeArticlesDraftsCreate"))
332
+ PostMeArticlesDraftsRequest.struct_class = Types::PostMeArticlesDraftsRequest
333
+ PostMeArticlesDraftsRequest[:payload] = :me_articles_drafts_create
334
+ PostMeArticlesDraftsRequest[:payload_member] = PostMeArticlesDraftsRequest.member(:me_articles_drafts_create)
335
+
336
+ PostMeArticlesDraftsResponse.add_member(:mode_lcde_73d, Shapes::ShapeRef.new(shape: MODELcde73d, required: true, location_name: "MODELcde73d"))
337
+ PostMeArticlesDraftsResponse.struct_class = Types::PostMeArticlesDraftsResponse
338
+ PostMeArticlesDraftsResponse[:payload] = :mode_lcde_73d
339
+ PostMeArticlesDraftsResponse[:payload_member] = PostMeArticlesDraftsResponse.member(:mode_lcde_73d)
340
+
341
+ PostMeInfoIconRequest.add_member(:me_info_icon, Shapes::ShapeRef.new(shape: MeInfoIcon, required: true, location_name: "MeInfoIcon"))
342
+ PostMeInfoIconRequest.struct_class = Types::PostMeInfoIconRequest
343
+ PostMeInfoIconRequest[:payload] = :me_info_icon
344
+ PostMeInfoIconRequest[:payload_member] = PostMeInfoIconRequest.member(:me_info_icon)
345
+
346
+ PostMeInfoIconResponse.add_member(:mode_la_08eaf, Shapes::ShapeRef.new(shape: MODELa08eaf, required: true, location_name: "MODELa08eaf"))
347
+ PostMeInfoIconResponse.struct_class = Types::PostMeInfoIconResponse
348
+ PostMeInfoIconResponse[:payload] = :mode_la_08eaf
349
+ PostMeInfoIconResponse[:payload_member] = PostMeInfoIconResponse.member(:mode_la_08eaf)
350
+
351
+ PutMeArticlesArticle_idDraftsPublishRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
352
+ PutMeArticlesArticle_idDraftsPublishRequest.struct_class = Types::PutMeArticlesArticle_idDraftsPublishRequest
353
+
354
+ PutMeArticlesArticle_idDraftsPublishResponse.struct_class = Types::PutMeArticlesArticle_idDraftsPublishResponse
355
+
356
+ PutMeArticlesArticle_idDraftsRequest.add_member(:me_articles_drafts_create, Shapes::ShapeRef.new(shape: MeArticlesDraftsCreate, required: true, location_name: "MeArticlesDraftsCreate"))
357
+ PutMeArticlesArticle_idDraftsRequest.struct_class = Types::PutMeArticlesArticle_idDraftsRequest
358
+ PutMeArticlesArticle_idDraftsRequest[:payload] = :me_articles_drafts_create
359
+ PutMeArticlesArticle_idDraftsRequest[:payload_member] = PutMeArticlesArticle_idDraftsRequest.member(:me_articles_drafts_create)
360
+
361
+ PutMeArticlesArticle_idDraftsResponse.struct_class = Types::PutMeArticlesArticle_idDraftsResponse
362
+
363
+ PutMeArticlesArticle_idPublicRepublishRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
364
+ PutMeArticlesArticle_idPublicRepublishRequest.struct_class = Types::PutMeArticlesArticle_idPublicRepublishRequest
365
+
366
+ PutMeArticlesArticle_idPublicRepublishResponse.struct_class = Types::PutMeArticlesArticle_idPublicRepublishResponse
367
+
368
+ PutMeArticlesArticle_idPublicRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
369
+ PutMeArticlesArticle_idPublicRequest.add_member(:update_article, Shapes::ShapeRef.new(shape: UpdateArticle, required: true, location_name: "UpdateArticle"))
370
+ PutMeArticlesArticle_idPublicRequest.struct_class = Types::PutMeArticlesArticle_idPublicRequest
371
+ PutMeArticlesArticle_idPublicRequest[:payload] = :update_article
372
+ PutMeArticlesArticle_idPublicRequest[:payload_member] = PutMeArticlesArticle_idPublicRequest.member(:update_article)
373
+
374
+ PutMeArticlesArticle_idPublicResponse.struct_class = Types::PutMeArticlesArticle_idPublicResponse
375
+
376
+ PutMeArticlesArticle_idPublicUnpublishRequest.add_member(:article_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "article_id"))
377
+ PutMeArticlesArticle_idPublicUnpublishRequest.struct_class = Types::PutMeArticlesArticle_idPublicUnpublishRequest
378
+
379
+ PutMeArticlesArticle_idPublicUnpublishResponse.struct_class = Types::PutMeArticlesArticle_idPublicUnpublishResponse
380
+
381
+ PutMeInfoRequest.add_member(:me_info_update, Shapes::ShapeRef.new(shape: MeInfoUpdate, required: true, location_name: "MeInfoUpdate"))
382
+ PutMeInfoRequest.struct_class = Types::PutMeInfoRequest
383
+ PutMeInfoRequest[:payload] = :me_info_update
384
+ PutMeInfoRequest[:payload_member] = PutMeInfoRequest.member(:me_info_update)
385
+
386
+ PutMeInfoResponse.struct_class = Types::PutMeInfoResponse
387
+
388
+ PutMeUnread_notification_managersRequest.struct_class = Types::PutMeUnread_notification_managersRequest
389
+
390
+ PutMeUnread_notification_managersResponse.struct_class = Types::PutMeUnread_notification_managersResponse
391
+
392
+ UpdateArticle.add_member(:body, Shapes::ShapeRef.new(shape: string, location_name: "body"))
393
+ UpdateArticle.add_member(:eye_catch_url, Shapes::ShapeRef.new(shape: string, location_name: "eye_catch_url"))
394
+ UpdateArticle.add_member(:overview, Shapes::ShapeRef.new(shape: string, location_name: "overview"))
395
+ UpdateArticle.add_member(:title, Shapes::ShapeRef.new(shape: string, location_name: "title"))
396
+ UpdateArticle.struct_class = Types::UpdateArticle
397
+
398
+ UserInfo.add_member(:icon_image_url, Shapes::ShapeRef.new(shape: string, location_name: "icon_image_url"))
399
+ UserInfo.add_member(:self_introduction, Shapes::ShapeRef.new(shape: string, location_name: "self_introduction"))
400
+ UserInfo.add_member(:user_display_name, Shapes::ShapeRef.new(shape: string, location_name: "user_display_name"))
401
+ UserInfo.add_member(:user_id, Shapes::ShapeRef.new(shape: string, location_name: "user_id"))
402
+ UserInfo.struct_class = Types::UserInfo
403
+
404
+
405
+ # @api private
406
+ API = Seahorse::Model::Api.new.tap do |api|
407
+
408
+ api.version = "1.0.0"
409
+
410
+ api.metadata = {
411
+ "protocol" => "api-gateway",
412
+ }
413
+
414
+ api.add_operation(:get_articles_article_id, Seahorse::Model::Operation.new.tap do |o|
415
+ o.name = "GetArticlesArticle_id"
416
+ o.http_method = "GET"
417
+ o.http_request_uri = "/api/articles/{article_id}"
418
+ o['authtype'] = "none"
419
+ o.input = Shapes::ShapeRef.new(shape: GetArticlesArticle_idRequest)
420
+ o.output = Shapes::ShapeRef.new(shape: GetArticlesArticle_idResponse)
421
+ end)
422
+
423
+ api.add_operation(:get_articles_article_id_alistoken, Seahorse::Model::Operation.new.tap do |o|
424
+ o.name = "GetArticlesArticle_idAlistoken"
425
+ o.http_method = "GET"
426
+ o.http_request_uri = "/api/articles/{article_id}/alistoken"
427
+ o['authtype'] = "none"
428
+ o.input = Shapes::ShapeRef.new(shape: GetArticlesArticle_idAlistokenRequest)
429
+ o.output = Shapes::ShapeRef.new(shape: GetArticlesArticle_idAlistokenResponse)
430
+ end)
431
+
432
+ api.add_operation(:get_articles_article_id_likes, Seahorse::Model::Operation.new.tap do |o|
433
+ o.name = "GetArticlesArticle_idLikes"
434
+ o.http_method = "GET"
435
+ o.http_request_uri = "/api/articles/{article_id}/likes"
436
+ o['authtype'] = "none"
437
+ o.input = Shapes::ShapeRef.new(shape: GetArticlesArticle_idLikesRequest)
438
+ o.output = Shapes::ShapeRef.new(shape: GetArticlesArticle_idLikesResponse)
439
+ end)
440
+
441
+ api.add_operation(:get_articles_popular, Seahorse::Model::Operation.new.tap do |o|
442
+ o.name = "GetArticlesPopular"
443
+ o.http_method = "GET"
444
+ o.http_request_uri = "/api/articles/popular"
445
+ o['authtype'] = "none"
446
+ o.input = Shapes::ShapeRef.new(shape: GetArticlesPopularRequest)
447
+ o.output = Shapes::ShapeRef.new(shape: GetArticlesPopularResponse)
448
+ end)
449
+
450
+ api.add_operation(:get_articles_recent, Seahorse::Model::Operation.new.tap do |o|
451
+ o.name = "GetArticlesRecent"
452
+ o.http_method = "GET"
453
+ o.http_request_uri = "/api/articles/recent"
454
+ o['authtype'] = "none"
455
+ o.input = Shapes::ShapeRef.new(shape: GetArticlesRecentRequest)
456
+ o.output = Shapes::ShapeRef.new(shape: GetArticlesRecentResponse)
457
+ end)
458
+
459
+ api.add_operation(:get_me_articles_article_id_drafts, Seahorse::Model::Operation.new.tap do |o|
460
+ o.name = "GetMeArticlesArticle_idDrafts"
461
+ o.http_method = "GET"
462
+ o.http_request_uri = "/api/me/articles/{article_id}/drafts"
463
+ o.authorizer = "cognitoUserPool"
464
+ o['authtype'] = "custom"
465
+ o.input = Shapes::ShapeRef.new(shape: GetMeArticlesArticle_idDraftsRequest)
466
+ o.output = Shapes::ShapeRef.new(shape: GetMeArticlesArticle_idDraftsResponse)
467
+ end)
468
+
469
+ api.add_operation(:get_me_articles_article_id_like, Seahorse::Model::Operation.new.tap do |o|
470
+ o.name = "GetMeArticlesArticle_idLike"
471
+ o.http_method = "GET"
472
+ o.http_request_uri = "/api/me/articles/{article_id}/like"
473
+ o.authorizer = "cognitoUserPool"
474
+ o['authtype'] = "custom"
475
+ o.input = Shapes::ShapeRef.new(shape: GetMeArticlesArticle_idLikeRequest)
476
+ o.output = Shapes::ShapeRef.new(shape: GetMeArticlesArticle_idLikeResponse)
477
+ end)
478
+
479
+ api.add_operation(:get_me_articles_article_id_public, Seahorse::Model::Operation.new.tap do |o|
480
+ o.name = "GetMeArticlesArticle_idPublic"
481
+ o.http_method = "GET"
482
+ o.http_request_uri = "/api/me/articles/{article_id}/public"
483
+ o.authorizer = "cognitoUserPool"
484
+ o['authtype'] = "custom"
485
+ o.input = Shapes::ShapeRef.new(shape: GetMeArticlesArticle_idPublicRequest)
486
+ o.output = Shapes::ShapeRef.new(shape: GetMeArticlesArticle_idPublicResponse)
487
+ end)
488
+
489
+ api.add_operation(:get_me_articles_article_id_public_edit, Seahorse::Model::Operation.new.tap do |o|
490
+ o.name = "GetMeArticlesArticle_idPublicEdit"
491
+ o.http_method = "GET"
492
+ o.http_request_uri = "/api/me/articles/{article_id}/public/edit"
493
+ o.authorizer = "cognitoUserPool"
494
+ o['authtype'] = "custom"
495
+ o.input = Shapes::ShapeRef.new(shape: GetMeArticlesArticle_idPublicEditRequest)
496
+ o.output = Shapes::ShapeRef.new(shape: GetMeArticlesArticle_idPublicEditResponse)
497
+ end)
498
+
499
+ api.add_operation(:get_me_articles_drafts, Seahorse::Model::Operation.new.tap do |o|
500
+ o.name = "GetMeArticlesDrafts"
501
+ o.http_method = "GET"
502
+ o.http_request_uri = "/api/me/articles/drafts"
503
+ o.authorizer = "cognitoUserPool"
504
+ o['authtype'] = "custom"
505
+ o.input = Shapes::ShapeRef.new(shape: GetMeArticlesDraftsRequest)
506
+ o.output = Shapes::ShapeRef.new(shape: GetMeArticlesDraftsResponse)
507
+ end)
508
+
509
+ api.add_operation(:get_me_articles_public, Seahorse::Model::Operation.new.tap do |o|
510
+ o.name = "GetMeArticlesPublic"
511
+ o.http_method = "GET"
512
+ o.http_request_uri = "/api/me/articles/public"
513
+ o.authorizer = "cognitoUserPool"
514
+ o['authtype'] = "custom"
515
+ o.input = Shapes::ShapeRef.new(shape: GetMeArticlesPublicRequest)
516
+ o.output = Shapes::ShapeRef.new(shape: GetMeArticlesPublicResponse)
517
+ end)
518
+
519
+ api.add_operation(:get_me_info, Seahorse::Model::Operation.new.tap do |o|
520
+ o.name = "GetMeInfo"
521
+ o.http_method = "GET"
522
+ o.http_request_uri = "/api/me/info"
523
+ o.authorizer = "cognitoUserPool"
524
+ o['authtype'] = "custom"
525
+ o.input = Shapes::ShapeRef.new(shape: GetMeInfoRequest)
526
+ o.output = Shapes::ShapeRef.new(shape: GetMeInfoResponse)
527
+ end)
528
+
529
+ api.add_operation(:get_me_notifications, Seahorse::Model::Operation.new.tap do |o|
530
+ o.name = "GetMeNotifications"
531
+ o.http_method = "GET"
532
+ o.http_request_uri = "/api/me/notifications"
533
+ o.authorizer = "cognitoUserPool"
534
+ o['authtype'] = "custom"
535
+ o.input = Shapes::ShapeRef.new(shape: GetMeNotificationsRequest)
536
+ o.output = Shapes::ShapeRef.new(shape: GetMeNotificationsResponse)
537
+ end)
538
+
539
+ api.add_operation(:get_me_unread_notification_managers, Seahorse::Model::Operation.new.tap do |o|
540
+ o.name = "GetMeUnread_notification_managers"
541
+ o.http_method = "GET"
542
+ o.http_request_uri = "/api/me/unread_notification_managers"
543
+ o.authorizer = "cognitoUserPool"
544
+ o['authtype'] = "custom"
545
+ o.input = Shapes::ShapeRef.new(shape: GetMeUnread_notification_managersRequest)
546
+ o.output = Shapes::ShapeRef.new(shape: GetMeUnread_notification_managersResponse)
547
+ end)
548
+
549
+ api.add_operation(:get_me_wallet_balance, Seahorse::Model::Operation.new.tap do |o|
550
+ o.name = "GetMeWalletBalance"
551
+ o.http_method = "GET"
552
+ o.http_request_uri = "/api/me/wallet/balance"
553
+ o.authorizer = "cognitoUserPool"
554
+ o['authtype'] = "custom"
555
+ o.input = Shapes::ShapeRef.new(shape: GetMeWalletBalanceRequest)
556
+ o.output = Shapes::ShapeRef.new(shape: GetMeWalletBalanceResponse)
557
+ end)
558
+
559
+ api.add_operation(:get_users_user_id_articles_public, Seahorse::Model::Operation.new.tap do |o|
560
+ o.name = "GetUsersUser_idArticlesPublic"
561
+ o.http_method = "GET"
562
+ o.http_request_uri = "/api/users/{user_id}/articles/public"
563
+ o['authtype'] = "none"
564
+ o.input = Shapes::ShapeRef.new(shape: GetUsersUser_idArticlesPublicRequest)
565
+ o.output = Shapes::ShapeRef.new(shape: GetUsersUser_idArticlesPublicResponse)
566
+ end)
567
+
568
+ api.add_operation(:get_users_user_id_info, Seahorse::Model::Operation.new.tap do |o|
569
+ o.name = "GetUsersUser_idInfo"
570
+ o.http_method = "GET"
571
+ o.http_request_uri = "/api/users/{user_id}/info"
572
+ o['authtype'] = "none"
573
+ o.input = Shapes::ShapeRef.new(shape: GetUsersUser_idInfoRequest)
574
+ o.output = Shapes::ShapeRef.new(shape: GetUsersUser_idInfoResponse)
575
+ end)
576
+
577
+ api.add_operation(:post_me_articles_article_id_fraud, Seahorse::Model::Operation.new.tap do |o|
578
+ o.name = "PostMeArticlesArticle_idFraud"
579
+ o.http_method = "POST"
580
+ o.http_request_uri = "/api/me/articles/{article_id}/fraud"
581
+ o.authorizer = "cognitoUserPool"
582
+ o['authtype'] = "custom"
583
+ o.input = Shapes::ShapeRef.new(shape: PostMeArticlesArticle_idFraudRequest)
584
+ o.output = Shapes::ShapeRef.new(shape: PostMeArticlesArticle_idFraudResponse)
585
+ end)
586
+
587
+ api.add_operation(:post_me_articles_article_id_images, Seahorse::Model::Operation.new.tap do |o|
588
+ o.name = "PostMeArticlesArticle_idImages"
589
+ o.http_method = "POST"
590
+ o.http_request_uri = "/api/me/articles/{article_id}/images"
591
+ o.authorizer = "cognitoUserPool"
592
+ o['authtype'] = "custom"
593
+ o.input = Shapes::ShapeRef.new(shape: PostMeArticlesArticle_idImagesRequest)
594
+ o.output = Shapes::ShapeRef.new(shape: PostMeArticlesArticle_idImagesResponse)
595
+ end)
596
+
597
+ api.add_operation(:post_me_articles_article_id_like, Seahorse::Model::Operation.new.tap do |o|
598
+ o.name = "PostMeArticlesArticle_idLike"
599
+ o.http_method = "POST"
600
+ o.http_request_uri = "/api/me/articles/{article_id}/like"
601
+ o.authorizer = "cognitoUserPool"
602
+ o['authtype'] = "custom"
603
+ o.input = Shapes::ShapeRef.new(shape: PostMeArticlesArticle_idLikeRequest)
604
+ o.output = Shapes::ShapeRef.new(shape: PostMeArticlesArticle_idLikeResponse)
605
+ end)
606
+
607
+ api.add_operation(:post_me_articles_article_id_pv, Seahorse::Model::Operation.new.tap do |o|
608
+ o.name = "PostMeArticlesArticle_idPv"
609
+ o.http_method = "POST"
610
+ o.http_request_uri = "/api/me/articles/{article_id}/pv"
611
+ o.authorizer = "cognitoUserPool"
612
+ o['authtype'] = "custom"
613
+ o.input = Shapes::ShapeRef.new(shape: PostMeArticlesArticle_idPvRequest)
614
+ o.output = Shapes::ShapeRef.new(shape: PostMeArticlesArticle_idPvResponse)
615
+ end)
616
+
617
+ api.add_operation(:post_me_articles_drafts, Seahorse::Model::Operation.new.tap do |o|
618
+ o.name = "PostMeArticlesDrafts"
619
+ o.http_method = "POST"
620
+ o.http_request_uri = "/api/me/articles/drafts"
621
+ o.authorizer = "cognitoUserPool"
622
+ o['authtype'] = "custom"
623
+ o.input = Shapes::ShapeRef.new(shape: PostMeArticlesDraftsRequest)
624
+ o.output = Shapes::ShapeRef.new(shape: PostMeArticlesDraftsResponse)
625
+ end)
626
+
627
+ api.add_operation(:post_me_info_icon, Seahorse::Model::Operation.new.tap do |o|
628
+ o.name = "PostMeInfoIcon"
629
+ o.http_method = "POST"
630
+ o.http_request_uri = "/api/me/info/icon"
631
+ o.authorizer = "cognitoUserPool"
632
+ o['authtype'] = "custom"
633
+ o.input = Shapes::ShapeRef.new(shape: PostMeInfoIconRequest)
634
+ o.output = Shapes::ShapeRef.new(shape: PostMeInfoIconResponse)
635
+ end)
636
+
637
+ api.add_operation(:put_me_articles_article_id_drafts, Seahorse::Model::Operation.new.tap do |o|
638
+ o.name = "PutMeArticlesArticle_idDrafts"
639
+ o.http_method = "PUT"
640
+ o.http_request_uri = "/api/me/articles/{article_id}/drafts"
641
+ o.authorizer = "cognitoUserPool"
642
+ o['authtype'] = "custom"
643
+ o.input = Shapes::ShapeRef.new(shape: PutMeArticlesArticle_idDraftsRequest)
644
+ o.output = Shapes::ShapeRef.new(shape: PutMeArticlesArticle_idDraftsResponse)
645
+ end)
646
+
647
+ api.add_operation(:put_me_articles_article_id_drafts_publish, Seahorse::Model::Operation.new.tap do |o|
648
+ o.name = "PutMeArticlesArticle_idDraftsPublish"
649
+ o.http_method = "PUT"
650
+ o.http_request_uri = "/api/me/articles/{article_id}/drafts/publish"
651
+ o.authorizer = "cognitoUserPool"
652
+ o['authtype'] = "custom"
653
+ o.input = Shapes::ShapeRef.new(shape: PutMeArticlesArticle_idDraftsPublishRequest)
654
+ o.output = Shapes::ShapeRef.new(shape: PutMeArticlesArticle_idDraftsPublishResponse)
655
+ end)
656
+
657
+ api.add_operation(:put_me_articles_article_id_public, Seahorse::Model::Operation.new.tap do |o|
658
+ o.name = "PutMeArticlesArticle_idPublic"
659
+ o.http_method = "PUT"
660
+ o.http_request_uri = "/api/me/articles/{article_id}/public"
661
+ o.authorizer = "cognitoUserPool"
662
+ o['authtype'] = "custom"
663
+ o.input = Shapes::ShapeRef.new(shape: PutMeArticlesArticle_idPublicRequest)
664
+ o.output = Shapes::ShapeRef.new(shape: PutMeArticlesArticle_idPublicResponse)
665
+ end)
666
+
667
+ api.add_operation(:put_me_articles_article_id_public_republish, Seahorse::Model::Operation.new.tap do |o|
668
+ o.name = "PutMeArticlesArticle_idPublicRepublish"
669
+ o.http_method = "PUT"
670
+ o.http_request_uri = "/api/me/articles/{article_id}/public/republish"
671
+ o.authorizer = "cognitoUserPool"
672
+ o['authtype'] = "custom"
673
+ o.input = Shapes::ShapeRef.new(shape: PutMeArticlesArticle_idPublicRepublishRequest)
674
+ o.output = Shapes::ShapeRef.new(shape: PutMeArticlesArticle_idPublicRepublishResponse)
675
+ end)
676
+
677
+ api.add_operation(:put_me_articles_article_id_public_unpublish, Seahorse::Model::Operation.new.tap do |o|
678
+ o.name = "PutMeArticlesArticle_idPublicUnpublish"
679
+ o.http_method = "PUT"
680
+ o.http_request_uri = "/api/me/articles/{article_id}/public/unpublish"
681
+ o.authorizer = "cognitoUserPool"
682
+ o['authtype'] = "custom"
683
+ o.input = Shapes::ShapeRef.new(shape: PutMeArticlesArticle_idPublicUnpublishRequest)
684
+ o.output = Shapes::ShapeRef.new(shape: PutMeArticlesArticle_idPublicUnpublishResponse)
685
+ end)
686
+
687
+ api.add_operation(:put_me_info, Seahorse::Model::Operation.new.tap do |o|
688
+ o.name = "PutMeInfo"
689
+ o.http_method = "PUT"
690
+ o.http_request_uri = "/api/me/info"
691
+ o.authorizer = "cognitoUserPool"
692
+ o['authtype'] = "custom"
693
+ o.input = Shapes::ShapeRef.new(shape: PutMeInfoRequest)
694
+ o.output = Shapes::ShapeRef.new(shape: PutMeInfoResponse)
695
+ end)
696
+
697
+ api.add_operation(:put_me_unread_notification_managers, Seahorse::Model::Operation.new.tap do |o|
698
+ o.name = "PutMeUnread_notification_managers"
699
+ o.http_method = "PUT"
700
+ o.http_request_uri = "/api/me/unread_notification_managers"
701
+ o.authorizer = "cognitoUserPool"
702
+ o['authtype'] = "custom"
703
+ o.input = Shapes::ShapeRef.new(shape: PutMeUnread_notification_managersRequest)
704
+ o.output = Shapes::ShapeRef.new(shape: PutMeUnread_notification_managersResponse)
705
+ end)
706
+
707
+ api.add_authorizer(:cognito_user_pool, Seahorse::Model::Authorizer.new.tap do |a|
708
+ a.name = "cognitoUserPool"
709
+ a.type = "provided"
710
+ a.placement = {
711
+ :location => "header",
712
+ :name => "Authorization"
713
+ }
714
+ end)
715
+ end
716
+
717
+ end
718
+ end