Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#1967)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 7, 2024
1 parent 069c7fe commit 04a6457
Show file tree
Hide file tree
Showing 104 changed files with 1,110 additions and 1,146 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func main() {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(zones.ZoneNewParamsTypeFull),
Type: cloudflare.F(zones.TypeFull),
})
if err != nil {
panic(err.Error())
Expand Down
11 changes: 11 additions & 0 deletions accounts/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
11 changes: 11 additions & 0 deletions acm/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
11 changes: 11 additions & 0 deletions addressing/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
11 changes: 11 additions & 0 deletions ai_gateway/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
11 changes: 11 additions & 0 deletions alerting/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
11 changes: 11 additions & 0 deletions aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
26 changes: 22 additions & 4 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/shared#CertificateRequestType">CertificateRequestType</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/shared#MemberParam">MemberParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/shared#PermissionGrantParam">PermissionGrantParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/shared">shared</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/shared#SortDirection">SortDirection</a>

# Shared Response Types

Expand Down Expand Up @@ -253,6 +254,10 @@ Methods:

# Zones

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zones">zones</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zones#Type">Type</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zones">zones</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/zones#Zone">Zone</a>
Expand Down Expand Up @@ -1067,8 +1072,13 @@ Methods:

## Regions

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/load_balancers">load_balancers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/load_balancers#RegionIDParam">RegionIDParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/load_balancers">load_balancers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/load_balancers#RegionID">RegionID</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/load_balancers">load_balancers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/load_balancers#RegionListResponseUnion">RegionListResponseUnion</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/load_balancers">load_balancers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/load_balancers#RegionGetResponseUnion">RegionGetResponseUnion</a>

Expand Down Expand Up @@ -1103,6 +1113,7 @@ Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache">cache</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache#CacheReserve">CacheReserve</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache">cache</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache#CacheReserveClear">CacheReserveClear</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache">cache</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache#State">State</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache">cache</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache#CacheReserveClearResponse">CacheReserveClearResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache">cache</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache#CacheReserveEditResponse">CacheReserveEditResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache">cache</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/cache#CacheReserveGetResponse">CacheReserveGetResponse</a>
Expand Down Expand Up @@ -2794,8 +2805,15 @@ Methods:

# Rulesets

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Kind">Kind</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Phase">Phase</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Kind">Kind</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Phase">Phase</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Ruleset">Ruleset</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#RulesetNewResponse">RulesetNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#RulesetUpdateResponse">RulesetUpdateResponse</a>
Expand All @@ -2818,8 +2836,8 @@ Response Types:

Methods:

- <code title="put /{account_or_zone}/{account_or_zone_id}/rulesets/phases/{ruleset_phase}/entrypoint">client.Rulesets.Phases.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetPhase <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseUpdateParamsRulesetPhase">PhaseUpdateParamsRulesetPhase</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseUpdateParams">PhaseUpdateParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseUpdateResponse">PhaseUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /{account_or_zone}/{account_or_zone_id}/rulesets/phases/{ruleset_phase}/entrypoint">client.Rulesets.Phases.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetPhase <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseGetParamsRulesetPhase">PhaseGetParamsRulesetPhase</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseGetParams">PhaseGetParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseGetResponse">PhaseGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /{account_or_zone}/{account_or_zone_id}/rulesets/phases/{ruleset_phase}/entrypoint">client.Rulesets.Phases.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetPhase <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Phase">Phase</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseUpdateParams">PhaseUpdateParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseUpdateResponse">PhaseUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /{account_or_zone}/{account_or_zone_id}/rulesets/phases/{ruleset_phase}/entrypoint">client.Rulesets.Phases.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetPhase <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Phase">Phase</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseGetParams">PhaseGetParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseGetResponse">PhaseGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Versions

Expand All @@ -2829,8 +2847,8 @@ Response Types:

Methods:

- <code title="get /{account_or_zone}/{account_or_zone_id}/rulesets/phases/{ruleset_phase}/entrypoint/versions">client.Rulesets.Phases.Versions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetPhase <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionListParamsRulesetPhase">PhaseVersionListParamsRulesetPhase</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionListParams">PhaseVersionListParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Ruleset">Ruleset</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /{account_or_zone}/{account_or_zone_id}/rulesets/phases/{ruleset_phase}/entrypoint/versions/{ruleset_version}">client.Rulesets.Phases.Versions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetPhase <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionGetParamsRulesetPhase">PhaseVersionGetParamsRulesetPhase</a>, rulesetVersion <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionGetParams">PhaseVersionGetParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionGetResponse">PhaseVersionGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /{account_or_zone}/{account_or_zone_id}/rulesets/phases/{ruleset_phase}/entrypoint/versions">client.Rulesets.Phases.Versions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetPhase <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Phase">Phase</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionListParams">PhaseVersionListParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Ruleset">Ruleset</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /{account_or_zone}/{account_or_zone_id}/rulesets/phases/{ruleset_phase}/entrypoint/versions/{ruleset_version}">client.Rulesets.Phases.Versions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetPhase <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#Phase">Phase</a>, rulesetVersion <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionGetParams">PhaseVersionGetParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets">rulesets</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/rulesets#PhaseVersionGetResponse">PhaseVersionGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Rules

Expand Down
11 changes: 11 additions & 0 deletions argo/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
11 changes: 11 additions & 0 deletions audit_logs/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
11 changes: 11 additions & 0 deletions billing/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
11 changes: 11 additions & 0 deletions bot_management/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
11 changes: 11 additions & 0 deletions brand_protection/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
11 changes: 11 additions & 0 deletions cache/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,14 @@ type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type Role = shared.Role

// Direction to order DNS records in.
//
// This is an alias to an internal type.
type SortDirection = shared.SortDirection

// This is an alias to an internal value.
const SortDirectionAsc = shared.SortDirectionAsc

// This is an alias to an internal value.
const SortDirectionDesc = shared.SortDirectionDesc
Loading

0 comments on commit 04a6457

Please sign in to comment.