Skip to content

Commit

Permalink
remove redundant deprecated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tokuhirom committed Oct 30, 2023
1 parent 5a10257 commit ac2186d
Show file tree
Hide file tree
Showing 245 changed files with 0 additions and 303 deletions.
2 changes: 0 additions & 2 deletions linebot/channel_access_token/api_channel_access_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
"github.com/line/line-bot-sdk-go/v7/linebot"
)

// Deprecated: Use OpenAPI based classes instead.
type ChannelAccessTokenAPI struct {
httpClient *http.Client
endpoint *url.URL
Expand All @@ -47,7 +46,6 @@ type ChannelAccessTokenAPI struct {
type ChannelAccessTokenAPIOption func(*ChannelAccessTokenAPI) error

// New returns a new bot client instance.
// Deprecated: Use OpenAPI based classes instead.
func NewChannelAccessTokenAPI(channelToken string, options ...ChannelAccessTokenAPIOption) (*ChannelAccessTokenAPI, error) {
if channelToken == "" {
return nil, errors.New("missing channel access token")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package channel_access_token
// ChannelAccessTokenKeyIdsResponse
// Channel access token key IDs
// https://developers.line.biz/en/reference/messaging-api/#get-all-valid-channel-access-token-key-ids-v2-1
// Deprecated: Use OpenAPI based classes instead.
type ChannelAccessTokenKeyIdsResponse struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/channel_access_token/model_error_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package channel_access_token
// ErrorResponse
// Error response of the Channel access token

// Deprecated: Use OpenAPI based classes instead.
type ErrorResponse struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package channel_access_token
// IssueChannelAccessTokenResponse
// Issued channel access token
// https://developers.line.biz/en/reference/messaging-api/#issue-channel-access-token-v2-1
// Deprecated: Use OpenAPI based classes instead.
type IssueChannelAccessTokenResponse struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package channel_access_token
// IssueShortLivedChannelAccessTokenResponse
// Issued short-lived channel access token
// https://developers.line.biz/en/reference/messaging-api/#issue-shortlived-channel-access-token
// Deprecated: Use OpenAPI based classes instead.
type IssueShortLivedChannelAccessTokenResponse struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package channel_access_token
// IssueStatelessChannelAccessTokenResponse
// Issued stateless channel access token
// https://developers.line.biz/en/reference/messaging-api/#issue-stateless-channel-access-token
// Deprecated: Use OpenAPI based classes instead.
type IssueStatelessChannelAccessTokenResponse struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package channel_access_token
// VerifyChannelAccessTokenResponse
// Verification result

// Deprecated: Use OpenAPI based classes instead.
type VerifyChannelAccessTokenResponse struct {

/**
Expand Down
2 changes: 0 additions & 2 deletions linebot/insight/api_insight.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
"github.com/line/line-bot-sdk-go/v7/linebot"
)

// Deprecated: Use OpenAPI based classes instead.
type InsightAPI struct {
httpClient *http.Client
endpoint *url.URL
Expand All @@ -46,7 +45,6 @@ type InsightAPI struct {
type InsightAPIOption func(*InsightAPI) error

// New returns a new bot client instance.
// Deprecated: Use OpenAPI based classes instead.
func NewInsightAPI(channelToken string, options ...InsightAPIOption) (*InsightAPI, error) {
if channelToken == "" {
return nil, errors.New("missing channel access token")
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_age_tile.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// AgeTile
// AgeTile

// Deprecated: Use OpenAPI based classes instead.
type AgeTile struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_app_type_tile.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// AppTypeTile
// AppTypeTile

// Deprecated: Use OpenAPI based classes instead.
type AppTypeTile struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_area_tile.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// AreaTile
// AreaTile

// Deprecated: Use OpenAPI based classes instead.
type AreaTile struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_error_detail.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// ErrorDetail
// ErrorDetail

// Deprecated: Use OpenAPI based classes instead.
type ErrorDetail struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_error_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// ErrorResponse
// ErrorResponse
// https://developers.line.biz/en/reference/messaging-api/#error-responses
// Deprecated: Use OpenAPI based classes instead.
type ErrorResponse struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_gender_tile.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GenderTile
// GenderTile

// Deprecated: Use OpenAPI based classes instead.
type GenderTile struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_get_friends_demographics_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GetFriendsDemographicsResponse
// Get friend demographics
// https://developers.line.biz/en/reference/messaging-api/#get-demographic
// Deprecated: Use OpenAPI based classes instead.
type GetFriendsDemographicsResponse struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_get_message_event_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GetMessageEventResponse
// Statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account.
// https://developers.line.biz/en/reference/messaging-api/#get-insight-message-event-response
// Deprecated: Use OpenAPI based classes instead.
type GetMessageEventResponse struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_get_message_event_response_click.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GetMessageEventResponseClick
// GetMessageEventResponseClick

// Deprecated: Use OpenAPI based classes instead.
type GetMessageEventResponseClick struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GetMessageEventResponseMessage
// GetMessageEventResponseMessage

// Deprecated: Use OpenAPI based classes instead.
type GetMessageEventResponseMessage struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GetMessageEventResponseOverview
// Summary of message statistics.

// Deprecated: Use OpenAPI based classes instead.
type GetMessageEventResponseOverview struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_get_number_of_followers_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GetNumberOfFollowersResponse
// Get number of followers
// https://developers.line.biz/en/reference/messaging-api/#get-number-of-followers
// Deprecated: Use OpenAPI based classes instead.
type GetNumberOfFollowersResponse struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GetNumberOfMessageDeliveriesResponse
// Get number of message deliveries
// https://developers.line.biz/en/reference/messaging-api/#get-number-of-delivery-messages
// Deprecated: Use OpenAPI based classes instead.
type GetNumberOfMessageDeliveriesResponse struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_get_statistics_per_unit_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GetStatisticsPerUnitResponse
// Response object for `get statistics per unit`
// https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit-response
// Deprecated: Use OpenAPI based classes instead.
type GetStatisticsPerUnitResponse struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GetStatisticsPerUnitResponseClick
// GetStatisticsPerUnitResponseClick
// https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit-response
// Deprecated: Use OpenAPI based classes instead.
type GetStatisticsPerUnitResponseClick struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GetStatisticsPerUnitResponseMessage
// GetStatisticsPerUnitResponseMessage
// https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit-response
// Deprecated: Use OpenAPI based classes instead.
type GetStatisticsPerUnitResponseMessage struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// GetStatisticsPerUnitResponseOverview
// Statistics related to messages.
// https://developers.line.biz/en/reference/messaging-api/#get-statistics-per-unit-response
// Deprecated: Use OpenAPI based classes instead.
type GetStatisticsPerUnitResponseOverview struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/insight/model_subscription_period_tile.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package insight
// SubscriptionPeriodTile
// SubscriptionPeriodTile

// Deprecated: Use OpenAPI based classes instead.
type SubscriptionPeriodTile struct {

/**
Expand Down
2 changes: 0 additions & 2 deletions linebot/liff/api_liff.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import (
"github.com/line/line-bot-sdk-go/v7/linebot"
)

// Deprecated: Use OpenAPI based classes instead.
type LiffAPI struct {
httpClient *http.Client
endpoint *url.URL
Expand All @@ -48,7 +47,6 @@ type LiffAPI struct {
type LiffAPIOption func(*LiffAPI) error

// New returns a new bot client instance.
// Deprecated: Use OpenAPI based classes instead.
func NewLiffAPI(channelToken string, options ...LiffAPIOption) (*LiffAPI, error) {
if channelToken == "" {
return nil, errors.New("missing channel access token")
Expand Down
1 change: 0 additions & 1 deletion linebot/liff/model_add_liff_app_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package liff
// AddLiffAppRequest
// AddLiffAppRequest
// https://developers.line.biz/en/reference/liff-server/#add-liff-app
// Deprecated: Use OpenAPI based classes instead.
type AddLiffAppRequest struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/liff/model_add_liff_app_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package liff
// AddLiffAppResponse
// AddLiffAppResponse

// Deprecated: Use OpenAPI based classes instead.
type AddLiffAppResponse struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/liff/model_get_all_liff_apps_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package liff
// GetAllLiffAppsResponse
// GetAllLiffAppsResponse

// Deprecated: Use OpenAPI based classes instead.
type GetAllLiffAppsResponse struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/liff/model_liff_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package liff
// LiffApp
// LiffApp

// Deprecated: Use OpenAPI based classes instead.
type LiffApp struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/liff/model_liff_features.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package liff
// LiffFeatures
// LiffFeatures

// Deprecated: Use OpenAPI based classes instead.
type LiffFeatures struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/liff/model_liff_view.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package liff
// LiffView
// LiffView
// https://developers.line.biz/en/reference/liff-server/#add-liff-app
// Deprecated: Use OpenAPI based classes instead.
type LiffView struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/liff/model_update_liff_app_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package liff
// UpdateLiffAppRequest
// UpdateLiffAppRequest
// https://developers.line.biz/en/reference/liff-server/#add-liff-app
// Deprecated: Use OpenAPI based classes instead.
type UpdateLiffAppRequest struct {

/**
Expand Down
2 changes: 0 additions & 2 deletions linebot/manage_audience/api_manage_audience.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import (
"github.com/line/line-bot-sdk-go/v7/linebot"
)

// Deprecated: Use OpenAPI based classes instead.
type ManageAudienceAPI struct {
httpClient *http.Client
endpoint *url.URL
Expand All @@ -49,7 +48,6 @@ type ManageAudienceAPI struct {
type ManageAudienceAPIOption func(*ManageAudienceAPI) error

// New returns a new bot client instance.
// Deprecated: Use OpenAPI based classes instead.
func NewManageAudienceAPI(channelToken string, options ...ManageAudienceAPIOption) (*ManageAudienceAPI, error) {
if channelToken == "" {
return nil, errors.New("missing channel access token")
Expand Down
2 changes: 0 additions & 2 deletions linebot/manage_audience/api_manage_audience_blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ import (
"github.com/line/line-bot-sdk-go/v7/linebot"
)

// Deprecated: Use OpenAPI based classes instead.
type ManageAudienceBlobAPI struct {
httpClient *http.Client
endpoint *url.URL
Expand All @@ -50,7 +49,6 @@ type ManageAudienceBlobAPI struct {
type ManageAudienceBlobAPIOption func(*ManageAudienceBlobAPI) error

// New returns a new bot client instance.
// Deprecated: Use OpenAPI based classes instead.
func NewManageAudienceBlobAPI(channelToken string, options ...ManageAudienceBlobAPIOption) (*ManageAudienceBlobAPI, error) {
if channelToken == "" {
return nil, errors.New("missing channel access token")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package manage_audience
// AddAudienceToAudienceGroupRequest
// Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
// https://developers.line.biz/en/reference/messaging-api/#update-upload-audience-group
// Deprecated: Use OpenAPI based classes instead.
type AddAudienceToAudienceGroupRequest struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/manage_audience/model_audience.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package manage_audience
// Audience
// Audience

// Deprecated: Use OpenAPI based classes instead.
type Audience struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/manage_audience/model_audience_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package manage_audience
// AudienceGroup
// Audience group

// Deprecated: Use OpenAPI based classes instead.
type AudienceGroup struct {

/**
Expand Down
1 change: 0 additions & 1 deletion linebot/manage_audience/model_audience_group_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package manage_audience
// AudienceGroupJob
// Audience group job
// https://developers.line.biz/en/reference/messaging-api/#get-audience-group
// Deprecated: Use OpenAPI based classes instead.
type AudienceGroupJob struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package manage_audience
// CreateAudienceGroupRequest
// Create audience for uploading user IDs (by JSON)
// https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group
// Deprecated: Use OpenAPI based classes instead.
type CreateAudienceGroupRequest struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package manage_audience
// CreateAudienceGroupResponse
// Create audience for uploading user IDs (by JSON)
// https://developers.line.biz/en/reference/messaging-api/#create-upload-audience-group
// Deprecated: Use OpenAPI based classes instead.
type CreateAudienceGroupResponse struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package manage_audience
// CreateClickBasedAudienceGroupRequest
// Create audience for click-based retargeting
// https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group
// Deprecated: Use OpenAPI based classes instead.
type CreateClickBasedAudienceGroupRequest struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package manage_audience
// CreateClickBasedAudienceGroupResponse
// Create audience for click-based retargeting
// https://developers.line.biz/en/reference/messaging-api/#create-click-audience-group
// Deprecated: Use OpenAPI based classes instead.
type CreateClickBasedAudienceGroupResponse struct {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package manage_audience
// CreateImpBasedAudienceGroupRequest
// Create audience for impression-based retargeting
// https://developers.line.biz/en/reference/messaging-api/#create-imp-audience-group
// Deprecated: Use OpenAPI based classes instead.
type CreateImpBasedAudienceGroupRequest struct {

/**
Expand Down
Loading

0 comments on commit ac2186d

Please sign in to comment.