Skip to content

Commit 1efb370

Browse files
github-actions[bot]github-actions
andauthored
Fix type of expireTimestamp (#704)
line/line-openapi#106 Type for `CreateAudienceGroupResponse#expireTimestamp` is not float or double, but integer actually. This change fixes type. --------- Co-authored-by: github-actions <[email protected]>
1 parent 0b15181 commit 1efb370

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

docs/classes/LINE-Clients-ManageAudience-Model-CreateAudienceGroupResponse.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ <h3 id="toc">
389389
<dt class="phpdocumentor-table-of-contents__entry -method -public">
390390
<a href="classes/LINE-Clients-ManageAudience-Model-CreateAudienceGroupResponse.html#method_getExpireTimestamp">getExpireTimestamp()</a>
391391
<span>
392-
&nbsp;: float|null </span>
392+
&nbsp;: int|null </span>
393393
</dt>
394394
<dd>Gets expireTimestamp</dd>
395395

@@ -1029,7 +1029,7 @@ <h4 class="phpdocumentor-element__name" id="property_openAPITypes">
10291029
<span class="phpdocumentor-signature__visibility">protected</span>
10301030
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array&lt;string|int, string&gt;</span>
10311031
<span class="phpdocumentor-signature__name">$openAPITypes</span>
1032-
= <span class="phpdocumentor-signature__default-value">[&#039;audienceGroupId&#039; =&gt; &#039;int&#039;, &#039;createRoute&#039; =&gt; &#039;string&#039;, &#039;type&#039; =&gt; &#039;\\LINE\\Clients\\ManageAudience\\Model\\AudienceGroupType&#039;, &#039;description&#039; =&gt; &#039;string&#039;, &#039;created&#039; =&gt; &#039;int&#039;, &#039;permission&#039; =&gt; &#039;string&#039;, &#039;expireTimestamp&#039; =&gt; &#039;float&#039;, &#039;isIfaAudience&#039; =&gt; &#039;bool&#039;]</span></code>
1032+
= <span class="phpdocumentor-signature__default-value">[&#039;audienceGroupId&#039; =&gt; &#039;int&#039;, &#039;createRoute&#039; =&gt; &#039;string&#039;, &#039;type&#039; =&gt; &#039;\\LINE\\Clients\\ManageAudience\\Model\\AudienceGroupType&#039;, &#039;description&#039; =&gt; &#039;string&#039;, &#039;created&#039; =&gt; &#039;int&#039;, &#039;permission&#039; =&gt; &#039;string&#039;, &#039;expireTimestamp&#039; =&gt; &#039;int&#039;, &#039;isIfaAudience&#039; =&gt; &#039;bool&#039;]</span></code>
10331033

10341034

10351035

@@ -1375,14 +1375,14 @@ <h4 class="phpdocumentor-element__name" id="method_getExpireTimestamp">
13751375

13761376
<code class="phpdocumentor-code phpdocumentor-signature ">
13771377
<span class="phpdocumentor-signature__visibility">public</span>
1378-
<span class="phpdocumentor-signature__name">getExpireTimestamp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float|null</span></code>
1378+
<span class="phpdocumentor-signature__name">getExpireTimestamp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
13791379

13801380

13811381

13821382

13831383

13841384
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
1385-
<span class="phpdocumentor-signature__response_type">float|null</span>
1385+
<span class="phpdocumentor-signature__response_type">int|null</span>
13861386
&mdash;
13871387

13881388

@@ -2211,14 +2211,14 @@ <h4 class="phpdocumentor-element__name" id="method_setExpireTimestamp">
22112211

22122212
<code class="phpdocumentor-code phpdocumentor-signature ">
22132213
<span class="phpdocumentor-signature__visibility">public</span>
2214-
<span class="phpdocumentor-signature__name">setExpireTimestamp</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">float|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expireTimestamp</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
2214+
<span class="phpdocumentor-signature__name">setExpireTimestamp</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|null&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expireTimestamp</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
22152215

22162216

22172217
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
22182218
<dl class="phpdocumentor-argument-list">
22192219
<dt class="phpdocumentor-argument-list__entry">
22202220
<span class="phpdocumentor-signature__argument__name">$expireTimestamp</span>
2221-
: <span class="phpdocumentor-signature__argument__return-type">float|null</span>
2221+
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
22222222
</dt>
22232223
<dd class="phpdocumentor-argument-list__definition">
22242224
<section class="phpdocumentor-description"><p>Time of audience expiration. Only returned for specific audiences.</p>

line-openapi

src/clients/manage-audience/lib/Model/CreateAudienceGroupResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class CreateAudienceGroupResponse implements ModelInterface, ArrayAccess, \JsonS
7979
'description' => 'string',
8080
'created' => 'int',
8181
'permission' => 'string',
82-
'expireTimestamp' => 'float',
82+
'expireTimestamp' => 'int',
8383
'isIfaAudience' => 'bool'
8484
];
8585

@@ -585,7 +585,7 @@ public function setPermission($permission)
585585
/**
586586
* Gets expireTimestamp
587587
*
588-
* @return float|null
588+
* @return int|null
589589
*/
590590
public function getExpireTimestamp()
591591
{
@@ -595,7 +595,7 @@ public function getExpireTimestamp()
595595
/**
596596
* Sets expireTimestamp
597597
*
598-
* @param float|null $expireTimestamp Time of audience expiration. Only returned for specific audiences.
598+
* @param int|null $expireTimestamp Time of audience expiration. Only returned for specific audiences.
599599
*
600600
* @return self
601601
*/

0 commit comments

Comments
 (0)