-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b161abb
commit 6a43f1e
Showing
214 changed files
with
78,590 additions
and
30,927 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 |
---|---|---|
@@ -1 +1 @@ | ||
configured_endpoints: 122 | ||
configured_endpoints: 129 |
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
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,46 @@ | ||
// File generated from our OpenAPI spec by Stainless. | ||
|
||
package cloudflare | ||
|
||
import ( | ||
"github.com/cloudflare/cloudflare-sdk-go/option" | ||
) | ||
|
||
// AccessService contains methods and other services that help with interacting | ||
// with the cloudflare API. Note, unlike clients, this service does not read | ||
// variables from the environment automatically. You should not instantiate this | ||
// service directly, and instead use the [NewAccessService] method instead. | ||
type AccessService struct { | ||
Options []option.RequestOption | ||
Apps *AccessAppService | ||
Certificates *AccessCertificateService | ||
Groups *AccessGroupService | ||
IdentityProviders *AccessIdentityProviderService | ||
Organizations *AccessOrganizationService | ||
ServiceTokens *AccessServiceTokenService | ||
Bookmarks *AccessBookmarkService | ||
Keys *AccessKeyService | ||
Logs *AccessLogService | ||
Seats *AccessSeatService | ||
Users *AccessUserService | ||
} | ||
|
||
// NewAccessService generates a new service that applies the given options to each | ||
// request. These options are applied after the parent client's options (if there | ||
// is one), and before any request-specific options. | ||
func NewAccessService(opts ...option.RequestOption) (r *AccessService) { | ||
r = &AccessService{} | ||
r.Options = opts | ||
r.Apps = NewAccessAppService(opts...) | ||
r.Certificates = NewAccessCertificateService(opts...) | ||
r.Groups = NewAccessGroupService(opts...) | ||
r.IdentityProviders = NewAccessIdentityProviderService(opts...) | ||
r.Organizations = NewAccessOrganizationService(opts...) | ||
r.ServiceTokens = NewAccessServiceTokenService(opts...) | ||
r.Bookmarks = NewAccessBookmarkService(opts...) | ||
r.Keys = NewAccessKeyService(opts...) | ||
r.Logs = NewAccessLogService(opts...) | ||
r.Seats = NewAccessSeatService(opts...) | ||
r.Users = NewAccessUserService(opts...) | ||
return | ||
} |
Oops, something went wrong.