-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restored legacy PagedResponse structs and added deprecation notice (#539
- Loading branch information
1 parent
87439ea
commit a9a7dcf
Showing
2 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
package linodego | ||
|
||
// Deprecated: AccountAvailabilityPagedResponse exists for historical compatibility and should not be used. | ||
type AccountAvailabilityPagedResponse legacyPagedResponse[AccountAvailability] | ||
|
||
// Deprecated: AccountBetasPagedResponse exists for historical compatibility and should not be used. | ||
type AccountBetasPagedResponse legacyPagedResponse[AccountBetaProgram] | ||
|
||
// Deprecated: BetaProgramPagedResponse exists for historical compatibility and should not be used. | ||
type BetaProgramPagedResponse legacyPagedResponse[BetaProgram] | ||
|
||
// Deprecated: DatabaseEnginesPagedResponse exists for historical compatibility and should not be used. | ||
type DatabaseEnginesPagedResponse legacyPagedResponse[DatabaseEngine] | ||
|
||
// Deprecated: DatabaseTypesPagedResponse exists for historical compatibility and should not be used. | ||
type DatabaseTypesPagedResponse legacyPagedResponse[DatabaseType] | ||
|
||
// Deprecated: DatabasesPagedResponse exists for historical compatibility and should not be used. | ||
type DatabasesPagedResponse legacyPagedResponse[Database] | ||
|
||
// Deprecated: DomainRecordsPagedResponse exists for historical compatibility and should not be used. | ||
type DomainRecordsPagedResponse legacyPagedResponse[DomainRecord] | ||
|
||
// Deprecated: DomainsPagedResponse exists for historical compatibility and should not be used. | ||
type DomainsPagedResponse legacyPagedResponse[Domain] | ||
|
||
// Deprecated: EventsPagedResponse exists for historical compatibility and should not be used. | ||
type EventsPagedResponse legacyPagedResponse[Event] | ||
|
||
// Deprecated: FirewallDevicesPagedResponse exists for historical compatibility and should not be used. | ||
type FirewallDevicesPagedResponse legacyPagedResponse[FirewallDevice] | ||
|
||
// Deprecated: ImagesPagedResponse exists for historical compatibility and should not be used. | ||
type ImagesPagedResponse legacyPagedResponse[Image] | ||
|
||
// Deprecated: InvoiceItemsPagedResponse exists for historical compatibility and should not be used. | ||
type InvoiceItemsPagedResponse legacyPagedResponse[InvoiceItem] | ||
|
||
// Deprecated: InvoicesPagedResponse exists for historical compatibility and should not be used. | ||
type InvoicesPagedResponse legacyPagedResponse[Invoice] | ||
|
||
// Deprecated: LoginsPagedResponse exists for historical compatibility and should not be used. | ||
type LoginsPagedResponse legacyPagedResponse[Login] | ||
|
||
// Deprecated: NotificationsPagedResponse exists for historical compatibility and should not be used. | ||
type NotificationsPagedResponse legacyPagedResponse[Notification] | ||
|
||
// Deprecated: OAuthClientsPagedResponse exists for historical compatibility and should not be used. | ||
type OAuthClientsPagedResponse legacyPagedResponse[OAuthClient] | ||
|
||
// Deprecated: PaymentsPagedResponse exists for historical compatibility and should not be used. | ||
type PaymentsPagedResponse legacyPagedResponse[Payment] | ||
|
||
// Deprecated: UsersPagedResponse exists for historical compatibility and should not be used. | ||
type UsersPagedResponse legacyPagedResponse[User] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters