diff --git a/docs/classes/LINE-Clients-MessagingApi-Api-MessagingApiApi.html b/docs/classes/LINE-Clients-MessagingApi-Api-MessagingApiApi.html index 37881c6c..a304def9 100644 --- a/docs/classes/LINE-Clients-MessagingApi-Api-MessagingApiApi.html +++ b/docs/classes/LINE-Clients-MessagingApi-Api-MessagingApiApi.html @@ -203,7 +203,7 @@

contentTypes -  = ['audienceMatch' => ['application/json'], 'broadcast' => ['application/json'], 'cancelDefaultRichMenu' => ['application/json'], 'createRichMenu' => ['application/json'], 'createRichMenuAlias' => ['application/json'], 'deleteRichMenu' => ['application/json'], 'deleteRichMenuAlias' => ['application/json'], 'getAdPhoneMessageStatistics' => ['application/json'], 'getAggregationUnitNameList' => ['application/json'], 'getAggregationUnitUsage' => ['application/json'], 'getBotInfo' => ['application/json'], 'getDefaultRichMenuId' => ['application/json'], 'getFollowers' => ['application/json'], 'getGroupMemberCount' => ['application/json'], 'getGroupMemberProfile' => ['application/json'], 'getGroupMembersIds' => ['application/json'], 'getGroupSummary' => ['application/json'], 'getMembershipList' => ['application/json'], 'getMembershipSubscription' => ['application/json'], 'getMessageQuota' => ['application/json'], 'getMessageQuotaConsumption' => ['application/json'], 'getNarrowcastProgress' => ['application/json'], 'getNumberOfSentBroadcastMessages' => ['application/json'], 'getNumberOfSentMulticastMessages' => ['application/json'], 'getNumberOfSentPushMessages' => ['application/json'], 'getNumberOfSentReplyMessages' => ['application/json'], 'getPNPMessageStatistics' => ['application/json'], 'getProfile' => ['application/json'], 'getRichMenu' => ['application/json'], 'getRichMenuAlias' => ['application/json'], 'getRichMenuAliasList' => ['application/json'], 'getRichMenuBatchProgress' => ['application/json'], 'getRichMenuIdOfUser' => ['application/json'], 'getRichMenuList' => ['application/json'], 'getRoomMemberCount' => ['application/json'], 'getRoomMemberProfile' => ['application/json'], 'getRoomMembersIds' => ['application/json'], 'getWebhookEndpoint' => ['application/json'], 'issueLinkToken' => ['application/json'], 'leaveGroup' => ['application/json'], 'leaveRoom' => ['application/json'], 'linkRichMenuIdToUser' => ['application/json'], 'linkRichMenuIdToUsers' => ['application/json'], 'markMessagesAsRead' => ['application/json'], 'multicast' => ['application/json'], 'narrowcast' => ['application/json'], 'pushMessage' => ['application/json'], 'pushMessagesByPhone' => ['application/json'], 'replyMessage' => ['application/json'], 'richMenuBatch' => ['application/json'], 'setDefaultRichMenu' => ['application/json'], 'setWebhookEndpoint' => ['application/json'], 'testWebhookEndpoint' => ['application/json'], 'unlinkRichMenuIdFromUser' => ['application/json'], 'unlinkRichMenuIdFromUsers' => ['application/json'], 'updateRichMenuAlias' => ['application/json'], 'validateBroadcast' => ['application/json'], 'validateMulticast' => ['application/json'], 'validateNarrowcast' => ['application/json'], 'validatePush' => ['application/json'], 'validateReply' => ['application/json'], 'validateRichMenuBatchRequest' => ['application/json'], 'validateRichMenuObject' => ['application/json']] +  = ['audienceMatch' => ['application/json'], 'broadcast' => ['application/json'], 'cancelDefaultRichMenu' => ['application/json'], 'createRichMenu' => ['application/json'], 'createRichMenuAlias' => ['application/json'], 'deleteRichMenu' => ['application/json'], 'deleteRichMenuAlias' => ['application/json'], 'getAdPhoneMessageStatistics' => ['application/json'], 'getAggregationUnitNameList' => ['application/json'], 'getAggregationUnitUsage' => ['application/json'], 'getBotInfo' => ['application/json'], 'getDefaultRichMenuId' => ['application/json'], 'getFollowers' => ['application/json'], 'getGroupMemberCount' => ['application/json'], 'getGroupMemberProfile' => ['application/json'], 'getGroupMembersIds' => ['application/json'], 'getGroupSummary' => ['application/json'], 'getMembershipList' => ['application/json'], 'getMembershipSubscription' => ['application/json'], 'getMessageQuota' => ['application/json'], 'getMessageQuotaConsumption' => ['application/json'], 'getNarrowcastProgress' => ['application/json'], 'getNumberOfSentBroadcastMessages' => ['application/json'], 'getNumberOfSentMulticastMessages' => ['application/json'], 'getNumberOfSentPushMessages' => ['application/json'], 'getNumberOfSentReplyMessages' => ['application/json'], 'getPNPMessageStatistics' => ['application/json'], 'getProfile' => ['application/json'], 'getRichMenu' => ['application/json'], 'getRichMenuAlias' => ['application/json'], 'getRichMenuAliasList' => ['application/json'], 'getRichMenuBatchProgress' => ['application/json'], 'getRichMenuIdOfUser' => ['application/json'], 'getRichMenuList' => ['application/json'], 'getRoomMemberCount' => ['application/json'], 'getRoomMemberProfile' => ['application/json'], 'getRoomMembersIds' => ['application/json'], 'getWebhookEndpoint' => ['application/json'], 'issueLinkToken' => ['application/json'], 'leaveGroup' => ['application/json'], 'leaveRoom' => ['application/json'], 'linkRichMenuIdToUser' => ['application/json'], 'linkRichMenuIdToUsers' => ['application/json'], 'markMessagesAsRead' => ['application/json'], 'multicast' => ['application/json'], 'narrowcast' => ['application/json'], 'pushMessage' => ['application/json'], 'pushMessagesByPhone' => ['application/json'], 'replyMessage' => ['application/json'], 'richMenuBatch' => ['application/json'], 'setDefaultRichMenu' => ['application/json'], 'setWebhookEndpoint' => ['application/json'], 'showLoadingAnimation' => ['application/json'], 'testWebhookEndpoint' => ['application/json'], 'unlinkRichMenuIdFromUser' => ['application/json'], 'unlinkRichMenuIdFromUsers' => ['application/json'], 'updateRichMenuAlias' => ['application/json'], 'validateBroadcast' => ['application/json'], 'validateMulticast' => ['application/json'], 'validateNarrowcast' => ['application/json'], 'validatePush' => ['application/json'], 'validateReply' => ['application/json'], 'validateRichMenuBatchRequest' => ['application/json'], 'validateRichMenuObject' => ['application/json']]
@@ -2083,6 +2083,41 @@

Operation setWebhookEndpointWithHttpInfo
+
+ showLoadingAnimation() + +  : object|ErrorResponse +
+
Operation showLoadingAnimation
+ +
+ showLoadingAnimationAsync() + +  : PromiseInterface +
+
Operation showLoadingAnimationAsync
+ +
+ showLoadingAnimationAsyncWithHttpInfo() + +  : PromiseInterface +
+
Operation showLoadingAnimationAsyncWithHttpInfo
+ +
+ showLoadingAnimationRequest() + +  : Request +
+
Create request for operation 'showLoadingAnimation'
+ +
+ showLoadingAnimationWithHttpInfo() + +  : array<string|int, mixed> +
+
Operation showLoadingAnimationWithHttpInfo
+
testWebhookEndpoint() @@ -2503,7 +2538,7 @@

public array<string|int, string> contentTypes - = ['audienceMatch' => ['application/json'], 'broadcast' => ['application/json'], 'cancelDefaultRichMenu' => ['application/json'], 'createRichMenu' => ['application/json'], 'createRichMenuAlias' => ['application/json'], 'deleteRichMenu' => ['application/json'], 'deleteRichMenuAlias' => ['application/json'], 'getAdPhoneMessageStatistics' => ['application/json'], 'getAggregationUnitNameList' => ['application/json'], 'getAggregationUnitUsage' => ['application/json'], 'getBotInfo' => ['application/json'], 'getDefaultRichMenuId' => ['application/json'], 'getFollowers' => ['application/json'], 'getGroupMemberCount' => ['application/json'], 'getGroupMemberProfile' => ['application/json'], 'getGroupMembersIds' => ['application/json'], 'getGroupSummary' => ['application/json'], 'getMembershipList' => ['application/json'], 'getMembershipSubscription' => ['application/json'], 'getMessageQuota' => ['application/json'], 'getMessageQuotaConsumption' => ['application/json'], 'getNarrowcastProgress' => ['application/json'], 'getNumberOfSentBroadcastMessages' => ['application/json'], 'getNumberOfSentMulticastMessages' => ['application/json'], 'getNumberOfSentPushMessages' => ['application/json'], 'getNumberOfSentReplyMessages' => ['application/json'], 'getPNPMessageStatistics' => ['application/json'], 'getProfile' => ['application/json'], 'getRichMenu' => ['application/json'], 'getRichMenuAlias' => ['application/json'], 'getRichMenuAliasList' => ['application/json'], 'getRichMenuBatchProgress' => ['application/json'], 'getRichMenuIdOfUser' => ['application/json'], 'getRichMenuList' => ['application/json'], 'getRoomMemberCount' => ['application/json'], 'getRoomMemberProfile' => ['application/json'], 'getRoomMembersIds' => ['application/json'], 'getWebhookEndpoint' => ['application/json'], 'issueLinkToken' => ['application/json'], 'leaveGroup' => ['application/json'], 'leaveRoom' => ['application/json'], 'linkRichMenuIdToUser' => ['application/json'], 'linkRichMenuIdToUsers' => ['application/json'], 'markMessagesAsRead' => ['application/json'], 'multicast' => ['application/json'], 'narrowcast' => ['application/json'], 'pushMessage' => ['application/json'], 'pushMessagesByPhone' => ['application/json'], 'replyMessage' => ['application/json'], 'richMenuBatch' => ['application/json'], 'setDefaultRichMenu' => ['application/json'], 'setWebhookEndpoint' => ['application/json'], 'testWebhookEndpoint' => ['application/json'], 'unlinkRichMenuIdFromUser' => ['application/json'], 'unlinkRichMenuIdFromUsers' => ['application/json'], 'updateRichMenuAlias' => ['application/json'], 'validateBroadcast' => ['application/json'], 'validateMulticast' => ['application/json'], 'validateNarrowcast' => ['application/json'], 'validatePush' => ['application/json'], 'validateReply' => ['application/json'], 'validateRichMenuBatchRequest' => ['application/json'], 'validateRichMenuObject' => ['application/json']] + = ['audienceMatch' => ['application/json'], 'broadcast' => ['application/json'], 'cancelDefaultRichMenu' => ['application/json'], 'createRichMenu' => ['application/json'], 'createRichMenuAlias' => ['application/json'], 'deleteRichMenu' => ['application/json'], 'deleteRichMenuAlias' => ['application/json'], 'getAdPhoneMessageStatistics' => ['application/json'], 'getAggregationUnitNameList' => ['application/json'], 'getAggregationUnitUsage' => ['application/json'], 'getBotInfo' => ['application/json'], 'getDefaultRichMenuId' => ['application/json'], 'getFollowers' => ['application/json'], 'getGroupMemberCount' => ['application/json'], 'getGroupMemberProfile' => ['application/json'], 'getGroupMembersIds' => ['application/json'], 'getGroupSummary' => ['application/json'], 'getMembershipList' => ['application/json'], 'getMembershipSubscription' => ['application/json'], 'getMessageQuota' => ['application/json'], 'getMessageQuotaConsumption' => ['application/json'], 'getNarrowcastProgress' => ['application/json'], 'getNumberOfSentBroadcastMessages' => ['application/json'], 'getNumberOfSentMulticastMessages' => ['application/json'], 'getNumberOfSentPushMessages' => ['application/json'], 'getNumberOfSentReplyMessages' => ['application/json'], 'getPNPMessageStatistics' => ['application/json'], 'getProfile' => ['application/json'], 'getRichMenu' => ['application/json'], 'getRichMenuAlias' => ['application/json'], 'getRichMenuAliasList' => ['application/json'], 'getRichMenuBatchProgress' => ['application/json'], 'getRichMenuIdOfUser' => ['application/json'], 'getRichMenuList' => ['application/json'], 'getRoomMemberCount' => ['application/json'], 'getRoomMemberProfile' => ['application/json'], 'getRoomMembersIds' => ['application/json'], 'getWebhookEndpoint' => ['application/json'], 'issueLinkToken' => ['application/json'], 'leaveGroup' => ['application/json'], 'leaveRoom' => ['application/json'], 'linkRichMenuIdToUser' => ['application/json'], 'linkRichMenuIdToUsers' => ['application/json'], 'markMessagesAsRead' => ['application/json'], 'multicast' => ['application/json'], 'narrowcast' => ['application/json'], 'pushMessage' => ['application/json'], 'pushMessagesByPhone' => ['application/json'], 'replyMessage' => ['application/json'], 'richMenuBatch' => ['application/json'], 'setDefaultRichMenu' => ['application/json'], 'setWebhookEndpoint' => ['application/json'], 'showLoadingAnimation' => ['application/json'], 'testWebhookEndpoint' => ['application/json'], 'unlinkRichMenuIdFromUser' => ['application/json'], 'unlinkRichMenuIdFromUsers' => ['application/json'], 'updateRichMenuAlias' => ['application/json'], 'validateBroadcast' => ['application/json'], 'validateMulticast' => ['application/json'], 'validateNarrowcast' => ['application/json'], 'validatePush' => ['application/json'], 'validateReply' => ['application/json'], 'validateRichMenuBatchRequest' => ['application/json'], 'validateRichMenuObject' => ['application/json']] @@ -2674,7 +2709,7 @@

@@ -2739,7 +2774,7 @@

@@ -2817,7 +2852,7 @@

@@ -2885,7 +2920,7 @@

MessagingApiApi.php : - 427 + 430 @@ -2953,7 +2988,7 @@

@@ -3021,7 +3056,7 @@

@@ -3101,7 +3136,7 @@

@@ -3188,7 +3223,7 @@

@@ -3265,7 +3300,7 @@

@@ -3342,7 +3377,7 @@

@@ -3419,7 +3454,7 @@

@@ -3508,7 +3543,7 @@

@@ -3577,7 +3612,7 @@

@@ -3636,7 +3671,7 @@

MessagingApiApi.php : - 1027 + 1030 @@ -3695,7 +3730,7 @@

MessagingApiApi.php : - 1063 + 1066 @@ -3754,7 +3789,7 @@

MessagingApiApi.php : - 953 + 956 @@ -3825,7 +3860,7 @@

@@ -3903,7 +3938,7 @@

@@ -3981,7 +4016,7 @@

@@ -4049,7 +4084,7 @@

MessagingApiApi.php : - 1522 + 1525 @@ -4117,7 +4152,7 @@

@@ -4185,7 +4220,7 @@

MessagingApiApi.php : - 1438 + 1441 @@ -4265,7 +4300,7 @@

@@ -4333,7 +4368,7 @@

MessagingApiApi.php : - 1277 + 1280 @@ -4401,7 +4436,7 @@

@@ -4469,7 +4504,7 @@

@@ -4549,7 +4584,7 @@

@@ -4627,7 +4662,7 @@

@@ -4705,7 +4740,7 @@

@@ -4773,7 +4808,7 @@

MessagingApiApi.php : - 1979 + 1982 @@ -4841,7 +4876,7 @@

@@ -4909,7 +4944,7 @@

MessagingApiApi.php : - 1895 + 1898 @@ -4989,7 +5024,7 @@

@@ -5057,7 +5092,7 @@

MessagingApiApi.php : - 1746 + 1749 @@ -5125,7 +5160,7 @@

@@ -5193,7 +5228,7 @@

@@ -5273,7 +5308,7 @@

@@ -5351,7 +5386,7 @@

MessagingApiApi.php : - 2226 + 2229 @@ -5419,7 +5454,7 @@

MessagingApiApi.php : - 2245 + 2248 @@ -5487,7 +5522,7 @@

MessagingApiApi.php : - 2295 + 2298 @@ -5555,7 +5590,7 @@

MessagingApiApi.php : - 2129 + 2132 @@ -5635,7 +5670,7 @@

@@ -5722,7 +5757,7 @@

MessagingApiApi.php : - 2509 + 2512 @@ -5799,7 +5834,7 @@

MessagingApiApi.php : - 2529 + 2532 @@ -5876,7 +5911,7 @@

MessagingApiApi.php : - 2580 + 2583 @@ -5953,7 +5988,7 @@

MessagingApiApi.php : - 2411 + 2414 @@ -6042,7 +6077,7 @@

@@ -6111,7 +6146,7 @@

MessagingApiApi.php : - 2792 + 2795 @@ -6170,7 +6205,7 @@

MessagingApiApi.php : - 2810 + 2813 @@ -6229,7 +6264,7 @@

MessagingApiApi.php : - 2859 + 2862 @@ -6288,7 +6323,7 @@

MessagingApiApi.php : - 2696 + 2699 @@ -6359,7 +6394,7 @@

@@ -6428,7 +6463,7 @@

@@ -6487,7 +6522,7 @@

@@ -6546,7 +6581,7 @@

@@ -6605,7 +6640,7 @@

@@ -6676,7 +6711,7 @@

@@ -6708,7 +6743,7 @@

@@ -6777,7 +6812,7 @@

@@ -6836,7 +6871,7 @@

MessagingApiApi.php : - 3328 + 3331 @@ -6895,7 +6930,7 @@

@@ -6954,7 +6989,7 @@

MessagingApiApi.php : - 3214 + 3217 @@ -7025,7 +7060,7 @@

@@ -7112,7 +7147,7 @@

@@ -7189,7 +7224,7 @@

MessagingApiApi.php : - 3595 + 3598 @@ -7266,7 +7301,7 @@

@@ -7343,7 +7378,7 @@

@@ -7432,7 +7467,7 @@

@@ -7510,7 +7545,7 @@

@@ -7578,7 +7613,7 @@

MessagingApiApi.php : - 3883 + 3886 @@ -7646,7 +7681,7 @@

@@ -7714,7 +7749,7 @@

MessagingApiApi.php : - 3767 + 3770 @@ -7794,7 +7829,7 @@

@@ -7881,7 +7916,7 @@

@@ -7958,7 +7993,7 @@

MessagingApiApi.php : - 4166 + 4169 @@ -8035,7 +8070,7 @@

MessagingApiApi.php : - 4217 + 4220 @@ -8112,7 +8147,7 @@

MessagingApiApi.php : - 4048 + 4051 @@ -8201,7 +8236,7 @@

@@ -8288,7 +8323,7 @@

@@ -8365,7 +8400,7 @@

MessagingApiApi.php : - 4465 + 4468 @@ -8442,7 +8477,7 @@

@@ -8519,7 +8554,7 @@

MessagingApiApi.php : - 4347 + 4350 @@ -8608,7 +8643,7 @@

@@ -8686,7 +8721,7 @@

@@ -8754,7 +8789,7 @@

MessagingApiApi.php : - 4755 + 4758 @@ -8822,7 +8857,7 @@

@@ -8890,7 +8925,7 @@

@@ -8970,7 +9005,7 @@

@@ -9005,7 +9040,7 @@

@@ -9074,7 +9109,7 @@

@@ -9133,7 +9168,7 @@

MessagingApiApi.php : - 5053 + 5056 @@ -9192,7 +9227,7 @@

@@ -9251,7 +9286,7 @@

MessagingApiApi.php : - 4916 + 4919 @@ -9322,7 +9357,7 @@

@@ -9400,7 +9435,7 @@

MessagingApiApi.php : - 5343 + 5346 @@ -9468,7 +9503,7 @@

MessagingApiApi.php : - 5362 + 5365 @@ -9536,7 +9571,7 @@

MessagingApiApi.php : - 5412 + 5415 @@ -9604,7 +9639,7 @@

MessagingApiApi.php : - 5200 + 5203 @@ -9684,7 +9719,7 @@

@@ -9753,7 +9788,7 @@

@@ -9812,7 +9847,7 @@

MessagingApiApi.php : - 5637 + 5640 @@ -9871,7 +9906,7 @@

@@ -9940,7 +9975,7 @@

MessagingApiApi.php : - 5878 + 5881 @@ -9999,7 +10034,7 @@

MessagingApiApi.php : - 5896 + 5899 @@ -10058,7 +10093,7 @@

MessagingApiApi.php : - 5945 + 5948 @@ -10117,7 +10152,7 @@

MessagingApiApi.php : - 5782 + 5785 @@ -10188,7 +10223,7 @@

@@ -10247,7 +10282,7 @@

@@ -10318,7 +10353,7 @@

@@ -10396,7 +10431,7 @@

@@ -10464,7 +10499,7 @@

MessagingApiApi.php : - 6159 + 6162 @@ -10532,7 +10567,7 @@

MessagingApiApi.php : - 6209 + 6212 @@ -10600,7 +10635,7 @@

MessagingApiApi.php : - 6043 + 6046 @@ -10680,7 +10715,7 @@

MessagingApiApi.php : - 6307 + 6310 @@ -10758,7 +10793,7 @@

MessagingApiApi.php : - 6420 + 6423 @@ -10826,7 +10861,7 @@

MessagingApiApi.php : - 6439 + 6442 @@ -10894,7 +10929,7 @@

MessagingApiApi.php : - 6489 + 6492 @@ -10962,7 +10997,7 @@

MessagingApiApi.php : - 6323 + 6326 @@ -11042,7 +11077,7 @@

MessagingApiApi.php : - 6587 + 6590 @@ -11120,7 +11155,7 @@

MessagingApiApi.php : - 6700 + 6703 @@ -11188,7 +11223,7 @@

MessagingApiApi.php : - 6719 + 6722 @@ -11256,7 +11291,7 @@

MessagingApiApi.php : - 6769 + 6772 @@ -11324,7 +11359,7 @@

MessagingApiApi.php : - 6603 + 6606 @@ -11404,7 +11439,7 @@

@@ -11482,7 +11517,7 @@

MessagingApiApi.php : - 6980 + 6983 @@ -11550,7 +11585,7 @@

MessagingApiApi.php : - 6999 + 7002 @@ -11618,7 +11653,7 @@

MessagingApiApi.php : - 7049 + 7052 @@ -11686,7 +11721,7 @@

MessagingApiApi.php : - 6883 + 6886 @@ -11766,7 +11801,7 @@

MessagingApiApi.php : - 7147 + 7150 @@ -11844,7 +11879,7 @@

MessagingApiApi.php : - 7260 + 7263 @@ -11912,7 +11947,7 @@

MessagingApiApi.php : - 7279 + 7282 @@ -11980,7 +12015,7 @@

MessagingApiApi.php : - 7329 + 7332 @@ -12048,7 +12083,7 @@

MessagingApiApi.php : - 7163 + 7166 @@ -12128,7 +12163,7 @@

@@ -12206,7 +12241,7 @@

MessagingApiApi.php : - 7540 + 7543 @@ -12274,7 +12309,7 @@

MessagingApiApi.php : - 7559 + 7562 @@ -12342,7 +12377,7 @@

MessagingApiApi.php : - 7609 + 7612 @@ -12410,7 +12445,7 @@

MessagingApiApi.php : - 7443 + 7446 @@ -12490,7 +12525,7 @@

@@ -12568,7 +12603,7 @@

@@ -12636,7 +12671,7 @@

@@ -12704,7 +12739,7 @@

@@ -12772,7 +12807,7 @@

@@ -12852,7 +12887,7 @@

@@ -12930,7 +12965,7 @@

@@ -13008,7 +13043,7 @@

@@ -13076,7 +13111,7 @@

MessagingApiApi.php : - 8400 + 8403 @@ -13144,7 +13179,7 @@

@@ -13213,7 +13248,7 @@

@@ -13272,7 +13307,7 @@

MessagingApiApi.php : - 8675 + 8678 @@ -13331,7 +13366,7 @@

@@ -13390,7 +13425,7 @@

MessagingApiApi.php : - 8561 + 8564 @@ -13461,7 +13496,7 @@

@@ -13529,7 +13564,7 @@

MessagingApiApi.php : - 8284 + 8287 @@ -13609,7 +13644,7 @@

@@ -13677,7 +13712,7 @@

MessagingApiApi.php : - 8121 + 8124 @@ -13745,7 +13780,7 @@

@@ -13823,7 +13858,7 @@

MessagingApiApi.php : - 8919 + 8922 @@ -13891,7 +13926,7 @@

MessagingApiApi.php : - 8938 + 8941 @@ -13959,7 +13994,7 @@

MessagingApiApi.php : - 8988 + 8991 @@ -14027,7 +14062,7 @@

MessagingApiApi.php : - 8822 + 8825 @@ -14107,7 +14142,7 @@

@@ -14185,7 +14220,7 @@

@@ -14253,7 +14288,7 @@

MessagingApiApi.php : - 9218 + 9221 @@ -14321,7 +14356,7 @@

@@ -14389,7 +14424,7 @@

MessagingApiApi.php : - 9102 + 9105 @@ -14469,7 +14504,7 @@

@@ -14538,7 +14573,7 @@

@@ -14597,7 +14632,7 @@

MessagingApiApi.php : - 9493 + 9496 @@ -14656,7 +14691,7 @@

@@ -14715,7 +14750,7 @@

@@ -14786,7 +14821,7 @@

@@ -14854,7 +14889,7 @@

@@ -14934,7 +14969,7 @@

@@ -15012,7 +15047,7 @@

@@ -15080,7 +15115,7 @@

MessagingApiApi.php : - 9756 + 9759 @@ -15148,7 +15183,7 @@

@@ -15216,7 +15251,7 @@

MessagingApiApi.php : - 9640 + 9643 @@ -15296,7 +15331,7 @@

@@ -15383,7 +15418,7 @@

@@ -15460,7 +15495,7 @@

MessagingApiApi.php : - 10039 + 10042 @@ -15537,7 +15572,7 @@

@@ -15614,7 +15649,7 @@

MessagingApiApi.php : - 9921 + 9924 @@ -15703,7 +15738,7 @@

@@ -15790,7 +15825,7 @@

@@ -15867,7 +15902,7 @@

MessagingApiApi.php : - 10338 + 10341 @@ -15944,7 +15979,7 @@

@@ -16021,7 +16056,7 @@

MessagingApiApi.php : - 10220 + 10223 @@ -16110,7 +16145,7 @@

@@ -16179,7 +16214,7 @@

@@ -16238,7 +16273,7 @@

MessagingApiApi.php : - 10624 + 10627 @@ -16297,7 +16332,7 @@

@@ -16356,7 +16391,7 @@

MessagingApiApi.php : - 10510 + 10513 @@ -16427,7 +16462,7 @@

@@ -16505,7 +16540,7 @@

@@ -16573,7 +16608,7 @@

MessagingApiApi.php : - 10887 + 10890 @@ -16641,7 +16676,7 @@

@@ -16709,7 +16744,7 @@

@@ -16789,7 +16824,7 @@

@@ -16867,7 +16902,7 @@

@@ -16935,7 +16970,7 @@

@@ -17003,7 +17038,7 @@

@@ -17071,7 +17106,7 @@

@@ -17151,7 +17186,7 @@

@@ -17229,7 +17264,7 @@

@@ -17297,7 +17332,7 @@

@@ -17365,7 +17400,7 @@

@@ -17433,7 +17468,7 @@

@@ -17513,7 +17548,7 @@

@@ -17600,7 +17635,7 @@

@@ -17677,7 +17712,7 @@

MessagingApiApi.php : - 11595 + 11598 @@ -17754,7 +17789,7 @@

@@ -17831,7 +17866,7 @@

@@ -17909,7 +17944,7 @@

@@ -17977,7 +18012,7 @@

MessagingApiApi.php : - 11836 + 11839 @@ -18045,7 +18080,7 @@

MessagingApiApi.php : - 11873 + 11876 @@ -18113,7 +18148,7 @@

MessagingApiApi.php : - 11760 + 11763 @@ -18193,7 +18228,7 @@

MessagingApiApi.php : - 11517 + 11520 @@ -18282,7 +18317,7 @@

@@ -18360,7 +18395,7 @@

@@ -18428,7 +18463,7 @@

MessagingApiApi.php : - 12060 + 12063 @@ -18496,7 +18531,7 @@

@@ -18564,7 +18599,7 @@

MessagingApiApi.php : - 11984 + 11987 @@ -18644,7 +18679,7 @@

@@ -18731,7 +18766,7 @@

@@ -18808,7 +18843,7 @@

@@ -18885,7 +18920,7 @@

@@ -18962,7 +18997,7 @@

@@ -19051,7 +19086,7 @@

@@ -19138,7 +19173,7 @@

@@ -19215,7 +19250,7 @@

@@ -19292,7 +19327,7 @@

@@ -19369,7 +19404,7 @@

@@ -19458,7 +19493,7 @@

@@ -19545,7 +19580,7 @@

@@ -19622,7 +19657,7 @@

MessagingApiApi.php : - 13181 + 13184 @@ -19699,7 +19734,7 @@

@@ -19776,7 +19811,7 @@

@@ -19863,7 +19898,7 @@

@@ -19940,7 +19975,7 @@

MessagingApiApi.php : - 13436 + 13439 @@ -20017,7 +20052,7 @@

@@ -20094,7 +20129,7 @@

MessagingApiApi.php : - 13350 + 13353 @@ -20183,7 +20218,7 @@

@@ -20272,7 +20307,7 @@

@@ -20350,7 +20385,7 @@

@@ -20418,7 +20453,7 @@

MessagingApiApi.php : - 13759 + 13762 @@ -20486,7 +20521,7 @@

@@ -20554,7 +20589,7 @@

@@ -20634,7 +20669,7 @@

@@ -20712,7 +20747,7 @@

@@ -20780,7 +20815,7 @@

MessagingApiApi.php : - 13996 + 13999 @@ -20848,7 +20883,7 @@

@@ -20916,7 +20951,7 @@

@@ -20996,7 +21031,7 @@

@@ -21074,7 +21109,7 @@

@@ -21142,7 +21177,7 @@

MessagingApiApi.php : - 14220 + 14223 @@ -21210,7 +21245,7 @@

@@ -21278,7 +21313,7 @@

MessagingApiApi.php : - 14144 + 14147 @@ -21358,7 +21393,7 @@

@@ -21403,7 +21438,7 @@

@@ -21481,7 +21516,7 @@

@@ -21549,7 +21584,7 @@

MessagingApiApi.php : - 14445 + 14448 @@ -21617,7 +21652,7 @@

@@ -21685,7 +21720,7 @@

MessagingApiApi.php : - 14369 + 14372 @@ -21751,6 +21786,368 @@

Return values
+ +
+

+ showLoadingAnimation() + +

+ + +

Operation showLoadingAnimation

+ + + public + showLoadingAnimation(ShowLoadingAnimationRequest $showLoadingAnimationRequest[, string $contentType = self::contentTypes['showLoadingAnimation'][0] ]) : object|ErrorResponse + + +
Parameters
+
+
+ $showLoadingAnimationRequest + : ShowLoadingAnimationRequest +
+
+

showLoadingAnimationRequest (required)

+
+ +
+
+ $contentType + : string + = self::contentTypes['showLoadingAnimation'][0]
+
+

The value for the Content-Type header. Check self::contentTypes['showLoadingAnimation'] to see the possible values for this operation

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ ApiException + +

on non-2xx response

+
+ +
+
+ throws +
+
+ InvalidArgumentException + + +
+
+ +
Return values
+ object|ErrorResponse + — + + +
+
+

+ showLoadingAnimationAsync() + +

+ + +

Operation showLoadingAnimationAsync

+ + + public + showLoadingAnimationAsync(ShowLoadingAnimationRequest $showLoadingAnimationRequest[, string $contentType = self::contentTypes['showLoadingAnimation'][0] ]) : PromiseInterface + + +
Parameters
+
+
+ $showLoadingAnimationRequest + : ShowLoadingAnimationRequest +
+
+

(required)

+
+ +
+
+ $contentType + : string + = self::contentTypes['showLoadingAnimation'][0]
+
+

The value for the Content-Type header. Check self::contentTypes['showLoadingAnimation'] to see the possible values for this operation

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ InvalidArgumentException + + +
+
+ +
Return values
+ PromiseInterface + — + + +
+
+

+ showLoadingAnimationAsyncWithHttpInfo() + +

+ + +

Operation showLoadingAnimationAsyncWithHttpInfo

+ + + public + showLoadingAnimationAsyncWithHttpInfo(ShowLoadingAnimationRequest $showLoadingAnimationRequest[, string $contentType = self::contentTypes['showLoadingAnimation'][0] ]) : PromiseInterface + + +
Parameters
+
+
+ $showLoadingAnimationRequest + : ShowLoadingAnimationRequest +
+
+

(required)

+
+ +
+
+ $contentType + : string + = self::contentTypes['showLoadingAnimation'][0]
+
+

The value for the Content-Type header. Check self::contentTypes['showLoadingAnimation'] to see the possible values for this operation

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ InvalidArgumentException + + +
+
+ +
Return values
+ PromiseInterface + — + + +
+
+

+ showLoadingAnimationRequest() + +

+ + +

Create request for operation 'showLoadingAnimation'

+ + + public + showLoadingAnimationRequest(ShowLoadingAnimationRequest $showLoadingAnimationRequest[, string $contentType = self::contentTypes['showLoadingAnimation'][0] ]) : Request + + +
Parameters
+
+
+ $showLoadingAnimationRequest + : ShowLoadingAnimationRequest +
+
+

(required)

+
+ +
+
+ $contentType + : string + = self::contentTypes['showLoadingAnimation'][0]
+
+

The value for the Content-Type header. Check self::contentTypes['showLoadingAnimation'] to see the possible values for this operation

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ InvalidArgumentException + + +
+
+ +
Return values
+ Request + — + + +
+
+

+ showLoadingAnimationWithHttpInfo() + +

+ + +

Operation showLoadingAnimationWithHttpInfo

+ + + public + showLoadingAnimationWithHttpInfo(ShowLoadingAnimationRequest $showLoadingAnimationRequest[, string $contentType = self::contentTypes['showLoadingAnimation'][0] ]) : array<string|int, mixed> + + +
Parameters
+
+
+ $showLoadingAnimationRequest + : ShowLoadingAnimationRequest +
+
+

(required)

+
+ +
+
+ $contentType + : string + = self::contentTypes['showLoadingAnimation'][0]
+
+

The value for the Content-Type header. Check self::contentTypes['showLoadingAnimation'] to see the possible values for this operation

+
+ +
+
+ + +
+ Tags + +
+
+
+ throws +
+
+ ApiException + +

on non-2xx response

+
+ +
+
+ throws +
+
+ InvalidArgumentException + + +
+
+ +
Return values
+ array<string|int, mixed> + — +

of object|\LINE\Clients\MessagingApi\Model\ErrorResponse, HTTP status code, HTTP response headers (array of strings)

+
+ +
@@ -21843,7 +22240,7 @@

@@ -21911,7 +22308,7 @@

MessagingApiApi.php : - 14710 + 15014 @@ -21979,7 +22376,7 @@

@@ -22047,7 +22444,7 @@

MessagingApiApi.php : - 14594 + 14898 @@ -22127,7 +22524,7 @@

@@ -22205,7 +22602,7 @@

MessagingApiApi.php : - 14922 + 15226 @@ -22273,7 +22670,7 @@

MessagingApiApi.php : - 14941 + 15245 @@ -22341,7 +22738,7 @@

MessagingApiApi.php : - 14978 + 15282 @@ -22409,7 +22806,7 @@

@@ -22487,7 +22884,7 @@

MessagingApiApi.php : - 15147 + 15451 @@ -22555,7 +22952,7 @@

MessagingApiApi.php : - 15166 + 15470 @@ -22623,7 +23020,7 @@

MessagingApiApi.php : - 15203 + 15507 @@ -22691,7 +23088,7 @@

MessagingApiApi.php : - 15090 + 15394 @@ -22771,7 +23168,7 @@

MessagingApiApi.php : - 14865 + 15169 @@ -22851,7 +23248,7 @@

@@ -22938,7 +23335,7 @@

@@ -23015,7 +23412,7 @@

MessagingApiApi.php : - 15402 + 15706 @@ -23092,7 +23489,7 @@

@@ -23169,7 +23566,7 @@

MessagingApiApi.php : - 15316 + 15620 @@ -23258,7 +23655,7 @@

@@ -23336,7 +23733,7 @@

@@ -23404,7 +23801,7 @@

MessagingApiApi.php : - 15642 + 15946 @@ -23472,7 +23869,7 @@

@@ -23540,7 +23937,7 @@

MessagingApiApi.php : - 15566 + 15870 @@ -23620,7 +24017,7 @@

@@ -23698,7 +24095,7 @@

@@ -23766,7 +24163,7 @@

MessagingApiApi.php : - 15866 + 16170 @@ -23834,7 +24231,7 @@

@@ -23902,7 +24299,7 @@

MessagingApiApi.php : - 15790 + 16094 @@ -23982,7 +24379,7 @@

@@ -24060,7 +24457,7 @@

@@ -24128,7 +24525,7 @@

MessagingApiApi.php : - 16090 + 16394 @@ -24196,7 +24593,7 @@

@@ -24264,7 +24661,7 @@

MessagingApiApi.php : - 16014 + 16318 @@ -24344,7 +24741,7 @@

@@ -24422,7 +24819,7 @@

@@ -24490,7 +24887,7 @@

MessagingApiApi.php : - 16314 + 16618 @@ -24558,7 +24955,7 @@

@@ -24626,7 +25023,7 @@

@@ -24706,7 +25103,7 @@

@@ -24784,7 +25181,7 @@

@@ -24852,7 +25249,7 @@

MessagingApiApi.php : - 16538 + 16842 @@ -24920,7 +25317,7 @@

@@ -24988,7 +25385,7 @@

@@ -25068,7 +25465,7 @@

MessagingApiApi.php : - 16671 + 16975 @@ -25146,7 +25543,7 @@

MessagingApiApi.php : - 16743 + 17047 @@ -25214,7 +25611,7 @@

MessagingApiApi.php : - 16762 + 17066 @@ -25282,7 +25679,7 @@

MessagingApiApi.php : - 16799 + 17103 @@ -25350,7 +25747,7 @@

MessagingApiApi.php : - 16686 + 16990 @@ -25430,7 +25827,7 @@

@@ -25508,7 +25905,7 @@

@@ -25576,7 +25973,7 @@

MessagingApiApi.php : - 16986 + 17290 @@ -25644,7 +26041,7 @@

MessagingApiApi.php : - 17023 + 17327 @@ -25712,7 +26109,7 @@

MessagingApiApi.php : - 16910 + 17214 @@ -25792,7 +26189,7 @@

diff --git a/docs/classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html b/docs/classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html new file mode 100644 index 00000000..ff1efa38 --- /dev/null +++ b/docs/classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html @@ -0,0 +1,1984 @@ + + + + + LINE Messaging API SDK for PHP + + + + + + + + + + + + + + + + + + + + +
+

LINE Messaging API SDK for PHP

+ + + + + +
+ +
+
+ + + + +
+ + +
+

+ ShowLoadingAnimationRequest + + +
+ in package + +
+ + + implements + ModelInterface, ArrayAccess, JsonSerializable + +

+ + + +

ShowLoadingAnimationRequest Class Doc Comment

+ + + +
+ Tags + +
+
+
+ category +
+
+ +

Class

+
+ +
+
+ author +
+
+ +

OpenAPI Generator team

+
+ +
+
+ link +
+
+ https://openapi-generator.tech + +
+
+ implements +
+
+ +

\ArrayAccess<string, mixed>

+
+ +
+
+ + + + +

+ Interfaces, Classes, Traits and Enums + +

+ +
+
ModelInterface
+
Interface abstracting model access.
+
ArrayAccess
+
+
JsonSerializable
+
+ + + +
+ + +

+ Table of Contents + +

+ +
+
+ DISCRIMINATOR + +  = null +
+
+ +
+ $attributeMap + +  : array<string|int, string> +
+
Array of attributes where the key is the local name, +and the value is the original name
+ +
+ $container + +  : array<string|int, mixed> +
+
Associative array for storing property values
+ +
+ $getters + +  : array<string|int, string> +
+
Array of attributes to getter functions (for serialization of requests)
+ +
+ $openAPIFormats + +  : array<string|int, string> +
+
Array of property to format mappings. Used for (de)serialization
+ +
+ $openAPIModelName + +  : string +
+
The original name of the model.
+ +
+ $openAPINullables + +  : array<string|int, mixed> +
+
Array of nullable properties. Used for (de)serialization
+ +
+ $openAPINullablesSetToNull + +  : array<string|int, mixed> +
+
If a nullable field gets set to null, insert it here
+ +
+ $openAPITypes + +  : array<string|int, string> +
+
Array of property to type mappings. Used for (de)serialization
+ +
+ $setters + +  : array<string|int, string> +
+
Array of attributes to setter functions (for deserialization of responses)
+ +
+ __construct() + +  : mixed +
+
Constructor
+ +
+ __toString() + +  : string +
+
Gets the string presentation of the object
+ +
+ attributeMap() + +  : array<string|int, mixed> +
+
Array of attributes where the key is the local name, +and the value is the original name
+ +
+ getChatId() + +  : string +
+
Gets chatId
+ +
+ getLoadingSeconds() + +  : int|null +
+
Gets loadingSeconds
+ +
+ getModelName() + +  : string +
+
The original name of the model.
+ +
+ getters() + +  : array<string|int, mixed> +
+
Array of attributes to getter functions (for serialization of requests)
+ +
+ isNullable() + +  : bool +
+
Checks if a property is nullable
+ +
+ isNullableSetToNull() + +  : bool +
+
Checks if a nullable property is set to null.
+ +
+ jsonSerialize() + +  : mixed +
+
Serializes the object to a value that can be serialized natively by json_encode().
+ +
+ listInvalidProperties() + +  : array<string|int, mixed> +
+
Show all the invalid properties with reasons.
+ +
+ offsetExists() + +  : bool +
+
Returns true if offset exists. False otherwise.
+ +
+ offsetGet() + +  : mixed|null +
+
Gets offset.
+ +
+ offsetSet() + +  : void +
+
Sets value based on offset.
+ +
+ offsetUnset() + +  : void +
+
Unsets offset.
+ +
+ openAPIFormats() + +  : array<string|int, mixed> +
+
Array of property to format mappings. Used for (de)serialization
+ +
+ openAPITypes() + +  : array<string|int, mixed> +
+
Array of property to type mappings. Used for (de)serialization
+ +
+ setChatId() + +  : self +
+
Sets chatId
+ +
+ setLoadingSeconds() + +  : self +
+
Sets loadingSeconds
+ +
+ setters() + +  : array<string|int, mixed> +
+
Array of attributes to setter functions (for deserialization of responses)
+ +
+ toHeaderValue() + +  : string +
+
Gets a header-safe presentation of the object
+ +
+ valid() + +  : bool +
+
Validate all the properties in the model +return true if all passed
+ +
+ openAPINullables() + +  : array<string|int, mixed> +
+
Array of nullable properties
+ +
+ getOpenAPINullablesSetToNull() + +  : array<string|int, bool> +
+
Array of nullable field names deliberately set to null
+ +
+ setIfExists() + +  : void +
+
Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName +is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the +$this->openAPINullablesSetToNull array
+ +
+ setOpenAPINullablesSetToNull() + +  : void +
+
Setter - Array of nullable field names deliberately set to null
+ +
+ + + + +
+

+ Constants + +

+ +
+ + +
+

+ Properties + +

+
+

+ $attributeMap + + + +

+ + +

Array of attributes where the key is the local name, +and the value is the original name

+ + + protected + static array<string|int, string> + $attributeMap + = ['chatId' => 'chatId', 'loadingSeconds' => 'loadingSeconds'] + + + + + +
+
+

+ $container + + + +

+ + +

Associative array for storing property values

+ + + protected + array<string|int, mixed> + $container + = [] + + + + + +
+
+

+ $getters + + + +

+ + +

Array of attributes to getter functions (for serialization of requests)

+ + + protected + static array<string|int, string> + $getters + = ['chatId' => 'getChatId', 'loadingSeconds' => 'getLoadingSeconds'] + + + + + +
+
+

+ $openAPIFormats + + + +

+ + +

Array of property to format mappings. Used for (de)serialization

+ + + protected + static array<string|int, string> + $openAPIFormats + = ['chatId' => null, 'loadingSeconds' => 'int32'] + + + + +
+ Tags + +
+
+
+ phpstan-var +
+
+ +

array<string, string|null>

+
+ +
+
+ psalm-var +
+
+ +

array<string, string|null>

+
+ +
+
+ +
+
+

+ $openAPIModelName + + + +

+ + +

The original name of the model.

+ + + protected + static string + $openAPIModelName + = 'ShowLoadingAnimationRequest' + + + + + +
+
+

+ $openAPINullables + + + +

+ + +

Array of nullable properties. Used for (de)serialization

+ + + protected + static array<string|int, mixed> + $openAPINullables + = ['chatId' => false, 'loadingSeconds' => false] + + + + + +
+
+

+ $openAPINullablesSetToNull + + + +

+ + +

If a nullable field gets set to null, insert it here

+ + + protected + array<string|int, mixed> + $openAPINullablesSetToNull + = [] + + + + + +
+
+

+ $openAPITypes + + + +

+ + +

Array of property to type mappings. Used for (de)serialization

+ + + protected + static array<string|int, string> + $openAPITypes + = ['chatId' => 'string', 'loadingSeconds' => 'int'] + + + + + +
+
+

+ $setters + + + +

+ + +

Array of attributes to setter functions (for deserialization of responses)

+ + + protected + static array<string|int, string> + $setters + = ['chatId' => 'setChatId', 'loadingSeconds' => 'setLoadingSeconds'] + + + + + +
+
+ +
+

+ Methods + +

+
+

+ __construct() + +

+ + +

Constructor

+ + + public + __construct([array<string|int, mixed> $data = null ]) : mixed + + +
Parameters
+
+
+ $data + : array<string|int, mixed> + = null
+
+

Associated array of property values +initializing the model

+
+ +
+
+ + + +
Return values
+ mixed + — + + +
+
+

+ __toString() + +

+ + +

Gets the string presentation of the object

+ + + public + __toString() : string + + + + + +
Return values
+ string + — + + +
+
+

+ attributeMap() + +

+ + +

Array of attributes where the key is the local name, +and the value is the original name

+ + + public + static attributeMap() : array<string|int, mixed> + + + + + +
Return values
+ array<string|int, mixed> + — + + +
+
+

+ getChatId() + +

+ + +

Gets chatId

+ + + public + getChatId() : string + + + + + +
Return values
+ string + — + + +
+
+

+ getLoadingSeconds() + +

+ + +

Gets loadingSeconds

+ + + public + getLoadingSeconds() : int|null + + + + + +
Return values
+ int|null + — + + +
+
+

+ getModelName() + +

+ + +

The original name of the model.

+ + + public + getModelName() : string + + + + + +
Return values
+ string + — + + +
+
+

+ getters() + +

+ + +

Array of attributes to getter functions (for serialization of requests)

+ + + public + static getters() : array<string|int, mixed> + + + + + +
Return values
+ array<string|int, mixed> + — + + +
+
+

+ isNullable() + +

+ + +

Checks if a property is nullable

+ + + public + static isNullable(string $property) : bool + + +
Parameters
+
+
+ $property + : string +
+
+ +
+
+ + + +
Return values
+ bool + — + + +
+
+

+ isNullableSetToNull() + +

+ + +

Checks if a nullable property is set to null.

+ + + public + isNullableSetToNull(string $property) : bool + + +
Parameters
+
+
+ $property + : string +
+
+ +
+
+ + + +
Return values
+ bool + — + + +
+ +
+

+ listInvalidProperties() + +

+ + +

Show all the invalid properties with reasons.

+ + + public + listInvalidProperties() : array<string|int, mixed> + + + + + +
Return values
+ array<string|int, mixed> + — +

invalid properties with reasons

+
+ + +
+
+

+ offsetExists() + +

+ + +

Returns true if offset exists. False otherwise.

+ + + public + offsetExists(int $offset) : bool + + +
Parameters
+
+
+ $offset + : int +
+
+

Offset

+
+ +
+
+ + + +
Return values
+ bool + — + + +
+
+

+ offsetGet() + +

+ + +

Gets offset.

+ + + public + offsetGet(int $offset) : mixed|null + + +
Parameters
+
+
+ $offset + : int +
+
+

Offset

+
+ +
+
+ + + +
Return values
+ mixed|null + — + + +
+
+

+ offsetSet() + +

+ + +

Sets value based on offset.

+ + + public + offsetSet(int|null $offset, mixed $value) : void + + +
Parameters
+
+
+ $offset + : int|null +
+
+

Offset

+
+ +
+
+ $value + : mixed +
+
+

Value to be set

+
+ +
+
+ + + +
Return values
+ void + — + + +
+
+

+ offsetUnset() + +

+ + +

Unsets offset.

+ + + public + offsetUnset(int $offset) : void + + +
Parameters
+
+
+ $offset + : int +
+
+

Offset

+
+ +
+
+ + + +
Return values
+ void + — + + +
+
+

+ openAPIFormats() + +

+ + +

Array of property to format mappings. Used for (de)serialization

+ + + public + static openAPIFormats() : array<string|int, mixed> + + + + + +
Return values
+ array<string|int, mixed> + — + + +
+
+

+ openAPITypes() + +

+ + +

Array of property to type mappings. Used for (de)serialization

+ + + public + static openAPITypes() : array<string|int, mixed> + + + + + +
Return values
+ array<string|int, mixed> + — + + +
+
+

+ setChatId() + +

+ + +

Sets chatId

+ + + public + setChatId(string $chatId) : self + + +
Parameters
+
+
+ $chatId + : string +
+
+

User ID of the target user for whom the loading animation is to be displayed.

+
+ +
+
+ + + +
Return values
+ self + — + + +
+
+

+ setLoadingSeconds() + +

+ + +

Sets loadingSeconds

+ + + public + setLoadingSeconds(int|null $loadingSeconds) : self + + +
Parameters
+
+
+ $loadingSeconds + : int|null +
+
+

The number of seconds to display the loading indicator. It must be a multiple of 5. The maximum value is 60 seconds.

+
+ +
+
+ + + +
Return values
+ self + — + + +
+
+

+ setters() + +

+ + +

Array of attributes to setter functions (for deserialization of responses)

+ + + public + static setters() : array<string|int, mixed> + + + + + +
Return values
+ array<string|int, mixed> + — + + +
+
+

+ toHeaderValue() + +

+ + +

Gets a header-safe presentation of the object

+ + + public + toHeaderValue() : string + + + + + +
Return values
+ string + — + + +
+
+

+ valid() + +

+ + +

Validate all the properties in the model +return true if all passed

+ + + public + valid() : bool + + + + + +
Return values
+ bool + — +

True if all properties are valid

+
+ + +
+
+

+ openAPINullables() + +

+ + +

Array of nullable properties

+ + + protected + static openAPINullables() : array<string|int, mixed> + + + + + +
Return values
+ array<string|int, mixed> + — + + +
+
+

+ getOpenAPINullablesSetToNull() + +

+ + +

Array of nullable field names deliberately set to null

+ + + private + getOpenAPINullablesSetToNull() : array<string|int, bool> + + + + + +
Return values
+ array<string|int, bool> + — + + +
+
+

+ setIfExists() + +

+ + +

Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName +is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the +$this->openAPINullablesSetToNull array

+ + + private + setIfExists(string $variableName, array<string|int, mixed> $fields, mixed $defaultValue) : void + + +
Parameters
+
+
+ $variableName + : string +
+
+ +
+
+ $fields + : array<string|int, mixed> +
+
+ +
+
+ $defaultValue + : mixed +
+
+ +
+
+ + + +
Return values
+ void + — + + +
+
+

+ setOpenAPINullablesSetToNull() + +

+ + +

Setter - Array of nullable field names deliberately set to null

+ + + private + setOpenAPINullablesSetToNull(array<string|int, bool> $openAPINullablesSetToNull) : void + + +
Parameters
+
+
+ $openAPINullablesSetToNull + : array<string|int, bool> +
+
+ +
+
+ + + +
Return values
+ void + — + + +
+
+ + + + +
+
+
+
+

Search results

+ +
+
+
    +
    +
    +
    +
    +
    + + +
    + + + + + + + + diff --git a/docs/files/src-clients-messaging-api-lib-model-showloadinganimationrequest.html b/docs/files/src-clients-messaging-api-lib-model-showloadinganimationrequest.html new file mode 100644 index 00000000..7ce23bb2 --- /dev/null +++ b/docs/files/src-clients-messaging-api-lib-model-showloadinganimationrequest.html @@ -0,0 +1,195 @@ + + + + + LINE Messaging API SDK for PHP + + + + + + + + + + + + + + + + + + + + +
    +

    LINE Messaging API SDK for PHP

    + + + + + +
    + +
    +
    + + + + +
    +
      +
    + +
    +

    ShowLoadingAnimationRequest.php

    + +

    Copyright 2024 LINE Corporation

    + +

    LINE Corporation licenses this file to you under the Apache License, +version 2.0 (the "License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at:

    +

    https://www.apache.org/licenses/LICENSE-2.0

    +

    Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License.

    +
    + + + + + + +

    + Interfaces, Classes, Traits and Enums + +

    + +
    + +
    ShowLoadingAnimationRequest
    +
    ShowLoadingAnimationRequest Class Doc Comment
    + + +
    + + + + + + + + +
    +
    +
    +
    +

    Search results

    + +
    +
    +
      +
      +
      +
      +
      +
      + + +
      + + + + + + + + diff --git a/docs/indices/files.html b/docs/indices/files.html index 293f1110..6e213069 100644 --- a/docs/indices/files.html +++ b/docs/indices/files.html @@ -625,6 +625,7 @@

      S

    • Sender.php
    • SentMessage.php
    • SetWebhookEndpointRequest.php
    • +
    • ShowLoadingAnimationRequest.php
    • SignatureValidator.php
    • SignatureValidatorTest.php
    • Source.php
    • diff --git a/docs/js/searchIndex.js b/docs/js/searchIndex.js index 70293d34..2b3c031c 100644 --- a/docs/js/searchIndex.js +++ b/docs/js/searchIndex.js @@ -13190,6 +13190,31 @@ Search.appendIndex( "name": "setWebhookEndpointRequest", "summary": "Create\u0020request\u0020for\u0020operation\u0020\u0027setWebhookEndpoint\u0027", "url": "classes/LINE-Clients-MessagingApi-Api-MessagingApiApi.html#method_setWebhookEndpointRequest" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Api\\MessagingApiApi\u003A\u003AshowLoadingAnimation\u0028\u0029", + "name": "showLoadingAnimation", + "summary": "Operation\u0020showLoadingAnimation", + "url": "classes/LINE-Clients-MessagingApi-Api-MessagingApiApi.html#method_showLoadingAnimation" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Api\\MessagingApiApi\u003A\u003AshowLoadingAnimationWithHttpInfo\u0028\u0029", + "name": "showLoadingAnimationWithHttpInfo", + "summary": "Operation\u0020showLoadingAnimationWithHttpInfo", + "url": "classes/LINE-Clients-MessagingApi-Api-MessagingApiApi.html#method_showLoadingAnimationWithHttpInfo" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Api\\MessagingApiApi\u003A\u003AshowLoadingAnimationAsync\u0028\u0029", + "name": "showLoadingAnimationAsync", + "summary": "Operation\u0020showLoadingAnimationAsync", + "url": "classes/LINE-Clients-MessagingApi-Api-MessagingApiApi.html#method_showLoadingAnimationAsync" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Api\\MessagingApiApi\u003A\u003AshowLoadingAnimationAsyncWithHttpInfo\u0028\u0029", + "name": "showLoadingAnimationAsyncWithHttpInfo", + "summary": "Operation\u0020showLoadingAnimationAsyncWithHttpInfo", + "url": "classes/LINE-Clients-MessagingApi-Api-MessagingApiApi.html#method_showLoadingAnimationAsyncWithHttpInfo" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Api\\MessagingApiApi\u003A\u003AshowLoadingAnimationRequest\u0028\u0029", + "name": "showLoadingAnimationRequest", + "summary": "Create\u0020request\u0020for\u0020operation\u0020\u0027showLoadingAnimation\u0027", + "url": "classes/LINE-Clients-MessagingApi-Api-MessagingApiApi.html#method_showLoadingAnimationRequest" }, { "fqsen": "\\LINE\\Clients\\MessagingApi\\Api\\MessagingApiApi\u003A\u003AtestWebhookEndpoint\u0028\u0029", "name": "testWebhookEndpoint", @@ -42140,6 +42165,161 @@ Search.appendIndex( "name": "container", "summary": "Associative\u0020array\u0020for\u0020storing\u0020property\u0020values", "url": "classes/LINE-Clients-MessagingApi-Model-SetWebhookEndpointRequest.html#property_container" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest", + "name": "ShowLoadingAnimationRequest", + "summary": "ShowLoadingAnimationRequest\u0020Class\u0020Doc\u0020Comment", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003A\u0024openAPITypes", + "name": "openAPITypes", + "summary": "Array\u0020of\u0020property\u0020to\u0020type\u0020mappings.\u0020Used\u0020for\u0020\u0028de\u0029serialization", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#property_openAPITypes" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003A\u0024openAPIFormats", + "name": "openAPIFormats", + "summary": "Array\u0020of\u0020property\u0020to\u0020format\u0020mappings.\u0020Used\u0020for\u0020\u0028de\u0029serialization", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#property_openAPIFormats" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003A\u0024openAPINullables", + "name": "openAPINullables", + "summary": "Array\u0020of\u0020nullable\u0020properties.\u0020Used\u0020for\u0020\u0028de\u0029serialization", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#property_openAPINullables" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AgetOpenAPINullablesSetToNull\u0028\u0029", + "name": "getOpenAPINullablesSetToNull", + "summary": "Array\u0020of\u0020nullable\u0020field\u0020names\u0020deliberately\u0020set\u0020to\u0020null", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_getOpenAPINullablesSetToNull" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AsetOpenAPINullablesSetToNull\u0028\u0029", + "name": "setOpenAPINullablesSetToNull", + "summary": "Setter\u0020\u002D\u0020Array\u0020of\u0020nullable\u0020field\u0020names\u0020deliberately\u0020set\u0020to\u0020null", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_setOpenAPINullablesSetToNull" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AisNullable\u0028\u0029", + "name": "isNullable", + "summary": "Checks\u0020if\u0020a\u0020property\u0020is\u0020nullable", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_isNullable" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AisNullableSetToNull\u0028\u0029", + "name": "isNullableSetToNull", + "summary": "Checks\u0020if\u0020a\u0020nullable\u0020property\u0020is\u0020set\u0020to\u0020null.", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_isNullableSetToNull" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003A\u0024attributeMap", + "name": "attributeMap", + "summary": "Array\u0020of\u0020attributes\u0020where\u0020the\u0020key\u0020is\u0020the\u0020local\u0020name,\nand\u0020the\u0020value\u0020is\u0020the\u0020original\u0020name", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#property_attributeMap" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003A\u0024setters", + "name": "setters", + "summary": "Array\u0020of\u0020attributes\u0020to\u0020setter\u0020functions\u0020\u0028for\u0020deserialization\u0020of\u0020responses\u0029", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#property_setters" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003A\u0024getters", + "name": "getters", + "summary": "Array\u0020of\u0020attributes\u0020to\u0020getter\u0020functions\u0020\u0028for\u0020serialization\u0020of\u0020requests\u0029", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#property_getters" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AgetModelName\u0028\u0029", + "name": "getModelName", + "summary": "The\u0020original\u0020name\u0020of\u0020the\u0020model.", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_getModelName" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method___construct" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AsetIfExists\u0028\u0029", + "name": "setIfExists", + "summary": "Sets\u0020\u0024this\u002D\u003Econtainer\u005B\u0024variableName\u005D\u0020to\u0020the\u0020given\u0020data\u0020or\u0020to\u0020the\u0020given\u0020default\u0020Value\u003B\u0020if\u0020\u0024variableName\nis\u0020nullable\u0020and\u0020its\u0020value\u0020is\u0020set\u0020to\u0020null\u0020in\u0020the\u0020\u0024fields\u0020array,\u0020then\u0020mark\u0020it\u0020as\u0020\u0022set\u0020to\u0020null\u0022\u0020in\u0020the\n\u0024this\u002D\u003EopenAPINullablesSetToNull\u0020array", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_setIfExists" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AlistInvalidProperties\u0028\u0029", + "name": "listInvalidProperties", + "summary": "Show\u0020all\u0020the\u0020invalid\u0020properties\u0020with\u0020reasons.", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_listInvalidProperties" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003Avalid\u0028\u0029", + "name": "valid", + "summary": "Validate\u0020all\u0020the\u0020properties\u0020in\u0020the\u0020model\nreturn\u0020true\u0020if\u0020all\u0020passed", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_valid" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AgetChatId\u0028\u0029", + "name": "getChatId", + "summary": "Gets\u0020chatId", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_getChatId" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AsetChatId\u0028\u0029", + "name": "setChatId", + "summary": "Sets\u0020chatId", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_setChatId" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AgetLoadingSeconds\u0028\u0029", + "name": "getLoadingSeconds", + "summary": "Gets\u0020loadingSeconds", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_getLoadingSeconds" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AsetLoadingSeconds\u0028\u0029", + "name": "setLoadingSeconds", + "summary": "Sets\u0020loadingSeconds", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_setLoadingSeconds" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AoffsetExists\u0028\u0029", + "name": "offsetExists", + "summary": "Returns\u0020true\u0020if\u0020offset\u0020exists.\u0020False\u0020otherwise.", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_offsetExists" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AoffsetGet\u0028\u0029", + "name": "offsetGet", + "summary": "Gets\u0020offset.", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_offsetGet" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AoffsetSet\u0028\u0029", + "name": "offsetSet", + "summary": "Sets\u0020value\u0020based\u0020on\u0020offset.", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_offsetSet" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AoffsetUnset\u0028\u0029", + "name": "offsetUnset", + "summary": "Unsets\u0020offset.", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_offsetUnset" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AjsonSerialize\u0028\u0029", + "name": "jsonSerialize", + "summary": "Serializes\u0020the\u0020object\u0020to\u0020a\u0020value\u0020that\u0020can\u0020be\u0020serialized\u0020natively\u0020by\u0020json_encode\u0028\u0029.", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_jsonSerialize" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003A__toString\u0028\u0029", + "name": "__toString", + "summary": "Gets\u0020the\u0020string\u0020presentation\u0020of\u0020the\u0020object", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method___toString" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003AtoHeaderValue\u0028\u0029", + "name": "toHeaderValue", + "summary": "Gets\u0020a\u0020header\u002Dsafe\u0020presentation\u0020of\u0020the\u0020object", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#method_toHeaderValue" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003ADISCRIMINATOR", + "name": "DISCRIMINATOR", + "summary": "", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#constant_DISCRIMINATOR" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003A\u0024openAPIModelName", + "name": "openAPIModelName", + "summary": "The\u0020original\u0020name\u0020of\u0020the\u0020model.", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#property_openAPIModelName" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003A\u0024openAPINullablesSetToNull", + "name": "openAPINullablesSetToNull", + "summary": "If\u0020a\u0020nullable\u0020field\u0020gets\u0020set\u0020to\u0020null,\u0020insert\u0020it\u0020here", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#property_openAPINullablesSetToNull" + }, { + "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\ShowLoadingAnimationRequest\u003A\u003A\u0024container", + "name": "container", + "summary": "Associative\u0020array\u0020for\u0020storing\u0020property\u0020values", + "url": "classes/LINE-Clients-MessagingApi-Model-ShowLoadingAnimationRequest.html#property_container" }, { "fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\StickerMessage", "name": "StickerMessage", diff --git a/docs/namespaces/line-clients-messagingapi-model.html b/docs/namespaces/line-clients-messagingapi-model.html index d8d50620..3251ab3c 100644 --- a/docs/namespaces/line-clients-messagingapi-model.html +++ b/docs/namespaces/line-clients-messagingapi-model.html @@ -480,6 +480,8 @@

      SentMessage Class Doc Comment
      SetWebhookEndpointRequest
      SetWebhookEndpointRequest Class Doc Comment
      +
      ShowLoadingAnimationRequest
      +
      ShowLoadingAnimationRequest Class Doc Comment
      StickerMessage
      StickerMessage Class Doc Comment
      StickerMessageAllOf
      diff --git a/docs/packages/LINE-Clients-MessagingApi.html b/docs/packages/LINE-Clients-MessagingApi.html index 645a327b..b14f8ae6 100644 --- a/docs/packages/LINE-Clients-MessagingApi.html +++ b/docs/packages/LINE-Clients-MessagingApi.html @@ -496,6 +496,8 @@

      SentMessage Class Doc Comment
      SetWebhookEndpointRequest
      SetWebhookEndpointRequest Class Doc Comment
      +
      ShowLoadingAnimationRequest
      +
      ShowLoadingAnimationRequest Class Doc Comment
      StickerMessage
      StickerMessage Class Doc Comment
      StickerMessageAllOf
      diff --git a/src/clients/messaging-api/lib/Api/MessagingApiApi.php b/src/clients/messaging-api/lib/Api/MessagingApiApi.php index 03becfef..2a465c57 100644 --- a/src/clients/messaging-api/lib/Api/MessagingApiApi.php +++ b/src/clients/messaging-api/lib/Api/MessagingApiApi.php @@ -242,6 +242,9 @@ class MessagingApiApi 'setWebhookEndpoint' => [ 'application/json', ], + 'showLoadingAnimation' => [ + 'application/json', + ], 'testWebhookEndpoint' => [ 'application/json', ], @@ -14565,6 +14568,307 @@ public function setWebhookEndpointRequest($setWebhookEndpointRequest, string $co ); } + /** + * Operation showLoadingAnimation + * + * @param \LINE\Clients\MessagingApi\Model\ShowLoadingAnimationRequest $showLoadingAnimationRequest showLoadingAnimationRequest (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['showLoadingAnimation'] to see the possible values for this operation + * + * @throws \LINE\Clients\MessagingApi\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return object|\LINE\Clients\MessagingApi\Model\ErrorResponse + */ + public function showLoadingAnimation($showLoadingAnimationRequest, string $contentType = self::contentTypes['showLoadingAnimation'][0]) + { + list($response) = $this->showLoadingAnimationWithHttpInfo($showLoadingAnimationRequest, $contentType); + return $response; + } + + /** + * Operation showLoadingAnimationWithHttpInfo + * + * @param \LINE\Clients\MessagingApi\Model\ShowLoadingAnimationRequest $showLoadingAnimationRequest (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['showLoadingAnimation'] to see the possible values for this operation + * + * @throws \LINE\Clients\MessagingApi\ApiException on non-2xx response + * @throws \InvalidArgumentException + * @return array of object|\LINE\Clients\MessagingApi\Model\ErrorResponse, HTTP status code, HTTP response headers (array of strings) + */ + public function showLoadingAnimationWithHttpInfo($showLoadingAnimationRequest, string $contentType = self::contentTypes['showLoadingAnimation'][0]) + { + $request = $this->showLoadingAnimationRequest($showLoadingAnimationRequest, $contentType); + + try { + $options = $this->createHttpClientOption(); + try { + $response = $this->client->send($request, $options); + } catch (RequestException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + $e->getResponse() ? $e->getResponse()->getHeaders() : null, + $e->getResponse() ? (string) $e->getResponse()->getBody() : null + ); + } catch (ConnectException $e) { + throw new ApiException( + "[{$e->getCode()}] {$e->getMessage()}", + (int) $e->getCode(), + null, + null + ); + } + + $statusCode = $response->getStatusCode(); + + if ($statusCode < 200 || $statusCode > 299) { + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + (string) $request->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + + switch($statusCode) { + case 202: + if ('object' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ('object' !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, 'object', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + case 400: + if ('\LINE\Clients\MessagingApi\Model\ErrorResponse' === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ('\LINE\Clients\MessagingApi\Model\ErrorResponse' !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, '\LINE\Clients\MessagingApi\Model\ErrorResponse', []), + $response->getStatusCode(), + $response->getHeaders() + ]; + } + + $returnType = 'object'; + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + + } catch (ApiException $e) { + switch ($e->getCode()) { + case 202: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + 'object', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + case 400: + $data = ObjectSerializer::deserialize( + $e->getResponseBody(), + '\LINE\Clients\MessagingApi\Model\ErrorResponse', + $e->getResponseHeaders() + ); + $e->setResponseObject($data); + break; + } + throw $e; + } + } + + /** + * Operation showLoadingAnimationAsync + * + * @param \LINE\Clients\MessagingApi\Model\ShowLoadingAnimationRequest $showLoadingAnimationRequest (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['showLoadingAnimation'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function showLoadingAnimationAsync($showLoadingAnimationRequest, string $contentType = self::contentTypes['showLoadingAnimation'][0]) + { + return $this->showLoadingAnimationAsyncWithHttpInfo($showLoadingAnimationRequest, $contentType) + ->then( + function ($response) { + return $response[0]; + } + ); + } + + /** + * Operation showLoadingAnimationAsyncWithHttpInfo + * + * @param \LINE\Clients\MessagingApi\Model\ShowLoadingAnimationRequest $showLoadingAnimationRequest (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['showLoadingAnimation'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Promise\PromiseInterface + */ + public function showLoadingAnimationAsyncWithHttpInfo($showLoadingAnimationRequest, string $contentType = self::contentTypes['showLoadingAnimation'][0]) + { + $returnType = 'object'; + $request = $this->showLoadingAnimationRequest($showLoadingAnimationRequest, $contentType); + + return $this->client + ->sendAsync($request, $this->createHttpClientOption()) + ->then( + function ($response) use ($returnType) { + if ($returnType === '\SplFileObject') { + $content = $response->getBody(); //stream goes to serializer + } else { + $content = (string) $response->getBody(); + if ($returnType !== 'string') { + $content = json_decode($content); + } + } + + return [ + ObjectSerializer::deserialize($content, $returnType, []), + $response->getStatusCode(), + $response->getHeaders() + ]; + }, + function ($exception) { + $response = $exception->getResponse(); + $statusCode = $response->getStatusCode(); + throw new ApiException( + sprintf( + '[%d] Error connecting to the API (%s)', + $statusCode, + $exception->getRequest()->getUri() + ), + $statusCode, + $response->getHeaders(), + (string) $response->getBody() + ); + } + ); + } + + /** + * Create request for operation 'showLoadingAnimation' + * + * @param \LINE\Clients\MessagingApi\Model\ShowLoadingAnimationRequest $showLoadingAnimationRequest (required) + * @param string $contentType The value for the Content-Type header. Check self::contentTypes['showLoadingAnimation'] to see the possible values for this operation + * + * @throws \InvalidArgumentException + * @return \GuzzleHttp\Psr7\Request + */ + public function showLoadingAnimationRequest($showLoadingAnimationRequest, string $contentType = self::contentTypes['showLoadingAnimation'][0]) + { + + // verify the required parameter 'showLoadingAnimationRequest' is set + if ($showLoadingAnimationRequest === null || (is_array($showLoadingAnimationRequest) && count($showLoadingAnimationRequest) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $showLoadingAnimationRequest when calling showLoadingAnimation' + ); + } + + + $resourcePath = '/v2/bot/chat/loading/start'; + $formParams = []; + $queryParams = []; + $headerParams = []; + $httpBody = ''; + $multipart = false; + + + + + + $headers = $this->headerSelector->selectHeaders( + ['application/json', ], + $contentType, + $multipart + ); + + // for model (json/xml) + if (isset($showLoadingAnimationRequest)) { + if (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the body + $httpBody = \GuzzleHttp\Utils::jsonEncode(ObjectSerializer::sanitizeForSerialization($showLoadingAnimationRequest)); + } else { + $httpBody = $showLoadingAnimationRequest; + } + } elseif (count($formParams) > 0) { + if ($multipart) { + $multipartContents = []; + foreach ($formParams as $formParamName => $formParamValue) { + $formParamValueItems = is_array($formParamValue) ? $formParamValue : [$formParamValue]; + foreach ($formParamValueItems as $formParamValueItem) { + $multipartContents[] = [ + 'name' => $formParamName, + 'contents' => $formParamValueItem + ]; + } + } + // for HTTP post (form) + $httpBody = new MultipartStream($multipartContents); + + } elseif (stripos($headers['Content-Type'], 'application/json') !== false) { + # if Content-Type contains "application/json", json_encode the form parameters + $httpBody = \GuzzleHttp\Utils::jsonEncode($formParams); + } else { + // for HTTP post (form) + $httpBody = ObjectSerializer::buildQuery($formParams); + } + } + + // this endpoint requires Bearer authentication (access token) + if (!empty($this->config->getAccessToken())) { + $headers['Authorization'] = 'Bearer ' . $this->config->getAccessToken(); + } + + $defaultHeaders = []; + if ($this->config->getUserAgent()) { + $defaultHeaders['User-Agent'] = $this->config->getUserAgent(); + } + + $headers = array_merge( + $defaultHeaders, + $headerParams, + $headers + ); + + $operationHost = $this->config->getHost(); + $query = ObjectSerializer::buildQuery($queryParams); + return new Request( + 'POST', + $operationHost . $resourcePath . ($query ? "?{$query}" : ''), + $headers, + $httpBody + ); + } + /** * Operation testWebhookEndpoint * diff --git a/src/clients/messaging-api/lib/Model/ShowLoadingAnimationRequest.php b/src/clients/messaging-api/lib/Model/ShowLoadingAnimationRequest.php new file mode 100644 index 00000000..2475f6dc --- /dev/null +++ b/src/clients/messaging-api/lib/Model/ShowLoadingAnimationRequest.php @@ -0,0 +1,477 @@ + + */ +class ShowLoadingAnimationRequest implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'ShowLoadingAnimationRequest'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'chatId' => 'string', + 'loadingSeconds' => 'int' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'chatId' => null, + 'loadingSeconds' => 'int32' + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'chatId' => false, + 'loadingSeconds' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'chatId' => 'chatId', + 'loadingSeconds' => 'loadingSeconds' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'chatId' => 'setChatId', + 'loadingSeconds' => 'setLoadingSeconds' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'chatId' => 'getChatId', + 'loadingSeconds' => 'getLoadingSeconds' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->setIfExists('chatId', $data ?? [], null); + $this->setIfExists('loadingSeconds', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['chatId'] === null) { + $invalidProperties[] = "'chatId' can't be null"; + } + if (!is_null($this->container['loadingSeconds']) && ($this->container['loadingSeconds'] > 60)) { + $invalidProperties[] = "invalid value for 'loadingSeconds', must be smaller than or equal to 60."; + } + + if (!is_null($this->container['loadingSeconds']) && ($this->container['loadingSeconds'] < 5)) { + $invalidProperties[] = "invalid value for 'loadingSeconds', must be bigger than or equal to 5."; + } + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets chatId + * + * @return string + */ + public function getChatId() + { + return $this->container['chatId']; + } + + /** + * Sets chatId + * + * @param string $chatId User ID of the target user for whom the loading animation is to be displayed. + * + * @return self + */ + public function setChatId($chatId) + { + if (is_null($chatId)) { + throw new \InvalidArgumentException('non-nullable chatId cannot be null'); + } + $this->container['chatId'] = $chatId; + + return $this; + } + + /** + * Gets loadingSeconds + * + * @return int|null + */ + public function getLoadingSeconds() + { + return $this->container['loadingSeconds']; + } + + /** + * Sets loadingSeconds + * + * @param int|null $loadingSeconds The number of seconds to display the loading indicator. It must be a multiple of 5. The maximum value is 60 seconds. + * + * @return self + */ + public function setLoadingSeconds($loadingSeconds) + { + if (is_null($loadingSeconds)) { + throw new \InvalidArgumentException('non-nullable loadingSeconds cannot be null'); + } + + if (($loadingSeconds > 60)) { + throw new \InvalidArgumentException('invalid value for $loadingSeconds when calling ShowLoadingAnimationRequest., must be smaller than or equal to 60.'); + } + if (($loadingSeconds < 5)) { + throw new \InvalidArgumentException('invalid value for $loadingSeconds when calling ShowLoadingAnimationRequest., must be bigger than or equal to 5.'); + } + + $this->container['loadingSeconds'] = $loadingSeconds; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + +