Skip to content

Commit fb21a60

Browse files
github-actions[bot]github-actions
andauthored
Fix type of expireTimestamp (line#547)
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 74ff204 commit fb21a60

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/line/bot/v2/manage_audience/model/create_audience_group_response.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class CreateAudienceGroupResponse
3333
# @return [String,nil] ('READ'|'READ_WRITE') Audience's update permission. Audiences linked to the same channel will be READ_WRITE. `READ`: Can use only. `READ_WRITE`: Can use and update.
3434
attr_accessor :permission
3535
# @!attribute [rw] expire_timestamp
36-
# @return [Float,nil] Time of audience expiration. Only returned for specific audiences.
36+
# @return [Integer,nil] Time of audience expiration. Only returned for specific audiences.
3737
attr_accessor :expire_timestamp
3838
# @!attribute [rw] is_ifa_audience
3939
# @return [Boolean,nil] The value indicating the type of account to be sent, as specified when creating the audience for uploading user IDs. One of: `true`: Accounts are specified with IFAs. `false` (default): Accounts are specified with user IDs.
@@ -45,7 +45,7 @@ class CreateAudienceGroupResponse
4545
# @param description [String,nil] The audience's name.
4646
# @param created [Integer,nil] When the audience was created (in UNIX time).
4747
# @param permission [String,nil] ('READ'|'READ_WRITE') Audience's update permission. Audiences linked to the same channel will be READ_WRITE. `READ`: Can use only. `READ_WRITE`: Can use and update.
48-
# @param expire_timestamp [Float,nil] Time of audience expiration. Only returned for specific audiences.
48+
# @param expire_timestamp [Integer,nil] Time of audience expiration. Only returned for specific audiences.
4949
# @param is_ifa_audience [Boolean,nil] The value indicating the type of account to be sent, as specified when creating the audience for uploading user IDs. One of: `true`: Accounts are specified with IFAs. `false` (default): Accounts are specified with user IDs.
5050
def initialize(
5151
audience_group_id: nil,

line-openapi

sig/line/bot/v2/manage_audience/model/create_audience_group_response.rbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Line
2020
attr_accessor description: String?
2121
attr_accessor created: Integer?
2222
attr_accessor permission: 'READ'|'READ_WRITE'?
23-
attr_accessor expire_timestamp: Float?
23+
attr_accessor expire_timestamp: Integer?
2424
attr_accessor is_ifa_audience: bool?
2525

2626
def initialize: (
@@ -30,7 +30,7 @@ module Line
3030
?description: String?,
3131
?created: Integer?,
3232
?permission: 'READ'|'READ_WRITE'?,
33-
?expire_timestamp: Float?,
33+
?expire_timestamp: Integer?,
3434
?is_ifa_audience: bool?,
3535
**untyped dynamic_attributes
3636
) -> void

0 commit comments

Comments
 (0)