line-bot-api 2.7.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/line/bot/v2/channel_access_token/api/channel_access_token_client.rb +15 -15
- data/lib/line/bot/v2/channel_access_token/model/channel_access_token_key_ids_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/error_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/issue_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/issue_short_lived_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/issue_stateless_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/channel_access_token/model/verify_channel_access_token_response.rb +2 -2
- data/lib/line/bot/v2/insight/api/insight_client.rb +10 -10
- data/lib/line/bot/v2/insight/model/age_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/app_type_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/area_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/error_detail.rb +2 -2
- data/lib/line/bot/v2/insight/model/error_response.rb +3 -3
- data/lib/line/bot/v2/insight/model/gender_tile.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_friends_demographics_response.rb +7 -7
- data/lib/line/bot/v2/insight/model/get_message_event_response.rb +5 -5
- data/lib/line/bot/v2/insight/model/get_message_event_response_click.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_message_event_response_message.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_message_event_response_overview.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_number_of_followers_response.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_number_of_message_deliveries_response.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response.rb +5 -5
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_click.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_message.rb +2 -2
- data/lib/line/bot/v2/insight/model/get_statistics_per_unit_response_overview.rb +2 -2
- data/lib/line/bot/v2/insight/model/subscription_period_tile.rb +2 -2
- data/lib/line/bot/v2/liff/api/liff_client.rb +6 -6
- data/lib/line/bot/v2/liff/model/add_liff_app_request.rb +4 -4
- data/lib/line/bot/v2/liff/model/add_liff_app_response.rb +2 -2
- data/lib/line/bot/v2/liff/model/get_all_liff_apps_response.rb +3 -3
- data/lib/line/bot/v2/liff/model/liff_app.rb +4 -4
- data/lib/line/bot/v2/liff/model/liff_features.rb +2 -2
- data/lib/line/bot/v2/liff/model/liff_view.rb +2 -2
- data/lib/line/bot/v2/liff/model/update_liff_app_request.rb +4 -4
- data/lib/line/bot/v2/liff/model/update_liff_view.rb +2 -2
- data/lib/line/bot/v2/manage_audience/api/manage_audience_blob_client.rb +3 -3
- data/lib/line/bot/v2/manage_audience/api/manage_audience_client.rb +19 -19
- data/lib/line/bot/v2/manage_audience/model/adaccount.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/add_audience_to_audience_group_request.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/audience.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/audience_group.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/audience_group_job.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_audience_group_request.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/create_audience_group_response.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_request.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_click_based_audience_group_response.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_request.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/create_imp_based_audience_group_response.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/detailed_owner.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/error_detail.rb +2 -2
- data/lib/line/bot/v2/manage_audience/model/error_response.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/get_audience_data_response.rb +5 -5
- data/lib/line/bot/v2/manage_audience/model/get_audience_groups_response.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/get_shared_audience_data_response.rb +5 -5
- data/lib/line/bot/v2/manage_audience/model/get_shared_audience_groups_response.rb +3 -3
- data/lib/line/bot/v2/manage_audience/model/update_audience_group_description_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/api/messaging_api_blob_client.rb +10 -10
- data/lib/line/bot/v2/messaging_api/api/messaging_api_client.rb +147 -147
- data/lib/line/bot/v2/messaging_api/model/acquisition_condition_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/acquisition_condition_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/age_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/all_mention_target.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/alt_uri.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/app_type_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/area_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/audience_recipient.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/audio_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/bot_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/broadcast_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/buttons_template.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/camera_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/camera_roll_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/carousel_column.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/carousel_template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/cash_back_fixed_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_fixed_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_percentage_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_percentage_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/cash_back_price_info_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/cash_back_price_info_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/chat_reference.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/clipboard_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/clipboard_imagemap_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/confirm_template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_cash_back_reward_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_cash_back_reward_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_create_request.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/coupon_create_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_discount_reward_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_discount_reward_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_free_reward_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_free_reward_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_gift_reward_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_gift_reward_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_list_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/coupon_others_reward_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_others_reward_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/coupon_response.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/coupon_reward_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/coupon_reward_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/create_rich_menu_alias_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/datetime_picker_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/demographic_filter.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/discount_explicit_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_explicit_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_fixed_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_fixed_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_percentage_price_info_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_percentage_price_info_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/discount_price_info_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/discount_price_info_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/emoji.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/emoji_substitution_object.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/error_detail.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/error_response.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/filter.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_block_style.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_box.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/flex_box_background.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_box_linear_gradient.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_bubble.rb +8 -8
- data/lib/line/bot/v2/messaging_api/model/flex_bubble_styles.rb +6 -6
- data/lib/line/bot/v2/messaging_api/model/flex_button.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_carousel.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_component.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_container.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_filler.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_icon.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_image.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/flex_message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/flex_separator.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_span.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/flex_text.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/flex_video.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/gender_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_name_list_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_aggregation_unit_usage_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_followers_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_joined_membership_users_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_membership_subscription_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/get_message_content_transcoding_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/get_webhook_endpoint_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/group_member_count_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/group_summary_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/group_user_profile_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/image_carousel_column.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/image_carousel_template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/image_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/imagemap_action.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/imagemap_area.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/imagemap_base_size.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/imagemap_external_link.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/imagemap_message.rb +7 -7
- data/lib/line/bot/v2/messaging_api/model/imagemap_video.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/issue_link_token_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/limit.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/location_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/location_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/lottery_acquisition_condition_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/lottery_acquisition_condition_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/mark_messages_as_read_by_token_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/mark_messages_as_read_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/members_ids_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/membership.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/membership_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/mention_substitution_object.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/mention_target.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/message_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/message_imagemap_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/message_quota_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/messaging_api_pager_coupon_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/multicast_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/narrowcast_progress_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/narrowcast_request.rb +6 -6
- data/lib/line/bot/v2/messaging_api/model/normal_acquisition_condition_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/normal_acquisition_condition_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/number_of_messages_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/operator_demographic_filter.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/operator_recipient.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/pnp_messages_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/postback_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/push_message_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/push_message_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/quick_reply.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/quick_reply_item.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/quota_consumption_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/recipient.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/redelivery_recipient.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/referral_acquisition_condition_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/reply_message_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/reply_message_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_alias_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_area.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_link_operation.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_operation.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_progress_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_all_operation.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_batch_unlink_operation.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bounds.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_link_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_bulk_unlink_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_id_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_list_response.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/rich_menu_request.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/rich_menu_response.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/rich_menu_size.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/rich_menu_switch_action.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/room_member_count_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/room_user_profile_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/sender.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/sent_message.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/set_webhook_endpoint_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/show_loading_animation_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/sticker_message.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/subscribed_membership_plan.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/subscribed_membership_user.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/subscription.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/subscription_period_demographic_filter.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/substitution_object.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/template.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/template_message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/test_webhook_endpoint_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/text_message.rb +5 -5
- data/lib/line/bot/v2/messaging_api/model/text_message_v2.rb +4 -4
- data/lib/line/bot/v2/messaging_api/model/update_rich_menu_alias_request.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/uri_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/uri_imagemap_action.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/user_mention_target.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/user_profile_response.rb +2 -2
- data/lib/line/bot/v2/messaging_api/model/validate_message_request.rb +3 -3
- data/lib/line/bot/v2/messaging_api/model/video_message.rb +4 -4
- data/lib/line/bot/v2/module/api/line_module_client.rb +5 -5
- data/lib/line/bot/v2/module/model/acquire_chat_control_request.rb +2 -2
- data/lib/line/bot/v2/module/model/detach_module_request.rb +2 -2
- data/lib/line/bot/v2/module/model/get_modules_response.rb +3 -3
- data/lib/line/bot/v2/module/model/module_bot.rb +2 -2
- data/lib/line/bot/v2/module_attach/api/line_module_attach_client.rb +2 -2
- data/lib/line/bot/v2/module_attach/model/attach_module_response.rb +2 -2
- data/lib/line/bot/v2/shop/api/shop_client.rb +1 -1
- data/lib/line/bot/v2/shop/model/error_response.rb +2 -2
- data/lib/line/bot/v2/shop/model/mission_sticker_request.rb +2 -2
- data/lib/line/bot/v2/webhook/model/account_link_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/activated_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/all_mentionee.rb +2 -2
- data/lib/line/bot/v2/webhook/model/attached_module_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/audio_message_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/beacon_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/beacon_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/bot_resumed_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/bot_suspended_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/callback_request.rb +3 -3
- data/lib/line/bot/v2/webhook/model/chat_control.rb +2 -2
- data/lib/line/bot/v2/webhook/model/content_provider.rb +2 -2
- data/lib/line/bot/v2/webhook/model/deactivated_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/delivery_context.rb +2 -2
- data/lib/line/bot/v2/webhook/model/detached_module_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/emoji.rb +2 -2
- data/lib/line/bot/v2/webhook/model/event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/file_message_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/follow_detail.rb +2 -2
- data/lib/line/bot/v2/webhook/model/follow_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/group_source.rb +2 -2
- data/lib/line/bot/v2/webhook/model/image_message_content.rb +4 -4
- data/lib/line/bot/v2/webhook/model/image_set.rb +2 -2
- data/lib/line/bot/v2/webhook/model/join_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/joined_members.rb +3 -3
- data/lib/line/bot/v2/webhook/model/joined_membership_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/leave_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/left_members.rb +3 -3
- data/lib/line/bot/v2/webhook/model/left_membership_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/link_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/location_message_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/member_joined_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/member_left_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/membership_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/membership_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/mention.rb +3 -3
- data/lib/line/bot/v2/webhook/model/mentionee.rb +3 -3
- data/lib/line/bot/v2/webhook/model/message_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/message_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/module_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/module_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/pnp_delivery.rb +2 -2
- data/lib/line/bot/v2/webhook/model/pnp_delivery_completion_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/postback_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/postback_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/renewed_membership_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/room_source.rb +2 -2
- data/lib/line/bot/v2/webhook/model/source.rb +3 -3
- data/lib/line/bot/v2/webhook/model/sticker_message_content.rb +2 -2
- data/lib/line/bot/v2/webhook/model/text_message_content.rb +4 -4
- data/lib/line/bot/v2/webhook/model/unfollow_event.rb +4 -4
- data/lib/line/bot/v2/webhook/model/unsend_detail.rb +2 -2
- data/lib/line/bot/v2/webhook/model/unsend_event.rb +5 -5
- data/lib/line/bot/v2/webhook/model/user_mentionee.rb +2 -2
- data/lib/line/bot/v2/webhook/model/user_source.rb +2 -2
- data/lib/line/bot/v2/webhook/model/video_message_content.rb +3 -3
- data/lib/line/bot/v2/webhook/model/video_play_complete.rb +2 -2
- data/lib/line/bot/v2/webhook/model/video_play_complete_event.rb +5 -5
- data/lib/line/bot/version.rb +1 -1
- data/line-bot-api.gemspec +1 -1
- data/sig/line/bot/v2/messaging_api/api/messaging_api_blob_client.rbs +4 -4
- data/sig/line/bot/v2/messaging_api/api/messaging_api_client.rbs +2 -2
- metadata +3 -3
|
@@ -40,11 +40,11 @@ module Line
|
|
|
40
40
|
# Create an instance of the class from a hash
|
|
41
41
|
# @param args [Hash] Hash containing all the required attributes
|
|
42
42
|
# @return [Line::Bot::V2::MessagingApi::AcquisitionConditionRequest] Instance of the class
|
|
43
|
-
def self.create(args)
|
|
43
|
+
def self.create(args)
|
|
44
44
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
45
45
|
klass = detect_class(type: symbolized_args[:type])
|
|
46
|
-
return klass.new(**symbolized_args) if klass # steep:ignore
|
|
47
|
-
return new(**symbolized_args) # steep:ignore
|
|
46
|
+
return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection
|
|
47
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
# @param other [Object] Object to compare
|
|
@@ -40,11 +40,11 @@ module Line
|
|
|
40
40
|
# Create an instance of the class from a hash
|
|
41
41
|
# @param args [Hash] Hash containing all the required attributes
|
|
42
42
|
# @return [Line::Bot::V2::MessagingApi::AcquisitionConditionResponse] Instance of the class
|
|
43
|
-
def self.create(args)
|
|
43
|
+
def self.create(args)
|
|
44
44
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
45
45
|
klass = detect_class(type: symbolized_args[:type])
|
|
46
|
-
return klass.new(**symbolized_args) if klass # steep:ignore
|
|
47
|
-
return new(**symbolized_args) # steep:ignore
|
|
46
|
+
return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection
|
|
47
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
# @param other [Object] Object to compare
|
|
@@ -48,11 +48,11 @@ module Line
|
|
|
48
48
|
# Create an instance of the class from a hash
|
|
49
49
|
# @param args [Hash] Hash containing all the required attributes
|
|
50
50
|
# @return [Line::Bot::V2::MessagingApi::Action] Instance of the class
|
|
51
|
-
def self.create(args)
|
|
51
|
+
def self.create(args)
|
|
52
52
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
53
53
|
klass = detect_class(type: symbolized_args[:type])
|
|
54
|
-
return klass.new(**symbolized_args) if klass # steep:ignore
|
|
55
|
-
return new(**symbolized_args)
|
|
54
|
+
return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection
|
|
55
|
+
return new(**symbolized_args)
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
# @param other [Object] Object to compare
|
|
@@ -52,9 +52,9 @@ module Line
|
|
|
52
52
|
# Create an instance of the class from a hash
|
|
53
53
|
# @param args [Hash] Hash containing all the required attributes
|
|
54
54
|
# @return [Line::Bot::V2::MessagingApi::AgeDemographicFilter] Instance of the class
|
|
55
|
-
def self.create(args)
|
|
55
|
+
def self.create(args)
|
|
56
56
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
57
|
-
return new(**symbolized_args)
|
|
57
|
+
return new(**symbolized_args)
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# @param other [Object] Object to compare
|
|
@@ -41,9 +41,9 @@ module Line
|
|
|
41
41
|
# Create an instance of the class from a hash
|
|
42
42
|
# @param args [Hash] Hash containing all the required attributes
|
|
43
43
|
# @return [Line::Bot::V2::MessagingApi::AllMentionTarget] Instance of the class
|
|
44
|
-
def self.create(args)
|
|
44
|
+
def self.create(args)
|
|
45
45
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
46
|
-
return new(**symbolized_args)
|
|
46
|
+
return new(**symbolized_args)
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# @param other [Object] Object to compare
|
|
@@ -40,9 +40,9 @@ module Line
|
|
|
40
40
|
# Create an instance of the class from a hash
|
|
41
41
|
# @param args [Hash] Hash containing all the required attributes
|
|
42
42
|
# @return [Line::Bot::V2::MessagingApi::AltUri] Instance of the class
|
|
43
|
-
def self.create(args)
|
|
43
|
+
def self.create(args)
|
|
44
44
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
45
|
-
return new(**symbolized_args)
|
|
45
|
+
return new(**symbolized_args)
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::AppTypeDemographicFilter] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::AreaDemographicFilter] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::AudienceRecipient] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -44,8 +44,8 @@ module Line
|
|
|
44
44
|
)
|
|
45
45
|
@type = "audio"
|
|
46
46
|
|
|
47
|
-
@quick_reply = quick_reply.is_a?(Line::Bot::V2::MessagingApi::QuickReply) || quick_reply.nil? ? quick_reply : Line::Bot::V2::MessagingApi::QuickReply.create(**quick_reply)
|
|
48
|
-
@sender = sender.is_a?(Line::Bot::V2::MessagingApi::Sender) || sender.nil? ? sender : Line::Bot::V2::MessagingApi::Sender.create(**sender)
|
|
47
|
+
@quick_reply = quick_reply.is_a?(Line::Bot::V2::MessagingApi::QuickReply) || quick_reply.nil? ? quick_reply : Line::Bot::V2::MessagingApi::QuickReply.create(**quick_reply)
|
|
48
|
+
@sender = sender.is_a?(Line::Bot::V2::MessagingApi::Sender) || sender.nil? ? sender : Line::Bot::V2::MessagingApi::Sender.create(**sender)
|
|
49
49
|
@original_content_url = original_content_url
|
|
50
50
|
@duration = duration
|
|
51
51
|
|
|
@@ -65,9 +65,9 @@ module Line
|
|
|
65
65
|
# Create an instance of the class from a hash
|
|
66
66
|
# @param args [Hash] Hash containing all the required attributes
|
|
67
67
|
# @return [Line::Bot::V2::MessagingApi::AudioMessage] Instance of the class
|
|
68
|
-
def self.create(args)
|
|
68
|
+
def self.create(args)
|
|
69
69
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
70
|
-
return new(**symbolized_args) # steep:ignore
|
|
70
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
71
71
|
end
|
|
72
72
|
|
|
73
73
|
# @param other [Object] Object to compare
|
|
@@ -77,9 +77,9 @@ module Line
|
|
|
77
77
|
# Create an instance of the class from a hash
|
|
78
78
|
# @param args [Hash] Hash containing all the required attributes
|
|
79
79
|
# @return [Line::Bot::V2::MessagingApi::BotInfoResponse] Instance of the class
|
|
80
|
-
def self.create(args)
|
|
80
|
+
def self.create(args)
|
|
81
81
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
82
|
-
return new(**symbolized_args) # steep:ignore
|
|
82
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
# @param other [Object] Object to compare
|
|
@@ -30,7 +30,7 @@ module Line
|
|
|
30
30
|
|
|
31
31
|
@messages = messages.map do |item|
|
|
32
32
|
if item.is_a?(Hash)
|
|
33
|
-
Line::Bot::V2::MessagingApi::Message.create(**item)
|
|
33
|
+
Line::Bot::V2::MessagingApi::Message.create(**item)
|
|
34
34
|
else
|
|
35
35
|
item
|
|
36
36
|
end
|
|
@@ -53,9 +53,9 @@ module Line
|
|
|
53
53
|
# Create an instance of the class from a hash
|
|
54
54
|
# @param args [Hash] Hash containing all the required attributes
|
|
55
55
|
# @return [Line::Bot::V2::MessagingApi::BroadcastRequest] Instance of the class
|
|
56
|
-
def self.create(args)
|
|
56
|
+
def self.create(args)
|
|
57
57
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
58
|
-
return new(**symbolized_args) # steep:ignore
|
|
58
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
59
59
|
end
|
|
60
60
|
|
|
61
61
|
# @param other [Object] Object to compare
|
|
@@ -69,10 +69,10 @@ module Line
|
|
|
69
69
|
@image_background_color = image_background_color
|
|
70
70
|
@title = title
|
|
71
71
|
@text = text
|
|
72
|
-
@default_action = default_action.is_a?(Line::Bot::V2::MessagingApi::Action) || default_action.nil? ? default_action : Line::Bot::V2::MessagingApi::Action.create(**default_action)
|
|
72
|
+
@default_action = default_action.is_a?(Line::Bot::V2::MessagingApi::Action) || default_action.nil? ? default_action : Line::Bot::V2::MessagingApi::Action.create(**default_action)
|
|
73
73
|
@actions = actions.map do |item|
|
|
74
74
|
if item.is_a?(Hash)
|
|
75
|
-
Line::Bot::V2::MessagingApi::Action.create(**item)
|
|
75
|
+
Line::Bot::V2::MessagingApi::Action.create(**item)
|
|
76
76
|
else
|
|
77
77
|
item
|
|
78
78
|
end
|
|
@@ -94,9 +94,9 @@ module Line
|
|
|
94
94
|
# Create an instance of the class from a hash
|
|
95
95
|
# @param args [Hash] Hash containing all the required attributes
|
|
96
96
|
# @return [Line::Bot::V2::MessagingApi::ButtonsTemplate] Instance of the class
|
|
97
|
-
def self.create(args)
|
|
97
|
+
def self.create(args)
|
|
98
98
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
99
|
-
return new(**symbolized_args) # steep:ignore
|
|
99
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::CameraAction] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::CameraRollAction] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -52,10 +52,10 @@ module Line
|
|
|
52
52
|
@image_background_color = image_background_color
|
|
53
53
|
@title = title
|
|
54
54
|
@text = text
|
|
55
|
-
@default_action = default_action.is_a?(Line::Bot::V2::MessagingApi::Action) || default_action.nil? ? default_action : Line::Bot::V2::MessagingApi::Action.create(**default_action)
|
|
55
|
+
@default_action = default_action.is_a?(Line::Bot::V2::MessagingApi::Action) || default_action.nil? ? default_action : Line::Bot::V2::MessagingApi::Action.create(**default_action)
|
|
56
56
|
@actions = actions.map do |item|
|
|
57
57
|
if item.is_a?(Hash)
|
|
58
|
-
Line::Bot::V2::MessagingApi::Action.create(**item)
|
|
58
|
+
Line::Bot::V2::MessagingApi::Action.create(**item)
|
|
59
59
|
else
|
|
60
60
|
item
|
|
61
61
|
end
|
|
@@ -77,9 +77,9 @@ module Line
|
|
|
77
77
|
# Create an instance of the class from a hash
|
|
78
78
|
# @param args [Hash] Hash containing all the required attributes
|
|
79
79
|
# @return [Line::Bot::V2::MessagingApi::CarouselColumn] Instance of the class
|
|
80
|
-
def self.create(args)
|
|
80
|
+
def self.create(args)
|
|
81
81
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
82
|
-
return new(**symbolized_args) # steep:ignore
|
|
82
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
# @param other [Object] Object to compare
|
|
@@ -40,7 +40,7 @@ module Line
|
|
|
40
40
|
|
|
41
41
|
@columns = columns.map do |item|
|
|
42
42
|
if item.is_a?(Hash)
|
|
43
|
-
Line::Bot::V2::MessagingApi::CarouselColumn.create(**item)
|
|
43
|
+
Line::Bot::V2::MessagingApi::CarouselColumn.create(**item)
|
|
44
44
|
else
|
|
45
45
|
item
|
|
46
46
|
end
|
|
@@ -64,9 +64,9 @@ module Line
|
|
|
64
64
|
# Create an instance of the class from a hash
|
|
65
65
|
# @param args [Hash] Hash containing all the required attributes
|
|
66
66
|
# @return [Line::Bot::V2::MessagingApi::CarouselTemplate] Instance of the class
|
|
67
|
-
def self.create(args)
|
|
67
|
+
def self.create(args)
|
|
68
68
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
69
|
-
return new(**symbolized_args) # steep:ignore
|
|
69
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::CashBackFixedPriceInfoRequest] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -52,9 +52,9 @@ module Line
|
|
|
52
52
|
# Create an instance of the class from a hash
|
|
53
53
|
# @param args [Hash] Hash containing all the required attributes
|
|
54
54
|
# @return [Line::Bot::V2::MessagingApi::CashBackFixedPriceInfoResponse] Instance of the class
|
|
55
|
-
def self.create(args)
|
|
55
|
+
def self.create(args)
|
|
56
56
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
57
|
-
return new(**symbolized_args)
|
|
57
|
+
return new(**symbolized_args)
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::CashBackPercentagePriceInfoRequest] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::CashBackPercentagePriceInfoResponse] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -40,11 +40,11 @@ module Line
|
|
|
40
40
|
# Create an instance of the class from a hash
|
|
41
41
|
# @param args [Hash] Hash containing all the required attributes
|
|
42
42
|
# @return [Line::Bot::V2::MessagingApi::CashBackPriceInfoRequest] Instance of the class
|
|
43
|
-
def self.create(args)
|
|
43
|
+
def self.create(args)
|
|
44
44
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
45
45
|
klass = detect_class(type: symbolized_args[:type])
|
|
46
|
-
return klass.new(**symbolized_args) if klass # steep:ignore
|
|
47
|
-
return new(**symbolized_args) # steep:ignore
|
|
46
|
+
return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection
|
|
47
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
# @param other [Object] Object to compare
|
|
@@ -40,11 +40,11 @@ module Line
|
|
|
40
40
|
# Create an instance of the class from a hash
|
|
41
41
|
# @param args [Hash] Hash containing all the required attributes
|
|
42
42
|
# @return [Line::Bot::V2::MessagingApi::CashBackPriceInfoResponse] Instance of the class
|
|
43
|
-
def self.create(args)
|
|
43
|
+
def self.create(args)
|
|
44
44
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
45
45
|
klass = detect_class(type: symbolized_args[:type])
|
|
46
|
-
return klass.new(**symbolized_args) if klass # steep:ignore
|
|
47
|
-
return new(**symbolized_args) # steep:ignore
|
|
46
|
+
return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection
|
|
47
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
# @param other [Object] Object to compare
|
|
@@ -42,9 +42,9 @@ module Line
|
|
|
42
42
|
# Create an instance of the class from a hash
|
|
43
43
|
# @param args [Hash] Hash containing all the required attributes
|
|
44
44
|
# @return [Line::Bot::V2::MessagingApi::ChatReference] Instance of the class
|
|
45
|
-
def self.create(args)
|
|
45
|
+
def self.create(args)
|
|
46
46
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
47
|
-
return new(**symbolized_args) # steep:ignore
|
|
47
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
48
48
|
end
|
|
49
49
|
|
|
50
50
|
# @param other [Object] Object to compare
|
|
@@ -53,9 +53,9 @@ module Line
|
|
|
53
53
|
# Create an instance of the class from a hash
|
|
54
54
|
# @param args [Hash] Hash containing all the required attributes
|
|
55
55
|
# @return [Line::Bot::V2::MessagingApi::ClipboardAction] Instance of the class
|
|
56
|
-
def self.create(args)
|
|
56
|
+
def self.create(args)
|
|
57
57
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
58
|
-
return new(**symbolized_args) # steep:ignore
|
|
58
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
59
59
|
end
|
|
60
60
|
|
|
61
61
|
# @param other [Object] Object to compare
|
|
@@ -39,7 +39,7 @@ module Line
|
|
|
39
39
|
)
|
|
40
40
|
@type = "clipboard"
|
|
41
41
|
|
|
42
|
-
@area = area.is_a?(Line::Bot::V2::MessagingApi::ImagemapArea) ? area : Line::Bot::V2::MessagingApi::ImagemapArea.create(**area)
|
|
42
|
+
@area = area.is_a?(Line::Bot::V2::MessagingApi::ImagemapArea) ? area : Line::Bot::V2::MessagingApi::ImagemapArea.create(**area)
|
|
43
43
|
@clipboard_text = clipboard_text
|
|
44
44
|
@label = label
|
|
45
45
|
|
|
@@ -59,9 +59,9 @@ module Line
|
|
|
59
59
|
# Create an instance of the class from a hash
|
|
60
60
|
# @param args [Hash] Hash containing all the required attributes
|
|
61
61
|
# @return [Line::Bot::V2::MessagingApi::ClipboardImagemapAction] Instance of the class
|
|
62
|
-
def self.create(args)
|
|
62
|
+
def self.create(args)
|
|
63
63
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
64
|
-
return new(**symbolized_args) # steep:ignore
|
|
64
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
65
65
|
end
|
|
66
66
|
|
|
67
67
|
# @param other [Object] Object to compare
|
|
@@ -36,7 +36,7 @@ module Line
|
|
|
36
36
|
@text = text
|
|
37
37
|
@actions = actions.map do |item|
|
|
38
38
|
if item.is_a?(Hash)
|
|
39
|
-
Line::Bot::V2::MessagingApi::Action.create(**item)
|
|
39
|
+
Line::Bot::V2::MessagingApi::Action.create(**item)
|
|
40
40
|
else
|
|
41
41
|
item
|
|
42
42
|
end
|
|
@@ -58,9 +58,9 @@ module Line
|
|
|
58
58
|
# Create an instance of the class from a hash
|
|
59
59
|
# @param args [Hash] Hash containing all the required attributes
|
|
60
60
|
# @return [Line::Bot::V2::MessagingApi::ConfirmTemplate] Instance of the class
|
|
61
|
-
def self.create(args)
|
|
61
|
+
def self.create(args)
|
|
62
62
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
63
|
-
return new(**symbolized_args) # steep:ignore
|
|
63
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
# @param other [Object] Object to compare
|
|
@@ -28,7 +28,7 @@ module Line
|
|
|
28
28
|
)
|
|
29
29
|
@type = "cashBack"
|
|
30
30
|
|
|
31
|
-
@price_info = price_info.is_a?(Line::Bot::V2::MessagingApi::CashBackPriceInfoRequest) || price_info.nil? ? price_info : Line::Bot::V2::MessagingApi::CashBackPriceInfoRequest.create(**price_info)
|
|
31
|
+
@price_info = price_info.is_a?(Line::Bot::V2::MessagingApi::CashBackPriceInfoRequest) || price_info.nil? ? price_info : Line::Bot::V2::MessagingApi::CashBackPriceInfoRequest.create(**price_info)
|
|
32
32
|
|
|
33
33
|
dynamic_attributes.each do |key, value|
|
|
34
34
|
self.class.attr_accessor key
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::CouponCashBackRewardRequest] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -28,7 +28,7 @@ module Line
|
|
|
28
28
|
)
|
|
29
29
|
@type = "cashBack"
|
|
30
30
|
|
|
31
|
-
@price_info = price_info.is_a?(Line::Bot::V2::MessagingApi::CashBackPriceInfoResponse) || price_info.nil? ? price_info : Line::Bot::V2::MessagingApi::CashBackPriceInfoResponse.create(**price_info)
|
|
31
|
+
@price_info = price_info.is_a?(Line::Bot::V2::MessagingApi::CashBackPriceInfoResponse) || price_info.nil? ? price_info : Line::Bot::V2::MessagingApi::CashBackPriceInfoResponse.create(**price_info)
|
|
32
32
|
|
|
33
33
|
dynamic_attributes.each do |key, value|
|
|
34
34
|
self.class.attr_accessor key
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::CouponCashBackRewardResponse] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -83,7 +83,7 @@ module Line
|
|
|
83
83
|
**dynamic_attributes
|
|
84
84
|
)
|
|
85
85
|
|
|
86
|
-
@acquisition_condition = acquisition_condition.is_a?(Line::Bot::V2::MessagingApi::AcquisitionConditionRequest) ? acquisition_condition : Line::Bot::V2::MessagingApi::AcquisitionConditionRequest.create(**acquisition_condition)
|
|
86
|
+
@acquisition_condition = acquisition_condition.is_a?(Line::Bot::V2::MessagingApi::AcquisitionConditionRequest) ? acquisition_condition : Line::Bot::V2::MessagingApi::AcquisitionConditionRequest.create(**acquisition_condition)
|
|
87
87
|
@barcode_image_url = barcode_image_url
|
|
88
88
|
@coupon_code = coupon_code
|
|
89
89
|
@description = description
|
|
@@ -93,7 +93,7 @@ module Line
|
|
|
93
93
|
@start_timestamp = start_timestamp
|
|
94
94
|
@title = title
|
|
95
95
|
@usage_condition = usage_condition
|
|
96
|
-
@reward = reward.is_a?(Line::Bot::V2::MessagingApi::CouponRewardRequest) || reward.nil? ? reward : Line::Bot::V2::MessagingApi::CouponRewardRequest.create(**reward)
|
|
96
|
+
@reward = reward.is_a?(Line::Bot::V2::MessagingApi::CouponRewardRequest) || reward.nil? ? reward : Line::Bot::V2::MessagingApi::CouponRewardRequest.create(**reward)
|
|
97
97
|
@visibility = visibility
|
|
98
98
|
@timezone = timezone
|
|
99
99
|
|
|
@@ -113,9 +113,9 @@ module Line
|
|
|
113
113
|
# Create an instance of the class from a hash
|
|
114
114
|
# @param args [Hash] Hash containing all the required attributes
|
|
115
115
|
# @return [Line::Bot::V2::MessagingApi::CouponCreateRequest] Instance of the class
|
|
116
|
-
def self.create(args)
|
|
116
|
+
def self.create(args)
|
|
117
117
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
118
|
-
return new(**symbolized_args) # steep:ignore
|
|
118
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
# @param other [Object] Object to compare
|
|
@@ -41,9 +41,9 @@ module Line
|
|
|
41
41
|
# Create an instance of the class from a hash
|
|
42
42
|
# @param args [Hash] Hash containing all the required attributes
|
|
43
43
|
# @return [Line::Bot::V2::MessagingApi::CouponCreateResponse] Instance of the class
|
|
44
|
-
def self.create(args)
|
|
44
|
+
def self.create(args)
|
|
45
45
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
46
|
-
return new(**symbolized_args) # steep:ignore
|
|
46
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# @param other [Object] Object to compare
|
|
@@ -28,7 +28,7 @@ module Line
|
|
|
28
28
|
)
|
|
29
29
|
@type = "discount"
|
|
30
30
|
|
|
31
|
-
@price_info = price_info.is_a?(Line::Bot::V2::MessagingApi::DiscountPriceInfoRequest) || price_info.nil? ? price_info : Line::Bot::V2::MessagingApi::DiscountPriceInfoRequest.create(**price_info)
|
|
31
|
+
@price_info = price_info.is_a?(Line::Bot::V2::MessagingApi::DiscountPriceInfoRequest) || price_info.nil? ? price_info : Line::Bot::V2::MessagingApi::DiscountPriceInfoRequest.create(**price_info)
|
|
32
32
|
|
|
33
33
|
dynamic_attributes.each do |key, value|
|
|
34
34
|
self.class.attr_accessor key
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::CouponDiscountRewardRequest] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -28,7 +28,7 @@ module Line
|
|
|
28
28
|
)
|
|
29
29
|
@type = "discount"
|
|
30
30
|
|
|
31
|
-
@price_info = price_info.is_a?(Line::Bot::V2::MessagingApi::DiscountPriceInfoResponse) || price_info.nil? ? price_info : Line::Bot::V2::MessagingApi::DiscountPriceInfoResponse.create(**price_info)
|
|
31
|
+
@price_info = price_info.is_a?(Line::Bot::V2::MessagingApi::DiscountPriceInfoResponse) || price_info.nil? ? price_info : Line::Bot::V2::MessagingApi::DiscountPriceInfoResponse.create(**price_info)
|
|
32
32
|
|
|
33
33
|
dynamic_attributes.each do |key, value|
|
|
34
34
|
self.class.attr_accessor key
|
|
@@ -46,9 +46,9 @@ module Line
|
|
|
46
46
|
# Create an instance of the class from a hash
|
|
47
47
|
# @param args [Hash] Hash containing all the required attributes
|
|
48
48
|
# @return [Line::Bot::V2::MessagingApi::CouponDiscountRewardResponse] Instance of the class
|
|
49
|
-
def self.create(args)
|
|
49
|
+
def self.create(args)
|
|
50
50
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
51
|
-
return new(**symbolized_args)
|
|
51
|
+
return new(**symbolized_args)
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# @param other [Object] Object to compare
|
|
@@ -40,9 +40,9 @@ module Line
|
|
|
40
40
|
# Create an instance of the class from a hash
|
|
41
41
|
# @param args [Hash] Hash containing all the required attributes
|
|
42
42
|
# @return [Line::Bot::V2::MessagingApi::CouponFreeRewardRequest] Instance of the class
|
|
43
|
-
def self.create(args)
|
|
43
|
+
def self.create(args)
|
|
44
44
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
45
|
-
return new(**symbolized_args)
|
|
45
|
+
return new(**symbolized_args)
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
# @param other [Object] Object to compare
|
|
@@ -40,9 +40,9 @@ module Line
|
|
|
40
40
|
# Create an instance of the class from a hash
|
|
41
41
|
# @param args [Hash] Hash containing all the required attributes
|
|
42
42
|
# @return [Line::Bot::V2::MessagingApi::CouponFreeRewardResponse] Instance of the class
|
|
43
|
-
def self.create(args)
|
|
43
|
+
def self.create(args)
|
|
44
44
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
45
|
-
return new(**symbolized_args)
|
|
45
|
+
return new(**symbolized_args)
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
# @param other [Object] Object to compare
|
|
@@ -40,9 +40,9 @@ module Line
|
|
|
40
40
|
# Create an instance of the class from a hash
|
|
41
41
|
# @param args [Hash] Hash containing all the required attributes
|
|
42
42
|
# @return [Line::Bot::V2::MessagingApi::CouponGiftRewardRequest] Instance of the class
|
|
43
|
-
def self.create(args)
|
|
43
|
+
def self.create(args)
|
|
44
44
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
45
|
-
return new(**symbolized_args)
|
|
45
|
+
return new(**symbolized_args)
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
# @param other [Object] Object to compare
|
|
@@ -40,9 +40,9 @@ module Line
|
|
|
40
40
|
# Create an instance of the class from a hash
|
|
41
41
|
# @param args [Hash] Hash containing all the required attributes
|
|
42
42
|
# @return [Line::Bot::V2::MessagingApi::CouponGiftRewardResponse] Instance of the class
|
|
43
|
-
def self.create(args)
|
|
43
|
+
def self.create(args)
|
|
44
44
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
45
|
-
return new(**symbolized_args)
|
|
45
|
+
return new(**symbolized_args)
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
# @param other [Object] Object to compare
|