Skip to content

Commit 0959571

Browse files
committed
NO-ISSUE gen
1 parent 7ba359d commit 0959571

179 files changed

Lines changed: 1064 additions & 1064 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/line/bot/v2/channel_access_token/model/error_response.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ module ChannelAccessToken
1414
# Error response of the Channel access token
1515
class ErrorResponse
1616
# @!attribute [rw] error
17-
# @return [String] Error summary
17+
# @return [String,nil] Error summary
1818
attr_accessor :error
1919
# @!attribute [rw] error_description
20-
# @return [String] Details of the error. Not returned in certain situations.
20+
# @return [String,nil] Details of the error. Not returned in certain situations.
2121
attr_accessor :error_description
2222

23-
# @param error [String] Error summary
24-
# @param error_description [String] Details of the error. Not returned in certain situations.
23+
# @param error [String,nil] Error summary
24+
# @param error_description [String,nil] Details of the error. Not returned in certain situations.
2525
def initialize(
2626
error: nil,
2727
error_description: nil,

lib/line/bot/v2/channel_access_token/model/verify_channel_access_token_response.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ class VerifyChannelAccessTokenResponse
2020
# @return [Integer] Number of seconds before the channel access token expires.
2121
attr_accessor :expires_in
2222
# @!attribute [rw] scope
23-
# @return [String] Permissions granted to the channel access token.
23+
# @return [String,nil] Permissions granted to the channel access token.
2424
attr_accessor :scope
2525

2626
# @param client_id [String] The channel ID for which the channel access token was issued.
2727
# @param expires_in [Integer] Number of seconds before the channel access token expires.
28-
# @param scope [String] Permissions granted to the channel access token.
28+
# @param scope [String,nil] Permissions granted to the channel access token.
2929
def initialize(
3030
client_id:,
3131
expires_in:,

lib/line/bot/v2/insight/model/age_tile.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ module V2
1313
module Insight
1414
class AgeTile
1515
# @!attribute [rw] age
16-
# @return [String] ('from0to14'|'from15to19'|'from20to24'|'from25to29'|'from30to34'|'from35to39'|'from40to44'|'from45to49'|'from50'|'from50to54'|'from55to59'|'from60to64'|'from65to69'|'from70'|'unknown') users' age
16+
# @return [String,nil] ('from0to14'|'from15to19'|'from20to24'|'from25to29'|'from30to34'|'from35to39'|'from40to44'|'from45to49'|'from50'|'from50to54'|'from55to59'|'from60to64'|'from65to69'|'from70'|'unknown') users' age
1717
attr_accessor :age
1818
# @!attribute [rw] percentage
19-
# @return [Float] Percentage
19+
# @return [Float,nil] Percentage
2020
attr_accessor :percentage
2121

22-
# @param age [String] ('from0to14'|'from15to19'|'from20to24'|'from25to29'|'from30to34'|'from35to39'|'from40to44'|'from45to49'|'from50'|'from50to54'|'from55to59'|'from60to64'|'from65to69'|'from70'|'unknown') users' age
23-
# @param percentage [Float] Percentage
22+
# @param age [String,nil] ('from0to14'|'from15to19'|'from20to24'|'from25to29'|'from30to34'|'from35to39'|'from40to44'|'from45to49'|'from50'|'from50to54'|'from55to59'|'from60to64'|'from65to69'|'from70'|'unknown') users' age
23+
# @param percentage [Float,nil] Percentage
2424
def initialize(
2525
age: nil,
2626
percentage: nil,

lib/line/bot/v2/insight/model/app_type_tile.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ module V2
1313
module Insight
1414
class AppTypeTile
1515
# @!attribute [rw] app_type
16-
# @return [String] ('ios'|'android'|'others') users' OS
16+
# @return [String,nil] ('ios'|'android'|'others') users' OS
1717
attr_accessor :app_type
1818
# @!attribute [rw] percentage
19-
# @return [Float] Percentage
19+
# @return [Float,nil] Percentage
2020
attr_accessor :percentage
2121

22-
# @param app_type [String] ('ios'|'android'|'others') users' OS
23-
# @param percentage [Float] Percentage
22+
# @param app_type [String,nil] ('ios'|'android'|'others') users' OS
23+
# @param percentage [Float,nil] Percentage
2424
def initialize(
2525
app_type: nil,
2626
percentage: nil,

lib/line/bot/v2/insight/model/area_tile.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ module V2
1313
module Insight
1414
class AreaTile
1515
# @!attribute [rw] area
16-
# @return [String] users' country and region
16+
# @return [String,nil] users' country and region
1717
attr_accessor :area
1818
# @!attribute [rw] percentage
19-
# @return [Float] Percentage
19+
# @return [Float,nil] Percentage
2020
attr_accessor :percentage
2121

22-
# @param area [String] users' country and region
23-
# @param percentage [Float] Percentage
22+
# @param area [String,nil] users' country and region
23+
# @param percentage [Float,nil] Percentage
2424
def initialize(
2525
area: nil,
2626
percentage: nil,

lib/line/bot/v2/insight/model/error_detail.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ module V2
1313
module Insight
1414
class ErrorDetail
1515
# @!attribute [rw] message
16-
# @return [String] Details of the error. Not included in the response under certain situations.
16+
# @return [String,nil] Details of the error. Not included in the response under certain situations.
1717
attr_accessor :message
1818
# @!attribute [rw] property
19-
# @return [String] Location of where the error occurred. Returns the JSON field name or query parameter name of the request. Not included in the response under certain situations.
19+
# @return [String,nil] Location of where the error occurred. Returns the JSON field name or query parameter name of the request. Not included in the response under certain situations.
2020
attr_accessor :property
2121

22-
# @param message [String] Details of the error. Not included in the response under certain situations.
23-
# @param property [String] Location of where the error occurred. Returns the JSON field name or query parameter name of the request. Not included in the response under certain situations.
22+
# @param message [String,nil] Details of the error. Not included in the response under certain situations.
23+
# @param property [String,nil] Location of where the error occurred. Returns the JSON field name or query parameter name of the request. Not included in the response under certain situations.
2424
def initialize(
2525
message: nil,
2626
property: nil,

lib/line/bot/v2/insight/model/error_response.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ class ErrorResponse
1717
# @return [String] Message containing information about the error.
1818
attr_accessor :message
1919
# @!attribute [rw] details
20-
# @return [Array[ErrorDetail]] An array of error details. If the array is empty, this property will not be included in the response.
20+
# @return [Array[ErrorDetail],nil] An array of error details. If the array is empty, this property will not be included in the response.
2121
attr_accessor :details
2222

2323
# @param message [String] Message containing information about the error.
24-
# @param details [Array[ErrorDetail]] An array of error details. If the array is empty, this property will not be included in the response.
24+
# @param details [Array[ErrorDetail],nil] An array of error details. If the array is empty, this property will not be included in the response.
2525
def initialize(
2626
message:,
2727
details: nil,

lib/line/bot/v2/insight/model/gender_tile.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ module V2
1313
module Insight
1414
class GenderTile
1515
# @!attribute [rw] gender
16-
# @return [String] ('male'|'female'|'unknown') users' gender
16+
# @return [String,nil] ('male'|'female'|'unknown') users' gender
1717
attr_accessor :gender
1818
# @!attribute [rw] percentage
19-
# @return [Float] Percentage
19+
# @return [Float,nil] Percentage
2020
attr_accessor :percentage
2121

22-
# @param gender [String] ('male'|'female'|'unknown') users' gender
23-
# @param percentage [Float] Percentage
22+
# @param gender [String,nil] ('male'|'female'|'unknown') users' gender
23+
# @param percentage [Float,nil] Percentage
2424
def initialize(
2525
gender: nil,
2626
percentage: nil,

lib/line/bot/v2/insight/model/get_friends_demographics_response.rb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,30 @@ module Insight
1515
# @see https://developers.line.biz/en/reference/messaging-api/#get-demographic
1616
class GetFriendsDemographicsResponse
1717
# @!attribute [rw] available
18-
# @return [Boolean] true if friend demographic information is available.
18+
# @return [Boolean,nil] true if friend demographic information is available.
1919
attr_accessor :available
2020
# @!attribute [rw] genders
21-
# @return [Array[GenderTile]] Percentage per gender.
21+
# @return [Array[GenderTile],nil] Percentage per gender.
2222
attr_accessor :genders
2323
# @!attribute [rw] ages
24-
# @return [Array[AgeTile]] Percentage per age group.
24+
# @return [Array[AgeTile],nil] Percentage per age group.
2525
attr_accessor :ages
2626
# @!attribute [rw] areas
27-
# @return [Array[AreaTile]] Percentage per area.
27+
# @return [Array[AreaTile],nil] Percentage per area.
2828
attr_accessor :areas
2929
# @!attribute [rw] app_types
30-
# @return [Array[AppTypeTile]] Percentage by OS.
30+
# @return [Array[AppTypeTile],nil] Percentage by OS.
3131
attr_accessor :app_types
3232
# @!attribute [rw] subscription_periods
33-
# @return [Array[SubscriptionPeriodTile]] Percentage per friendship duration.
33+
# @return [Array[SubscriptionPeriodTile],nil] Percentage per friendship duration.
3434
attr_accessor :subscription_periods
3535

36-
# @param available [Boolean] true if friend demographic information is available.
37-
# @param genders [Array[GenderTile]] Percentage per gender.
38-
# @param ages [Array[AgeTile]] Percentage per age group.
39-
# @param areas [Array[AreaTile]] Percentage per area.
40-
# @param app_types [Array[AppTypeTile]] Percentage by OS.
41-
# @param subscription_periods [Array[SubscriptionPeriodTile]] Percentage per friendship duration.
36+
# @param available [Boolean,nil] true if friend demographic information is available.
37+
# @param genders [Array[GenderTile],nil] Percentage per gender.
38+
# @param ages [Array[AgeTile],nil] Percentage per age group.
39+
# @param areas [Array[AreaTile],nil] Percentage per area.
40+
# @param app_types [Array[AppTypeTile],nil] Percentage by OS.
41+
# @param subscription_periods [Array[SubscriptionPeriodTile],nil] Percentage per friendship duration.
4242
def initialize(
4343
available: nil,
4444
genders: nil,

lib/line/bot/v2/insight/model/get_message_event_response.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ module Insight
1515
# @see https://developers.line.biz/en/reference/messaging-api/#get-insight-message-event-response
1616
class GetMessageEventResponse
1717
# @!attribute [rw] overview
18-
# @return [GetMessageEventResponseOverview]
18+
# @return [GetMessageEventResponseOverview,nil]
1919
attr_accessor :overview
2020
# @!attribute [rw] messages
21-
# @return [Array[GetMessageEventResponseMessage]] Array of information about individual message bubbles.
21+
# @return [Array[GetMessageEventResponseMessage],nil] Array of information about individual message bubbles.
2222
attr_accessor :messages
2323
# @!attribute [rw] clicks
24-
# @return [Array[GetMessageEventResponseClick]] Array of information about opened URLs in the message.
24+
# @return [Array[GetMessageEventResponseClick],nil] Array of information about opened URLs in the message.
2525
attr_accessor :clicks
2626

27-
# @param overview [GetMessageEventResponseOverview]
28-
# @param messages [Array[GetMessageEventResponseMessage]] Array of information about individual message bubbles.
29-
# @param clicks [Array[GetMessageEventResponseClick]] Array of information about opened URLs in the message.
27+
# @param overview [GetMessageEventResponseOverview,nil]
28+
# @param messages [Array[GetMessageEventResponseMessage],nil] Array of information about individual message bubbles.
29+
# @param clicks [Array[GetMessageEventResponseClick],nil] Array of information about opened URLs in the message.
3030
def initialize(
3131
overview: nil,
3232
messages: nil,

0 commit comments

Comments
 (0)