Skip to content

Commit 2df6ef7

Browse files
github-actions[bot]github-actions
andauthored
Codes are generated by openapi generator (#608)
line/line-openapi#65 In the Messaging API, we've added the following values as conditions for filtering the age range of recipients in the [demographic filter objects](https://developers.line.biz/en/reference/messaging-api/#narrowcast-demographic-filter) of [narrowcast messages](https://developers.line.biz/en/reference/messaging-api/#send-narrowcast-message): - `age_55` - `age_60` - `age_65` - `age_70` Until now, the upper limit was `age_50`, so it wasn't possible to filter ages over 50 in detail. By specifying the added age ranges, you can now filter recipients more flexibly than before. For example, the following is a demographic filter object that filters by age 50 and older but less than 60: ```json { "type": "age", "gte": "age_50", "lt": "age_60" } ``` news: https://developers.line.biz/en/news/2024/08/26/age-filter-subdivision/ --------- Co-authored-by: github-actions <[email protected]>
1 parent 3d0907d commit 2df6ef7

File tree

3 files changed

+178
-2
lines changed

3 files changed

+178
-2
lines changed

docs/classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html

Lines changed: 145 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,34 @@ <h3 id="toc">
254254
<span>
255255
&nbsp;= &#039;age_50&#039; </span>
256256
</dt>
257+
<dd></dd>
258+
259+
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
260+
<a href="classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__55">_55</a>
261+
<span>
262+
&nbsp;= &#039;age_55&#039; </span>
263+
</dt>
264+
<dd></dd>
265+
266+
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
267+
<a href="classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__60">_60</a>
268+
<span>
269+
&nbsp;= &#039;age_60&#039; </span>
270+
</dt>
271+
<dd></dd>
272+
273+
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
274+
<a href="classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__65">_65</a>
275+
<span>
276+
&nbsp;= &#039;age_65&#039; </span>
277+
</dt>
278+
<dd></dd>
279+
280+
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
281+
<a href="classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__70">_70</a>
282+
<span>
283+
&nbsp;= &#039;age_70&#039; </span>
284+
</dt>
257285
<dd></dd>
258286

259287
<dt class="phpdocumentor-table-of-contents__entry -method -public">
@@ -504,6 +532,122 @@ <h4 class="phpdocumentor-element__name" id="constant__50">
504532

505533

506534

535+
</article>
536+
<article class="phpdocumentor-element -constant -public ">
537+
<h4 class="phpdocumentor-element__name" id="constant__55">
538+
_55
539+
<a href="classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__55" class="headerlink"><i class="fas fa-link"></i></a>
540+
</h4>
541+
542+
<aside class="phpdocumentor-element-found-in">
543+
<abbr class="phpdocumentor-element-found-in__file" title="src/clients/messaging-api/lib/Model/AgeDemographic.php"><a href="files/src-clients-messaging-api-lib-model-agedemographic.html"><abbr title="src/clients/messaging-api/lib/Model/AgeDemographic.php">AgeDemographic.php</abbr></a></abbr>
544+
:
545+
<span class="phpdocumentor-element-found-in__line">76</span>
546+
547+
</aside>
548+
549+
550+
<code class="phpdocumentor-signature phpdocumentor-code ">
551+
<span class="phpdocumentor-signature__visibility">public</span>
552+
<span class="phpdocumentor-signature__type">mixed</span>
553+
<span class="phpdocumentor-signature__name">_55</span>
554+
= <span class="phpdocumentor-signature__default-value">&#039;age_55&#039;</span>
555+
</code>
556+
557+
558+
<section class="phpdocumentor-description"></section>
559+
560+
<section class="phpdocumentor-description"></section>
561+
562+
563+
564+
</article>
565+
<article class="phpdocumentor-element -constant -public ">
566+
<h4 class="phpdocumentor-element__name" id="constant__60">
567+
_60
568+
<a href="classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__60" class="headerlink"><i class="fas fa-link"></i></a>
569+
</h4>
570+
571+
<aside class="phpdocumentor-element-found-in">
572+
<abbr class="phpdocumentor-element-found-in__file" title="src/clients/messaging-api/lib/Model/AgeDemographic.php"><a href="files/src-clients-messaging-api-lib-model-agedemographic.html"><abbr title="src/clients/messaging-api/lib/Model/AgeDemographic.php">AgeDemographic.php</abbr></a></abbr>
573+
:
574+
<span class="phpdocumentor-element-found-in__line">78</span>
575+
576+
</aside>
577+
578+
579+
<code class="phpdocumentor-signature phpdocumentor-code ">
580+
<span class="phpdocumentor-signature__visibility">public</span>
581+
<span class="phpdocumentor-signature__type">mixed</span>
582+
<span class="phpdocumentor-signature__name">_60</span>
583+
= <span class="phpdocumentor-signature__default-value">&#039;age_60&#039;</span>
584+
</code>
585+
586+
587+
<section class="phpdocumentor-description"></section>
588+
589+
<section class="phpdocumentor-description"></section>
590+
591+
592+
593+
</article>
594+
<article class="phpdocumentor-element -constant -public ">
595+
<h4 class="phpdocumentor-element__name" id="constant__65">
596+
_65
597+
<a href="classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__65" class="headerlink"><i class="fas fa-link"></i></a>
598+
</h4>
599+
600+
<aside class="phpdocumentor-element-found-in">
601+
<abbr class="phpdocumentor-element-found-in__file" title="src/clients/messaging-api/lib/Model/AgeDemographic.php"><a href="files/src-clients-messaging-api-lib-model-agedemographic.html"><abbr title="src/clients/messaging-api/lib/Model/AgeDemographic.php">AgeDemographic.php</abbr></a></abbr>
602+
:
603+
<span class="phpdocumentor-element-found-in__line">80</span>
604+
605+
</aside>
606+
607+
608+
<code class="phpdocumentor-signature phpdocumentor-code ">
609+
<span class="phpdocumentor-signature__visibility">public</span>
610+
<span class="phpdocumentor-signature__type">mixed</span>
611+
<span class="phpdocumentor-signature__name">_65</span>
612+
= <span class="phpdocumentor-signature__default-value">&#039;age_65&#039;</span>
613+
</code>
614+
615+
616+
<section class="phpdocumentor-description"></section>
617+
618+
<section class="phpdocumentor-description"></section>
619+
620+
621+
622+
</article>
623+
<article class="phpdocumentor-element -constant -public ">
624+
<h4 class="phpdocumentor-element__name" id="constant__70">
625+
_70
626+
<a href="classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__70" class="headerlink"><i class="fas fa-link"></i></a>
627+
</h4>
628+
629+
<aside class="phpdocumentor-element-found-in">
630+
<abbr class="phpdocumentor-element-found-in__file" title="src/clients/messaging-api/lib/Model/AgeDemographic.php"><a href="files/src-clients-messaging-api-lib-model-agedemographic.html"><abbr title="src/clients/messaging-api/lib/Model/AgeDemographic.php">AgeDemographic.php</abbr></a></abbr>
631+
:
632+
<span class="phpdocumentor-element-found-in__line">82</span>
633+
634+
</aside>
635+
636+
637+
<code class="phpdocumentor-signature phpdocumentor-code ">
638+
<span class="phpdocumentor-signature__visibility">public</span>
639+
<span class="phpdocumentor-signature__type">mixed</span>
640+
<span class="phpdocumentor-signature__name">_70</span>
641+
= <span class="phpdocumentor-signature__default-value">&#039;age_70&#039;</span>
642+
</code>
643+
644+
645+
<section class="phpdocumentor-description"></section>
646+
647+
<section class="phpdocumentor-description"></section>
648+
649+
650+
507651
</article>
508652
</section>
509653

@@ -527,7 +671,7 @@ <h4 class="phpdocumentor-element__name" id="method_getAllowableEnumValues">
527671
<aside class="phpdocumentor-element-found-in">
528672
<abbr class="phpdocumentor-element-found-in__file" title="src/clients/messaging-api/lib/Model/AgeDemographic.php"><a href="files/src-clients-messaging-api-lib-model-agedemographic.html"><abbr title="src/clients/messaging-api/lib/Model/AgeDemographic.php">AgeDemographic.php</abbr></a></abbr>
529673
:
530-
<span class="phpdocumentor-element-found-in__line">80</span>
674+
<span class="phpdocumentor-element-found-in__line">88</span>
531675

532676
</aside>
533677

docs/js/searchIndex.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14240,6 +14240,26 @@ Search.appendIndex(
1424014240
"name": "_50",
1424114241
"summary": "",
1424214242
"url": "classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__50"
14243+
}, {
14244+
"fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\AgeDemographic\u003A\u003A_55",
14245+
"name": "_55",
14246+
"summary": "",
14247+
"url": "classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__55"
14248+
}, {
14249+
"fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\AgeDemographic\u003A\u003A_60",
14250+
"name": "_60",
14251+
"summary": "",
14252+
"url": "classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__60"
14253+
}, {
14254+
"fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\AgeDemographic\u003A\u003A_65",
14255+
"name": "_65",
14256+
"summary": "",
14257+
"url": "classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__65"
14258+
}, {
14259+
"fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\AgeDemographic\u003A\u003A_70",
14260+
"name": "_70",
14261+
"summary": "",
14262+
"url": "classes/LINE-Clients-MessagingApi-Model-AgeDemographic.html#constant__70"
1424314263
}, {
1424414264
"fqsen": "\\LINE\\Clients\\MessagingApi\\Model\\AgeDemographicFilter",
1424514265
"name": "AgeDemographicFilter",

src/clients/messaging-api/lib/Model/AgeDemographic.php

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ class AgeDemographic
7373

7474
public const _50 = 'age_50';
7575

76+
public const _55 = 'age_55';
77+
78+
public const _60 = 'age_60';
79+
80+
public const _65 = 'age_65';
81+
82+
public const _70 = 'age_70';
83+
7684
/**
7785
* Gets allowable values of the enum
7886
* @return string[]
@@ -87,7 +95,11 @@ public static function getAllowableEnumValues()
8795
self::_35,
8896
self::_40,
8997
self::_45,
90-
self::_50
98+
self::_50,
99+
self::_55,
100+
self::_60,
101+
self::_65,
102+
self::_70
91103
];
92104
}
93105
}

0 commit comments

Comments
 (0)