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
|
@@ -47,9 +47,9 @@ module Line
|
|
|
47
47
|
# Create an instance of the class from a hash
|
|
48
48
|
# @param args [Hash] Hash containing all the required attributes
|
|
49
49
|
# @return [Line::Bot::V2::MessagingApi::CouponListResponse] Instance of the class
|
|
50
|
-
def self.create(args)
|
|
50
|
+
def self.create(args)
|
|
51
51
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
52
|
-
return new(**symbolized_args) # steep:ignore
|
|
52
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
# @param other [Object] Object to compare
|
|
@@ -44,8 +44,8 @@ module Line
|
|
|
44
44
|
)
|
|
45
45
|
@type = "coupon"
|
|
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
|
@coupon_id = coupon_id
|
|
50
50
|
@delivery_tag = delivery_tag
|
|
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::CouponMessage] 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
|
|
@@ -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::CouponOthersRewardRequest] 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::CouponOthersRewardResponse] 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
|
|
@@ -108,7 +108,7 @@ module Line
|
|
|
108
108
|
**dynamic_attributes
|
|
109
109
|
)
|
|
110
110
|
|
|
111
|
-
@acquisition_condition = acquisition_condition.is_a?(Line::Bot::V2::MessagingApi::AcquisitionConditionResponse) || acquisition_condition.nil? ? acquisition_condition : Line::Bot::V2::MessagingApi::AcquisitionConditionResponse.create(**acquisition_condition)
|
|
111
|
+
@acquisition_condition = acquisition_condition.is_a?(Line::Bot::V2::MessagingApi::AcquisitionConditionResponse) || acquisition_condition.nil? ? acquisition_condition : Line::Bot::V2::MessagingApi::AcquisitionConditionResponse.create(**acquisition_condition)
|
|
112
112
|
@barcode_image_url = barcode_image_url
|
|
113
113
|
@coupon_code = coupon_code
|
|
114
114
|
@description = description
|
|
@@ -120,7 +120,7 @@ module Line
|
|
|
120
120
|
@start_timestamp = start_timestamp
|
|
121
121
|
@title = title
|
|
122
122
|
@usage_condition = usage_condition
|
|
123
|
-
@reward = reward.is_a?(Line::Bot::V2::MessagingApi::CouponRewardResponse) || reward.nil? ? reward : Line::Bot::V2::MessagingApi::CouponRewardResponse.create(**reward)
|
|
123
|
+
@reward = reward.is_a?(Line::Bot::V2::MessagingApi::CouponRewardResponse) || reward.nil? ? reward : Line::Bot::V2::MessagingApi::CouponRewardResponse.create(**reward)
|
|
124
124
|
@visibility = visibility
|
|
125
125
|
@timezone = timezone
|
|
126
126
|
@coupon_id = coupon_id
|
|
@@ -143,9 +143,9 @@ module Line
|
|
|
143
143
|
# Create an instance of the class from a hash
|
|
144
144
|
# @param args [Hash] Hash containing all the required attributes
|
|
145
145
|
# @return [Line::Bot::V2::MessagingApi::CouponResponse] Instance of the class
|
|
146
|
-
def self.create(args)
|
|
146
|
+
def self.create(args)
|
|
147
147
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
148
|
-
return new(**symbolized_args)
|
|
148
|
+
return new(**symbolized_args)
|
|
149
149
|
end
|
|
150
150
|
|
|
151
151
|
# @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::CouponRewardRequest] 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::CouponRewardResponse] 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
|
|
@@ -47,9 +47,9 @@ module Line
|
|
|
47
47
|
# Create an instance of the class from a hash
|
|
48
48
|
# @param args [Hash] Hash containing all the required attributes
|
|
49
49
|
# @return [Line::Bot::V2::MessagingApi::CreateRichMenuAliasRequest] Instance of the class
|
|
50
|
-
def self.create(args)
|
|
50
|
+
def self.create(args)
|
|
51
51
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
52
|
-
return new(**symbolized_args) # steep:ignore
|
|
52
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
53
53
|
end
|
|
54
54
|
|
|
55
55
|
# @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::DatetimePickerAction] 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)
|
|
82
|
+
return new(**symbolized_args)
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
# @param other [Object] Object to compare
|
|
@@ -41,11 +41,11 @@ 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::DemographicFilter] 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
46
|
klass = detect_class(type: symbolized_args[:type])
|
|
47
|
-
return klass.new(**symbolized_args) if klass # steep:ignore
|
|
48
|
-
return new(**symbolized_args)
|
|
47
|
+
return klass.new(**symbolized_args) if klass # steep:ignore UnannotatedEmptyCollection
|
|
48
|
+
return new(**symbolized_args)
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
# @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::DiscountExplicitPriceInfoRequest] 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
|
|
@@ -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::DiscountExplicitPriceInfoResponse] 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)
|
|
63
|
+
return new(**symbolized_args)
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
# @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::DiscountFixedPriceInfoRequest] 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::DiscountFixedPriceInfoResponse] 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::DiscountPercentagePriceInfoRequest] 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::DiscountPercentagePriceInfoResponse] 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::DiscountPriceInfoRequest] 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::DiscountPriceInfoResponse] 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
|
|
@@ -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::Emoji] 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
|
|
@@ -54,9 +54,9 @@ module Line
|
|
|
54
54
|
# Create an instance of the class from a hash
|
|
55
55
|
# @param args [Hash] Hash containing all the required attributes
|
|
56
56
|
# @return [Line::Bot::V2::MessagingApi::EmojiSubstitutionObject] Instance of the class
|
|
57
|
-
def self.create(args)
|
|
57
|
+
def self.create(args)
|
|
58
58
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
59
|
-
return new(**symbolized_args) # steep:ignore
|
|
59
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
# @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::ErrorDetail] 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
|
|
@@ -36,14 +36,14 @@ module Line
|
|
|
36
36
|
@message = message
|
|
37
37
|
@details = details&.map do |item|
|
|
38
38
|
if item.is_a?(Hash)
|
|
39
|
-
Line::Bot::V2::MessagingApi::ErrorDetail.create(**item)
|
|
39
|
+
Line::Bot::V2::MessagingApi::ErrorDetail.create(**item)
|
|
40
40
|
else
|
|
41
41
|
item
|
|
42
42
|
end
|
|
43
43
|
end
|
|
44
44
|
@sent_messages = sent_messages&.map do |item|
|
|
45
45
|
if item.is_a?(Hash)
|
|
46
|
-
Line::Bot::V2::MessagingApi::SentMessage.create(**item)
|
|
46
|
+
Line::Bot::V2::MessagingApi::SentMessage.create(**item)
|
|
47
47
|
else
|
|
48
48
|
item
|
|
49
49
|
end
|
|
@@ -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::ErrorResponse] 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
|
|
@@ -23,7 +23,7 @@ module Line
|
|
|
23
23
|
**dynamic_attributes
|
|
24
24
|
)
|
|
25
25
|
|
|
26
|
-
@demographic = demographic.is_a?(Line::Bot::V2::MessagingApi::DemographicFilter) || demographic.nil? ? demographic : Line::Bot::V2::MessagingApi::DemographicFilter.create(**demographic)
|
|
26
|
+
@demographic = demographic.is_a?(Line::Bot::V2::MessagingApi::DemographicFilter) || demographic.nil? ? demographic : Line::Bot::V2::MessagingApi::DemographicFilter.create(**demographic)
|
|
27
27
|
|
|
28
28
|
dynamic_attributes.each do |key, value|
|
|
29
29
|
self.class.attr_accessor key
|
|
@@ -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::Filter] 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
|
|
@@ -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::FlexBlockStyle] 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
|
|
@@ -162,7 +162,7 @@ module Line
|
|
|
162
162
|
@flex = flex
|
|
163
163
|
@contents = contents.map do |item|
|
|
164
164
|
if item.is_a?(Hash)
|
|
165
|
-
Line::Bot::V2::MessagingApi::FlexComponent.create(**item)
|
|
165
|
+
Line::Bot::V2::MessagingApi::FlexComponent.create(**item)
|
|
166
166
|
else
|
|
167
167
|
item
|
|
168
168
|
end
|
|
@@ -187,10 +187,10 @@ module Line
|
|
|
187
187
|
@padding_bottom = padding_bottom
|
|
188
188
|
@padding_start = padding_start
|
|
189
189
|
@padding_end = padding_end
|
|
190
|
-
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) || action.nil? ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
190
|
+
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) || action.nil? ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
191
191
|
@justify_content = justify_content
|
|
192
192
|
@align_items = align_items
|
|
193
|
-
@background = background.is_a?(Line::Bot::V2::MessagingApi::FlexBoxBackground) || background.nil? ? background : Line::Bot::V2::MessagingApi::FlexBoxBackground.create(**background)
|
|
193
|
+
@background = background.is_a?(Line::Bot::V2::MessagingApi::FlexBoxBackground) || background.nil? ? background : Line::Bot::V2::MessagingApi::FlexBoxBackground.create(**background)
|
|
194
194
|
|
|
195
195
|
dynamic_attributes.each do |key, value|
|
|
196
196
|
self.class.attr_accessor key
|
|
@@ -208,9 +208,9 @@ module Line
|
|
|
208
208
|
# Create an instance of the class from a hash
|
|
209
209
|
# @param args [Hash] Hash containing all the required attributes
|
|
210
210
|
# @return [Line::Bot::V2::MessagingApi::FlexBox] Instance of the class
|
|
211
|
-
def self.create(args)
|
|
211
|
+
def self.create(args)
|
|
212
212
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
213
|
-
return new(**symbolized_args) # steep:ignore
|
|
213
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
214
214
|
end
|
|
215
215
|
|
|
216
216
|
# @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::FlexBoxBackground] 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
|
|
@@ -70,9 +70,9 @@ module Line
|
|
|
70
70
|
# Create an instance of the class from a hash
|
|
71
71
|
# @param args [Hash] Hash containing all the required attributes
|
|
72
72
|
# @return [Line::Bot::V2::MessagingApi::FlexBoxLinearGradient] Instance of the class
|
|
73
|
-
def self.create(args)
|
|
73
|
+
def self.create(args)
|
|
74
74
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
75
|
-
return new(**symbolized_args)
|
|
75
|
+
return new(**symbolized_args)
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
# @param other [Object] Object to compare
|
|
@@ -64,13 +64,13 @@ module Line
|
|
|
64
64
|
@type = "bubble"
|
|
65
65
|
|
|
66
66
|
@direction = direction
|
|
67
|
-
@styles = styles.is_a?(Line::Bot::V2::MessagingApi::FlexBubbleStyles) || styles.nil? ? styles : Line::Bot::V2::MessagingApi::FlexBubbleStyles.create(**styles)
|
|
68
|
-
@header = header.is_a?(Line::Bot::V2::MessagingApi::FlexBox) || header.nil? ? header : Line::Bot::V2::MessagingApi::FlexBox.create(**header)
|
|
69
|
-
@hero = hero.is_a?(Line::Bot::V2::MessagingApi::FlexComponent) || hero.nil? ? hero : Line::Bot::V2::MessagingApi::FlexComponent.create(**hero)
|
|
70
|
-
@body = body.is_a?(Line::Bot::V2::MessagingApi::FlexBox) || body.nil? ? body : Line::Bot::V2::MessagingApi::FlexBox.create(**body)
|
|
71
|
-
@footer = footer.is_a?(Line::Bot::V2::MessagingApi::FlexBox) || footer.nil? ? footer : Line::Bot::V2::MessagingApi::FlexBox.create(**footer)
|
|
67
|
+
@styles = styles.is_a?(Line::Bot::V2::MessagingApi::FlexBubbleStyles) || styles.nil? ? styles : Line::Bot::V2::MessagingApi::FlexBubbleStyles.create(**styles)
|
|
68
|
+
@header = header.is_a?(Line::Bot::V2::MessagingApi::FlexBox) || header.nil? ? header : Line::Bot::V2::MessagingApi::FlexBox.create(**header)
|
|
69
|
+
@hero = hero.is_a?(Line::Bot::V2::MessagingApi::FlexComponent) || hero.nil? ? hero : Line::Bot::V2::MessagingApi::FlexComponent.create(**hero)
|
|
70
|
+
@body = body.is_a?(Line::Bot::V2::MessagingApi::FlexBox) || body.nil? ? body : Line::Bot::V2::MessagingApi::FlexBox.create(**body)
|
|
71
|
+
@footer = footer.is_a?(Line::Bot::V2::MessagingApi::FlexBox) || footer.nil? ? footer : Line::Bot::V2::MessagingApi::FlexBox.create(**footer)
|
|
72
72
|
@size = size
|
|
73
|
-
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) || action.nil? ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
73
|
+
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) || action.nil? ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
74
74
|
|
|
75
75
|
dynamic_attributes.each do |key, value|
|
|
76
76
|
self.class.attr_accessor key
|
|
@@ -88,9 +88,9 @@ module Line
|
|
|
88
88
|
# Create an instance of the class from a hash
|
|
89
89
|
# @param args [Hash] Hash containing all the required attributes
|
|
90
90
|
# @return [Line::Bot::V2::MessagingApi::FlexBubble] Instance of the class
|
|
91
|
-
def self.create(args)
|
|
91
|
+
def self.create(args)
|
|
92
92
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
93
|
-
return new(**symbolized_args)
|
|
93
|
+
return new(**symbolized_args)
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
# @param other [Object] Object to compare
|
|
@@ -37,10 +37,10 @@ module Line
|
|
|
37
37
|
**dynamic_attributes
|
|
38
38
|
)
|
|
39
39
|
|
|
40
|
-
@header = header.is_a?(Line::Bot::V2::MessagingApi::FlexBlockStyle) || header.nil? ? header : Line::Bot::V2::MessagingApi::FlexBlockStyle.create(**header)
|
|
41
|
-
@hero = hero.is_a?(Line::Bot::V2::MessagingApi::FlexBlockStyle) || hero.nil? ? hero : Line::Bot::V2::MessagingApi::FlexBlockStyle.create(**hero)
|
|
42
|
-
@body = body.is_a?(Line::Bot::V2::MessagingApi::FlexBlockStyle) || body.nil? ? body : Line::Bot::V2::MessagingApi::FlexBlockStyle.create(**body)
|
|
43
|
-
@footer = footer.is_a?(Line::Bot::V2::MessagingApi::FlexBlockStyle) || footer.nil? ? footer : Line::Bot::V2::MessagingApi::FlexBlockStyle.create(**footer)
|
|
40
|
+
@header = header.is_a?(Line::Bot::V2::MessagingApi::FlexBlockStyle) || header.nil? ? header : Line::Bot::V2::MessagingApi::FlexBlockStyle.create(**header)
|
|
41
|
+
@hero = hero.is_a?(Line::Bot::V2::MessagingApi::FlexBlockStyle) || hero.nil? ? hero : Line::Bot::V2::MessagingApi::FlexBlockStyle.create(**hero)
|
|
42
|
+
@body = body.is_a?(Line::Bot::V2::MessagingApi::FlexBlockStyle) || body.nil? ? body : Line::Bot::V2::MessagingApi::FlexBlockStyle.create(**body)
|
|
43
|
+
@footer = footer.is_a?(Line::Bot::V2::MessagingApi::FlexBlockStyle) || footer.nil? ? footer : Line::Bot::V2::MessagingApi::FlexBlockStyle.create(**footer)
|
|
44
44
|
|
|
45
45
|
dynamic_attributes.each do |key, value|
|
|
46
46
|
self.class.attr_accessor key
|
|
@@ -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::FlexBubbleStyles] 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)
|
|
63
|
+
return new(**symbolized_args)
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
# @param other [Object] Object to compare
|
|
@@ -96,7 +96,7 @@ module Line
|
|
|
96
96
|
@flex = flex
|
|
97
97
|
@color = color
|
|
98
98
|
@style = style
|
|
99
|
-
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
99
|
+
@action = action.is_a?(Line::Bot::V2::MessagingApi::Action) ? action : Line::Bot::V2::MessagingApi::Action.create(**action)
|
|
100
100
|
@gravity = gravity
|
|
101
101
|
@margin = margin
|
|
102
102
|
@position = position
|
|
@@ -124,9 +124,9 @@ module Line
|
|
|
124
124
|
# Create an instance of the class from a hash
|
|
125
125
|
# @param args [Hash] Hash containing all the required attributes
|
|
126
126
|
# @return [Line::Bot::V2::MessagingApi::FlexButton] Instance of the class
|
|
127
|
-
def self.create(args)
|
|
127
|
+
def self.create(args)
|
|
128
128
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
129
|
-
return new(**symbolized_args) # steep:ignore
|
|
129
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
# @param other [Object] Object to compare
|
|
@@ -30,7 +30,7 @@ module Line
|
|
|
30
30
|
|
|
31
31
|
@contents = contents.map do |item|
|
|
32
32
|
if item.is_a?(Hash)
|
|
33
|
-
Line::Bot::V2::MessagingApi::FlexBubble.create(**item)
|
|
33
|
+
Line::Bot::V2::MessagingApi::FlexBubble.create(**item)
|
|
34
34
|
else
|
|
35
35
|
item
|
|
36
36
|
end
|
|
@@ -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::FlexCarousel] 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) # steep:ignore
|
|
57
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# @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::FlexComponent] 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::FlexContainer] 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
|
|
@@ -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::FlexFiller] 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
|
|
@@ -101,9 +101,9 @@ module Line
|
|
|
101
101
|
# Create an instance of the class from a hash
|
|
102
102
|
# @param args [Hash] Hash containing all the required attributes
|
|
103
103
|
# @return [Line::Bot::V2::MessagingApi::FlexIcon] Instance of the class
|
|
104
|
-
def self.create(args)
|
|
104
|
+
def self.create(args)
|
|
105
105
|
symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
|
|
106
|
-
return new(**symbolized_args) # steep:ignore
|
|
106
|
+
return new(**symbolized_args) # steep:ignore InsufficientKeywordArguments
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
# @param other [Object] Object to compare
|