Class: AlisSdkRuby::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- AlisSdkRuby::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- lib/alis-sdk-ruby/client.rb
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#get_articles_article_id(params = {}) ⇒ Types::GetArticlesArticle_idResponse
Returns a response object which responds to the following methods:.
-
#get_articles_article_id_alistoken(params = {}) ⇒ Types::GetArticlesArticle_idAlistokenResponse
Returns a response object which responds to the following methods:.
-
#get_articles_article_id_likes(params = {}) ⇒ Types::GetArticlesArticle_idLikesResponse
Returns a response object which responds to the following methods:.
-
#get_articles_popular(params = {}) ⇒ Types::GetArticlesPopularResponse
Returns a response object which responds to the following methods:.
-
#get_articles_recent(params = {}) ⇒ Types::GetArticlesRecentResponse
Returns a response object which responds to the following methods:.
-
#get_me_articles_article_id_drafts(params = {}) ⇒ Types::GetMeArticlesArticle_idDraftsResponse
Returns a response object which responds to the following methods:.
-
#get_me_articles_article_id_like(params = {}) ⇒ Types::GetMeArticlesArticle_idLikeResponse
Returns a response object which responds to the following methods:.
-
#get_me_articles_article_id_public(params = {}) ⇒ Types::GetMeArticlesArticle_idPublicResponse
Returns a response object which responds to the following methods:.
-
#get_me_articles_article_id_public_edit(params = {}) ⇒ Types::GetMeArticlesArticle_idPublicEditResponse
Returns a response object which responds to the following methods:.
-
#get_me_articles_drafts(params = {}) ⇒ Types::GetMeArticlesDraftsResponse
Returns a response object which responds to the following methods:.
-
#get_me_articles_public(params = {}) ⇒ Types::GetMeArticlesPublicResponse
Returns a response object which responds to the following methods:.
-
#get_me_info(params = {}) ⇒ Types::GetMeInfoResponse
Returns a response object which responds to the following methods:.
-
#get_me_notifications(params = {}) ⇒ Types::GetMeNotificationsResponse
Returns a response object which responds to the following methods:.
-
#get_me_unread_notification_managers(params = {}) ⇒ Types::GetMeUnread_notification_managersResponse
Returns a response object which responds to the following methods:.
-
#get_me_wallet_balance(params = {}) ⇒ Types::GetMeWalletBalanceResponse
Returns a response object which responds to the following methods:.
-
#get_users_user_id_articles_public(params = {}) ⇒ Types::GetUsersUser_idArticlesPublicResponse
Returns a response object which responds to the following methods:.
-
#get_users_user_id_info(params = {}) ⇒ Types::GetUsersUser_idInfoResponse
Returns a response object which responds to the following methods:.
-
#post_me_articles_article_id_fraud(params = {}) ⇒ Struct
Returns an empty response.
-
#post_me_articles_article_id_images(params = {}) ⇒ Types::PostMeArticlesArticle_idImagesResponse
Returns a response object which responds to the following methods:.
-
#post_me_articles_article_id_like(params = {}) ⇒ Struct
Returns an empty response.
-
#post_me_articles_article_id_pv(params = {}) ⇒ Struct
Returns an empty response.
-
#post_me_articles_drafts(params = {}) ⇒ Types::PostMeArticlesDraftsResponse
Returns a response object which responds to the following methods:.
-
#post_me_info_icon(params = {}) ⇒ Types::PostMeInfoIconResponse
Returns a response object which responds to the following methods:.
-
#put_me_articles_article_id_drafts(params = {}) ⇒ Struct
Returns an empty response.
-
#put_me_articles_article_id_drafts_publish(params = {}) ⇒ Struct
Returns an empty response.
-
#put_me_articles_article_id_public(params = {}) ⇒ Struct
Returns an empty response.
-
#put_me_articles_article_id_public_republish(params = {}) ⇒ Struct
Returns an empty response.
-
#put_me_articles_article_id_public_unpublish(params = {}) ⇒ Struct
Returns an empty response.
-
#put_me_info(params = {}) ⇒ Struct
Returns an empty response.
-
#put_me_unread_notification_managers(params = {}) ⇒ Struct
Returns an empty response.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(*args) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(*args) ⇒ Client
Returns a new instance of Client.
100 101 102 |
# File 'lib/alis-sdk-ruby/client.rb', line 100 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
856 857 858 |
# File 'lib/alis-sdk-ruby/client.rb', line 856 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
859 860 861 |
# File 'lib/alis-sdk-ruby/client.rb', line 859 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 |
# File 'lib/alis-sdk-ruby/client.rb', line 826 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) = nil if config.api.operation(operation_name). = config.api.operation(operation_name). config.api..each do |_, auth| = auth if auth.name == end end context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), authorizer: , client: self, params: params, config: config) context[:gem_name] = 'alis-sdk-ruby' context[:gem_version] = '0.13.0' Seahorse::Client::Request.new(handlers, context) end |
#get_articles_article_id(params = {}) ⇒ Types::GetArticlesArticle_idResponse
Returns a response object which responds to the following methods:
-
#article_content => Types::ArticleContent
130 131 132 133 |
# File 'lib/alis-sdk-ruby/client.rb', line 130 def get_articles_article_id(params = {}, = {}) req = build_request(:get_articles_article_id, params) req.send_request() end |
#get_articles_article_id_alistoken(params = {}) ⇒ Types::GetArticlesArticle_idAlistokenResponse
Returns a response object which responds to the following methods:
-
#model69304a => Types::MODEL69304a
153 154 155 156 |
# File 'lib/alis-sdk-ruby/client.rb', line 153 def get_articles_article_id_alistoken(params = {}, = {}) req = build_request(:get_articles_article_id_alistoken, params) req.send_request() end |
#get_articles_article_id_likes(params = {}) ⇒ Types::GetArticlesArticle_idLikesResponse
Returns a response object which responds to the following methods:
-
#mode_ld_25993 => Types::MODELd25993
176 177 178 179 |
# File 'lib/alis-sdk-ruby/client.rb', line 176 def get_articles_article_id_likes(params = {}, = {}) req = build_request(:get_articles_article_id_likes, params) req.send_request() end |
#get_articles_popular(params = {}) ⇒ Types::GetArticlesPopularResponse
Returns a response object which responds to the following methods:
-
#array_of_article_info => Array<Types::ArticleInfo>
211 212 213 214 |
# File 'lib/alis-sdk-ruby/client.rb', line 211 def get_articles_popular(params = {}, = {}) req = build_request(:get_articles_popular, params) req.send_request() end |
#get_articles_recent(params = {}) ⇒ Types::GetArticlesRecentResponse
Returns a response object which responds to the following methods:
-
#array_of_article_info => Array<Types::ArticleInfo>
246 247 248 249 |
# File 'lib/alis-sdk-ruby/client.rb', line 246 def get_articles_recent(params = {}, = {}) req = build_request(:get_articles_recent, params) req.send_request() end |
#get_me_articles_article_id_drafts(params = {}) ⇒ Types::GetMeArticlesArticle_idDraftsResponse
Returns a response object which responds to the following methods:
-
#article_content => Types::ArticleContent
275 276 277 278 |
# File 'lib/alis-sdk-ruby/client.rb', line 275 def get_me_articles_article_id_drafts(params = {}, = {}) req = build_request(:get_me_articles_article_id_drafts, params) req.send_request() end |
#get_me_articles_article_id_like(params = {}) ⇒ Types::GetMeArticlesArticle_idLikeResponse
Returns a response object which responds to the following methods:
-
#model84cbde => Types::MODEL84cbde
298 299 300 301 |
# File 'lib/alis-sdk-ruby/client.rb', line 298 def get_me_articles_article_id_like(params = {}, = {}) req = build_request(:get_me_articles_article_id_like, params) req.send_request() end |
#get_me_articles_article_id_public(params = {}) ⇒ Types::GetMeArticlesArticle_idPublicResponse
Returns a response object which responds to the following methods:
-
#article_content => Types::ArticleContent
327 328 329 330 |
# File 'lib/alis-sdk-ruby/client.rb', line 327 def get_me_articles_article_id_public(params = {}, = {}) req = build_request(:get_me_articles_article_id_public, params) req.send_request() end |
#get_me_articles_article_id_public_edit(params = {}) ⇒ Types::GetMeArticlesArticle_idPublicEditResponse
Returns a response object which responds to the following methods:
-
#article_content => Types::ArticleContent
356 357 358 359 |
# File 'lib/alis-sdk-ruby/client.rb', line 356 def get_me_articles_article_id_public_edit(params = {}, = {}) req = build_request(:get_me_articles_article_id_public_edit, params) req.send_request() end |
#get_me_articles_drafts(params = {}) ⇒ Types::GetMeArticlesDraftsResponse
Returns a response object which responds to the following methods:
-
#array_of_article_info => Array<Types::ArticleInfo>
391 392 393 394 |
# File 'lib/alis-sdk-ruby/client.rb', line 391 def get_me_articles_drafts(params = {}, = {}) req = build_request(:get_me_articles_drafts, params) req.send_request() end |
#get_me_articles_public(params = {}) ⇒ Types::GetMeArticlesPublicResponse
Returns a response object which responds to the following methods:
-
#array_of_article_info => Array<Types::ArticleInfo>
426 427 428 429 |
# File 'lib/alis-sdk-ruby/client.rb', line 426 def get_me_articles_public(params = {}, = {}) req = build_request(:get_me_articles_public, params) req.send_request() end |
#get_me_info(params = {}) ⇒ Types::GetMeInfoResponse
Returns a response object which responds to the following methods:
-
#user_info => Types::UserInfo
444 445 446 447 |
# File 'lib/alis-sdk-ruby/client.rb', line 444 def get_me_info(params = {}, = {}) req = build_request(:get_me_info, params) req.send_request() end |
#get_me_notifications(params = {}) ⇒ Types::GetMeNotificationsResponse
Returns a response object which responds to the following methods:
-
#array_of_notification => Array<Types::Notification>
464 465 466 467 |
# File 'lib/alis-sdk-ruby/client.rb', line 464 def get_me_notifications(params = {}, = {}) req = build_request(:get_me_notifications, params) req.send_request() end |
#get_me_unread_notification_managers(params = {}) ⇒ Types::GetMeUnread_notification_managersResponse
Returns a response object which responds to the following methods:
-
#mode_lc_40ebe => Types::MODELc40ebe
479 480 481 482 |
# File 'lib/alis-sdk-ruby/client.rb', line 479 def get_me_unread_notification_managers(params = {}, = {}) req = build_request(:get_me_unread_notification_managers, params) req.send_request() end |
#get_me_wallet_balance(params = {}) ⇒ Types::GetMeWalletBalanceResponse
Returns a response object which responds to the following methods:
-
#me_wallet_balance => Types::MeWalletBalance
494 495 496 497 |
# File 'lib/alis-sdk-ruby/client.rb', line 494 def get_me_wallet_balance(params = {}, = {}) req = build_request(:get_me_wallet_balance, params) req.send_request() end |
#get_users_user_id_articles_public(params = {}) ⇒ Types::GetUsersUser_idArticlesPublicResponse
Returns a response object which responds to the following methods:
-
#array_of_article_info => Array<Types::ArticleInfo>
532 533 534 535 |
# File 'lib/alis-sdk-ruby/client.rb', line 532 def get_users_user_id_articles_public(params = {}, = {}) req = build_request(:get_users_user_id_articles_public, params) req.send_request() end |
#get_users_user_id_info(params = {}) ⇒ Types::GetUsersUser_idInfoResponse
Returns a response object which responds to the following methods:
-
#user_info => Types::UserInfo
558 559 560 561 |
# File 'lib/alis-sdk-ruby/client.rb', line 558 def get_users_user_id_info(params = {}, = {}) req = build_request(:get_users_user_id_info, params) req.send_request() end |
#post_me_articles_article_id_fraud(params = {}) ⇒ Struct
Returns an empty response.
575 576 577 578 |
# File 'lib/alis-sdk-ruby/client.rb', line 575 def post_me_articles_article_id_fraud(params = {}, = {}) req = build_request(:post_me_articles_article_id_fraud, params) req.send_request() end |
#post_me_articles_article_id_images(params = {}) ⇒ Types::PostMeArticlesArticle_idImagesResponse
Returns a response object which responds to the following methods:
-
#mode_ld_06bfe => Types::MODELd06bfe
603 604 605 606 |
# File 'lib/alis-sdk-ruby/client.rb', line 603 def post_me_articles_article_id_images(params = {}, = {}) req = build_request(:post_me_articles_article_id_images, params) req.send_request() end |
#post_me_articles_article_id_like(params = {}) ⇒ Struct
Returns an empty response.
620 621 622 623 |
# File 'lib/alis-sdk-ruby/client.rb', line 620 def post_me_articles_article_id_like(params = {}, = {}) req = build_request(:post_me_articles_article_id_like, params) req.send_request() end |
#post_me_articles_article_id_pv(params = {}) ⇒ Struct
Returns an empty response.
637 638 639 640 |
# File 'lib/alis-sdk-ruby/client.rb', line 637 def post_me_articles_article_id_pv(params = {}, = {}) req = build_request(:post_me_articles_article_id_pv, params) req.send_request() end |
#post_me_articles_drafts(params = {}) ⇒ Types::PostMeArticlesDraftsResponse
Returns a response object which responds to the following methods:
-
#mode_lcde_73d => Types::MODELcde73d
665 666 667 668 |
# File 'lib/alis-sdk-ruby/client.rb', line 665 def post_me_articles_drafts(params = {}, = {}) req = build_request(:post_me_articles_drafts, params) req.send_request() end |
#post_me_info_icon(params = {}) ⇒ Types::PostMeInfoIconResponse
Returns a response object which responds to the following methods:
-
#mode_la_08eaf => Types::MODELa08eaf
690 691 692 693 |
# File 'lib/alis-sdk-ruby/client.rb', line 690 def post_me_info_icon(params = {}, = {}) req = build_request(:post_me_info_icon, params) req.send_request() end |
#put_me_articles_article_id_drafts(params = {}) ⇒ Struct
Returns an empty response.
712 713 714 715 |
# File 'lib/alis-sdk-ruby/client.rb', line 712 def put_me_articles_article_id_drafts(params = {}, = {}) req = build_request(:put_me_articles_article_id_drafts, params) req.send_request() end |
#put_me_articles_article_id_drafts_publish(params = {}) ⇒ Struct
Returns an empty response.
729 730 731 732 |
# File 'lib/alis-sdk-ruby/client.rb', line 729 def put_me_articles_article_id_drafts_publish(params = {}, = {}) req = build_request(:put_me_articles_article_id_drafts_publish, params) req.send_request() end |
#put_me_articles_article_id_public(params = {}) ⇒ Struct
Returns an empty response.
754 755 756 757 |
# File 'lib/alis-sdk-ruby/client.rb', line 754 def put_me_articles_article_id_public(params = {}, = {}) req = build_request(:put_me_articles_article_id_public, params) req.send_request() end |
#put_me_articles_article_id_public_republish(params = {}) ⇒ Struct
Returns an empty response.
771 772 773 774 |
# File 'lib/alis-sdk-ruby/client.rb', line 771 def put_me_articles_article_id_public_republish(params = {}, = {}) req = build_request(:put_me_articles_article_id_public_republish, params) req.send_request() end |
#put_me_articles_article_id_public_unpublish(params = {}) ⇒ Struct
Returns an empty response.
788 789 790 791 |
# File 'lib/alis-sdk-ruby/client.rb', line 788 def put_me_articles_article_id_public_unpublish(params = {}, = {}) req = build_request(:put_me_articles_article_id_public_unpublish, params) req.send_request() end |
#put_me_info(params = {}) ⇒ Struct
Returns an empty response.
808 809 810 811 |
# File 'lib/alis-sdk-ruby/client.rb', line 808 def put_me_info(params = {}, = {}) req = build_request(:put_me_info, params) req.send_request() end |
#put_me_unread_notification_managers(params = {}) ⇒ Struct
Returns an empty response.
817 818 819 820 |
# File 'lib/alis-sdk-ruby/client.rb', line 817 def put_me_unread_notification_managers(params = {}, = {}) req = build_request(:put_me_unread_notification_managers, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
849 850 851 |
# File 'lib/alis-sdk-ruby/client.rb', line 849 def waiter_names [] end |