diff --git a/docs/classes/LINE-Webhook-Model-FollowDetail.html b/docs/classes/LINE-Webhook-Model-FollowDetail.html new file mode 100644 index 00000000..9b17eb2d --- /dev/null +++ b/docs/classes/LINE-Webhook-Model-FollowDetail.html @@ -0,0 +1,1890 @@ + + + + + LINE Messaging API SDK for PHP + + + + + + + + + + + + + + + + + + + + +
+

LINE Messaging API SDK for PHP

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

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

+ + + +

FollowDetail 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
+ +
+ getIsUnblocked() + +  : bool +
+
Gets isUnblocked
+ +
+ 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
+ +
+ setIsUnblocked() + +  : self +
+
Sets isUnblocked
+ +
+ 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 + +

+
+

+ DISCRIMINATOR + +

+ + + + + + public + mixed + DISCRIMINATOR + = null + + + +
+ +
+ + + +
+
+ + +
+

+ 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 + = ['isUnblocked' => 'isUnblocked'] + + + + + +
+
+

+ $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 + = ['isUnblocked' => 'getIsUnblocked'] + + + + + +
+
+

+ $openAPIFormats + + + +

+ + +

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

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

array<string, string|null>

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

array<string, string|null>

+
+ +
+
+ +
+
+

+ $openAPIModelName + + + +

+ + +

The original name of the model.

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

+ $openAPINullables + + + +

+ + +

Array of nullable properties. Used for (de)serialization

+ + + protected + static array<string|int, mixed> + $openAPINullables + = ['isUnblocked' => 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 + = ['isUnblocked' => 'bool'] + + + + + +
+
+

+ $setters + + + +

+ + +

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

+ + + protected + static array<string|int, string> + $setters + = ['isUnblocked' => 'setIsUnblocked'] + + + + + +
+
+ +
+

+ 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> + — + + +
+
+

+ getIsUnblocked() + +

+ + +

Gets isUnblocked

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

+ 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 + — + + +
+
+

+ jsonSerialize() + +

+ + +

Serializes the object to a value that can be serialized natively by json_encode().

+ + + public + jsonSerialize() : mixed + + + + +
+ Tags + +
+
+
+ link +
+
+ https://www.php.net/manual/en/jsonserializable.jsonserialize.php + +
+
+ +
Return values
+ mixed + — +

Returns data which can be serialized by json_encode(), which is a value +of any type other than a resource.

+
+ + +
+
+

+ 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> + — + + +
+
+

+ setIsUnblocked() + +

+ + +

Sets isUnblocked

+ + + public + setIsUnblocked(bool $isUnblocked) : self + + +
Parameters
+
+
+ $isUnblocked + : bool +
+
+

Whether a user has added your LINE Official Account as a friend or unblocked.

+
+ +
+
+ + + +
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/classes/LINE-Webhook-Model-FollowEvent.html b/docs/classes/LINE-Webhook-Model-FollowEvent.html index 1efddbce..3148d03e 100644 --- a/docs/classes/LINE-Webhook-Model-FollowEvent.html +++ b/docs/classes/LINE-Webhook-Model-FollowEvent.html @@ -319,6 +319,13 @@

    Gets deliveryContext
    +
    + getFollow() + +  : FollowDetail +
    +
    Gets follow
    +
    getMode() @@ -452,6 +459,13 @@

    Sets deliveryContext
    +
    + setFollow() + +  : self +
    +
    Sets follow
    +
    setMode() @@ -609,7 +623,7 @@

    @@ -620,7 +634,7 @@

    protected static array<string|int, string> $attributeMap - = ['replyToken' => 'replyToken'] + = ['replyToken' => 'replyToken', 'follow' => 'follow'] @@ -676,7 +690,7 @@

    @@ -686,7 +700,7 @@

    protected static array<string|int, string> $getters - = ['replyToken' => 'getReplyToken'] + = ['replyToken' => 'getReplyToken', 'follow' => 'getFollow'] @@ -709,7 +723,7 @@

    @@ -719,7 +733,7 @@

    protected static array<string|int, string> $openAPIFormats - = ['replyToken' => null] + = ['replyToken' => null, 'follow' => null] @@ -799,7 +813,7 @@

    @@ -809,7 +823,7 @@

    protected static array<string|int, mixed> $openAPINullables - = ['replyToken' => false] + = ['replyToken' => false, 'follow' => false] @@ -832,7 +846,7 @@

    @@ -875,7 +889,7 @@

    protected static array<string|int, string> $openAPITypes - = ['replyToken' => 'string'] + = ['replyToken' => 'string', 'follow' => '\\LINE\\Webhook\\Model\\FollowDetail'] @@ -898,7 +912,7 @@

    @@ -908,7 +922,7 @@

    protected static array<string|int, string> $setters - = ['replyToken' => 'setReplyToken'] + = ['replyToken' => 'setReplyToken', 'follow' => 'setFollow'] @@ -935,7 +949,7 @@

    @@ -981,7 +995,7 @@

    @@ -1014,7 +1028,7 @@

    @@ -1067,6 +1081,39 @@

    Return values
    — + +
    @@ -1147,7 +1194,7 @@

    @@ -1213,7 +1260,7 @@

    @@ -1345,7 +1392,7 @@

    @@ -1388,7 +1435,7 @@

    @@ -1431,7 +1478,7 @@

    @@ -1480,7 +1527,7 @@

    @@ -1515,7 +1562,7 @@

    @@ -1560,7 +1607,7 @@

    @@ -1605,7 +1652,7 @@

    @@ -1659,7 +1706,7 @@

    @@ -1704,7 +1751,7 @@

    @@ -1737,7 +1784,7 @@

    @@ -1801,6 +1848,51 @@

    Return values
    — +
    +
    +

    + setFollow() + +

    + + +

    Sets follow

    + + + public + setFollow(FollowDetail $follow) : self + + +
    Parameters
    +
    +
    + $follow + : FollowDetail +
    +
    +

    follow

    +
    + +
    +
    + + + +
    Return values
    + self + — + +
    @@ -1950,7 +2042,7 @@

    @@ -2118,7 +2210,7 @@

    @@ -2151,7 +2243,7 @@

    @@ -2187,7 +2279,7 @@

    @@ -2220,7 +2312,7 @@

    FollowEvent.php : - 139 + 142 @@ -2253,7 +2345,7 @@

    @@ -2312,7 +2404,7 @@

    FollowEvent.php : - 149 + 152 diff --git a/docs/classes/LINE-Webhook-Model-FollowEventAllOf.html b/docs/classes/LINE-Webhook-Model-FollowEventAllOf.html index 2b9b7fbd..e7455ecb 100644 --- a/docs/classes/LINE-Webhook-Model-FollowEventAllOf.html +++ b/docs/classes/LINE-Webhook-Model-FollowEventAllOf.html @@ -319,6 +319,13 @@

    Array of attributes where the key is the local name, and the value is the original name
    +
    + getFollow() + +  : FollowDetail +
    +
    Gets follow
    +
    getModelName() @@ -410,6 +417,13 @@

    Array of property to type mappings. Used for (de)serialization
    +
    + setFollow() + +  : self +
    +
    Sets follow
    +
    setReplyToken() @@ -532,7 +546,7 @@

    @@ -543,7 +557,7 @@

    protected static array<string|int, string> $attributeMap - = ['replyToken' => 'replyToken'] + = ['replyToken' => 'replyToken', 'follow' => 'follow'] @@ -566,7 +580,7 @@

    @@ -599,7 +613,7 @@

    @@ -609,7 +623,7 @@

    protected static array<string|int, string> $getters - = ['replyToken' => 'getReplyToken'] + = ['replyToken' => 'getReplyToken', 'follow' => 'getFollow'] @@ -632,7 +646,7 @@

    @@ -642,7 +656,7 @@

    protected static array<string|int, string> $openAPIFormats - = ['replyToken' => null] + = ['replyToken' => null, 'follow' => null] @@ -722,7 +736,7 @@

    @@ -732,7 +746,7 @@

    protected static array<string|int, mixed> $openAPINullables - = ['replyToken' => false] + = ['replyToken' => false, 'follow' => false] @@ -755,7 +769,7 @@

    @@ -798,7 +812,7 @@

    protected static array<string|int, string> $openAPITypes - = ['replyToken' => 'string'] + = ['replyToken' => 'string', 'follow' => '\\LINE\\Webhook\\Model\\FollowDetail'] @@ -821,7 +835,7 @@

    @@ -831,7 +845,7 @@

    protected static array<string|int, string> $setters - = ['replyToken' => 'setReplyToken'] + = ['replyToken' => 'setReplyToken', 'follow' => 'setFollow'] @@ -858,7 +872,7 @@

    @@ -904,7 +918,7 @@

    @@ -937,7 +951,7 @@

    @@ -957,6 +971,39 @@

    Return values
    — +

    +
    @@ -1004,7 +1051,7 @@

    @@ -1037,7 +1084,7 @@

    @@ -1070,7 +1117,7 @@

    @@ -1113,7 +1160,7 @@

    @@ -1156,7 +1203,7 @@

    @@ -1205,7 +1252,7 @@

    @@ -1240,7 +1287,7 @@

    @@ -1285,7 +1332,7 @@

    @@ -1330,7 +1377,7 @@

    @@ -1384,7 +1431,7 @@

    @@ -1429,7 +1476,7 @@

    @@ -1462,7 +1509,7 @@

    @@ -1481,6 +1528,51 @@

    Return values
    — +
    +
    +

    + setFollow() + +

    + + +

    Sets follow

    + + + public + setFollow(FollowDetail $follow) : self + + +
    Parameters
    +
    +
    + $follow + : FollowDetail +
    +
    +

    follow

    +
    + +
    +
    + + + +
    Return values
    + self + — + +
    @@ -1540,7 +1632,7 @@

    @@ -1573,7 +1665,7 @@

    @@ -1606,7 +1698,7 @@

    @@ -1642,7 +1734,7 @@

    @@ -1675,7 +1767,7 @@

    FollowEventAllOf.php : - 140 + 143 @@ -1708,7 +1800,7 @@

    @@ -1767,7 +1859,7 @@

    FollowEventAllOf.php : - 150 + 153 diff --git a/docs/classes/LINE-Webhook-Model-JoinEventAllOf.html b/docs/classes/LINE-Webhook-Model-JoinEventAllOf.html new file mode 100644 index 00000000..14f6ea11 --- /dev/null +++ b/docs/classes/LINE-Webhook-Model-JoinEventAllOf.html @@ -0,0 +1,1890 @@ + + + + + LINE Messaging API SDK for PHP + + + + + + + + + + + + + + + + + + + + +
    +

    LINE Messaging API SDK for PHP

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

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

    + + + +

    JoinEventAllOf 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
    + +
    + getModelName() + +  : string +
    +
    The original name of the model.
    + +
    + getReplyToken() + +  : string +
    +
    Gets replyToken
    + +
    + 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
    + +
    + setReplyToken() + +  : self +
    +
    Sets replyToken
    + +
    + 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 + +

    +
    +

    + DISCRIMINATOR + +

    + + + + + + public + mixed + DISCRIMINATOR + = null + + + +
    + +
    + + + +
    +
    + + +
    +

    + 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 + = ['replyToken' => 'replyToken'] + + + + + +
    +
    +

    + $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 + = ['replyToken' => 'getReplyToken'] + + + + + +
    +
    +

    + $openAPIFormats + + + +

    + + +

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

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

    array<string, string|null>

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

    array<string, string|null>

    +
    + +
    +
    + +
    +
    +

    + $openAPIModelName + + + +

    + + +

    The original name of the model.

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

    + $openAPINullables + + + +

    + + +

    Array of nullable properties. Used for (de)serialization

    + + + protected + static array<string|int, mixed> + $openAPINullables + = ['replyToken' => 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 + = ['replyToken' => 'string'] + + + + + +
    +
    +

    + $setters + + + +

    + + +

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

    + + + protected + static array<string|int, string> + $setters + = ['replyToken' => 'setReplyToken'] + + + + + +
    +
    + +
    +

    + 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> + — + + +
    +
    +

    + getModelName() + +

    + + +

    The original name of the model.

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

    + getReplyToken() + +

    + + +

    Gets replyToken

    + + + public + getReplyToken() : 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 + — + + +
    +
    +

    + jsonSerialize() + +

    + + +

    Serializes the object to a value that can be serialized natively by json_encode().

    + + + public + jsonSerialize() : mixed + + + + +
    + Tags + +
    +
    +
    + link +
    +
    + https://www.php.net/manual/en/jsonserializable.jsonserialize.php + +
    +
    + +
    Return values
    + mixed + — +

    Returns data which can be serialized by json_encode(), which is a value +of any type other than a resource.

    +
    + + +
    +
    +

    + 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> + — + + +
    +
    +

    + setReplyToken() + +

    + + +

    Sets replyToken

    + + + public + setReplyToken(string $replyToken) : self + + +
    Parameters
    +
    +
    + $replyToken + : string +
    +
    +

    Reply token used to send reply message to this event

    +
    + +
    +
    + + + +
    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/classes/LINE-Webhook-Test-Model-FollowDetailTest.html b/docs/classes/LINE-Webhook-Test-Model-FollowDetailTest.html new file mode 100644 index 00000000..af673352 --- /dev/null +++ b/docs/classes/LINE-Webhook-Test-Model-FollowDetailTest.html @@ -0,0 +1,557 @@ + + + + + LINE Messaging API SDK for PHP + + + + + + + + + + + + + + + + + + + + +
      +

      LINE Messaging API SDK for PHP

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

      + FollowDetailTest + + + extends TestCase + + +
      + in package + +
      + + +

      + + + +

      FollowDetailTest Class Doc Comment

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

      Class

      +
      + +
      +
      + description +
      +
      + +

      FollowDetail

      +
      + +
      +
      + author +
      +
      + +

      OpenAPI Generator team

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

      + Table of Contents + +

      + +
      +
      + setUp() + +  : void +
      +
      Setup before running each test case
      + +
      + setUpBeforeClass() + +  : void +
      +
      Setup before running any test case
      + +
      + tearDown() + +  : void +
      +
      Clean up after running each test case
      + +
      + tearDownAfterClass() + +  : void +
      +
      Clean up after running all test cases
      + +
      + testFollowDetail() + +  : mixed +
      +
      Test "FollowDetail"
      + +
      + testPropertyIsUnblocked() + +  : mixed +
      +
      Test attribute "isUnblocked"
      + +
      + + + + + + + +
      +

      + Methods + +

      +
      +

      + setUp() + +

      + + +

      Setup before running each test case

      + + + public + setUp() : void + + + + + +
      Return values
      + void + — + + +
      +
      +

      + setUpBeforeClass() + +

      + + +

      Setup before running any test case

      + + + public + static setUpBeforeClass() : void + + + + + +
      Return values
      + void + — + + +
      +
      +

      + tearDown() + +

      + + +

      Clean up after running each test case

      + + + public + tearDown() : void + + + + + +
      Return values
      + void + — + + +
      +
      +

      + tearDownAfterClass() + +

      + + +

      Clean up after running all test cases

      + + + public + static tearDownAfterClass() : void + + + + + +
      Return values
      + void + — + + +
      +
      +

      + testFollowDetail() + +

      + + +

      Test "FollowDetail"

      + + + public + testFollowDetail() : mixed + + + + + +
      Return values
      + mixed + — + + +
      +
      +

      + testPropertyIsUnblocked() + +

      + + +

      Test attribute "isUnblocked"

      + + + public + testPropertyIsUnblocked() : mixed + + + + + +
      Return values
      + mixed + — + + +
      +
      + + + + +
      +
      +
      +
      +

      Search results

      + +
      +
      +
        +
        +
        +
        +
        +
        + + +
        + + + + + + + + diff --git a/docs/classes/LINE-Webhook-Test-Model-FollowEventAllOfTest.html b/docs/classes/LINE-Webhook-Test-Model-FollowEventAllOfTest.html index 168fb332..807d191c 100644 --- a/docs/classes/LINE-Webhook-Test-Model-FollowEventAllOfTest.html +++ b/docs/classes/LINE-Webhook-Test-Model-FollowEventAllOfTest.html @@ -246,6 +246,13 @@

        Test "FollowEventAllOf"
        +
        + testPropertyFollow() + +  : mixed +
        +
        Test attribute "follow"
        +
        testPropertyReplyToken() @@ -425,6 +432,39 @@

        +

        Return values
        + mixed + — + + + +
        +

        + testPropertyFollow() + +

        + + +

        Test attribute "follow"

        + + + public + testPropertyFollow() : mixed + + + + +
        Return values
        mixed — diff --git a/docs/classes/LINE-Webhook-Test-Model-FollowEventTest.html b/docs/classes/LINE-Webhook-Test-Model-FollowEventTest.html index c2bab0ef..f9784562 100644 --- a/docs/classes/LINE-Webhook-Test-Model-FollowEventTest.html +++ b/docs/classes/LINE-Webhook-Test-Model-FollowEventTest.html @@ -246,6 +246,13 @@

        Test "FollowEvent"
        +
        + testPropertyFollow() + +  : mixed +
        +
        Test attribute "follow"
        +
        testPropertyReplyToken() @@ -425,6 +432,39 @@

        +

        Return values
        + mixed + — + + + +
        +

        + testPropertyFollow() + +

        + + +

        Test attribute "follow"

        + + + public + testPropertyFollow() : mixed + + + + +
        Return values
        mixed — diff --git a/docs/classes/LINE-Webhook-Test-Model-JoinEventAllOfTest.html b/docs/classes/LINE-Webhook-Test-Model-JoinEventAllOfTest.html new file mode 100644 index 00000000..a7d69900 --- /dev/null +++ b/docs/classes/LINE-Webhook-Test-Model-JoinEventAllOfTest.html @@ -0,0 +1,557 @@ + + + + + LINE Messaging API SDK for PHP + + + + + + + + + + + + + + + + + + + + +
        +

        LINE Messaging API SDK for PHP

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

        + JoinEventAllOfTest + + + extends TestCase + + +
        + in package + +
        + + +

        + + + +

        JoinEventAllOfTest Class Doc Comment

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

        Class

        +
        + +
        +
        + description +
        +
        + +

        JoinEventAllOf

        +
        + +
        +
        + author +
        +
        + +

        OpenAPI Generator team

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

        + Table of Contents + +

        + +
        +
        + setUp() + +  : void +
        +
        Setup before running each test case
        + +
        + setUpBeforeClass() + +  : void +
        +
        Setup before running any test case
        + +
        + tearDown() + +  : void +
        +
        Clean up after running each test case
        + +
        + tearDownAfterClass() + +  : void +
        +
        Clean up after running all test cases
        + +
        + testJoinEventAllOf() + +  : mixed +
        +
        Test "JoinEventAllOf"
        + +
        + testPropertyReplyToken() + +  : mixed +
        +
        Test attribute "replyToken"
        + +
        + + + + + + + +
        +

        + Methods + +

        +
        +

        + setUp() + +

        + + +

        Setup before running each test case

        + + + public + setUp() : void + + + + + +
        Return values
        + void + — + + +
        +
        +

        + setUpBeforeClass() + +

        + + +

        Setup before running any test case

        + + + public + static setUpBeforeClass() : void + + + + + +
        Return values
        + void + — + + +
        +
        +

        + tearDown() + +

        + + +

        Clean up after running each test case

        + + + public + tearDown() : void + + + + + +
        Return values
        + void + — + + +
        +
        +

        + tearDownAfterClass() + +

        + + +

        Clean up after running all test cases

        + + + public + static tearDownAfterClass() : void + + + + + +
        Return values
        + void + — + + +
        +
        +

        + testJoinEventAllOf() + +

        + + +

        Test "JoinEventAllOf"

        + + + public + testJoinEventAllOf() : mixed + + + + + +
        Return values
        + mixed + — + + +
        +
        +

        + testPropertyReplyToken() + +

        + + +

        Test attribute "replyToken"

        + + + public + testPropertyReplyToken() : mixed + + + + + +
        Return values
        + mixed + — + + +
        +
        + + + + +
        +
        +
        +
        +

        Search results

        + +
        +
        +
          +
          +
          +
          +
          +
          + + +
          + + + + + + + + diff --git a/docs/files/src-webhook-lib-model-followdetail.html b/docs/files/src-webhook-lib-model-followdetail.html new file mode 100644 index 00000000..4335ae7c --- /dev/null +++ b/docs/files/src-webhook-lib-model-followdetail.html @@ -0,0 +1,195 @@ + + + + + LINE Messaging API SDK for PHP + + + + + + + + + + + + + + + + + + + + +
          +

          LINE Messaging API SDK for PHP

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

          FollowDetail.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 + +

          + +
          + +
          FollowDetail
          +
          FollowDetail Class Doc Comment
          + + +
          + + + + + + + + +
          +
          +
          +
          +

          Search results

          + +
          +
          +
            +
            +
            +
            +
            +
            + + +
            + + + + + + + + diff --git a/docs/files/src-webhook-lib-model-joineventallof.html b/docs/files/src-webhook-lib-model-joineventallof.html new file mode 100644 index 00000000..be336829 --- /dev/null +++ b/docs/files/src-webhook-lib-model-joineventallof.html @@ -0,0 +1,195 @@ + + + + + LINE Messaging API SDK for PHP + + + + + + + + + + + + + + + + + + + + +
            +

            LINE Messaging API SDK for PHP

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

            JoinEventAllOf.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 + +

            + +
            + +
            JoinEventAllOf
            +
            JoinEventAllOf Class Doc Comment
            + + +
            + + + + + + + + +
            +
            +
            +
            +

            Search results

            + +
            +
            +
              +
              +
              +
              +
              +
              + + +
              + + + + + + + + diff --git a/docs/files/src-webhook-test-model-followdetailtest.html b/docs/files/src-webhook-test-model-followdetailtest.html new file mode 100644 index 00000000..3feb8dec --- /dev/null +++ b/docs/files/src-webhook-test-model-followdetailtest.html @@ -0,0 +1,195 @@ + + + + + LINE Messaging API SDK for PHP + + + + + + + + + + + + + + + + + + + + +
              +

              LINE Messaging API SDK for PHP

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

              FollowDetailTest.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 + +

              + +
              + +
              FollowDetailTest
              +
              FollowDetailTest Class Doc Comment
              + + +
              + + + + + + + + +
              +
              +
              +
              +

              Search results

              + +
              +
              +
                +
                +
                +
                +
                +
                + + +
                + + + + + + + + diff --git a/docs/files/src-webhook-test-model-joineventalloftest.html b/docs/files/src-webhook-test-model-joineventalloftest.html new file mode 100644 index 00000000..2e95c8b4 --- /dev/null +++ b/docs/files/src-webhook-test-model-joineventalloftest.html @@ -0,0 +1,195 @@ + + + + + LINE Messaging API SDK for PHP + + + + + + + + + + + + + + + + + + + + +
                +

                LINE Messaging API SDK for PHP

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

                JoinEventAllOfTest.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 + +

                + +
                + +
                JoinEventAllOfTest
                +
                JoinEventAllOfTest Class Doc Comment
                + + +
                + + + + + + + + +
                +
                +
                +
                +

                Search results

                + +
                +
                +
                  +
                  +
                  +
                  +
                  +
                  + + +
                  + + + + + + + + diff --git a/docs/indices/files.html b/docs/indices/files.html index c673dd39..8a4066c9 100644 --- a/docs/indices/files.html +++ b/docs/indices/files.html @@ -353,6 +353,8 @@

                  F

                • FlexTextFontSize.php
                • FlexVideo.php
                • FlexVideoAllOf.php
                • +
                • FollowDetail.php
                • +
                • FollowDetailTest.php
                • FollowEvent.php
                • FollowEventAllOf.php
                • FollowEventAllOfTest.php
                • @@ -434,6 +436,8 @@

                  I

                  J

                  • JoinEvent.php
                  • +
                  • JoinEventAllOf.php
                  • +
                  • JoinEventAllOfTest.php
                  • JoinEventTest.php
                  • JoinedMembers.php
                  • JoinedMembersTest.php
                  • diff --git a/docs/js/searchIndex.js b/docs/js/searchIndex.js index f460fe86..44fce8ac 100644 --- a/docs/js/searchIndex.js +++ b/docs/js/searchIndex.js @@ -50605,6 +50605,151 @@ Search.appendIndex( "name": "container", "summary": "Associative\u0020array\u0020for\u0020storing\u0020property\u0020values", "url": "classes/LINE-Webhook-Model-FileMessageContentAllOf.html#property_container" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail", + "name": "FollowDetail", + "summary": "FollowDetail\u0020Class\u0020Doc\u0020Comment", + "url": "classes/LINE-Webhook-Model-FollowDetail.html" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003A\u0024openAPITypes", + "name": "openAPITypes", + "summary": "Array\u0020of\u0020property\u0020to\u0020type\u0020mappings.\u0020Used\u0020for\u0020\u0028de\u0029serialization", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#property_openAPITypes" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003A\u0024openAPIFormats", + "name": "openAPIFormats", + "summary": "Array\u0020of\u0020property\u0020to\u0020format\u0020mappings.\u0020Used\u0020for\u0020\u0028de\u0029serialization", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#property_openAPIFormats" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003A\u0024openAPINullables", + "name": "openAPINullables", + "summary": "Array\u0020of\u0020nullable\u0020properties.\u0020Used\u0020for\u0020\u0028de\u0029serialization", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#property_openAPINullables" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AgetOpenAPINullablesSetToNull\u0028\u0029", + "name": "getOpenAPINullablesSetToNull", + "summary": "Array\u0020of\u0020nullable\u0020field\u0020names\u0020deliberately\u0020set\u0020to\u0020null", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_getOpenAPINullablesSetToNull" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AsetOpenAPINullablesSetToNull\u0028\u0029", + "name": "setOpenAPINullablesSetToNull", + "summary": "Setter\u0020\u002D\u0020Array\u0020of\u0020nullable\u0020field\u0020names\u0020deliberately\u0020set\u0020to\u0020null", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_setOpenAPINullablesSetToNull" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AisNullable\u0028\u0029", + "name": "isNullable", + "summary": "Checks\u0020if\u0020a\u0020property\u0020is\u0020nullable", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_isNullable" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AisNullableSetToNull\u0028\u0029", + "name": "isNullableSetToNull", + "summary": "Checks\u0020if\u0020a\u0020nullable\u0020property\u0020is\u0020set\u0020to\u0020null.", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_isNullableSetToNull" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\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-Webhook-Model-FollowDetail.html#property_attributeMap" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003A\u0024setters", + "name": "setters", + "summary": "Array\u0020of\u0020attributes\u0020to\u0020setter\u0020functions\u0020\u0028for\u0020deserialization\u0020of\u0020responses\u0029", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#property_setters" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003A\u0024getters", + "name": "getters", + "summary": "Array\u0020of\u0020attributes\u0020to\u0020getter\u0020functions\u0020\u0028for\u0020serialization\u0020of\u0020requests\u0029", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#property_getters" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AgetModelName\u0028\u0029", + "name": "getModelName", + "summary": "The\u0020original\u0020name\u0020of\u0020the\u0020model.", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_getModelName" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method___construct" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\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-Webhook-Model-FollowDetail.html#method_setIfExists" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AlistInvalidProperties\u0028\u0029", + "name": "listInvalidProperties", + "summary": "Show\u0020all\u0020the\u0020invalid\u0020properties\u0020with\u0020reasons.", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_listInvalidProperties" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003Avalid\u0028\u0029", + "name": "valid", + "summary": "Validate\u0020all\u0020the\u0020properties\u0020in\u0020the\u0020model\nreturn\u0020true\u0020if\u0020all\u0020passed", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_valid" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AgetIsUnblocked\u0028\u0029", + "name": "getIsUnblocked", + "summary": "Gets\u0020isUnblocked", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_getIsUnblocked" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AsetIsUnblocked\u0028\u0029", + "name": "setIsUnblocked", + "summary": "Sets\u0020isUnblocked", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_setIsUnblocked" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AoffsetExists\u0028\u0029", + "name": "offsetExists", + "summary": "Returns\u0020true\u0020if\u0020offset\u0020exists.\u0020False\u0020otherwise.", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_offsetExists" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AoffsetGet\u0028\u0029", + "name": "offsetGet", + "summary": "Gets\u0020offset.", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_offsetGet" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AoffsetSet\u0028\u0029", + "name": "offsetSet", + "summary": "Sets\u0020value\u0020based\u0020on\u0020offset.", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_offsetSet" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AoffsetUnset\u0028\u0029", + "name": "offsetUnset", + "summary": "Unsets\u0020offset.", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_offsetUnset" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\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-Webhook-Model-FollowDetail.html#method_jsonSerialize" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003A__toString\u0028\u0029", + "name": "__toString", + "summary": "Gets\u0020the\u0020string\u0020presentation\u0020of\u0020the\u0020object", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method___toString" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003AtoHeaderValue\u0028\u0029", + "name": "toHeaderValue", + "summary": "Gets\u0020a\u0020header\u002Dsafe\u0020presentation\u0020of\u0020the\u0020object", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#method_toHeaderValue" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003ADISCRIMINATOR", + "name": "DISCRIMINATOR", + "summary": "", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#constant_DISCRIMINATOR" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003A\u0024openAPIModelName", + "name": "openAPIModelName", + "summary": "The\u0020original\u0020name\u0020of\u0020the\u0020model.", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#property_openAPIModelName" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003A\u0024openAPINullablesSetToNull", + "name": "openAPINullablesSetToNull", + "summary": "If\u0020a\u0020nullable\u0020field\u0020gets\u0020set\u0020to\u0020null,\u0020insert\u0020it\u0020here", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#property_openAPINullablesSetToNull" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowDetail\u003A\u003A\u0024container", + "name": "container", + "summary": "Associative\u0020array\u0020for\u0020storing\u0020property\u0020values", + "url": "classes/LINE-Webhook-Model-FollowDetail.html#property_container" }, { "fqsen": "\\LINE\\Webhook\\Model\\FollowEvent", "name": "FollowEvent", @@ -50695,6 +50840,16 @@ Search.appendIndex( "name": "setReplyToken", "summary": "Sets\u0020replyToken", "url": "classes/LINE-Webhook-Model-FollowEvent.html#method_setReplyToken" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowEvent\u003A\u003AgetFollow\u0028\u0029", + "name": "getFollow", + "summary": "Gets\u0020follow", + "url": "classes/LINE-Webhook-Model-FollowEvent.html#method_getFollow" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowEvent\u003A\u003AsetFollow\u0028\u0029", + "name": "setFollow", + "summary": "Sets\u0020follow", + "url": "classes/LINE-Webhook-Model-FollowEvent.html#method_setFollow" }, { "fqsen": "\\LINE\\Webhook\\Model\\FollowEvent\u003A\u003AoffsetExists\u0028\u0029", "name": "offsetExists", @@ -50835,6 +50990,16 @@ Search.appendIndex( "name": "setReplyToken", "summary": "Sets\u0020replyToken", "url": "classes/LINE-Webhook-Model-FollowEventAllOf.html#method_setReplyToken" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowEventAllOf\u003A\u003AgetFollow\u0028\u0029", + "name": "getFollow", + "summary": "Gets\u0020follow", + "url": "classes/LINE-Webhook-Model-FollowEventAllOf.html#method_getFollow" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\FollowEventAllOf\u003A\u003AsetFollow\u0028\u0029", + "name": "setFollow", + "summary": "Sets\u0020follow", + "url": "classes/LINE-Webhook-Model-FollowEventAllOf.html#method_setFollow" }, { "fqsen": "\\LINE\\Webhook\\Model\\FollowEventAllOf\u003A\u003AoffsetExists\u0028\u0029", "name": "offsetExists", @@ -51970,6 +52135,151 @@ Search.appendIndex( "name": "openAPINullablesSetToNull", "summary": "If\u0020a\u0020nullable\u0020field\u0020gets\u0020set\u0020to\u0020null,\u0020insert\u0020it\u0020here", "url": "classes/LINE-Webhook-Model-JoinEvent.html#property_openAPINullablesSetToNull" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf", + "name": "JoinEventAllOf", + "summary": "JoinEventAllOf\u0020Class\u0020Doc\u0020Comment", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003A\u0024openAPITypes", + "name": "openAPITypes", + "summary": "Array\u0020of\u0020property\u0020to\u0020type\u0020mappings.\u0020Used\u0020for\u0020\u0028de\u0029serialization", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#property_openAPITypes" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003A\u0024openAPIFormats", + "name": "openAPIFormats", + "summary": "Array\u0020of\u0020property\u0020to\u0020format\u0020mappings.\u0020Used\u0020for\u0020\u0028de\u0029serialization", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#property_openAPIFormats" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003A\u0024openAPINullables", + "name": "openAPINullables", + "summary": "Array\u0020of\u0020nullable\u0020properties.\u0020Used\u0020for\u0020\u0028de\u0029serialization", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#property_openAPINullables" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AgetOpenAPINullablesSetToNull\u0028\u0029", + "name": "getOpenAPINullablesSetToNull", + "summary": "Array\u0020of\u0020nullable\u0020field\u0020names\u0020deliberately\u0020set\u0020to\u0020null", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_getOpenAPINullablesSetToNull" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AsetOpenAPINullablesSetToNull\u0028\u0029", + "name": "setOpenAPINullablesSetToNull", + "summary": "Setter\u0020\u002D\u0020Array\u0020of\u0020nullable\u0020field\u0020names\u0020deliberately\u0020set\u0020to\u0020null", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_setOpenAPINullablesSetToNull" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AisNullable\u0028\u0029", + "name": "isNullable", + "summary": "Checks\u0020if\u0020a\u0020property\u0020is\u0020nullable", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_isNullable" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AisNullableSetToNull\u0028\u0029", + "name": "isNullableSetToNull", + "summary": "Checks\u0020if\u0020a\u0020nullable\u0020property\u0020is\u0020set\u0020to\u0020null.", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_isNullableSetToNull" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\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-Webhook-Model-JoinEventAllOf.html#property_attributeMap" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003A\u0024setters", + "name": "setters", + "summary": "Array\u0020of\u0020attributes\u0020to\u0020setter\u0020functions\u0020\u0028for\u0020deserialization\u0020of\u0020responses\u0029", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#property_setters" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003A\u0024getters", + "name": "getters", + "summary": "Array\u0020of\u0020attributes\u0020to\u0020getter\u0020functions\u0020\u0028for\u0020serialization\u0020of\u0020requests\u0029", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#property_getters" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AgetModelName\u0028\u0029", + "name": "getModelName", + "summary": "The\u0020original\u0020name\u0020of\u0020the\u0020model.", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_getModelName" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003A__construct\u0028\u0029", + "name": "__construct", + "summary": "Constructor", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method___construct" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\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-Webhook-Model-JoinEventAllOf.html#method_setIfExists" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AlistInvalidProperties\u0028\u0029", + "name": "listInvalidProperties", + "summary": "Show\u0020all\u0020the\u0020invalid\u0020properties\u0020with\u0020reasons.", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_listInvalidProperties" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003Avalid\u0028\u0029", + "name": "valid", + "summary": "Validate\u0020all\u0020the\u0020properties\u0020in\u0020the\u0020model\nreturn\u0020true\u0020if\u0020all\u0020passed", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_valid" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AgetReplyToken\u0028\u0029", + "name": "getReplyToken", + "summary": "Gets\u0020replyToken", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_getReplyToken" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AsetReplyToken\u0028\u0029", + "name": "setReplyToken", + "summary": "Sets\u0020replyToken", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_setReplyToken" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AoffsetExists\u0028\u0029", + "name": "offsetExists", + "summary": "Returns\u0020true\u0020if\u0020offset\u0020exists.\u0020False\u0020otherwise.", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_offsetExists" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AoffsetGet\u0028\u0029", + "name": "offsetGet", + "summary": "Gets\u0020offset.", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_offsetGet" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AoffsetSet\u0028\u0029", + "name": "offsetSet", + "summary": "Sets\u0020value\u0020based\u0020on\u0020offset.", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_offsetSet" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AoffsetUnset\u0028\u0029", + "name": "offsetUnset", + "summary": "Unsets\u0020offset.", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_offsetUnset" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\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-Webhook-Model-JoinEventAllOf.html#method_jsonSerialize" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003A__toString\u0028\u0029", + "name": "__toString", + "summary": "Gets\u0020the\u0020string\u0020presentation\u0020of\u0020the\u0020object", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method___toString" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003AtoHeaderValue\u0028\u0029", + "name": "toHeaderValue", + "summary": "Gets\u0020a\u0020header\u002Dsafe\u0020presentation\u0020of\u0020the\u0020object", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#method_toHeaderValue" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003ADISCRIMINATOR", + "name": "DISCRIMINATOR", + "summary": "", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#constant_DISCRIMINATOR" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003A\u0024openAPIModelName", + "name": "openAPIModelName", + "summary": "The\u0020original\u0020name\u0020of\u0020the\u0020model.", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#property_openAPIModelName" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003A\u0024openAPINullablesSetToNull", + "name": "openAPINullablesSetToNull", + "summary": "If\u0020a\u0020nullable\u0020field\u0020gets\u0020set\u0020to\u0020null,\u0020insert\u0020it\u0020here", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#property_openAPINullablesSetToNull" + }, { + "fqsen": "\\LINE\\Webhook\\Model\\JoinEventAllOf\u003A\u003A\u0024container", + "name": "container", + "summary": "Associative\u0020array\u0020for\u0020storing\u0020property\u0020values", + "url": "classes/LINE-Webhook-Model-JoinEventAllOf.html#property_container" }, { "fqsen": "\\LINE\\Webhook\\Model\\LeaveEvent", "name": "LeaveEvent", @@ -61430,6 +61740,41 @@ Search.appendIndex( "name": "testPropertyFileSize", "summary": "Test\u0020attribute\u0020\u0022fileSize\u0022", "url": "classes/LINE-Webhook-Test-Model-FileMessageContentTest.html#method_testPropertyFileSize" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\FollowDetailTest", + "name": "FollowDetailTest", + "summary": "FollowDetailTest\u0020Class\u0020Doc\u0020Comment", + "url": "classes/LINE-Webhook-Test-Model-FollowDetailTest.html" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\FollowDetailTest\u003A\u003AsetUpBeforeClass\u0028\u0029", + "name": "setUpBeforeClass", + "summary": "Setup\u0020before\u0020running\u0020any\u0020test\u0020case", + "url": "classes/LINE-Webhook-Test-Model-FollowDetailTest.html#method_setUpBeforeClass" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\FollowDetailTest\u003A\u003AsetUp\u0028\u0029", + "name": "setUp", + "summary": "Setup\u0020before\u0020running\u0020each\u0020test\u0020case", + "url": "classes/LINE-Webhook-Test-Model-FollowDetailTest.html#method_setUp" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\FollowDetailTest\u003A\u003AtearDown\u0028\u0029", + "name": "tearDown", + "summary": "Clean\u0020up\u0020after\u0020running\u0020each\u0020test\u0020case", + "url": "classes/LINE-Webhook-Test-Model-FollowDetailTest.html#method_tearDown" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\FollowDetailTest\u003A\u003AtearDownAfterClass\u0028\u0029", + "name": "tearDownAfterClass", + "summary": "Clean\u0020up\u0020after\u0020running\u0020all\u0020test\u0020cases", + "url": "classes/LINE-Webhook-Test-Model-FollowDetailTest.html#method_tearDownAfterClass" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\FollowDetailTest\u003A\u003AtestFollowDetail\u0028\u0029", + "name": "testFollowDetail", + "summary": "Test\u0020\u0022FollowDetail\u0022", + "url": "classes/LINE-Webhook-Test-Model-FollowDetailTest.html#method_testFollowDetail" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\FollowDetailTest\u003A\u003AtestPropertyIsUnblocked\u0028\u0029", + "name": "testPropertyIsUnblocked", + "summary": "Test\u0020attribute\u0020\u0022isUnblocked\u0022", + "url": "classes/LINE-Webhook-Test-Model-FollowDetailTest.html#method_testPropertyIsUnblocked" }, { "fqsen": "\\LINE\\Webhook\\Test\\Model\\FollowEventAllOfTest", "name": "FollowEventAllOfTest", @@ -61465,6 +61810,11 @@ Search.appendIndex( "name": "testPropertyReplyToken", "summary": "Test\u0020attribute\u0020\u0022replyToken\u0022", "url": "classes/LINE-Webhook-Test-Model-FollowEventAllOfTest.html#method_testPropertyReplyToken" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\FollowEventAllOfTest\u003A\u003AtestPropertyFollow\u0028\u0029", + "name": "testPropertyFollow", + "summary": "Test\u0020attribute\u0020\u0022follow\u0022", + "url": "classes/LINE-Webhook-Test-Model-FollowEventAllOfTest.html#method_testPropertyFollow" }, { "fqsen": "\\LINE\\Webhook\\Test\\Model\\FollowEventTest", "name": "FollowEventTest", @@ -61500,6 +61850,11 @@ Search.appendIndex( "name": "testPropertyReplyToken", "summary": "Test\u0020attribute\u0020\u0022replyToken\u0022", "url": "classes/LINE-Webhook-Test-Model-FollowEventTest.html#method_testPropertyReplyToken" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\FollowEventTest\u003A\u003AtestPropertyFollow\u0028\u0029", + "name": "testPropertyFollow", + "summary": "Test\u0020attribute\u0020\u0022follow\u0022", + "url": "classes/LINE-Webhook-Test-Model-FollowEventTest.html#method_testPropertyFollow" }, { "fqsen": "\\LINE\\Webhook\\Test\\Model\\GroupSourceAllOfTest", "name": "GroupSourceAllOfTest", @@ -61750,6 +62105,41 @@ Search.appendIndex( "name": "testPropertyMembers", "summary": "Test\u0020attribute\u0020\u0022members\u0022", "url": "classes/LINE-Webhook-Test-Model-JoinedMembersTest.html#method_testPropertyMembers" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\JoinEventAllOfTest", + "name": "JoinEventAllOfTest", + "summary": "JoinEventAllOfTest\u0020Class\u0020Doc\u0020Comment", + "url": "classes/LINE-Webhook-Test-Model-JoinEventAllOfTest.html" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\JoinEventAllOfTest\u003A\u003AsetUpBeforeClass\u0028\u0029", + "name": "setUpBeforeClass", + "summary": "Setup\u0020before\u0020running\u0020any\u0020test\u0020case", + "url": "classes/LINE-Webhook-Test-Model-JoinEventAllOfTest.html#method_setUpBeforeClass" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\JoinEventAllOfTest\u003A\u003AsetUp\u0028\u0029", + "name": "setUp", + "summary": "Setup\u0020before\u0020running\u0020each\u0020test\u0020case", + "url": "classes/LINE-Webhook-Test-Model-JoinEventAllOfTest.html#method_setUp" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\JoinEventAllOfTest\u003A\u003AtearDown\u0028\u0029", + "name": "tearDown", + "summary": "Clean\u0020up\u0020after\u0020running\u0020each\u0020test\u0020case", + "url": "classes/LINE-Webhook-Test-Model-JoinEventAllOfTest.html#method_tearDown" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\JoinEventAllOfTest\u003A\u003AtearDownAfterClass\u0028\u0029", + "name": "tearDownAfterClass", + "summary": "Clean\u0020up\u0020after\u0020running\u0020all\u0020test\u0020cases", + "url": "classes/LINE-Webhook-Test-Model-JoinEventAllOfTest.html#method_tearDownAfterClass" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\JoinEventAllOfTest\u003A\u003AtestJoinEventAllOf\u0028\u0029", + "name": "testJoinEventAllOf", + "summary": "Test\u0020\u0022JoinEventAllOf\u0022", + "url": "classes/LINE-Webhook-Test-Model-JoinEventAllOfTest.html#method_testJoinEventAllOf" + }, { + "fqsen": "\\LINE\\Webhook\\Test\\Model\\JoinEventAllOfTest\u003A\u003AtestPropertyReplyToken\u0028\u0029", + "name": "testPropertyReplyToken", + "summary": "Test\u0020attribute\u0020\u0022replyToken\u0022", + "url": "classes/LINE-Webhook-Test-Model-JoinEventAllOfTest.html#method_testPropertyReplyToken" }, { "fqsen": "\\LINE\\Webhook\\Test\\Model\\JoinEventTest", "name": "JoinEventTest", diff --git a/docs/namespaces/line-webhook-model.html b/docs/namespaces/line-webhook-model.html index 4ac7ed4b..45d89a47 100644 --- a/docs/namespaces/line-webhook-model.html +++ b/docs/namespaces/line-webhook-model.html @@ -195,6 +195,8 @@

                    FileMessageContent Class Doc Comment
                    FileMessageContentAllOf
                    FileMessageContentAllOf Class Doc Comment
                    +
                    FollowDetail
                    +
                    FollowDetail Class Doc Comment
                    FollowEvent
                    FollowEvent Class Doc Comment
                    FollowEventAllOf
                    @@ -213,6 +215,8 @@

                    JoinedMembers Class Doc Comment
                    JoinEvent
                    JoinEvent Class Doc Comment
                    +
                    JoinEventAllOf
                    +
                    JoinEventAllOf Class Doc Comment
                    LeaveEvent
                    LeaveEvent Class Doc Comment
                    LeftMembers
                    diff --git a/docs/namespaces/line-webhook-test-model.html b/docs/namespaces/line-webhook-test-model.html index 6d0fa30a..e596771f 100644 --- a/docs/namespaces/line-webhook-test-model.html +++ b/docs/namespaces/line-webhook-test-model.html @@ -194,6 +194,8 @@

                    FileMessageContentAllOfTest Class Doc Comment
                    FileMessageContentTest
                    FileMessageContentTest Class Doc Comment
                    +
                    FollowDetailTest
                    +
                    FollowDetailTest Class Doc Comment
                    FollowEventAllOfTest
                    FollowEventAllOfTest Class Doc Comment
                    FollowEventTest
                    @@ -210,6 +212,8 @@

                    ImageSetTest Class Doc Comment
                    JoinedMembersTest
                    JoinedMembersTest Class Doc Comment
                    +
                    JoinEventAllOfTest
                    +
                    JoinEventAllOfTest Class Doc Comment
                    JoinEventTest
                    JoinEventTest Class Doc Comment
                    LeaveEventTest
                    diff --git a/docs/packages/LINE-Webhook.html b/docs/packages/LINE-Webhook.html index e12cd092..372f6801 100644 --- a/docs/packages/LINE-Webhook.html +++ b/docs/packages/LINE-Webhook.html @@ -209,6 +209,8 @@

                    FileMessageContent Class Doc Comment
                    FileMessageContentAllOf
                    FileMessageContentAllOf Class Doc Comment
                    +
                    FollowDetail
                    +
                    FollowDetail Class Doc Comment
                    FollowEvent
                    FollowEvent Class Doc Comment
                    FollowEventAllOf
                    @@ -227,6 +229,8 @@

                    JoinedMembers Class Doc Comment
                    JoinEvent
                    JoinEvent Class Doc Comment
                    +
                    JoinEventAllOf
                    +
                    JoinEventAllOf Class Doc Comment
                    LeaveEvent
                    LeaveEvent Class Doc Comment
                    LeftMembers
                    @@ -391,6 +395,8 @@

                    FileMessageContentAllOfTest Class Doc Comment
                    FileMessageContentTest
                    FileMessageContentTest Class Doc Comment
                    +
                    FollowDetailTest
                    +
                    FollowDetailTest Class Doc Comment
                    FollowEventAllOfTest
                    FollowEventAllOfTest Class Doc Comment
                    FollowEventTest
                    @@ -407,6 +413,8 @@

                    ImageSetTest Class Doc Comment
                    JoinedMembersTest
                    JoinedMembersTest Class Doc Comment
                    +
                    JoinEventAllOfTest
                    +
                    JoinEventAllOfTest Class Doc Comment
                    JoinEventTest
                    JoinEventTest Class Doc Comment
                    LeaveEventTest
                    diff --git a/docs/reports/markers.html b/docs/reports/markers.html index a7b978e8..35b51d9f 100644 --- a/docs/reports/markers.html +++ b/docs/reports/markers.html @@ -245,12 +245,16 @@

                    Table of Contents

                    3 - src/webhook/test/Model/FollowEventAllOfTest.php + src/webhook/test/Model/FollowDetailTest.php 2 + + + src/webhook/test/Model/FollowEventAllOfTest.php + 3 src/webhook/test/Model/FollowEventTest.php - 2 + 3 src/webhook/test/Model/GroupSourceAllOfTest.php @@ -275,6 +279,10 @@

                    Table of Contents

                    src/webhook/test/Model/JoinedMembersTest.php 2 + + + src/webhook/test/Model/JoinEventAllOfTest.php + 2 src/webhook/test/Model/JoinEventTest.php @@ -1237,6 +1245,29 @@

                    FileMessageC implement + + +

                    FollowDetailTest.php

                    + + + + + + + + + + + + + + + + + + + +
                    TypeLineDescription
                    TODO93implement
                    TODO102implement

                    FollowEventAllOfTest.php

                    @@ -1258,6 +1289,11 @@

                    FollowEventAll TODO 102 implement + + + TODO + 111 + implement @@ -1281,6 +1317,11 @@

                    FollowEventTest.php TODO 102 implement + + + TODO + 111 + implement @@ -1441,6 +1482,29 @@

                    ImageSetTest.php

                    JoinedMembersTest.php

                    + + + + + + + + + + + + + + + + + + + + +
                    TypeLineDescription
                    TODO93implement
                    TODO102implement
                    + +

                    JoinEventAllOfTest.php

                    diff --git a/src/webhook/lib/Model/FollowDetail.php b/src/webhook/lib/Model/FollowDetail.php new file mode 100644 index 00000000..a3395836 --- /dev/null +++ b/src/webhook/lib/Model/FollowDetail.php @@ -0,0 +1,427 @@ + + */ +class FollowDetail implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'FollowDetail'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'isUnblocked' => 'bool' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'isUnblocked' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'isUnblocked' => 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 = [ + 'isUnblocked' => 'isUnblocked' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'isUnblocked' => 'setIsUnblocked' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'isUnblocked' => 'getIsUnblocked' + ]; + + /** + * 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('isUnblocked', $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['isUnblocked'] === null) { + $invalidProperties[] = "'isUnblocked' can't be null"; + } + 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 isUnblocked + * + * @return bool + */ + public function getIsUnblocked() + { + return $this->container['isUnblocked']; + } + + /** + * Sets isUnblocked + * + * @param bool $isUnblocked Whether a user has added your LINE Official Account as a friend or unblocked. + * + * @return self + */ + public function setIsUnblocked($isUnblocked) + { + if (is_null($isUnblocked)) { + throw new \InvalidArgumentException('non-nullable isUnblocked cannot be null'); + } + $this->container['isUnblocked'] = $isUnblocked; + + 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)); + } +} + + diff --git a/src/webhook/lib/Model/FollowEvent.php b/src/webhook/lib/Model/FollowEvent.php index d53454ac..094f009c 100644 --- a/src/webhook/lib/Model/FollowEvent.php +++ b/src/webhook/lib/Model/FollowEvent.php @@ -71,7 +71,8 @@ class FollowEvent extends Event * @var string[] */ protected static $openAPITypes = [ - 'replyToken' => 'string' + 'replyToken' => 'string', + 'follow' => '\LINE\Webhook\Model\FollowDetail' ]; /** @@ -82,7 +83,8 @@ class FollowEvent extends Event * @psalm-var array */ protected static $openAPIFormats = [ - 'replyToken' => null + 'replyToken' => null, + 'follow' => null ]; /** @@ -91,7 +93,8 @@ class FollowEvent extends Event * @var boolean[] */ protected static array $openAPINullables = [ - 'replyToken' => false + 'replyToken' => false, + 'follow' => false ]; /** @@ -180,7 +183,8 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $attributeMap = [ - 'replyToken' => 'replyToken' + 'replyToken' => 'replyToken', + 'follow' => 'follow' ]; /** @@ -189,7 +193,8 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $setters = [ - 'replyToken' => 'setReplyToken' + 'replyToken' => 'setReplyToken', + 'follow' => 'setFollow' ]; /** @@ -198,7 +203,8 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $getters = [ - 'replyToken' => 'getReplyToken' + 'replyToken' => 'getReplyToken', + 'follow' => 'getFollow' ]; /** @@ -255,6 +261,7 @@ public function __construct(array $data = null) parent::__construct($data); $this->setIfExists('replyToken', $data ?? [], null); + $this->setIfExists('follow', $data ?? [], null); } /** @@ -287,6 +294,9 @@ public function listInvalidProperties() if ($this->container['replyToken'] === null) { $invalidProperties[] = "'replyToken' can't be null"; } + if ($this->container['follow'] === null) { + $invalidProperties[] = "'follow' can't be null"; + } return $invalidProperties; } @@ -328,6 +338,33 @@ public function setReplyToken($replyToken) return $this; } + + /** + * Gets follow + * + * @return \LINE\Webhook\Model\FollowDetail + */ + public function getFollow() + { + return $this->container['follow']; + } + + /** + * Sets follow + * + * @param \LINE\Webhook\Model\FollowDetail $follow follow + * + * @return self + */ + public function setFollow($follow) + { + if (is_null($follow)) { + throw new \InvalidArgumentException('non-nullable follow cannot be null'); + } + $this->container['follow'] = $follow; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/webhook/lib/Model/FollowEventAllOf.php b/src/webhook/lib/Model/FollowEventAllOf.php index 2e2bb481..1d373055 100644 --- a/src/webhook/lib/Model/FollowEventAllOf.php +++ b/src/webhook/lib/Model/FollowEventAllOf.php @@ -72,7 +72,8 @@ class FollowEventAllOf implements ModelInterface, ArrayAccess, \JsonSerializable * @var string[] */ protected static $openAPITypes = [ - 'replyToken' => 'string' + 'replyToken' => 'string', + 'follow' => '\LINE\Webhook\Model\FollowDetail' ]; /** @@ -83,7 +84,8 @@ class FollowEventAllOf implements ModelInterface, ArrayAccess, \JsonSerializable * @psalm-var array */ protected static $openAPIFormats = [ - 'replyToken' => null + 'replyToken' => null, + 'follow' => null ]; /** @@ -92,7 +94,8 @@ class FollowEventAllOf implements ModelInterface, ArrayAccess, \JsonSerializable * @var boolean[] */ protected static array $openAPINullables = [ - 'replyToken' => false + 'replyToken' => false, + 'follow' => false ]; /** @@ -181,7 +184,8 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $attributeMap = [ - 'replyToken' => 'replyToken' + 'replyToken' => 'replyToken', + 'follow' => 'follow' ]; /** @@ -190,7 +194,8 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $setters = [ - 'replyToken' => 'setReplyToken' + 'replyToken' => 'setReplyToken', + 'follow' => 'setFollow' ]; /** @@ -199,7 +204,8 @@ public function isNullableSetToNull(string $property): bool * @var string[] */ protected static $getters = [ - 'replyToken' => 'getReplyToken' + 'replyToken' => 'getReplyToken', + 'follow' => 'getFollow' ]; /** @@ -260,6 +266,7 @@ public function getModelName() public function __construct(array $data = null) { $this->setIfExists('replyToken', $data ?? [], null); + $this->setIfExists('follow', $data ?? [], null); } /** @@ -292,6 +299,9 @@ public function listInvalidProperties() if ($this->container['replyToken'] === null) { $invalidProperties[] = "'replyToken' can't be null"; } + if ($this->container['follow'] === null) { + $invalidProperties[] = "'follow' can't be null"; + } return $invalidProperties; } @@ -333,6 +343,33 @@ public function setReplyToken($replyToken) return $this; } + + /** + * Gets follow + * + * @return \LINE\Webhook\Model\FollowDetail + */ + public function getFollow() + { + return $this->container['follow']; + } + + /** + * Sets follow + * + * @param \LINE\Webhook\Model\FollowDetail $follow follow + * + * @return self + */ + public function setFollow($follow) + { + if (is_null($follow)) { + throw new \InvalidArgumentException('non-nullable follow cannot be null'); + } + $this->container['follow'] = $follow; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/webhook/lib/Model/JoinEventAllOf.php b/src/webhook/lib/Model/JoinEventAllOf.php new file mode 100644 index 00000000..21c4a2de --- /dev/null +++ b/src/webhook/lib/Model/JoinEventAllOf.php @@ -0,0 +1,427 @@ + + */ +class JoinEventAllOf implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'JoinEvent_allOf'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'replyToken' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'replyToken' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'replyToken' => 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 = [ + 'replyToken' => 'replyToken' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'replyToken' => 'setReplyToken' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'replyToken' => 'getReplyToken' + ]; + + /** + * 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('replyToken', $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['replyToken'] === null) { + $invalidProperties[] = "'replyToken' can't be null"; + } + 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 replyToken + * + * @return string + */ + public function getReplyToken() + { + return $this->container['replyToken']; + } + + /** + * Sets replyToken + * + * @param string $replyToken Reply token used to send reply message to this event + * + * @return self + */ + public function setReplyToken($replyToken) + { + if (is_null($replyToken)) { + throw new \InvalidArgumentException('non-nullable replyToken cannot be null'); + } + $this->container['replyToken'] = $replyToken; + + 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)); + } +} + + diff --git a/src/webhook/test/Model/FollowDetailTest.php b/src/webhook/test/Model/FollowDetailTest.php new file mode 100644 index 00000000..43bbe5ad --- /dev/null +++ b/src/webhook/test/Model/FollowDetailTest.php @@ -0,0 +1,105 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "isUnblocked" + */ + public function testPropertyIsUnblocked() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +} diff --git a/src/webhook/test/Model/FollowEventAllOfTest.php b/src/webhook/test/Model/FollowEventAllOfTest.php index dc14f23a..5b14448f 100644 --- a/src/webhook/test/Model/FollowEventAllOfTest.php +++ b/src/webhook/test/Model/FollowEventAllOfTest.php @@ -102,4 +102,13 @@ public function testPropertyReplyToken() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "follow" + */ + public function testPropertyFollow() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/webhook/test/Model/FollowEventTest.php b/src/webhook/test/Model/FollowEventTest.php index ff3624b9..3e8dc4af 100644 --- a/src/webhook/test/Model/FollowEventTest.php +++ b/src/webhook/test/Model/FollowEventTest.php @@ -102,4 +102,13 @@ public function testPropertyReplyToken() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "follow" + */ + public function testPropertyFollow() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } } diff --git a/src/webhook/test/Model/JoinEventAllOfTest.php b/src/webhook/test/Model/JoinEventAllOfTest.php new file mode 100644 index 00000000..6111cb81 --- /dev/null +++ b/src/webhook/test/Model/JoinEventAllOfTest.php @@ -0,0 +1,105 @@ +markTestIncomplete('Not implemented'); + } + + /** + * Test attribute "replyToken" + */ + public function testPropertyReplyToken() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } +}