Documentation
¶
Overview ¶
Package fbapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewAccountBillingProfileGetRequest(server string) (*http.Request, error)
- func NewAccountBillingProfileSaveRequest(server string, body AccountBillingProfileSaveJSONRequestBody) (*http.Request, error)
- func NewAccountBillingProfileSaveRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAccountChangePasswordRequest(server string, body AccountChangePasswordJSONRequestBody) (*http.Request, error)
- func NewAccountChangePasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAccountDeletionCancelRequest(server string) (*http.Request, error)
- func NewAccountDeletionGetRequest(server string) (*http.Request, error)
- func NewAccountDeletionRequestRequest(server string, body AccountDeletionRequestJSONRequestBody) (*http.Request, error)
- func NewAccountDeletionRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAccountEmailChangeStartRequest(server string, body AccountEmailChangeStartJSONRequestBody) (*http.Request, error)
- func NewAccountEmailChangeStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAccountExportRequest(server string) (*http.Request, error)
- func NewAccountFeaturesRequest(server string) (*http.Request, error)
- func NewAccountGetRequest(server string) (*http.Request, error)
- func NewAccountIdentitiesListRequest(server string) (*http.Request, error)
- func NewAccountIdentityUnlinkRequest(server string, provider AccountIdentityUnlinkParamsProvider) (*http.Request, error)
- func NewAccountLimitsRequest(server string) (*http.Request, error)
- func NewAccountOnboardingCompleteRequest(server string) (*http.Request, error)
- func NewAccountPhoneDeleteRequest(server string) (*http.Request, error)
- func NewAccountPhoneGetRequest(server string) (*http.Request, error)
- func NewAccountPhoneResendRequest(server string) (*http.Request, error)
- func NewAccountPhoneStartRequest(server string, body AccountPhoneStartJSONRequestBody) (*http.Request, error)
- func NewAccountPhoneStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAccountPhoneVerifyRequest(server string, body AccountPhoneVerifyJSONRequestBody) (*http.Request, error)
- func NewAccountPhoneVerifyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAccountSupportAccessRequest(server string) (*http.Request, error)
- func NewAccountTotpConfirmRequest(server string, body AccountTotpConfirmJSONRequestBody) (*http.Request, error)
- func NewAccountTotpConfirmRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAccountTotpDisableRequest(server string, body AccountTotpDisableJSONRequestBody) (*http.Request, error)
- func NewAccountTotpDisableRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAccountTotpRecoveryCodesRequest(server string, body AccountTotpRecoveryCodesJSONRequestBody) (*http.Request, error)
- func NewAccountTotpRecoveryCodesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAccountTotpSetupRequest(server string, body AccountTotpSetupJSONRequestBody) (*http.Request, error)
- func NewAccountTotpSetupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAccountTotpStatusRequest(server string) (*http.Request, error)
- func NewAccountUpdateRequest(server string, body AccountUpdateJSONRequestBody) (*http.Request, error)
- func NewAccountUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAnnouncementBannerDismissRequest(server string, id string) (*http.Request, error)
- func NewAnnouncementBannerGetRequest(server string) (*http.Request, error)
- func NewAnnouncementsGetRequest(server string, id string) (*http.Request, error)
- func NewAnnouncementsListRequest(server string) (*http.Request, error)
- func NewApiTokenCreateRequest(server string, body ApiTokenCreateJSONRequestBody) (*http.Request, error)
- func NewApiTokenCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewApiTokenRevokeRequest(server string, id string) (*http.Request, error)
- func NewApiTokensListRequest(server string) (*http.Request, error)
- func NewAppActionRequest(server string, code string, body AppActionJSONRequestBody) (*http.Request, error)
- func NewAppActionRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppAttachmentCreateRequest(server string, appCode string, body AppAttachmentCreateJSONRequestBody) (*http.Request, error)
- func NewAppAttachmentCreateRequestWithBody(server string, appCode string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppAttachmentDeleteRequest(server string, appCode string, attachmentID string) (*http.Request, error)
- func NewAppAttachmentVerifyRequest(server string, appCode string, attachmentID string) (*http.Request, error)
- func NewAppAttachmentsListRequest(server string, appCode string) (*http.Request, error)
- func NewAppAutoDeploySetRequest(server string, code string, body AppAutoDeploySetJSONRequestBody) (*http.Request, error)
- func NewAppAutoDeploySetRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppBuildCancelRequest(server string, code string, id string) (*http.Request, error)
- func NewAppBuildCreateRequest(server string, code string, body AppBuildCreateJSONRequestBody) (*http.Request, error)
- func NewAppBuildCreateRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppBuildGetRequest(server string, code string, id string) (*http.Request, error)
- func NewAppBuildsListRequest(server string, code string) (*http.Request, error)
- func NewAppCreateRequest(server string, params *AppCreateParams, body AppCreateJSONRequestBody) (*http.Request, error)
- func NewAppCreateRequestWithBody(server string, params *AppCreateParams, contentType string, body io.Reader) (*http.Request, error)
- func NewAppDeleteRequest(server string, code string) (*http.Request, error)
- func NewAppDetectBuildRequest(server string, params *AppDetectBuildParams) (*http.Request, error)
- func NewAppDomainAddRequest(server string, code string, body AppDomainAddJSONRequestBody) (*http.Request, error)
- func NewAppDomainAddRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppDomainDeleteRequest(server string, code string, domainID string) (*http.Request, error)
- func NewAppDomainVerifyRequest(server string, code string, domainID string) (*http.Request, error)
- func NewAppDomainsListRequest(server string, code string) (*http.Request, error)
- func NewAppEnvGetRequest(server string, code string) (*http.Request, error)
- func NewAppEnvSetRequest(server string, code string, body AppEnvSetJSONRequestBody) (*http.Request, error)
- func NewAppEnvSetRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppEventsListRequest(server string, code string, params *AppEventsListParams) (*http.Request, error)
- func NewAppExecStartRequest(server string, code string, body AppExecStartJSONRequestBody) (*http.Request, error)
- func NewAppExecStartRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppGetRequest(server string, code string) (*http.Request, error)
- func NewAppLogsGetRequest(server string, code string, id string) (*http.Request, error)
- func NewAppLogsRequestRequest(server string, code string, body AppLogsRequestJSONRequestBody) (*http.Request, error)
- func NewAppLogsRequestRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppMetricsRequest(server string, code string, params *AppMetricsParams) (*http.Request, error)
- func NewAppPlansListRequest(server string) (*http.Request, error)
- func NewAppPresetsListRequest(server string) (*http.Request, error)
- func NewAppProjectSetRequest(server string, code string, body AppProjectSetJSONRequestBody) (*http.Request, error)
- func NewAppProjectSetRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppReleasesListRequest(server string, code string) (*http.Request, error)
- func NewAppResizeRequest(server string, code string, body AppResizeJSONRequestBody) (*http.Request, error)
- func NewAppResizeRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppRollbackRequest(server string, code string, body AppRollbackJSONRequestBody) (*http.Request, error)
- func NewAppRollbackRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppScaleRequest(server string, code string, body AppScaleJSONRequestBody) (*http.Request, error)
- func NewAppScaleRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppSourceSetRequest(server string, code string, body AppSourceSetJSONRequestBody) (*http.Request, error)
- func NewAppSourceSetRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppTagsSetRequest(server string, code string, body AppTagsSetJSONRequestBody) (*http.Request, error)
- func NewAppTagsSetRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppUpdateRequest(server string, code string, body AppUpdateJSONRequestBody) (*http.Request, error)
- func NewAppUpdateRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewAppsListRequest(server string, params *AppsListParams) (*http.Request, error)
- func NewAuthConfirmEmailChangeRequest(server string, body AuthConfirmEmailChangeJSONRequestBody) (*http.Request, error)
- func NewAuthConfirmEmailChangeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthImpersonateRequest(server string, body AuthImpersonateJSONRequestBody) (*http.Request, error)
- func NewAuthImpersonateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthLoginRequest(server string, body AuthLoginJSONRequestBody) (*http.Request, error)
- func NewAuthLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthLogoutRequest(server string) (*http.Request, error)
- func NewAuthMfaVerifyRequest(server string, params *AuthMfaVerifyParams, body AuthMfaVerifyJSONRequestBody) (*http.Request, error)
- func NewAuthMfaVerifyRequestWithBody(server string, params *AuthMfaVerifyParams, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthOauthCallbackRequest(server string, provider AuthOauthCallbackParamsProvider, ...) (*http.Request, error)
- func NewAuthOauthProvidersRequest(server string) (*http.Request, error)
- func NewAuthOauthStartRequest(server string, provider AuthOauthStartParamsProvider, ...) (*http.Request, error)
- func NewAuthPasswordResetRequest(server string, body AuthPasswordResetJSONRequestBody) (*http.Request, error)
- func NewAuthPasswordResetRequestRequest(server string, body AuthPasswordResetRequestJSONRequestBody) (*http.Request, error)
- func NewAuthPasswordResetRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthPasswordResetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthPolicyRequest(server string) (*http.Request, error)
- func NewAuthRegisterRequest(server string, body AuthRegisterJSONRequestBody) (*http.Request, error)
- func NewAuthRegisterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthSessionRevokeRequest(server string, id string) (*http.Request, error)
- func NewAuthSessionsListRequest(server string) (*http.Request, error)
- func NewAuthVerifyEmailRequest(server string, body AuthVerifyEmailJSONRequestBody) (*http.Request, error)
- func NewAuthVerifyEmailRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewAuthVerifyEmailResendRequest(server string, body AuthVerifyEmailResendJSONRequestBody) (*http.Request, error)
- func NewAuthVerifyEmailResendRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewConnectedAppRevokeRequest(server string, id string) (*http.Request, error)
- func NewConnectedAppsListRequest(server string) (*http.Request, error)
- func NewDatabaseAlertDeleteRequest(server string, databaseId string, metric DatabaseAlertDeleteParamsMetric) (*http.Request, error)
- func NewDatabaseAlertSaveRequest(server string, databaseId string, body DatabaseAlertSaveJSONRequestBody) (*http.Request, error)
- func NewDatabaseAlertSaveRequestWithBody(server string, databaseId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDatabaseAlertsListRequest(server string, databaseId string) (*http.Request, error)
- func NewDatabaseBackupCreateRequest(server string, databaseID string) (*http.Request, error)
- func NewDatabaseBackupsListRequest(server string, databaseID string) (*http.Request, error)
- func NewDatabaseConnectionGetRequest(server string, databaseID string) (*http.Request, error)
- func NewDatabaseCreateRequest(server string, params *DatabaseCreateParams, ...) (*http.Request, error)
- func NewDatabaseCreateRequestWithBody(server string, params *DatabaseCreateParams, contentType string, ...) (*http.Request, error)
- func NewDatabaseDbCreateRequest(server string, databaseID string, body DatabaseDbCreateJSONRequestBody) (*http.Request, error)
- func NewDatabaseDbCreateRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewDatabaseDeleteRequest(server string, databaseID string) (*http.Request, error)
- func NewDatabaseGetRequest(server string, databaseID string) (*http.Request, error)
- func NewDatabaseMetricsListRequest(server string, databaseId string, params *DatabaseMetricsListParams) (*http.Request, error)
- func NewDatabaseOptionsListRequest(server string) (*http.Request, error)
- func NewDatabaseProjectSetRequest(server string, databaseID string, body DatabaseProjectSetJSONRequestBody) (*http.Request, error)
- func NewDatabaseProjectSetRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewDatabasePublicAccessSetRequest(server string, databaseID string, body DatabasePublicAccessSetJSONRequestBody) (*http.Request, error)
- func NewDatabasePublicAccessSetRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewDatabaseResizeRequest(server string, databaseId string, body DatabaseResizeJSONRequestBody) (*http.Request, error)
- func NewDatabaseResizeRequestWithBody(server string, databaseId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDatabaseRestoreCreateRequest(server string, databaseID string, body DatabaseRestoreCreateJSONRequestBody) (*http.Request, error)
- func NewDatabaseRestoreCreateRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewDatabaseTagsSetRequest(server string, databaseID string, body DatabaseTagsSetJSONRequestBody) (*http.Request, error)
- func NewDatabaseTagsSetRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewDatabaseTrustedSourcesSetRequest(server string, databaseID string, ...) (*http.Request, error)
- func NewDatabaseTrustedSourcesSetRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewDatabaseUserCreateRequest(server string, databaseID string, body DatabaseUserCreateJSONRequestBody) (*http.Request, error)
- func NewDatabaseUserCreateRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
- func NewDatabaseUserDeleteRequest(server string, databaseID string, userID string) (*http.Request, error)
- func NewDatabaseUserPasswordResetRequest(server string, databaseID string, userID string) (*http.Request, error)
- func NewDatabasesListRequest(server string, params *DatabasesListParams) (*http.Request, error)
- func NewDnsRecordCreateRequest(server string, id string, params *DnsRecordCreateParams, ...) (*http.Request, error)
- func NewDnsRecordCreateRequestWithBody(server string, id string, params *DnsRecordCreateParams, contentType string, ...) (*http.Request, error)
- func NewDnsRecordDeleteRequest(server string, id string, recordId string) (*http.Request, error)
- func NewDnsRecordUpdateRequest(server string, id string, recordId string, body DnsRecordUpdateJSONRequestBody) (*http.Request, error)
- func NewDnsRecordUpdateRequestWithBody(server string, id string, recordId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDnsZoneCreateRequest(server string, params *DnsZoneCreateParams, body DnsZoneCreateJSONRequestBody) (*http.Request, error)
- func NewDnsZoneCreateRequestWithBody(server string, params *DnsZoneCreateParams, contentType string, body io.Reader) (*http.Request, error)
- func NewDnsZoneDeleteRequest(server string, id string) (*http.Request, error)
- func NewDnsZoneGetRequest(server string, id string) (*http.Request, error)
- func NewDnsZoneProjectSetRequest(server string, id string, body DnsZoneProjectSetJSONRequestBody) (*http.Request, error)
- func NewDnsZoneProjectSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDnsZoneTagsSetRequest(server string, id string, body DnsZoneTagsSetJSONRequestBody) (*http.Request, error)
- func NewDnsZoneTagsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDnsZonesListRequest(server string, params *DnsZonesListParams) (*http.Request, error)
- func NewDomainAutoRenewSetRequest(server string, id string, body DomainAutoRenewSetJSONRequestBody) (*http.Request, error)
- func NewDomainAutoRenewSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDomainContactCreateRequest(server string, body DomainContactCreateJSONRequestBody) (*http.Request, error)
- func NewDomainContactCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDomainContactDeleteRequest(server string, id string) (*http.Request, error)
- func NewDomainContactSuggestRequest(server string) (*http.Request, error)
- func NewDomainContactUpdateRequest(server string, id string, body DomainContactUpdateJSONRequestBody) (*http.Request, error)
- func NewDomainContactUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDomainContactsListRequest(server string) (*http.Request, error)
- func NewDomainGetRequest(server string, id string) (*http.Request, error)
- func NewDomainLockSetRequest(server string, id string, body DomainLockSetJSONRequestBody) (*http.Request, error)
- func NewDomainLockSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDomainNameserversSetRequest(server string, id string, body DomainNameserversSetJSONRequestBody) (*http.Request, error)
- func NewDomainNameserversSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDomainPrivacySetRequest(server string, id string, body DomainPrivacySetJSONRequestBody) (*http.Request, error)
- func NewDomainPrivacySetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDomainProjectSetRequest(server string, id string, body DomainProjectSetJSONRequestBody) (*http.Request, error)
- func NewDomainProjectSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDomainRegisterRequest(server string, params *DomainRegisterParams, ...) (*http.Request, error)
- func NewDomainRegisterRequestWithBody(server string, params *DomainRegisterParams, contentType string, ...) (*http.Request, error)
- func NewDomainRenewRequest(server string, id string, body DomainRenewJSONRequestBody) (*http.Request, error)
- func NewDomainRenewRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDomainSearchRequest(server string, body DomainSearchJSONRequestBody) (*http.Request, error)
- func NewDomainSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDomainTagsSetRequest(server string, id string, body DomainTagsSetJSONRequestBody) (*http.Request, error)
- func NewDomainTagsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDomainTldsListRequest(server string) (*http.Request, error)
- func NewDomainTransferRequest(server string, body DomainTransferJSONRequestBody) (*http.Request, error)
- func NewDomainTransferRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDomainsListRequest(server string, params *DomainsListParams) (*http.Request, error)
- func NewFirewallCreateRequest(server string, params *FirewallCreateParams, ...) (*http.Request, error)
- func NewFirewallCreateRequestWithBody(server string, params *FirewallCreateParams, contentType string, ...) (*http.Request, error)
- func NewFirewallDeleteRequest(server string, id string) (*http.Request, error)
- func NewFirewallGetRequest(server string, id string) (*http.Request, error)
- func NewFirewallRulesReplaceRequest(server string, id string, body FirewallRulesReplaceJSONRequestBody) (*http.Request, error)
- func NewFirewallRulesReplaceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewFirewallServerAttachRequest(server string, id string, serverId string) (*http.Request, error)
- func NewFirewallServerDetachRequest(server string, id string, serverId string) (*http.Request, error)
- func NewFirewallUpdateRequest(server string, id string, body FirewallUpdateJSONRequestBody) (*http.Request, error)
- func NewFirewallUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewFirewallsListRequest(server string, params *FirewallsListParams) (*http.Request, error)
- func NewFloatingIpAttachRequest(server string, floatingIpID string, body FloatingIpAttachJSONRequestBody) (*http.Request, error)
- func NewFloatingIpAttachRequestWithBody(server string, floatingIpID string, contentType string, body io.Reader) (*http.Request, error)
- func NewFloatingIpCreateRequest(server string, params *FloatingIpCreateParams, ...) (*http.Request, error)
- func NewFloatingIpCreateRequestWithBody(server string, params *FloatingIpCreateParams, contentType string, ...) (*http.Request, error)
- func NewFloatingIpDeleteRequest(server string, floatingIpID string) (*http.Request, error)
- func NewFloatingIpDetachRequest(server string, floatingIpID string) (*http.Request, error)
- func NewFloatingIpGetRequest(server string, floatingIpID string) (*http.Request, error)
- func NewFloatingIpsListRequest(server string) (*http.Request, error)
- func NewFxRateRequest(server string) (*http.Request, error)
- func NewGitConnectionDeleteRequest(server string, id string) (*http.Request, error)
- func NewGitConnectionsListRequest(server string) (*http.Request, error)
- func NewGitInstallCallbackRequest(server string, provider GitInstallCallbackParamsProvider, ...) (*http.Request, error)
- func NewGitInstallSetupRequest(server string, provider GitInstallSetupParamsProvider, ...) (*http.Request, error)
- func NewGitInstallStartRequest(server string, provider GitInstallStartParamsProvider) (*http.Request, error)
- func NewGitProvidersListRequest(server string) (*http.Request, error)
- func NewGitRepositoriesListRequest(server string, id string) (*http.Request, error)
- func NewImagesListRequest(server string, params *ImagesListParams) (*http.Request, error)
- func NewIsoCreateRequest(server string, params *IsoCreateParams, body IsoCreateJSONRequestBody) (*http.Request, error)
- func NewIsoCreateRequestWithBody(server string, params *IsoCreateParams, contentType string, body io.Reader) (*http.Request, error)
- func NewIsoDeleteRequest(server string, id string) (*http.Request, error)
- func NewIsoGetRequest(server string, id string) (*http.Request, error)
- func NewIsoListRequest(server string) (*http.Request, error)
- func NewLoadBalancerBackendsSetRequest(server string, loadBalancerID string, ...) (*http.Request, error)
- func NewLoadBalancerBackendsSetRequestWithBody(server string, loadBalancerID string, contentType string, body io.Reader) (*http.Request, error)
- func NewLoadBalancerCreateRequest(server string, params *LoadBalancerCreateParams, ...) (*http.Request, error)
- func NewLoadBalancerCreateRequestWithBody(server string, params *LoadBalancerCreateParams, contentType string, ...) (*http.Request, error)
- func NewLoadBalancerDeleteRequest(server string, loadBalancerID string) (*http.Request, error)
- func NewLoadBalancerGetRequest(server string, loadBalancerID string) (*http.Request, error)
- func NewLoadBalancerProjectSetRequest(server string, loadBalancerID string, ...) (*http.Request, error)
- func NewLoadBalancerProjectSetRequestWithBody(server string, loadBalancerID string, contentType string, body io.Reader) (*http.Request, error)
- func NewLoadBalancerRulesReplaceRequest(server string, loadBalancerID string, ...) (*http.Request, error)
- func NewLoadBalancerRulesReplaceRequestWithBody(server string, loadBalancerID string, contentType string, body io.Reader) (*http.Request, error)
- func NewLoadBalancerTagsSetRequest(server string, loadBalancerID string, body LoadBalancerTagsSetJSONRequestBody) (*http.Request, error)
- func NewLoadBalancerTagsSetRequestWithBody(server string, loadBalancerID string, contentType string, body io.Reader) (*http.Request, error)
- func NewLoadBalancersListRequest(server string, params *LoadBalancersListParams) (*http.Request, error)
- func NewNetworkCreateRequest(server string, params *NetworkCreateParams, body NetworkCreateJSONRequestBody) (*http.Request, error)
- func NewNetworkCreateRequestWithBody(server string, params *NetworkCreateParams, contentType string, body io.Reader) (*http.Request, error)
- func NewNetworkDeleteRequest(server string, id string) (*http.Request, error)
- func NewNetworkGetRequest(server string, id string) (*http.Request, error)
- func NewNetworkProjectSetRequest(server string, id string, body NetworkProjectSetJSONRequestBody) (*http.Request, error)
- func NewNetworkProjectSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewNetworkTagsSetRequest(server string, id string, body NetworkTagsSetJSONRequestBody) (*http.Request, error)
- func NewNetworkTagsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewNetworksListRequest(server string, params *NetworksListParams) (*http.Request, error)
- func NewNotificationDeleteRequest(server string, id int64) (*http.Request, error)
- func NewNotificationsListRequest(server string, params *NotificationsListParams) (*http.Request, error)
- func NewNotificationsMarkReadRequest(server string, body NotificationsMarkReadJSONRequestBody) (*http.Request, error)
- func NewNotificationsMarkReadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewOauthConsentDecideRequest(server string, id string, body OauthConsentDecideJSONRequestBody) (*http.Request, error)
- func NewOauthConsentDecideRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewOauthConsentGetRequest(server string, id string) (*http.Request, error)
- func NewOnboardingOrganizationCreateRequest(server string, body OnboardingOrganizationCreateJSONRequestBody) (*http.Request, error)
- func NewOnboardingOrganizationCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewOrganizationInvitationAcceptRequest(server string, token string) (*http.Request, error)
- func NewOrganizationInvitationGetRequest(server string, token string) (*http.Request, error)
- func NewOrganizationInvitationsCreateRequest(server string, id string, body OrganizationInvitationsCreateJSONRequestBody) (*http.Request, error)
- func NewOrganizationInvitationsCreateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewOrganizationInvitationsListRequest(server string, id string) (*http.Request, error)
- func NewOrganizationInvitationsRevokeRequest(server string, id string, invitationId string) (*http.Request, error)
- func NewOrganizationMemberRoleUpdateRequest(server string, id string, userId string, ...) (*http.Request, error)
- func NewOrganizationMemberRoleUpdateRequestWithBody(server string, id string, userId string, contentType string, body io.Reader) (*http.Request, error)
- func NewOrganizationMembersListRequest(server string, id string) (*http.Request, error)
- func NewOrganizationMembersRemoveRequest(server string, id string, userId string) (*http.Request, error)
- func NewOrganizationsActivateRequest(server string, id string) (*http.Request, error)
- func NewOrganizationsCreateRequest(server string, body OrganizationsCreateJSONRequestBody) (*http.Request, error)
- func NewOrganizationsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewOrganizationsDeleteRequest(server string, id string) (*http.Request, error)
- func NewOrganizationsGetRequest(server string, id string) (*http.Request, error)
- func NewOrganizationsLeaveRequest(server string, id string) (*http.Request, error)
- func NewOrganizationsListRequest(server string) (*http.Request, error)
- func NewOrganizationsRenameRequest(server string, id string, body OrganizationsRenameJSONRequestBody) (*http.Request, error)
- func NewOrganizationsRenameRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewPaymentIntentsListRequest(server string) (*http.Request, error)
- func NewPaymentTopupInitRequest(server string, params *PaymentTopupInitParams, ...) (*http.Request, error)
- func NewPaymentTopupInitRequestWithBody(server string, params *PaymentTopupInitParams, contentType string, ...) (*http.Request, error)
- func NewPlanTypesListRequest(server string) (*http.Request, error)
- func NewPlansListRequest(server string, params *PlansListParams) (*http.Request, error)
- func NewProjectCreateRequest(server string, params *ProjectCreateParams, body ProjectCreateJSONRequestBody) (*http.Request, error)
- func NewProjectCreateRequestWithBody(server string, params *ProjectCreateParams, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectDeleteRequest(server string, id string) (*http.Request, error)
- func NewProjectGetRequest(server string, id string) (*http.Request, error)
- func NewProjectUpdateRequest(server string, id string, body ProjectUpdateJSONRequestBody) (*http.Request, error)
- func NewProjectUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewProjectsListRequest(server string) (*http.Request, error)
- func NewRdnsClearRequest(server string, id string) (*http.Request, error)
- func NewRdnsSetRequest(server string, id string, body RdnsSetJSONRequestBody) (*http.Request, error)
- func NewRdnsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewRegionsListRequest(server string) (*http.Request, error)
- func NewResourcePricesListRequest(server string) (*http.Request, error)
- func NewServerActionCreateRequest(server string, id string, body ServerActionCreateJSONRequestBody) (*http.Request, error)
- func NewServerActionCreateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerActionGetRequest(server string, id string, actionId string) (*http.Request, error)
- func NewServerAlertDeleteRequest(server string, id string, metric ServerAlertDeleteParamsMetric) (*http.Request, error)
- func NewServerAlertSaveRequest(server string, id string, body ServerAlertSaveJSONRequestBody) (*http.Request, error)
- func NewServerAlertSaveRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerAlertsListRequest(server string, id string) (*http.Request, error)
- func NewServerAppRetryRequest(server string, id string) (*http.Request, error)
- func NewServerBackupCreateRequest(server string, id string, body ServerBackupCreateJSONRequestBody) (*http.Request, error)
- func NewServerBackupCreateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerBackupDeleteRequest(server string, id string, backupId string) (*http.Request, error)
- func NewServerBackupListAllRequest(server string, params *ServerBackupListAllParams) (*http.Request, error)
- func NewServerBackupListRequest(server string, id string) (*http.Request, error)
- func NewServerBackupRestoreRequest(server string, id string, backupId string) (*http.Request, error)
- func NewServerBackupSettingsGetRequest(server string, id string) (*http.Request, error)
- func NewServerBackupSettingsUpdateRequest(server string, id string, body ServerBackupSettingsUpdateJSONRequestBody) (*http.Request, error)
- func NewServerBackupSettingsUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerBillingGetRequest(server string, id string) (*http.Request, error)
- func NewServerConsoleCreateRequest(server string, id string) (*http.Request, error)
- func NewServerCreateRequest(server string, params *ServerCreateParams, body ServerCreateJSONRequestBody) (*http.Request, error)
- func NewServerCreateRequestWithBody(server string, params *ServerCreateParams, contentType string, body io.Reader) (*http.Request, error)
- func NewServerDeleteRequest(server string, id string, params *ServerDeleteParams) (*http.Request, error)
- func NewServerDiskMetricsListRequest(server string, id string, params *ServerDiskMetricsListParams) (*http.Request, error)
- func NewServerEventsListRequest(server string, id string, params *ServerEventsListParams) (*http.Request, error)
- func NewServerFilesystemsListRequest(server string, id string) (*http.Request, error)
- func NewServerGetRequest(server string, id string) (*http.Request, error)
- func NewServerLedgerListRequest(server string, id string, params *ServerLedgerListParams) (*http.Request, error)
- func NewServerMetricsListRequest(server string, id string, params *ServerMetricsListParams) (*http.Request, error)
- func NewServerMountISORequest(server string, id string, body ServerMountISOJSONRequestBody) (*http.Request, error)
- func NewServerMountISORequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerNetworkAttachRequest(server string, id string, body ServerNetworkAttachJSONRequestBody) (*http.Request, error)
- func NewServerNetworkAttachRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerNetworkDetachRequest(server string, id string) (*http.Request, error)
- func NewServerPasswordResetRequest(server string, id string) (*http.Request, error)
- func NewServerProjectSetRequest(server string, id string, body ServerProjectSetJSONRequestBody) (*http.Request, error)
- func NewServerProjectSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerRDNSListRequest(server string, id string) (*http.Request, error)
- func NewServerRebuildRequest(server string, id string, body ServerRebuildJSONRequestBody) (*http.Request, error)
- func NewServerRebuildRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerRenameRequest(server string, id string, body ServerRenameJSONRequestBody) (*http.Request, error)
- func NewServerRenameRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerRescueEnterRequest(server string, id string) (*http.Request, error)
- func NewServerRescueExitRequest(server string, id string) (*http.Request, error)
- func NewServerResizeRequest(server string, id string, body ServerResizeJSONRequestBody) (*http.Request, error)
- func NewServerResizeRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerSnapshotCreateRequest(server string, id string, body ServerSnapshotCreateJSONRequestBody) (*http.Request, error)
- func NewServerSnapshotCreateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerSnapshotDeleteRequest(server string, id string, snapshotId string) (*http.Request, error)
- func NewServerSnapshotListAllRequest(server string, params *ServerSnapshotListAllParams) (*http.Request, error)
- func NewServerSnapshotListRequest(server string, id string) (*http.Request, error)
- func NewServerSnapshotRestoreRequest(server string, id string, snapshotId string) (*http.Request, error)
- func NewServerTagsSetRequest(server string, id string, body ServerTagsSetJSONRequestBody) (*http.Request, error)
- func NewServerTagsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewServerUnmountISORequest(server string, id string) (*http.Request, error)
- func NewServersListRequest(server string, params *ServersListParams) (*http.Request, error)
- func NewSshKeyCreateRequest(server string, params *SshKeyCreateParams, body SshKeyCreateJSONRequestBody) (*http.Request, error)
- func NewSshKeyCreateRequestWithBody(server string, params *SshKeyCreateParams, contentType string, body io.Reader) (*http.Request, error)
- func NewSshKeyDeleteRequest(server string, id string) (*http.Request, error)
- func NewSshKeyGetRequest(server string, id string) (*http.Request, error)
- func NewSshKeysListRequest(server string) (*http.Request, error)
- func NewTagsListRequest(server string, params *TagsListParams) (*http.Request, error)
- func NewTicketAttachmentDownloadRequest(server string, code string, id int64) (*http.Request, error)
- func NewTicketCloseRequest(server string, code string) (*http.Request, error)
- func NewTicketCreateRequest(server string, body TicketCreateJSONRequestBody) (*http.Request, error)
- func NewTicketCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTicketGetRequest(server string, code string) (*http.Request, error)
- func NewTicketReopenRequest(server string, code string) (*http.Request, error)
- func NewTicketReplyRequest(server string, code string, body TicketReplyJSONRequestBody) (*http.Request, error)
- func NewTicketReplyRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
- func NewTicketsListRequest(server string, params *TicketsListParams) (*http.Request, error)
- func NewVolumeAttachRequest(server string, id string, body VolumeAttachJSONRequestBody) (*http.Request, error)
- func NewVolumeAttachRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewVolumeCreateRequest(server string, params *VolumeCreateParams, body VolumeCreateJSONRequestBody) (*http.Request, error)
- func NewVolumeCreateRequestWithBody(server string, params *VolumeCreateParams, contentType string, body io.Reader) (*http.Request, error)
- func NewVolumeDeleteRequest(server string, id string) (*http.Request, error)
- func NewVolumeDetachRequest(server string, id string) (*http.Request, error)
- func NewVolumeGetRequest(server string, id string) (*http.Request, error)
- func NewVolumeLimitsRequest(server string) (*http.Request, error)
- func NewVolumeListRequest(server string, params *VolumeListParams) (*http.Request, error)
- func NewVolumeProjectSetRequest(server string, id string, body VolumeProjectSetJSONRequestBody) (*http.Request, error)
- func NewVolumeProjectSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewVolumeResizeRequest(server string, id string, body VolumeResizeJSONRequestBody) (*http.Request, error)
- func NewVolumeResizeRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewVolumeTagsSetRequest(server string, id string, body VolumeTagsSetJSONRequestBody) (*http.Request, error)
- func NewVolumeTagsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewWalletGetRequest(server string) (*http.Request, error)
- func NewWalletLedgerDailyRequest(server string, params *WalletLedgerDailyParams) (*http.Request, error)
- func NewWalletLedgerListRequest(server string, params *WalletLedgerListParams) (*http.Request, error)
- func NewWalletPromoRedeemRequest(server string, body WalletPromoRedeemJSONRequestBody) (*http.Request, error)
- func NewWalletPromoRedeemRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWalletPromoRedemptionsRequest(server string) (*http.Request, error)
- type AccountBillingProfileGetResponse
- func (r AccountBillingProfileGetResponse) ContentType() string
- func (r AccountBillingProfileGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountBillingProfileGetResponse) GetBody() []byte
- func (r AccountBillingProfileGetResponse) GetJSON200() *ProfileBody
- func (r AccountBillingProfileGetResponse) Status() string
- func (r AccountBillingProfileGetResponse) StatusCode() int
- type AccountBillingProfileSaveJSONRequestBody
- type AccountBillingProfileSaveResponse
- func (r AccountBillingProfileSaveResponse) ContentType() string
- func (r AccountBillingProfileSaveResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountBillingProfileSaveResponse) GetBody() []byte
- func (r AccountBillingProfileSaveResponse) GetJSON200() *ProfileBody
- func (r AccountBillingProfileSaveResponse) Status() string
- func (r AccountBillingProfileSaveResponse) StatusCode() int
- type AccountChangePasswordJSONRequestBody
- type AccountChangePasswordResponse
- func (r AccountChangePasswordResponse) ContentType() string
- func (r AccountChangePasswordResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountChangePasswordResponse) GetBody() []byte
- func (r AccountChangePasswordResponse) Status() string
- func (r AccountChangePasswordResponse) StatusCode() int
- type AccountDeletionCancelResponse
- func (r AccountDeletionCancelResponse) ContentType() string
- func (r AccountDeletionCancelResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountDeletionCancelResponse) GetBody() []byte
- func (r AccountDeletionCancelResponse) Status() string
- func (r AccountDeletionCancelResponse) StatusCode() int
- type AccountDeletionGetResponse
- func (r AccountDeletionGetResponse) ContentType() string
- func (r AccountDeletionGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountDeletionGetResponse) GetBody() []byte
- func (r AccountDeletionGetResponse) GetJSON200() *DeletionStateOutputBody
- func (r AccountDeletionGetResponse) Status() string
- func (r AccountDeletionGetResponse) StatusCode() int
- type AccountDeletionRequestJSONRequestBody
- type AccountDeletionRequestResponse
- func (r AccountDeletionRequestResponse) ContentType() string
- func (r AccountDeletionRequestResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountDeletionRequestResponse) GetBody() []byte
- func (r AccountDeletionRequestResponse) GetJSON202() *DeletionRequestOutputBody
- func (r AccountDeletionRequestResponse) Status() string
- func (r AccountDeletionRequestResponse) StatusCode() int
- type AccountEmailChangeStartJSONRequestBody
- type AccountEmailChangeStartResponse
- func (r AccountEmailChangeStartResponse) ContentType() string
- func (r AccountEmailChangeStartResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountEmailChangeStartResponse) GetBody() []byte
- func (r AccountEmailChangeStartResponse) Status() string
- func (r AccountEmailChangeStartResponse) StatusCode() int
- type AccountExport
- type AccountExportResponse
- func (r AccountExportResponse) ContentType() string
- func (r AccountExportResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountExportResponse) GetBody() []byte
- func (r AccountExportResponse) GetJSON200() *AccountExport
- func (r AccountExportResponse) Status() string
- func (r AccountExportResponse) StatusCode() int
- type AccountFeaturesResponse
- func (r AccountFeaturesResponse) ContentType() string
- func (r AccountFeaturesResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountFeaturesResponse) GetBody() []byte
- func (r AccountFeaturesResponse) GetJSON200() *CustomerFeaturesOutputBody
- func (r AccountFeaturesResponse) Status() string
- func (r AccountFeaturesResponse) StatusCode() int
- type AccountGetResponse
- func (r AccountGetResponse) ContentType() string
- func (r AccountGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountGetResponse) GetBody() []byte
- func (r AccountGetResponse) GetJSON200() *UserBody
- func (r AccountGetResponse) Status() string
- func (r AccountGetResponse) StatusCode() int
- type AccountIdentitiesListResponse
- func (r AccountIdentitiesListResponse) ContentType() string
- func (r AccountIdentitiesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountIdentitiesListResponse) GetBody() []byte
- func (r AccountIdentitiesListResponse) GetJSON200() *IdentitiesOutputBody
- func (r AccountIdentitiesListResponse) Status() string
- func (r AccountIdentitiesListResponse) StatusCode() int
- type AccountIdentityUnlinkParamsProvider
- type AccountIdentityUnlinkResponse
- func (r AccountIdentityUnlinkResponse) ContentType() string
- func (r AccountIdentityUnlinkResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountIdentityUnlinkResponse) GetBody() []byte
- func (r AccountIdentityUnlinkResponse) Status() string
- func (r AccountIdentityUnlinkResponse) StatusCode() int
- type AccountLimitsResponse
- func (r AccountLimitsResponse) ContentType() string
- func (r AccountLimitsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountLimitsResponse) GetBody() []byte
- func (r AccountLimitsResponse) GetJSON200() *CustomerQuotaOutputBody
- func (r AccountLimitsResponse) Status() string
- func (r AccountLimitsResponse) StatusCode() int
- type AccountOnboardingCompleteResponse
- func (r AccountOnboardingCompleteResponse) ContentType() string
- func (r AccountOnboardingCompleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountOnboardingCompleteResponse) GetBody() []byte
- func (r AccountOnboardingCompleteResponse) GetJSON200() *UserBody
- func (r AccountOnboardingCompleteResponse) Status() string
- func (r AccountOnboardingCompleteResponse) StatusCode() int
- type AccountPhoneDeleteResponse
- type AccountPhoneGetResponse
- func (r AccountPhoneGetResponse) ContentType() string
- func (r AccountPhoneGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountPhoneGetResponse) GetBody() []byte
- func (r AccountPhoneGetResponse) GetJSON200() *PhoneStatusBody
- func (r AccountPhoneGetResponse) Status() string
- func (r AccountPhoneGetResponse) StatusCode() int
- type AccountPhoneResendResponse
- func (r AccountPhoneResendResponse) ContentType() string
- func (r AccountPhoneResendResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountPhoneResendResponse) GetBody() []byte
- func (r AccountPhoneResendResponse) GetJSON200() *PhoneStatusBody
- func (r AccountPhoneResendResponse) Status() string
- func (r AccountPhoneResendResponse) StatusCode() int
- type AccountPhoneStartJSONRequestBody
- type AccountPhoneStartResponse
- func (r AccountPhoneStartResponse) ContentType() string
- func (r AccountPhoneStartResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountPhoneStartResponse) GetBody() []byte
- func (r AccountPhoneStartResponse) GetJSON200() *PhoneStatusBody
- func (r AccountPhoneStartResponse) Status() string
- func (r AccountPhoneStartResponse) StatusCode() int
- type AccountPhoneVerifyJSONRequestBody
- type AccountPhoneVerifyResponse
- func (r AccountPhoneVerifyResponse) ContentType() string
- func (r AccountPhoneVerifyResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountPhoneVerifyResponse) GetBody() []byte
- func (r AccountPhoneVerifyResponse) GetJSON200() *PhoneStatusBody
- func (r AccountPhoneVerifyResponse) Status() string
- func (r AccountPhoneVerifyResponse) StatusCode() int
- type AccountSupportAccessResponse
- func (r AccountSupportAccessResponse) ContentType() string
- func (r AccountSupportAccessResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountSupportAccessResponse) GetBody() []byte
- func (r AccountSupportAccessResponse) GetJSON200() *SupportAccessOutputBody
- func (r AccountSupportAccessResponse) Status() string
- func (r AccountSupportAccessResponse) StatusCode() int
- type AccountTotpConfirmJSONRequestBody
- type AccountTotpConfirmResponse
- func (r AccountTotpConfirmResponse) ContentType() string
- func (r AccountTotpConfirmResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountTotpConfirmResponse) GetBody() []byte
- func (r AccountTotpConfirmResponse) GetJSON200() *RecoveryCodesOutputBody
- func (r AccountTotpConfirmResponse) Status() string
- func (r AccountTotpConfirmResponse) StatusCode() int
- type AccountTotpDisableJSONRequestBody
- type AccountTotpDisableResponse
- type AccountTotpRecoveryCodesJSONRequestBody
- type AccountTotpRecoveryCodesResponse
- func (r AccountTotpRecoveryCodesResponse) ContentType() string
- func (r AccountTotpRecoveryCodesResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountTotpRecoveryCodesResponse) GetBody() []byte
- func (r AccountTotpRecoveryCodesResponse) GetJSON200() *RecoveryCodesOutputBody
- func (r AccountTotpRecoveryCodesResponse) Status() string
- func (r AccountTotpRecoveryCodesResponse) StatusCode() int
- type AccountTotpSetupJSONRequestBody
- type AccountTotpSetupResponse
- func (r AccountTotpSetupResponse) ContentType() string
- func (r AccountTotpSetupResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountTotpSetupResponse) GetBody() []byte
- func (r AccountTotpSetupResponse) GetJSON200() *TotpSetupOutputBody
- func (r AccountTotpSetupResponse) Status() string
- func (r AccountTotpSetupResponse) StatusCode() int
- type AccountTotpStatusResponse
- func (r AccountTotpStatusResponse) ContentType() string
- func (r AccountTotpStatusResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountTotpStatusResponse) GetBody() []byte
- func (r AccountTotpStatusResponse) GetJSON200() *TotpStatusOutputBody
- func (r AccountTotpStatusResponse) Status() string
- func (r AccountTotpStatusResponse) StatusCode() int
- type AccountUpdateInputBody
- type AccountUpdateInputBodyLocale
- type AccountUpdateJSONRequestBody
- type AccountUpdateResponse
- func (r AccountUpdateResponse) ContentType() string
- func (r AccountUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AccountUpdateResponse) GetBody() []byte
- func (r AccountUpdateResponse) GetJSON200() *UserBody
- func (r AccountUpdateResponse) Status() string
- func (r AccountUpdateResponse) StatusCode() int
- type ActionBody
- type ActionBodyState
- type ActionInputBody
- type ActionInputBodyKind
- type ActionUsage
- type AlertBody
- type AlertSaveInputBody
- type AlertSaveInputBodyMetric
- type AlertsListOutputBody
- type Announcement
- type AnnouncementBannerDismissResponse
- func (r AnnouncementBannerDismissResponse) ContentType() string
- func (r AnnouncementBannerDismissResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AnnouncementBannerDismissResponse) GetBody() []byte
- func (r AnnouncementBannerDismissResponse) Status() string
- func (r AnnouncementBannerDismissResponse) StatusCode() int
- type AnnouncementBannerGetResponse
- func (r AnnouncementBannerGetResponse) ContentType() string
- func (r AnnouncementBannerGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AnnouncementBannerGetResponse) GetBody() []byte
- func (r AnnouncementBannerGetResponse) GetJSON200() *AnnouncementBannerOutputBody
- func (r AnnouncementBannerGetResponse) Status() string
- func (r AnnouncementBannerGetResponse) StatusCode() int
- type AnnouncementBannerOutputBody
- type AnnouncementsGetResponse
- func (r AnnouncementsGetResponse) ContentType() string
- func (r AnnouncementsGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AnnouncementsGetResponse) GetBody() []byte
- func (r AnnouncementsGetResponse) GetJSON200() *Announcement
- func (r AnnouncementsGetResponse) Status() string
- func (r AnnouncementsGetResponse) StatusCode() int
- type AnnouncementsListOutputBody
- type AnnouncementsListResponse
- func (r AnnouncementsListResponse) ContentType() string
- func (r AnnouncementsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AnnouncementsListResponse) GetBody() []byte
- func (r AnnouncementsListResponse) GetJSON200() *AnnouncementsListOutputBody
- func (r AnnouncementsListResponse) Status() string
- func (r AnnouncementsListResponse) StatusCode() int
- type ApiTokenBody
- type ApiTokenCreateInputBody
- type ApiTokenCreateJSONRequestBody
- type ApiTokenCreateOutputBody
- type ApiTokenCreateResponse
- func (r ApiTokenCreateResponse) ContentType() string
- func (r ApiTokenCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ApiTokenCreateResponse) GetBody() []byte
- func (r ApiTokenCreateResponse) GetJSON201() *ApiTokenCreateOutputBody
- func (r ApiTokenCreateResponse) Status() string
- func (r ApiTokenCreateResponse) StatusCode() int
- type ApiTokenRevokeResponse
- type ApiTokensListOutputBody
- type ApiTokensListResponse
- func (r ApiTokensListResponse) ContentType() string
- func (r ApiTokensListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ApiTokensListResponse) GetBody() []byte
- func (r ApiTokensListResponse) GetJSON200() *ApiTokensListOutputBody
- func (r ApiTokensListResponse) Status() string
- func (r ApiTokensListResponse) StatusCode() int
- type AppActionInputBody
- type AppActionInputBodyAction
- type AppActionJSONRequestBody
- type AppActionResponse
- func (r AppActionResponse) ContentType() string
- func (r AppActionResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppActionResponse) GetBody() []byte
- func (r AppActionResponse) GetJSON200() *AppBody
- func (r AppActionResponse) Status() string
- func (r AppActionResponse) StatusCode() int
- type AppAttachmentBody
- type AppAttachmentBodyProbeState
- type AppAttachmentBodyState
- type AppAttachmentCreateInputBody
- type AppAttachmentCreateJSONRequestBody
- type AppAttachmentCreateResponse
- func (r AppAttachmentCreateResponse) ContentType() string
- func (r AppAttachmentCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppAttachmentCreateResponse) GetBody() []byte
- func (r AppAttachmentCreateResponse) Status() string
- func (r AppAttachmentCreateResponse) StatusCode() int
- type AppAttachmentDeleteResponse
- func (r AppAttachmentDeleteResponse) ContentType() string
- func (r AppAttachmentDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppAttachmentDeleteResponse) GetBody() []byte
- func (r AppAttachmentDeleteResponse) Status() string
- func (r AppAttachmentDeleteResponse) StatusCode() int
- type AppAttachmentVerifyResponse
- func (r AppAttachmentVerifyResponse) ContentType() string
- func (r AppAttachmentVerifyResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppAttachmentVerifyResponse) GetBody() []byte
- func (r AppAttachmentVerifyResponse) Status() string
- func (r AppAttachmentVerifyResponse) StatusCode() int
- type AppAttachmentsListOutputBody
- type AppAttachmentsListResponse
- func (r AppAttachmentsListResponse) ContentType() string
- func (r AppAttachmentsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppAttachmentsListResponse) GetBody() []byte
- func (r AppAttachmentsListResponse) GetJSON200() *AppAttachmentsListOutputBody
- func (r AppAttachmentsListResponse) Status() string
- func (r AppAttachmentsListResponse) StatusCode() int
- type AppAutoDeployInputBody
- type AppAutoDeploySetJSONRequestBody
- type AppAutoDeploySetResponse
- func (r AppAutoDeploySetResponse) ContentType() string
- func (r AppAutoDeploySetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppAutoDeploySetResponse) GetBody() []byte
- func (r AppAutoDeploySetResponse) GetJSON200() *AppBody
- func (r AppAutoDeploySetResponse) Status() string
- func (r AppAutoDeploySetResponse) StatusCode() int
- type AppBody
- type AppBodyBuilder
- type AppBuildCancelResponse
- func (r AppBuildCancelResponse) ContentType() string
- func (r AppBuildCancelResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppBuildCancelResponse) GetBody() []byte
- func (r AppBuildCancelResponse) GetJSON200() *BuildBody
- func (r AppBuildCancelResponse) Status() string
- func (r AppBuildCancelResponse) StatusCode() int
- type AppBuildCreateJSONRequestBody
- type AppBuildCreateResponse
- func (r AppBuildCreateResponse) ContentType() string
- func (r AppBuildCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppBuildCreateResponse) GetBody() []byte
- func (r AppBuildCreateResponse) GetJSON202() *BuildBody
- func (r AppBuildCreateResponse) Status() string
- func (r AppBuildCreateResponse) StatusCode() int
- type AppBuildGetResponse
- func (r AppBuildGetResponse) ContentType() string
- func (r AppBuildGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppBuildGetResponse) GetBody() []byte
- func (r AppBuildGetResponse) GetJSON200() *BuildBody
- func (r AppBuildGetResponse) Status() string
- func (r AppBuildGetResponse) StatusCode() int
- type AppBuildsListResponse
- func (r AppBuildsListResponse) ContentType() string
- func (r AppBuildsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppBuildsListResponse) GetBody() []byte
- func (r AppBuildsListResponse) GetJSON200() *BuildListOutputBody
- func (r AppBuildsListResponse) Status() string
- func (r AppBuildsListResponse) StatusCode() int
- type AppCreateInputBody
- type AppCreateInputBodyBuilder
- type AppCreateInputBodyRuntime
- type AppCreateJSONRequestBody
- type AppCreateParams
- type AppCreateResponse
- func (r AppCreateResponse) ContentType() string
- func (r AppCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppCreateResponse) GetBody() []byte
- func (r AppCreateResponse) GetJSON201() *AppBody
- func (r AppCreateResponse) Status() string
- func (r AppCreateResponse) StatusCode() int
- type AppDeleteResponse
- type AppDetectBuildParams
- type AppDetectBuildResponse
- func (r AppDetectBuildResponse) ContentType() string
- func (r AppDetectBuildResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppDetectBuildResponse) GetBody() []byte
- func (r AppDetectBuildResponse) GetJSON200() *AppDetectOutputBody
- func (r AppDetectBuildResponse) Status() string
- func (r AppDetectBuildResponse) StatusCode() int
- type AppDetectOutputBody
- type AppDetectOutputBodyBuilder
- type AppDetectOutputBodyCode
- type AppDomainAddInputBody
- type AppDomainAddJSONRequestBody
- type AppDomainAddResponse
- func (r AppDomainAddResponse) ContentType() string
- func (r AppDomainAddResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppDomainAddResponse) GetBody() []byte
- func (r AppDomainAddResponse) GetJSON201() *AppDomainBody
- func (r AppDomainAddResponse) Status() string
- func (r AppDomainAddResponse) StatusCode() int
- type AppDomainBody
- type AppDomainDeleteResponse
- type AppDomainVerifyResponse
- func (r AppDomainVerifyResponse) ContentType() string
- func (r AppDomainVerifyResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppDomainVerifyResponse) GetBody() []byte
- func (r AppDomainVerifyResponse) GetJSON200() *AppDomainBody
- func (r AppDomainVerifyResponse) Status() string
- func (r AppDomainVerifyResponse) StatusCode() int
- type AppDomainsListOutputBody
- type AppDomainsListResponse
- func (r AppDomainsListResponse) ContentType() string
- func (r AppDomainsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppDomainsListResponse) GetBody() []byte
- func (r AppDomainsListResponse) GetJSON200() *AppDomainsListOutputBody
- func (r AppDomainsListResponse) Status() string
- func (r AppDomainsListResponse) StatusCode() int
- type AppEnvGetOutputBody
- type AppEnvGetResponse
- func (r AppEnvGetResponse) ContentType() string
- func (r AppEnvGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppEnvGetResponse) GetBody() []byte
- func (r AppEnvGetResponse) GetJSON200() *AppEnvGetOutputBody
- func (r AppEnvGetResponse) Status() string
- func (r AppEnvGetResponse) StatusCode() int
- type AppEnvSetInputBody
- type AppEnvSetJSONRequestBody
- type AppEnvSetResponse
- type AppEventsListParams
- type AppEventsListResponse
- func (r AppEventsListResponse) ContentType() string
- func (r AppEventsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppEventsListResponse) GetBody() []byte
- func (r AppEventsListResponse) GetJSON200() *AppEventsOutputBody
- func (r AppEventsListResponse) Status() string
- func (r AppEventsListResponse) StatusCode() int
- type AppEventsOutputBody
- type AppExecStartJSONRequestBody
- type AppExecStartResponse
- func (r AppExecStartResponse) ContentType() string
- func (r AppExecStartResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppExecStartResponse) GetBody() []byte
- func (r AppExecStartResponse) GetJSON201() *ExecStartOutputBody
- func (r AppExecStartResponse) Status() string
- func (r AppExecStartResponse) StatusCode() int
- type AppGetResponse
- type AppLogsGetResponse
- func (r AppLogsGetResponse) ContentType() string
- func (r AppLogsGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppLogsGetResponse) GetBody() []byte
- func (r AppLogsGetResponse) GetJSON200() *LogRequestBody
- func (r AppLogsGetResponse) Status() string
- func (r AppLogsGetResponse) StatusCode() int
- type AppLogsRequestJSONRequestBody
- type AppLogsRequestResponse
- func (r AppLogsRequestResponse) ContentType() string
- func (r AppLogsRequestResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppLogsRequestResponse) GetBody() []byte
- func (r AppLogsRequestResponse) GetJSON202() *LogRequestBody
- func (r AppLogsRequestResponse) Status() string
- func (r AppLogsRequestResponse) StatusCode() int
- type AppMetricHourBody
- type AppMetricSampleBody
- type AppMetricsOutputBody
- type AppMetricsParams
- type AppMetricsParamsRange
- type AppMetricsResponse
- func (r AppMetricsResponse) ContentType() string
- func (r AppMetricsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppMetricsResponse) GetBody() []byte
- func (r AppMetricsResponse) GetJSON200() *AppMetricsOutputBody
- func (r AppMetricsResponse) Status() string
- func (r AppMetricsResponse) StatusCode() int
- type AppPlanBody
- type AppPlansListResponse
- func (r AppPlansListResponse) ContentType() string
- func (r AppPlansListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppPlansListResponse) GetBody() []byte
- func (r AppPlansListResponse) GetJSON200() *AppPlansOutputBody
- func (r AppPlansListResponse) Status() string
- func (r AppPlansListResponse) StatusCode() int
- type AppPlansOutputBody
- type AppPresetBody
- type AppPresetsListResponse
- func (r AppPresetsListResponse) ContentType() string
- func (r AppPresetsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppPresetsListResponse) GetBody() []byte
- func (r AppPresetsListResponse) GetJSON200() *AppPresetsOutputBody
- func (r AppPresetsListResponse) Status() string
- func (r AppPresetsListResponse) StatusCode() int
- type AppPresetsOutputBody
- type AppProjectSetJSONRequestBody
- type AppProjectSetResponse
- type AppReleasesListResponse
- func (r AppReleasesListResponse) ContentType() string
- func (r AppReleasesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppReleasesListResponse) GetBody() []byte
- func (r AppReleasesListResponse) GetJSON200() *ReleaseListOutputBody
- func (r AppReleasesListResponse) Status() string
- func (r AppReleasesListResponse) StatusCode() int
- type AppResizeInputBody
- type AppResizeJSONRequestBody
- type AppResizeResponse
- func (r AppResizeResponse) ContentType() string
- func (r AppResizeResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppResizeResponse) GetBody() []byte
- func (r AppResizeResponse) GetJSON200() *AppBody
- func (r AppResizeResponse) Status() string
- func (r AppResizeResponse) StatusCode() int
- type AppRetryOutputBody
- type AppRollbackInputBody
- type AppRollbackJSONRequestBody
- type AppRollbackResponse
- func (r AppRollbackResponse) ContentType() string
- func (r AppRollbackResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppRollbackResponse) GetBody() []byte
- func (r AppRollbackResponse) GetJSON200() *AppBody
- func (r AppRollbackResponse) Status() string
- func (r AppRollbackResponse) StatusCode() int
- type AppScaleInputBody
- type AppScaleJSONRequestBody
- type AppScaleResponse
- type AppSourceInputBody
- type AppSourceInputBodyBuilder
- type AppSourceSetJSONRequestBody
- type AppSourceSetResponse
- func (r AppSourceSetResponse) ContentType() string
- func (r AppSourceSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppSourceSetResponse) GetBody() []byte
- func (r AppSourceSetResponse) GetJSON200() *AppBody
- func (r AppSourceSetResponse) Status() string
- func (r AppSourceSetResponse) StatusCode() int
- type AppTagsSetJSONRequestBody
- type AppTagsSetResponse
- func (r AppTagsSetResponse) ContentType() string
- func (r AppTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppTagsSetResponse) GetBody() []byte
- func (r AppTagsSetResponse) GetJSON200() *TagsBody
- func (r AppTagsSetResponse) Status() string
- func (r AppTagsSetResponse) StatusCode() int
- type AppUpdateInputBody
- type AppUpdateJSONRequestBody
- type AppUpdateResponse
- func (r AppUpdateResponse) ContentType() string
- func (r AppUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppUpdateResponse) GetBody() []byte
- func (r AppUpdateResponse) GetJSON200() *AppBody
- func (r AppUpdateResponse) Status() string
- func (r AppUpdateResponse) StatusCode() int
- type AppsListOutputBody
- type AppsListParams
- type AppsListResponse
- func (r AppsListResponse) ContentType() string
- func (r AppsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AppsListResponse) GetBody() []byte
- func (r AppsListResponse) GetJSON200() *AppsListOutputBody
- func (r AppsListResponse) Status() string
- func (r AppsListResponse) StatusCode() int
- type AppsListSummary
- type AuthConfirmEmailChangeJSONRequestBody
- type AuthConfirmEmailChangeResponse
- func (r AuthConfirmEmailChangeResponse) ContentType() string
- func (r AuthConfirmEmailChangeResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AuthConfirmEmailChangeResponse) GetBody() []byte
- func (r AuthConfirmEmailChangeResponse) GetJSON200() *EmailChangeConfirmOutputBody
- func (r AuthConfirmEmailChangeResponse) Status() string
- func (r AuthConfirmEmailChangeResponse) StatusCode() int
- type AuthImpersonateJSONRequestBody
- type AuthImpersonateResponse
- func (r AuthImpersonateResponse) ContentType() string
- func (r AuthImpersonateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AuthImpersonateResponse) GetBody() []byte
- func (r AuthImpersonateResponse) GetJSON200() *ImpersonateOutputBody
- func (r AuthImpersonateResponse) Status() string
- func (r AuthImpersonateResponse) StatusCode() int
- type AuthImpersonateResponse200Headers
- type AuthLoginJSONRequestBody
- type AuthLoginResponse
- func (r AuthLoginResponse) ContentType() string
- func (r AuthLoginResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AuthLoginResponse) GetBody() []byte
- func (r AuthLoginResponse) GetJSON200() *LoginResponse
- func (r AuthLoginResponse) Status() string
- func (r AuthLoginResponse) StatusCode() int
- type AuthLoginResponse200Headers
- type AuthLogoutResponse
- type AuthLogoutResponse204Headers
- type AuthMfaVerifyJSONRequestBody
- type AuthMfaVerifyParams
- type AuthMfaVerifyResponse
- func (r AuthMfaVerifyResponse) ContentType() string
- func (r AuthMfaVerifyResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AuthMfaVerifyResponse) GetBody() []byte
- func (r AuthMfaVerifyResponse) GetJSON200() *LoginResponse
- func (r AuthMfaVerifyResponse) Status() string
- func (r AuthMfaVerifyResponse) StatusCode() int
- type AuthMfaVerifyResponse200Headers
- type AuthOauthCallbackParams
- type AuthOauthCallbackParamsProvider
- type AuthOauthCallbackResponse
- type AuthOauthCallbackResponse302Headers
- type AuthOauthProvidersResponse
- func (r AuthOauthProvidersResponse) ContentType() string
- func (r AuthOauthProvidersResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AuthOauthProvidersResponse) GetBody() []byte
- func (r AuthOauthProvidersResponse) GetJSON200() *ProvidersOutputBody
- func (r AuthOauthProvidersResponse) Status() string
- func (r AuthOauthProvidersResponse) StatusCode() int
- type AuthOauthStartParams
- type AuthOauthStartParamsLocale
- type AuthOauthStartParamsMode
- type AuthOauthStartParamsProvider
- type AuthOauthStartResponse
- type AuthOauthStartResponse302Headers
- type AuthPasswordResetJSONRequestBody
- type AuthPasswordResetRequestJSONRequestBody
- type AuthPasswordResetRequestResponse
- func (r AuthPasswordResetRequestResponse) ContentType() string
- func (r AuthPasswordResetRequestResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AuthPasswordResetRequestResponse) GetBody() []byte
- func (r AuthPasswordResetRequestResponse) Status() string
- func (r AuthPasswordResetRequestResponse) StatusCode() int
- type AuthPasswordResetResponse
- type AuthPolicyBody
- type AuthPolicyResponse
- func (r AuthPolicyResponse) ContentType() string
- func (r AuthPolicyResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AuthPolicyResponse) GetBody() []byte
- func (r AuthPolicyResponse) GetJSON200() *AuthPolicyBody
- func (r AuthPolicyResponse) Status() string
- func (r AuthPolicyResponse) StatusCode() int
- type AuthRegisterJSONRequestBody
- type AuthRegisterResponse
- type AuthSessionRevokeResponse
- type AuthSessionsListResponse
- func (r AuthSessionsListResponse) ContentType() string
- func (r AuthSessionsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AuthSessionsListResponse) GetBody() []byte
- func (r AuthSessionsListResponse) GetJSON200() *SessionsOutputBody
- func (r AuthSessionsListResponse) Status() string
- func (r AuthSessionsListResponse) StatusCode() int
- type AuthVerifyEmailJSONRequestBody
- type AuthVerifyEmailResendJSONRequestBody
- type AuthVerifyEmailResendResponse
- func (r AuthVerifyEmailResendResponse) ContentType() string
- func (r AuthVerifyEmailResendResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r AuthVerifyEmailResendResponse) GetBody() []byte
- func (r AuthVerifyEmailResendResponse) Status() string
- func (r AuthVerifyEmailResendResponse) StatusCode() int
- type AuthVerifyEmailResponse
- type BackupAllBody
- type BackupBody
- type BackupCreateInputBody
- type BackupListAllOutputBody
- type BackupListOutputBody
- type BackupSettingsBody
- type BackupSettingsUpdateInputBody
- type BuildBody
- type BuildBodyState
- type BuildBodyTrigger
- type BuildCreateInputBody
- type BuildListOutputBody
- type Client
- func (c *Client) AccountBillingProfileGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountBillingProfileSave(ctx context.Context, body AccountBillingProfileSaveJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccountBillingProfileSaveWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AccountChangePassword(ctx context.Context, body AccountChangePasswordJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccountChangePasswordWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AccountDeletionCancel(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountDeletionGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountDeletionRequest(ctx context.Context, body AccountDeletionRequestJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccountDeletionRequestWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AccountEmailChangeStart(ctx context.Context, body AccountEmailChangeStartJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccountEmailChangeStartWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AccountExport(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountFeatures(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountIdentitiesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountIdentityUnlink(ctx context.Context, provider AccountIdentityUnlinkParamsProvider, ...) (*http.Response, error)
- func (c *Client) AccountLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountOnboardingComplete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountPhoneDelete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountPhoneGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountPhoneResend(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountPhoneStart(ctx context.Context, body AccountPhoneStartJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccountPhoneStartWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AccountPhoneVerify(ctx context.Context, body AccountPhoneVerifyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccountPhoneVerifyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AccountSupportAccess(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountTotpConfirm(ctx context.Context, body AccountTotpConfirmJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccountTotpConfirmWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AccountTotpDisable(ctx context.Context, body AccountTotpDisableJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccountTotpDisableWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AccountTotpRecoveryCodes(ctx context.Context, body AccountTotpRecoveryCodesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccountTotpRecoveryCodesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AccountTotpSetup(ctx context.Context, body AccountTotpSetupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccountTotpSetupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AccountTotpStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AccountUpdate(ctx context.Context, body AccountUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AccountUpdateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AnnouncementBannerDismiss(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AnnouncementBannerGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AnnouncementsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AnnouncementsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ApiTokenCreate(ctx context.Context, body ApiTokenCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ApiTokenCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ApiTokenRevoke(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ApiTokensList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppAction(ctx context.Context, code string, body AppActionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppActionWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppAttachmentCreate(ctx context.Context, appCode string, body AppAttachmentCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppAttachmentCreateWithBody(ctx context.Context, appCode string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppAttachmentDelete(ctx context.Context, appCode string, attachmentID string, ...) (*http.Response, error)
- func (c *Client) AppAttachmentVerify(ctx context.Context, appCode string, attachmentID string, ...) (*http.Response, error)
- func (c *Client) AppAttachmentsList(ctx context.Context, appCode string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppAutoDeploySet(ctx context.Context, code string, body AppAutoDeploySetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppAutoDeploySetWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppBuildCancel(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppBuildCreate(ctx context.Context, code string, body AppBuildCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppBuildCreateWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppBuildGet(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppBuildsList(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppCreate(ctx context.Context, params *AppCreateParams, body AppCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppCreateWithBody(ctx context.Context, params *AppCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) AppDelete(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppDetectBuild(ctx context.Context, params *AppDetectBuildParams, ...) (*http.Response, error)
- func (c *Client) AppDomainAdd(ctx context.Context, code string, body AppDomainAddJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppDomainAddWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppDomainDelete(ctx context.Context, code string, domainID string, ...) (*http.Response, error)
- func (c *Client) AppDomainVerify(ctx context.Context, code string, domainID string, ...) (*http.Response, error)
- func (c *Client) AppDomainsList(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppEnvGet(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppEnvSet(ctx context.Context, code string, body AppEnvSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppEnvSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppEventsList(ctx context.Context, code string, params *AppEventsListParams, ...) (*http.Response, error)
- func (c *Client) AppExecStart(ctx context.Context, code string, body AppExecStartJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppExecStartWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppGet(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppLogsGet(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppLogsRequest(ctx context.Context, code string, body AppLogsRequestJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppLogsRequestWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppMetrics(ctx context.Context, code string, params *AppMetricsParams, ...) (*http.Response, error)
- func (c *Client) AppPlansList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppPresetsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppProjectSet(ctx context.Context, code string, body AppProjectSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppProjectSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppReleasesList(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AppResize(ctx context.Context, code string, body AppResizeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppResizeWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppRollback(ctx context.Context, code string, body AppRollbackJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppRollbackWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppScale(ctx context.Context, code string, body AppScaleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppScaleWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppSourceSet(ctx context.Context, code string, body AppSourceSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppSourceSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppTagsSet(ctx context.Context, code string, body AppTagsSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppTagsSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppUpdate(ctx context.Context, code string, body AppUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AppUpdateWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AppsList(ctx context.Context, params *AppsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AuthConfirmEmailChange(ctx context.Context, body AuthConfirmEmailChangeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AuthConfirmEmailChangeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AuthImpersonate(ctx context.Context, body AuthImpersonateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AuthImpersonateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AuthLogin(ctx context.Context, body AuthLoginJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AuthLoginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AuthLogout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AuthMfaVerify(ctx context.Context, params *AuthMfaVerifyParams, ...) (*http.Response, error)
- func (c *Client) AuthMfaVerifyWithBody(ctx context.Context, params *AuthMfaVerifyParams, contentType string, ...) (*http.Response, error)
- func (c *Client) AuthOauthCallback(ctx context.Context, provider AuthOauthCallbackParamsProvider, ...) (*http.Response, error)
- func (c *Client) AuthOauthProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AuthOauthStart(ctx context.Context, provider AuthOauthStartParamsProvider, ...) (*http.Response, error)
- func (c *Client) AuthPasswordReset(ctx context.Context, body AuthPasswordResetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AuthPasswordResetRequest(ctx context.Context, body AuthPasswordResetRequestJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AuthPasswordResetRequestWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AuthPasswordResetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AuthPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AuthRegister(ctx context.Context, body AuthRegisterJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AuthRegisterWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AuthSessionRevoke(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AuthSessionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AuthVerifyEmail(ctx context.Context, body AuthVerifyEmailJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AuthVerifyEmailResend(ctx context.Context, body AuthVerifyEmailResendJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) AuthVerifyEmailResendWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AuthVerifyEmailWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ConnectedAppRevoke(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ConnectedAppsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DatabaseAlertDelete(ctx context.Context, databaseId string, metric DatabaseAlertDeleteParamsMetric, ...) (*http.Response, error)
- func (c *Client) DatabaseAlertSave(ctx context.Context, databaseId string, body DatabaseAlertSaveJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DatabaseAlertSaveWithBody(ctx context.Context, databaseId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DatabaseAlertsList(ctx context.Context, databaseId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DatabaseBackupCreate(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DatabaseBackupsList(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DatabaseConnectionGet(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DatabaseCreate(ctx context.Context, params *DatabaseCreateParams, ...) (*http.Response, error)
- func (c *Client) DatabaseCreateWithBody(ctx context.Context, params *DatabaseCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) DatabaseDbCreate(ctx context.Context, databaseID string, body DatabaseDbCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DatabaseDbCreateWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DatabaseDelete(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DatabaseGet(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DatabaseMetricsList(ctx context.Context, databaseId string, params *DatabaseMetricsListParams, ...) (*http.Response, error)
- func (c *Client) DatabaseOptionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DatabaseProjectSet(ctx context.Context, databaseID string, body DatabaseProjectSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DatabaseProjectSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DatabasePublicAccessSet(ctx context.Context, databaseID string, ...) (*http.Response, error)
- func (c *Client) DatabasePublicAccessSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DatabaseResize(ctx context.Context, databaseId string, body DatabaseResizeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DatabaseResizeWithBody(ctx context.Context, databaseId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DatabaseRestoreCreate(ctx context.Context, databaseID string, ...) (*http.Response, error)
- func (c *Client) DatabaseRestoreCreateWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DatabaseTagsSet(ctx context.Context, databaseID string, body DatabaseTagsSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DatabaseTagsSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DatabaseTrustedSourcesSet(ctx context.Context, databaseID string, ...) (*http.Response, error)
- func (c *Client) DatabaseTrustedSourcesSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DatabaseUserCreate(ctx context.Context, databaseID string, body DatabaseUserCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DatabaseUserCreateWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DatabaseUserDelete(ctx context.Context, databaseID string, userID string, ...) (*http.Response, error)
- func (c *Client) DatabaseUserPasswordReset(ctx context.Context, databaseID string, userID string, ...) (*http.Response, error)
- func (c *Client) DatabasesList(ctx context.Context, params *DatabasesListParams, ...) (*http.Response, error)
- func (c *Client) DnsRecordCreate(ctx context.Context, id string, params *DnsRecordCreateParams, ...) (*http.Response, error)
- func (c *Client) DnsRecordCreateWithBody(ctx context.Context, id string, params *DnsRecordCreateParams, ...) (*http.Response, error)
- func (c *Client) DnsRecordDelete(ctx context.Context, id string, recordId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DnsRecordUpdate(ctx context.Context, id string, recordId string, ...) (*http.Response, error)
- func (c *Client) DnsRecordUpdateWithBody(ctx context.Context, id string, recordId string, contentType string, ...) (*http.Response, error)
- func (c *Client) DnsZoneCreate(ctx context.Context, params *DnsZoneCreateParams, ...) (*http.Response, error)
- func (c *Client) DnsZoneCreateWithBody(ctx context.Context, params *DnsZoneCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) DnsZoneDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DnsZoneGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DnsZoneProjectSet(ctx context.Context, id string, body DnsZoneProjectSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DnsZoneProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DnsZoneTagsSet(ctx context.Context, id string, body DnsZoneTagsSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DnsZoneTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DnsZonesList(ctx context.Context, params *DnsZonesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DomainAutoRenewSet(ctx context.Context, id string, body DomainAutoRenewSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DomainAutoRenewSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DomainContactCreate(ctx context.Context, body DomainContactCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DomainContactCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DomainContactDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DomainContactSuggest(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DomainContactUpdate(ctx context.Context, id string, body DomainContactUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DomainContactUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DomainContactsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DomainGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DomainLockSet(ctx context.Context, id string, body DomainLockSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DomainLockSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DomainNameserversSet(ctx context.Context, id string, body DomainNameserversSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DomainNameserversSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DomainPrivacySet(ctx context.Context, id string, body DomainPrivacySetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DomainPrivacySetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DomainProjectSet(ctx context.Context, id string, body DomainProjectSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DomainProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DomainRegister(ctx context.Context, params *DomainRegisterParams, ...) (*http.Response, error)
- func (c *Client) DomainRegisterWithBody(ctx context.Context, params *DomainRegisterParams, contentType string, ...) (*http.Response, error)
- func (c *Client) DomainRenew(ctx context.Context, id string, body DomainRenewJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DomainRenewWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DomainSearch(ctx context.Context, body DomainSearchJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DomainSearchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DomainTagsSet(ctx context.Context, id string, body DomainTagsSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DomainTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DomainTldsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DomainTransfer(ctx context.Context, body DomainTransferJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DomainTransferWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DomainsList(ctx context.Context, params *DomainsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FirewallCreate(ctx context.Context, params *FirewallCreateParams, ...) (*http.Response, error)
- func (c *Client) FirewallCreateWithBody(ctx context.Context, params *FirewallCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) FirewallDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FirewallGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FirewallRulesReplace(ctx context.Context, id string, body FirewallRulesReplaceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) FirewallRulesReplaceWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FirewallServerAttach(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FirewallServerDetach(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FirewallUpdate(ctx context.Context, id string, body FirewallUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) FirewallUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FirewallsList(ctx context.Context, params *FirewallsListParams, ...) (*http.Response, error)
- func (c *Client) FloatingIpAttach(ctx context.Context, floatingIpID string, body FloatingIpAttachJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) FloatingIpAttachWithBody(ctx context.Context, floatingIpID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FloatingIpCreate(ctx context.Context, params *FloatingIpCreateParams, ...) (*http.Response, error)
- func (c *Client) FloatingIpCreateWithBody(ctx context.Context, params *FloatingIpCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) FloatingIpDelete(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FloatingIpDetach(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FloatingIpGet(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FloatingIpsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FxRate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GitConnectionDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GitConnectionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GitInstallCallback(ctx context.Context, provider GitInstallCallbackParamsProvider, ...) (*http.Response, error)
- func (c *Client) GitInstallSetup(ctx context.Context, provider GitInstallSetupParamsProvider, ...) (*http.Response, error)
- func (c *Client) GitInstallStart(ctx context.Context, provider GitInstallStartParamsProvider, ...) (*http.Response, error)
- func (c *Client) GitProvidersList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GitRepositoriesList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ImagesList(ctx context.Context, params *ImagesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IsoCreate(ctx context.Context, params *IsoCreateParams, body IsoCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) IsoCreateWithBody(ctx context.Context, params *IsoCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) IsoDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IsoGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) IsoList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LoadBalancerBackendsSet(ctx context.Context, loadBalancerID string, ...) (*http.Response, error)
- func (c *Client) LoadBalancerBackendsSetWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LoadBalancerCreate(ctx context.Context, params *LoadBalancerCreateParams, ...) (*http.Response, error)
- func (c *Client) LoadBalancerCreateWithBody(ctx context.Context, params *LoadBalancerCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) LoadBalancerDelete(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LoadBalancerGet(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LoadBalancerProjectSet(ctx context.Context, loadBalancerID string, ...) (*http.Response, error)
- func (c *Client) LoadBalancerProjectSetWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LoadBalancerRulesReplace(ctx context.Context, loadBalancerID string, ...) (*http.Response, error)
- func (c *Client) LoadBalancerRulesReplaceWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LoadBalancerTagsSet(ctx context.Context, loadBalancerID string, ...) (*http.Response, error)
- func (c *Client) LoadBalancerTagsSetWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LoadBalancersList(ctx context.Context, params *LoadBalancersListParams, ...) (*http.Response, error)
- func (c *Client) NetworkCreate(ctx context.Context, params *NetworkCreateParams, ...) (*http.Response, error)
- func (c *Client) NetworkCreateWithBody(ctx context.Context, params *NetworkCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) NetworkDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) NetworkGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) NetworkProjectSet(ctx context.Context, id string, body NetworkProjectSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) NetworkProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) NetworkTagsSet(ctx context.Context, id string, body NetworkTagsSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) NetworkTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) NetworksList(ctx context.Context, params *NetworksListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) NotificationDelete(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) NotificationsList(ctx context.Context, params *NotificationsListParams, ...) (*http.Response, error)
- func (c *Client) NotificationsMarkRead(ctx context.Context, body NotificationsMarkReadJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) NotificationsMarkReadWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) OauthConsentDecide(ctx context.Context, id string, body OauthConsentDecideJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) OauthConsentDecideWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) OauthConsentGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OnboardingOrganizationCreate(ctx context.Context, body OnboardingOrganizationCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) OnboardingOrganizationCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) OrganizationInvitationAccept(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationInvitationGet(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationInvitationsCreate(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) OrganizationInvitationsCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) OrganizationInvitationsList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationInvitationsRevoke(ctx context.Context, id string, invitationId string, ...) (*http.Response, error)
- func (c *Client) OrganizationMemberRoleUpdate(ctx context.Context, id string, userId string, ...) (*http.Response, error)
- func (c *Client) OrganizationMemberRoleUpdateWithBody(ctx context.Context, id string, userId string, contentType string, ...) (*http.Response, error)
- func (c *Client) OrganizationMembersList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationMembersRemove(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationsActivate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationsCreate(ctx context.Context, body OrganizationsCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) OrganizationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) OrganizationsDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationsLeave(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) OrganizationsRename(ctx context.Context, id string, body OrganizationsRenameJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) OrganizationsRenameWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PaymentIntentsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PaymentTopupInit(ctx context.Context, params *PaymentTopupInitParams, ...) (*http.Response, error)
- func (c *Client) PaymentTopupInitWithBody(ctx context.Context, params *PaymentTopupInitParams, contentType string, ...) (*http.Response, error)
- func (c *Client) PlanTypesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PlansList(ctx context.Context, params *PlansListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProjectCreate(ctx context.Context, params *ProjectCreateParams, ...) (*http.Response, error)
- func (c *Client) ProjectCreateWithBody(ctx context.Context, params *ProjectCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ProjectDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProjectGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ProjectUpdate(ctx context.Context, id string, body ProjectUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ProjectUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProjectsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RdnsClear(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RdnsSet(ctx context.Context, id string, body RdnsSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RdnsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RegionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ResourcePricesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerActionCreate(ctx context.Context, id string, body ServerActionCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerActionCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerActionGet(ctx context.Context, id string, actionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerAlertDelete(ctx context.Context, id string, metric ServerAlertDeleteParamsMetric, ...) (*http.Response, error)
- func (c *Client) ServerAlertSave(ctx context.Context, id string, body ServerAlertSaveJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerAlertSaveWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerAlertsList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerAppRetry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerBackupCreate(ctx context.Context, id string, body ServerBackupCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerBackupCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerBackupDelete(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerBackupList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerBackupListAll(ctx context.Context, params *ServerBackupListAllParams, ...) (*http.Response, error)
- func (c *Client) ServerBackupRestore(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerBackupSettingsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerBackupSettingsUpdate(ctx context.Context, id string, body ServerBackupSettingsUpdateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerBackupSettingsUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerBillingGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerConsoleCreate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerCreate(ctx context.Context, params *ServerCreateParams, ...) (*http.Response, error)
- func (c *Client) ServerCreateWithBody(ctx context.Context, params *ServerCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) ServerDelete(ctx context.Context, id string, params *ServerDeleteParams, ...) (*http.Response, error)
- func (c *Client) ServerDiskMetricsList(ctx context.Context, id string, params *ServerDiskMetricsListParams, ...) (*http.Response, error)
- func (c *Client) ServerEventsList(ctx context.Context, id string, params *ServerEventsListParams, ...) (*http.Response, error)
- func (c *Client) ServerFilesystemsList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerLedgerList(ctx context.Context, id string, params *ServerLedgerListParams, ...) (*http.Response, error)
- func (c *Client) ServerMetricsList(ctx context.Context, id string, params *ServerMetricsListParams, ...) (*http.Response, error)
- func (c *Client) ServerMountISO(ctx context.Context, id string, body ServerMountISOJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerMountISOWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerNetworkAttach(ctx context.Context, id string, body ServerNetworkAttachJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerNetworkAttachWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerNetworkDetach(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerPasswordReset(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerProjectSet(ctx context.Context, id string, body ServerProjectSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerRDNSList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerRebuild(ctx context.Context, id string, body ServerRebuildJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerRebuildWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerRename(ctx context.Context, id string, body ServerRenameJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerRenameWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerRescueEnter(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerRescueExit(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerResize(ctx context.Context, id string, body ServerResizeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerResizeWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerSnapshotCreate(ctx context.Context, id string, body ServerSnapshotCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerSnapshotCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerSnapshotDelete(ctx context.Context, id string, snapshotId string, ...) (*http.Response, error)
- func (c *Client) ServerSnapshotList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServerSnapshotListAll(ctx context.Context, params *ServerSnapshotListAllParams, ...) (*http.Response, error)
- func (c *Client) ServerSnapshotRestore(ctx context.Context, id string, snapshotId string, ...) (*http.Response, error)
- func (c *Client) ServerTagsSet(ctx context.Context, id string, body ServerTagsSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ServerTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ServerUnmountISO(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ServersList(ctx context.Context, params *ServersListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SshKeyCreate(ctx context.Context, params *SshKeyCreateParams, ...) (*http.Response, error)
- func (c *Client) SshKeyCreateWithBody(ctx context.Context, params *SshKeyCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) SshKeyDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SshKeyGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SshKeysList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TagsList(ctx context.Context, params *TagsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TicketAttachmentDownload(ctx context.Context, code string, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TicketClose(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TicketCreate(ctx context.Context, body TicketCreateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TicketCreateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TicketGet(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TicketReopen(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TicketReply(ctx context.Context, code string, body TicketReplyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TicketReplyWithBody(ctx context.Context, code string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TicketsList(ctx context.Context, params *TicketsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) VolumeAttach(ctx context.Context, id string, body VolumeAttachJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) VolumeAttachWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) VolumeCreate(ctx context.Context, params *VolumeCreateParams, ...) (*http.Response, error)
- func (c *Client) VolumeCreateWithBody(ctx context.Context, params *VolumeCreateParams, contentType string, ...) (*http.Response, error)
- func (c *Client) VolumeDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) VolumeDetach(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) VolumeGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) VolumeLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) VolumeList(ctx context.Context, params *VolumeListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) VolumeProjectSet(ctx context.Context, id string, body VolumeProjectSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) VolumeProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) VolumeResize(ctx context.Context, id string, body VolumeResizeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) VolumeResizeWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) VolumeTagsSet(ctx context.Context, id string, body VolumeTagsSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) VolumeTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WalletGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) WalletLedgerDaily(ctx context.Context, params *WalletLedgerDailyParams, ...) (*http.Response, error)
- func (c *Client) WalletLedgerList(ctx context.Context, params *WalletLedgerListParams, ...) (*http.Response, error)
- func (c *Client) WalletPromoRedeem(ctx context.Context, body WalletPromoRedeemJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WalletPromoRedeemWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WalletPromoRedemptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientBody
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AccountBillingProfileGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountBillingProfileGetResponse, error)
- func (c *ClientWithResponses) AccountBillingProfileSaveWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccountBillingProfileSaveResponse, error)
- func (c *ClientWithResponses) AccountBillingProfileSaveWithResponse(ctx context.Context, body AccountBillingProfileSaveJSONRequestBody, ...) (*AccountBillingProfileSaveResponse, error)
- func (c *ClientWithResponses) AccountChangePasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccountChangePasswordResponse, error)
- func (c *ClientWithResponses) AccountChangePasswordWithResponse(ctx context.Context, body AccountChangePasswordJSONRequestBody, ...) (*AccountChangePasswordResponse, error)
- func (c *ClientWithResponses) AccountDeletionCancelWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountDeletionCancelResponse, error)
- func (c *ClientWithResponses) AccountDeletionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountDeletionGetResponse, error)
- func (c *ClientWithResponses) AccountDeletionRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccountDeletionRequestResponse, error)
- func (c *ClientWithResponses) AccountDeletionRequestWithResponse(ctx context.Context, body AccountDeletionRequestJSONRequestBody, ...) (*AccountDeletionRequestResponse, error)
- func (c *ClientWithResponses) AccountEmailChangeStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccountEmailChangeStartResponse, error)
- func (c *ClientWithResponses) AccountEmailChangeStartWithResponse(ctx context.Context, body AccountEmailChangeStartJSONRequestBody, ...) (*AccountEmailChangeStartResponse, error)
- func (c *ClientWithResponses) AccountExportWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountExportResponse, error)
- func (c *ClientWithResponses) AccountFeaturesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountFeaturesResponse, error)
- func (c *ClientWithResponses) AccountGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountGetResponse, error)
- func (c *ClientWithResponses) AccountIdentitiesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountIdentitiesListResponse, error)
- func (c *ClientWithResponses) AccountIdentityUnlinkWithResponse(ctx context.Context, provider AccountIdentityUnlinkParamsProvider, ...) (*AccountIdentityUnlinkResponse, error)
- func (c *ClientWithResponses) AccountLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountLimitsResponse, error)
- func (c *ClientWithResponses) AccountOnboardingCompleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountOnboardingCompleteResponse, error)
- func (c *ClientWithResponses) AccountPhoneDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountPhoneDeleteResponse, error)
- func (c *ClientWithResponses) AccountPhoneGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountPhoneGetResponse, error)
- func (c *ClientWithResponses) AccountPhoneResendWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountPhoneResendResponse, error)
- func (c *ClientWithResponses) AccountPhoneStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccountPhoneStartResponse, error)
- func (c *ClientWithResponses) AccountPhoneStartWithResponse(ctx context.Context, body AccountPhoneStartJSONRequestBody, ...) (*AccountPhoneStartResponse, error)
- func (c *ClientWithResponses) AccountPhoneVerifyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccountPhoneVerifyResponse, error)
- func (c *ClientWithResponses) AccountPhoneVerifyWithResponse(ctx context.Context, body AccountPhoneVerifyJSONRequestBody, ...) (*AccountPhoneVerifyResponse, error)
- func (c *ClientWithResponses) AccountSupportAccessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountSupportAccessResponse, error)
- func (c *ClientWithResponses) AccountTotpConfirmWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccountTotpConfirmResponse, error)
- func (c *ClientWithResponses) AccountTotpConfirmWithResponse(ctx context.Context, body AccountTotpConfirmJSONRequestBody, ...) (*AccountTotpConfirmResponse, error)
- func (c *ClientWithResponses) AccountTotpDisableWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccountTotpDisableResponse, error)
- func (c *ClientWithResponses) AccountTotpDisableWithResponse(ctx context.Context, body AccountTotpDisableJSONRequestBody, ...) (*AccountTotpDisableResponse, error)
- func (c *ClientWithResponses) AccountTotpRecoveryCodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccountTotpRecoveryCodesResponse, error)
- func (c *ClientWithResponses) AccountTotpRecoveryCodesWithResponse(ctx context.Context, body AccountTotpRecoveryCodesJSONRequestBody, ...) (*AccountTotpRecoveryCodesResponse, error)
- func (c *ClientWithResponses) AccountTotpSetupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccountTotpSetupResponse, error)
- func (c *ClientWithResponses) AccountTotpSetupWithResponse(ctx context.Context, body AccountTotpSetupJSONRequestBody, ...) (*AccountTotpSetupResponse, error)
- func (c *ClientWithResponses) AccountTotpStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountTotpStatusResponse, error)
- func (c *ClientWithResponses) AccountUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AccountUpdateResponse, error)
- func (c *ClientWithResponses) AccountUpdateWithResponse(ctx context.Context, body AccountUpdateJSONRequestBody, ...) (*AccountUpdateResponse, error)
- func (c *ClientWithResponses) AnnouncementBannerDismissWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AnnouncementBannerDismissResponse, error)
- func (c *ClientWithResponses) AnnouncementBannerGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AnnouncementBannerGetResponse, error)
- func (c *ClientWithResponses) AnnouncementsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AnnouncementsGetResponse, error)
- func (c *ClientWithResponses) AnnouncementsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AnnouncementsListResponse, error)
- func (c *ClientWithResponses) ApiTokenCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ApiTokenCreateResponse, error)
- func (c *ClientWithResponses) ApiTokenCreateWithResponse(ctx context.Context, body ApiTokenCreateJSONRequestBody, ...) (*ApiTokenCreateResponse, error)
- func (c *ClientWithResponses) ApiTokenRevokeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ApiTokenRevokeResponse, error)
- func (c *ClientWithResponses) ApiTokensListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ApiTokensListResponse, error)
- func (c *ClientWithResponses) AppActionWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppActionResponse, error)
- func (c *ClientWithResponses) AppActionWithResponse(ctx context.Context, code string, body AppActionJSONRequestBody, ...) (*AppActionResponse, error)
- func (c *ClientWithResponses) AppAttachmentCreateWithBodyWithResponse(ctx context.Context, appCode string, contentType string, body io.Reader, ...) (*AppAttachmentCreateResponse, error)
- func (c *ClientWithResponses) AppAttachmentCreateWithResponse(ctx context.Context, appCode string, body AppAttachmentCreateJSONRequestBody, ...) (*AppAttachmentCreateResponse, error)
- func (c *ClientWithResponses) AppAttachmentDeleteWithResponse(ctx context.Context, appCode string, attachmentID string, ...) (*AppAttachmentDeleteResponse, error)
- func (c *ClientWithResponses) AppAttachmentVerifyWithResponse(ctx context.Context, appCode string, attachmentID string, ...) (*AppAttachmentVerifyResponse, error)
- func (c *ClientWithResponses) AppAttachmentsListWithResponse(ctx context.Context, appCode string, reqEditors ...RequestEditorFn) (*AppAttachmentsListResponse, error)
- func (c *ClientWithResponses) AppAutoDeploySetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppAutoDeploySetResponse, error)
- func (c *ClientWithResponses) AppAutoDeploySetWithResponse(ctx context.Context, code string, body AppAutoDeploySetJSONRequestBody, ...) (*AppAutoDeploySetResponse, error)
- func (c *ClientWithResponses) AppBuildCancelWithResponse(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*AppBuildCancelResponse, error)
- func (c *ClientWithResponses) AppBuildCreateWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppBuildCreateResponse, error)
- func (c *ClientWithResponses) AppBuildCreateWithResponse(ctx context.Context, code string, body AppBuildCreateJSONRequestBody, ...) (*AppBuildCreateResponse, error)
- func (c *ClientWithResponses) AppBuildGetWithResponse(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*AppBuildGetResponse, error)
- func (c *ClientWithResponses) AppBuildsListWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppBuildsListResponse, error)
- func (c *ClientWithResponses) AppCreateWithBodyWithResponse(ctx context.Context, params *AppCreateParams, contentType string, ...) (*AppCreateResponse, error)
- func (c *ClientWithResponses) AppCreateWithResponse(ctx context.Context, params *AppCreateParams, body AppCreateJSONRequestBody, ...) (*AppCreateResponse, error)
- func (c *ClientWithResponses) AppDeleteWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppDeleteResponse, error)
- func (c *ClientWithResponses) AppDetectBuildWithResponse(ctx context.Context, params *AppDetectBuildParams, ...) (*AppDetectBuildResponse, error)
- func (c *ClientWithResponses) AppDomainAddWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppDomainAddResponse, error)
- func (c *ClientWithResponses) AppDomainAddWithResponse(ctx context.Context, code string, body AppDomainAddJSONRequestBody, ...) (*AppDomainAddResponse, error)
- func (c *ClientWithResponses) AppDomainDeleteWithResponse(ctx context.Context, code string, domainID string, ...) (*AppDomainDeleteResponse, error)
- func (c *ClientWithResponses) AppDomainVerifyWithResponse(ctx context.Context, code string, domainID string, ...) (*AppDomainVerifyResponse, error)
- func (c *ClientWithResponses) AppDomainsListWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppDomainsListResponse, error)
- func (c *ClientWithResponses) AppEnvGetWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppEnvGetResponse, error)
- func (c *ClientWithResponses) AppEnvSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppEnvSetResponse, error)
- func (c *ClientWithResponses) AppEnvSetWithResponse(ctx context.Context, code string, body AppEnvSetJSONRequestBody, ...) (*AppEnvSetResponse, error)
- func (c *ClientWithResponses) AppEventsListWithResponse(ctx context.Context, code string, params *AppEventsListParams, ...) (*AppEventsListResponse, error)
- func (c *ClientWithResponses) AppExecStartWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppExecStartResponse, error)
- func (c *ClientWithResponses) AppExecStartWithResponse(ctx context.Context, code string, body AppExecStartJSONRequestBody, ...) (*AppExecStartResponse, error)
- func (c *ClientWithResponses) AppGetWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppGetResponse, error)
- func (c *ClientWithResponses) AppLogsGetWithResponse(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*AppLogsGetResponse, error)
- func (c *ClientWithResponses) AppLogsRequestWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppLogsRequestResponse, error)
- func (c *ClientWithResponses) AppLogsRequestWithResponse(ctx context.Context, code string, body AppLogsRequestJSONRequestBody, ...) (*AppLogsRequestResponse, error)
- func (c *ClientWithResponses) AppMetricsWithResponse(ctx context.Context, code string, params *AppMetricsParams, ...) (*AppMetricsResponse, error)
- func (c *ClientWithResponses) AppPlansListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppPlansListResponse, error)
- func (c *ClientWithResponses) AppPresetsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppPresetsListResponse, error)
- func (c *ClientWithResponses) AppProjectSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppProjectSetResponse, error)
- func (c *ClientWithResponses) AppProjectSetWithResponse(ctx context.Context, code string, body AppProjectSetJSONRequestBody, ...) (*AppProjectSetResponse, error)
- func (c *ClientWithResponses) AppReleasesListWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppReleasesListResponse, error)
- func (c *ClientWithResponses) AppResizeWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppResizeResponse, error)
- func (c *ClientWithResponses) AppResizeWithResponse(ctx context.Context, code string, body AppResizeJSONRequestBody, ...) (*AppResizeResponse, error)
- func (c *ClientWithResponses) AppRollbackWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppRollbackResponse, error)
- func (c *ClientWithResponses) AppRollbackWithResponse(ctx context.Context, code string, body AppRollbackJSONRequestBody, ...) (*AppRollbackResponse, error)
- func (c *ClientWithResponses) AppScaleWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppScaleResponse, error)
- func (c *ClientWithResponses) AppScaleWithResponse(ctx context.Context, code string, body AppScaleJSONRequestBody, ...) (*AppScaleResponse, error)
- func (c *ClientWithResponses) AppSourceSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppSourceSetResponse, error)
- func (c *ClientWithResponses) AppSourceSetWithResponse(ctx context.Context, code string, body AppSourceSetJSONRequestBody, ...) (*AppSourceSetResponse, error)
- func (c *ClientWithResponses) AppTagsSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppTagsSetResponse, error)
- func (c *ClientWithResponses) AppTagsSetWithResponse(ctx context.Context, code string, body AppTagsSetJSONRequestBody, ...) (*AppTagsSetResponse, error)
- func (c *ClientWithResponses) AppUpdateWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*AppUpdateResponse, error)
- func (c *ClientWithResponses) AppUpdateWithResponse(ctx context.Context, code string, body AppUpdateJSONRequestBody, ...) (*AppUpdateResponse, error)
- func (c *ClientWithResponses) AppsListWithResponse(ctx context.Context, params *AppsListParams, reqEditors ...RequestEditorFn) (*AppsListResponse, error)
- func (c *ClientWithResponses) AuthConfirmEmailChangeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AuthConfirmEmailChangeResponse, error)
- func (c *ClientWithResponses) AuthConfirmEmailChangeWithResponse(ctx context.Context, body AuthConfirmEmailChangeJSONRequestBody, ...) (*AuthConfirmEmailChangeResponse, error)
- func (c *ClientWithResponses) AuthImpersonateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AuthImpersonateResponse, error)
- func (c *ClientWithResponses) AuthImpersonateWithResponse(ctx context.Context, body AuthImpersonateJSONRequestBody, ...) (*AuthImpersonateResponse, error)
- func (c *ClientWithResponses) AuthLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AuthLoginResponse, error)
- func (c *ClientWithResponses) AuthLoginWithResponse(ctx context.Context, body AuthLoginJSONRequestBody, ...) (*AuthLoginResponse, error)
- func (c *ClientWithResponses) AuthLogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthLogoutResponse, error)
- func (c *ClientWithResponses) AuthMfaVerifyWithBodyWithResponse(ctx context.Context, params *AuthMfaVerifyParams, contentType string, ...) (*AuthMfaVerifyResponse, error)
- func (c *ClientWithResponses) AuthMfaVerifyWithResponse(ctx context.Context, params *AuthMfaVerifyParams, ...) (*AuthMfaVerifyResponse, error)
- func (c *ClientWithResponses) AuthOauthCallbackWithResponse(ctx context.Context, provider AuthOauthCallbackParamsProvider, ...) (*AuthOauthCallbackResponse, error)
- func (c *ClientWithResponses) AuthOauthProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthOauthProvidersResponse, error)
- func (c *ClientWithResponses) AuthOauthStartWithResponse(ctx context.Context, provider AuthOauthStartParamsProvider, ...) (*AuthOauthStartResponse, error)
- func (c *ClientWithResponses) AuthPasswordResetRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AuthPasswordResetRequestResponse, error)
- func (c *ClientWithResponses) AuthPasswordResetRequestWithResponse(ctx context.Context, body AuthPasswordResetRequestJSONRequestBody, ...) (*AuthPasswordResetRequestResponse, error)
- func (c *ClientWithResponses) AuthPasswordResetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AuthPasswordResetResponse, error)
- func (c *ClientWithResponses) AuthPasswordResetWithResponse(ctx context.Context, body AuthPasswordResetJSONRequestBody, ...) (*AuthPasswordResetResponse, error)
- func (c *ClientWithResponses) AuthPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthPolicyResponse, error)
- func (c *ClientWithResponses) AuthRegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AuthRegisterResponse, error)
- func (c *ClientWithResponses) AuthRegisterWithResponse(ctx context.Context, body AuthRegisterJSONRequestBody, ...) (*AuthRegisterResponse, error)
- func (c *ClientWithResponses) AuthSessionRevokeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AuthSessionRevokeResponse, error)
- func (c *ClientWithResponses) AuthSessionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthSessionsListResponse, error)
- func (c *ClientWithResponses) AuthVerifyEmailResendWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AuthVerifyEmailResendResponse, error)
- func (c *ClientWithResponses) AuthVerifyEmailResendWithResponse(ctx context.Context, body AuthVerifyEmailResendJSONRequestBody, ...) (*AuthVerifyEmailResendResponse, error)
- func (c *ClientWithResponses) AuthVerifyEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*AuthVerifyEmailResponse, error)
- func (c *ClientWithResponses) AuthVerifyEmailWithResponse(ctx context.Context, body AuthVerifyEmailJSONRequestBody, ...) (*AuthVerifyEmailResponse, error)
- func (c *ClientWithResponses) ConnectedAppRevokeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ConnectedAppRevokeResponse, error)
- func (c *ClientWithResponses) ConnectedAppsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ConnectedAppsListResponse, error)
- func (c *ClientWithResponses) DatabaseAlertDeleteWithResponse(ctx context.Context, databaseId string, metric DatabaseAlertDeleteParamsMetric, ...) (*DatabaseAlertDeleteResponse, error)
- func (c *ClientWithResponses) DatabaseAlertSaveWithBodyWithResponse(ctx context.Context, databaseId string, contentType string, body io.Reader, ...) (*DatabaseAlertSaveResponse, error)
- func (c *ClientWithResponses) DatabaseAlertSaveWithResponse(ctx context.Context, databaseId string, body DatabaseAlertSaveJSONRequestBody, ...) (*DatabaseAlertSaveResponse, error)
- func (c *ClientWithResponses) DatabaseAlertsListWithResponse(ctx context.Context, databaseId string, reqEditors ...RequestEditorFn) (*DatabaseAlertsListResponse, error)
- func (c *ClientWithResponses) DatabaseBackupCreateWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseBackupCreateResponse, error)
- func (c *ClientWithResponses) DatabaseBackupsListWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseBackupsListResponse, error)
- func (c *ClientWithResponses) DatabaseConnectionGetWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseConnectionGetResponse, error)
- func (c *ClientWithResponses) DatabaseCreateWithBodyWithResponse(ctx context.Context, params *DatabaseCreateParams, contentType string, ...) (*DatabaseCreateResponse, error)
- func (c *ClientWithResponses) DatabaseCreateWithResponse(ctx context.Context, params *DatabaseCreateParams, ...) (*DatabaseCreateResponse, error)
- func (c *ClientWithResponses) DatabaseDbCreateWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*DatabaseDbCreateResponse, error)
- func (c *ClientWithResponses) DatabaseDbCreateWithResponse(ctx context.Context, databaseID string, body DatabaseDbCreateJSONRequestBody, ...) (*DatabaseDbCreateResponse, error)
- func (c *ClientWithResponses) DatabaseDeleteWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseDeleteResponse, error)
- func (c *ClientWithResponses) DatabaseGetWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseGetResponse, error)
- func (c *ClientWithResponses) DatabaseMetricsListWithResponse(ctx context.Context, databaseId string, params *DatabaseMetricsListParams, ...) (*DatabaseMetricsListResponse, error)
- func (c *ClientWithResponses) DatabaseOptionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DatabaseOptionsListResponse, error)
- func (c *ClientWithResponses) DatabaseProjectSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*DatabaseProjectSetResponse, error)
- func (c *ClientWithResponses) DatabaseProjectSetWithResponse(ctx context.Context, databaseID string, body DatabaseProjectSetJSONRequestBody, ...) (*DatabaseProjectSetResponse, error)
- func (c *ClientWithResponses) DatabasePublicAccessSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*DatabasePublicAccessSetResponse, error)
- func (c *ClientWithResponses) DatabasePublicAccessSetWithResponse(ctx context.Context, databaseID string, ...) (*DatabasePublicAccessSetResponse, error)
- func (c *ClientWithResponses) DatabaseResizeWithBodyWithResponse(ctx context.Context, databaseId string, contentType string, body io.Reader, ...) (*DatabaseResizeResponse, error)
- func (c *ClientWithResponses) DatabaseResizeWithResponse(ctx context.Context, databaseId string, body DatabaseResizeJSONRequestBody, ...) (*DatabaseResizeResponse, error)
- func (c *ClientWithResponses) DatabaseRestoreCreateWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*DatabaseRestoreCreateResponse, error)
- func (c *ClientWithResponses) DatabaseRestoreCreateWithResponse(ctx context.Context, databaseID string, ...) (*DatabaseRestoreCreateResponse, error)
- func (c *ClientWithResponses) DatabaseTagsSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*DatabaseTagsSetResponse, error)
- func (c *ClientWithResponses) DatabaseTagsSetWithResponse(ctx context.Context, databaseID string, body DatabaseTagsSetJSONRequestBody, ...) (*DatabaseTagsSetResponse, error)
- func (c *ClientWithResponses) DatabaseTrustedSourcesSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*DatabaseTrustedSourcesSetResponse, error)
- func (c *ClientWithResponses) DatabaseTrustedSourcesSetWithResponse(ctx context.Context, databaseID string, ...) (*DatabaseTrustedSourcesSetResponse, error)
- func (c *ClientWithResponses) DatabaseUserCreateWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, ...) (*DatabaseUserCreateResponse, error)
- func (c *ClientWithResponses) DatabaseUserCreateWithResponse(ctx context.Context, databaseID string, body DatabaseUserCreateJSONRequestBody, ...) (*DatabaseUserCreateResponse, error)
- func (c *ClientWithResponses) DatabaseUserDeleteWithResponse(ctx context.Context, databaseID string, userID string, ...) (*DatabaseUserDeleteResponse, error)
- func (c *ClientWithResponses) DatabaseUserPasswordResetWithResponse(ctx context.Context, databaseID string, userID string, ...) (*DatabaseUserPasswordResetResponse, error)
- func (c *ClientWithResponses) DatabasesListWithResponse(ctx context.Context, params *DatabasesListParams, ...) (*DatabasesListResponse, error)
- func (c *ClientWithResponses) DnsRecordCreateWithBodyWithResponse(ctx context.Context, id string, params *DnsRecordCreateParams, ...) (*DnsRecordCreateResponse, error)
- func (c *ClientWithResponses) DnsRecordCreateWithResponse(ctx context.Context, id string, params *DnsRecordCreateParams, ...) (*DnsRecordCreateResponse, error)
- func (c *ClientWithResponses) DnsRecordDeleteWithResponse(ctx context.Context, id string, recordId string, reqEditors ...RequestEditorFn) (*DnsRecordDeleteResponse, error)
- func (c *ClientWithResponses) DnsRecordUpdateWithBodyWithResponse(ctx context.Context, id string, recordId string, contentType string, ...) (*DnsRecordUpdateResponse, error)
- func (c *ClientWithResponses) DnsRecordUpdateWithResponse(ctx context.Context, id string, recordId string, ...) (*DnsRecordUpdateResponse, error)
- func (c *ClientWithResponses) DnsZoneCreateWithBodyWithResponse(ctx context.Context, params *DnsZoneCreateParams, contentType string, ...) (*DnsZoneCreateResponse, error)
- func (c *ClientWithResponses) DnsZoneCreateWithResponse(ctx context.Context, params *DnsZoneCreateParams, ...) (*DnsZoneCreateResponse, error)
- func (c *ClientWithResponses) DnsZoneDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DnsZoneDeleteResponse, error)
- func (c *ClientWithResponses) DnsZoneGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DnsZoneGetResponse, error)
- func (c *ClientWithResponses) DnsZoneProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DnsZoneProjectSetResponse, error)
- func (c *ClientWithResponses) DnsZoneProjectSetWithResponse(ctx context.Context, id string, body DnsZoneProjectSetJSONRequestBody, ...) (*DnsZoneProjectSetResponse, error)
- func (c *ClientWithResponses) DnsZoneTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DnsZoneTagsSetResponse, error)
- func (c *ClientWithResponses) DnsZoneTagsSetWithResponse(ctx context.Context, id string, body DnsZoneTagsSetJSONRequestBody, ...) (*DnsZoneTagsSetResponse, error)
- func (c *ClientWithResponses) DnsZonesListWithResponse(ctx context.Context, params *DnsZonesListParams, reqEditors ...RequestEditorFn) (*DnsZonesListResponse, error)
- func (c *ClientWithResponses) DomainAutoRenewSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DomainAutoRenewSetResponse, error)
- func (c *ClientWithResponses) DomainAutoRenewSetWithResponse(ctx context.Context, id string, body DomainAutoRenewSetJSONRequestBody, ...) (*DomainAutoRenewSetResponse, error)
- func (c *ClientWithResponses) DomainContactCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DomainContactCreateResponse, error)
- func (c *ClientWithResponses) DomainContactCreateWithResponse(ctx context.Context, body DomainContactCreateJSONRequestBody, ...) (*DomainContactCreateResponse, error)
- func (c *ClientWithResponses) DomainContactDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DomainContactDeleteResponse, error)
- func (c *ClientWithResponses) DomainContactSuggestWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DomainContactSuggestResponse, error)
- func (c *ClientWithResponses) DomainContactUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DomainContactUpdateResponse, error)
- func (c *ClientWithResponses) DomainContactUpdateWithResponse(ctx context.Context, id string, body DomainContactUpdateJSONRequestBody, ...) (*DomainContactUpdateResponse, error)
- func (c *ClientWithResponses) DomainContactsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DomainContactsListResponse, error)
- func (c *ClientWithResponses) DomainGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DomainGetResponse, error)
- func (c *ClientWithResponses) DomainLockSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DomainLockSetResponse, error)
- func (c *ClientWithResponses) DomainLockSetWithResponse(ctx context.Context, id string, body DomainLockSetJSONRequestBody, ...) (*DomainLockSetResponse, error)
- func (c *ClientWithResponses) DomainNameserversSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DomainNameserversSetResponse, error)
- func (c *ClientWithResponses) DomainNameserversSetWithResponse(ctx context.Context, id string, body DomainNameserversSetJSONRequestBody, ...) (*DomainNameserversSetResponse, error)
- func (c *ClientWithResponses) DomainPrivacySetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DomainPrivacySetResponse, error)
- func (c *ClientWithResponses) DomainPrivacySetWithResponse(ctx context.Context, id string, body DomainPrivacySetJSONRequestBody, ...) (*DomainPrivacySetResponse, error)
- func (c *ClientWithResponses) DomainProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DomainProjectSetResponse, error)
- func (c *ClientWithResponses) DomainProjectSetWithResponse(ctx context.Context, id string, body DomainProjectSetJSONRequestBody, ...) (*DomainProjectSetResponse, error)
- func (c *ClientWithResponses) DomainRegisterWithBodyWithResponse(ctx context.Context, params *DomainRegisterParams, contentType string, ...) (*DomainRegisterResponse, error)
- func (c *ClientWithResponses) DomainRegisterWithResponse(ctx context.Context, params *DomainRegisterParams, ...) (*DomainRegisterResponse, error)
- func (c *ClientWithResponses) DomainRenewWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DomainRenewResponse, error)
- func (c *ClientWithResponses) DomainRenewWithResponse(ctx context.Context, id string, body DomainRenewJSONRequestBody, ...) (*DomainRenewResponse, error)
- func (c *ClientWithResponses) DomainSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DomainSearchResponse, error)
- func (c *ClientWithResponses) DomainSearchWithResponse(ctx context.Context, body DomainSearchJSONRequestBody, ...) (*DomainSearchResponse, error)
- func (c *ClientWithResponses) DomainTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DomainTagsSetResponse, error)
- func (c *ClientWithResponses) DomainTagsSetWithResponse(ctx context.Context, id string, body DomainTagsSetJSONRequestBody, ...) (*DomainTagsSetResponse, error)
- func (c *ClientWithResponses) DomainTldsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DomainTldsListResponse, error)
- func (c *ClientWithResponses) DomainTransferWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DomainTransferResponse, error)
- func (c *ClientWithResponses) DomainTransferWithResponse(ctx context.Context, body DomainTransferJSONRequestBody, ...) (*DomainTransferResponse, error)
- func (c *ClientWithResponses) DomainsListWithResponse(ctx context.Context, params *DomainsListParams, reqEditors ...RequestEditorFn) (*DomainsListResponse, error)
- func (c *ClientWithResponses) FirewallCreateWithBodyWithResponse(ctx context.Context, params *FirewallCreateParams, contentType string, ...) (*FirewallCreateResponse, error)
- func (c *ClientWithResponses) FirewallCreateWithResponse(ctx context.Context, params *FirewallCreateParams, ...) (*FirewallCreateResponse, error)
- func (c *ClientWithResponses) FirewallDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FirewallDeleteResponse, error)
- func (c *ClientWithResponses) FirewallGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FirewallGetResponse, error)
- func (c *ClientWithResponses) FirewallRulesReplaceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*FirewallRulesReplaceResponse, error)
- func (c *ClientWithResponses) FirewallRulesReplaceWithResponse(ctx context.Context, id string, body FirewallRulesReplaceJSONRequestBody, ...) (*FirewallRulesReplaceResponse, error)
- func (c *ClientWithResponses) FirewallServerAttachWithResponse(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*FirewallServerAttachResponse, error)
- func (c *ClientWithResponses) FirewallServerDetachWithResponse(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*FirewallServerDetachResponse, error)
- func (c *ClientWithResponses) FirewallUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*FirewallUpdateResponse, error)
- func (c *ClientWithResponses) FirewallUpdateWithResponse(ctx context.Context, id string, body FirewallUpdateJSONRequestBody, ...) (*FirewallUpdateResponse, error)
- func (c *ClientWithResponses) FirewallsListWithResponse(ctx context.Context, params *FirewallsListParams, ...) (*FirewallsListResponse, error)
- func (c *ClientWithResponses) FloatingIpAttachWithBodyWithResponse(ctx context.Context, floatingIpID string, contentType string, body io.Reader, ...) (*FloatingIpAttachResponse, error)
- func (c *ClientWithResponses) FloatingIpAttachWithResponse(ctx context.Context, floatingIpID string, body FloatingIpAttachJSONRequestBody, ...) (*FloatingIpAttachResponse, error)
- func (c *ClientWithResponses) FloatingIpCreateWithBodyWithResponse(ctx context.Context, params *FloatingIpCreateParams, contentType string, ...) (*FloatingIpCreateResponse, error)
- func (c *ClientWithResponses) FloatingIpCreateWithResponse(ctx context.Context, params *FloatingIpCreateParams, ...) (*FloatingIpCreateResponse, error)
- func (c *ClientWithResponses) FloatingIpDeleteWithResponse(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*FloatingIpDeleteResponse, error)
- func (c *ClientWithResponses) FloatingIpDetachWithResponse(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*FloatingIpDetachResponse, error)
- func (c *ClientWithResponses) FloatingIpGetWithResponse(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*FloatingIpGetResponse, error)
- func (c *ClientWithResponses) FloatingIpsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FloatingIpsListResponse, error)
- func (c *ClientWithResponses) FxRateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FxRateResponse, error)
- func (c *ClientWithResponses) GitConnectionDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GitConnectionDeleteResponse, error)
- func (c *ClientWithResponses) GitConnectionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GitConnectionsListResponse, error)
- func (c *ClientWithResponses) GitInstallCallbackWithResponse(ctx context.Context, provider GitInstallCallbackParamsProvider, ...) (*GitInstallCallbackResponse, error)
- func (c *ClientWithResponses) GitInstallSetupWithResponse(ctx context.Context, provider GitInstallSetupParamsProvider, ...) (*GitInstallSetupResponse, error)
- func (c *ClientWithResponses) GitInstallStartWithResponse(ctx context.Context, provider GitInstallStartParamsProvider, ...) (*GitInstallStartResponse, error)
- func (c *ClientWithResponses) GitProvidersListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GitProvidersListResponse, error)
- func (c *ClientWithResponses) GitRepositoriesListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GitRepositoriesListResponse, error)
- func (c *ClientWithResponses) ImagesListWithResponse(ctx context.Context, params *ImagesListParams, reqEditors ...RequestEditorFn) (*ImagesListResponse, error)
- func (c *ClientWithResponses) IsoCreateWithBodyWithResponse(ctx context.Context, params *IsoCreateParams, contentType string, ...) (*IsoCreateResponse, error)
- func (c *ClientWithResponses) IsoCreateWithResponse(ctx context.Context, params *IsoCreateParams, body IsoCreateJSONRequestBody, ...) (*IsoCreateResponse, error)
- func (c *ClientWithResponses) IsoDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IsoDeleteResponse, error)
- func (c *ClientWithResponses) IsoGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IsoGetResponse, error)
- func (c *ClientWithResponses) IsoListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IsoListResponse, error)
- func (c *ClientWithResponses) LoadBalancerBackendsSetWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, ...) (*LoadBalancerBackendsSetResponse, error)
- func (c *ClientWithResponses) LoadBalancerBackendsSetWithResponse(ctx context.Context, loadBalancerID string, ...) (*LoadBalancerBackendsSetResponse, error)
- func (c *ClientWithResponses) LoadBalancerCreateWithBodyWithResponse(ctx context.Context, params *LoadBalancerCreateParams, contentType string, ...) (*LoadBalancerCreateResponse, error)
- func (c *ClientWithResponses) LoadBalancerCreateWithResponse(ctx context.Context, params *LoadBalancerCreateParams, ...) (*LoadBalancerCreateResponse, error)
- func (c *ClientWithResponses) LoadBalancerDeleteWithResponse(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*LoadBalancerDeleteResponse, error)
- func (c *ClientWithResponses) LoadBalancerGetWithResponse(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*LoadBalancerGetResponse, error)
- func (c *ClientWithResponses) LoadBalancerProjectSetWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, ...) (*LoadBalancerProjectSetResponse, error)
- func (c *ClientWithResponses) LoadBalancerProjectSetWithResponse(ctx context.Context, loadBalancerID string, ...) (*LoadBalancerProjectSetResponse, error)
- func (c *ClientWithResponses) LoadBalancerRulesReplaceWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, ...) (*LoadBalancerRulesReplaceResponse, error)
- func (c *ClientWithResponses) LoadBalancerRulesReplaceWithResponse(ctx context.Context, loadBalancerID string, ...) (*LoadBalancerRulesReplaceResponse, error)
- func (c *ClientWithResponses) LoadBalancerTagsSetWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, ...) (*LoadBalancerTagsSetResponse, error)
- func (c *ClientWithResponses) LoadBalancerTagsSetWithResponse(ctx context.Context, loadBalancerID string, ...) (*LoadBalancerTagsSetResponse, error)
- func (c *ClientWithResponses) LoadBalancersListWithResponse(ctx context.Context, params *LoadBalancersListParams, ...) (*LoadBalancersListResponse, error)
- func (c *ClientWithResponses) NetworkCreateWithBodyWithResponse(ctx context.Context, params *NetworkCreateParams, contentType string, ...) (*NetworkCreateResponse, error)
- func (c *ClientWithResponses) NetworkCreateWithResponse(ctx context.Context, params *NetworkCreateParams, ...) (*NetworkCreateResponse, error)
- func (c *ClientWithResponses) NetworkDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*NetworkDeleteResponse, error)
- func (c *ClientWithResponses) NetworkGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*NetworkGetResponse, error)
- func (c *ClientWithResponses) NetworkProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*NetworkProjectSetResponse, error)
- func (c *ClientWithResponses) NetworkProjectSetWithResponse(ctx context.Context, id string, body NetworkProjectSetJSONRequestBody, ...) (*NetworkProjectSetResponse, error)
- func (c *ClientWithResponses) NetworkTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*NetworkTagsSetResponse, error)
- func (c *ClientWithResponses) NetworkTagsSetWithResponse(ctx context.Context, id string, body NetworkTagsSetJSONRequestBody, ...) (*NetworkTagsSetResponse, error)
- func (c *ClientWithResponses) NetworksListWithResponse(ctx context.Context, params *NetworksListParams, reqEditors ...RequestEditorFn) (*NetworksListResponse, error)
- func (c *ClientWithResponses) NotificationDeleteWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*NotificationDeleteResponse, error)
- func (c *ClientWithResponses) NotificationsListWithResponse(ctx context.Context, params *NotificationsListParams, ...) (*NotificationsListResponse, error)
- func (c *ClientWithResponses) NotificationsMarkReadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*NotificationsMarkReadResponse, error)
- func (c *ClientWithResponses) NotificationsMarkReadWithResponse(ctx context.Context, body NotificationsMarkReadJSONRequestBody, ...) (*NotificationsMarkReadResponse, error)
- func (c *ClientWithResponses) OauthConsentDecideWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*OauthConsentDecideResponse, error)
- func (c *ClientWithResponses) OauthConsentDecideWithResponse(ctx context.Context, id string, body OauthConsentDecideJSONRequestBody, ...) (*OauthConsentDecideResponse, error)
- func (c *ClientWithResponses) OauthConsentGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OauthConsentGetResponse, error)
- func (c *ClientWithResponses) OnboardingOrganizationCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*OnboardingOrganizationCreateResponse, error)
- func (c *ClientWithResponses) OnboardingOrganizationCreateWithResponse(ctx context.Context, body OnboardingOrganizationCreateJSONRequestBody, ...) (*OnboardingOrganizationCreateResponse, error)
- func (c *ClientWithResponses) OrganizationInvitationAcceptWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*OrganizationInvitationAcceptResponse, error)
- func (c *ClientWithResponses) OrganizationInvitationGetWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*OrganizationInvitationGetResponse, error)
- func (c *ClientWithResponses) OrganizationInvitationsCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*OrganizationInvitationsCreateResponse, error)
- func (c *ClientWithResponses) OrganizationInvitationsCreateWithResponse(ctx context.Context, id string, ...) (*OrganizationInvitationsCreateResponse, error)
- func (c *ClientWithResponses) OrganizationInvitationsListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationInvitationsListResponse, error)
- func (c *ClientWithResponses) OrganizationInvitationsRevokeWithResponse(ctx context.Context, id string, invitationId string, ...) (*OrganizationInvitationsRevokeResponse, error)
- func (c *ClientWithResponses) OrganizationMemberRoleUpdateWithBodyWithResponse(ctx context.Context, id string, userId string, contentType string, ...) (*OrganizationMemberRoleUpdateResponse, error)
- func (c *ClientWithResponses) OrganizationMemberRoleUpdateWithResponse(ctx context.Context, id string, userId string, ...) (*OrganizationMemberRoleUpdateResponse, error)
- func (c *ClientWithResponses) OrganizationMembersListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationMembersListResponse, error)
- func (c *ClientWithResponses) OrganizationMembersRemoveWithResponse(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*OrganizationMembersRemoveResponse, error)
- func (c *ClientWithResponses) OrganizationsActivateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsActivateResponse, error)
- func (c *ClientWithResponses) OrganizationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*OrganizationsCreateResponse, error)
- func (c *ClientWithResponses) OrganizationsCreateWithResponse(ctx context.Context, body OrganizationsCreateJSONRequestBody, ...) (*OrganizationsCreateResponse, error)
- func (c *ClientWithResponses) OrganizationsDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsDeleteResponse, error)
- func (c *ClientWithResponses) OrganizationsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsGetResponse, error)
- func (c *ClientWithResponses) OrganizationsLeaveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsLeaveResponse, error)
- func (c *ClientWithResponses) OrganizationsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OrganizationsListResponse, error)
- func (c *ClientWithResponses) OrganizationsRenameWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*OrganizationsRenameResponse, error)
- func (c *ClientWithResponses) OrganizationsRenameWithResponse(ctx context.Context, id string, body OrganizationsRenameJSONRequestBody, ...) (*OrganizationsRenameResponse, error)
- func (c *ClientWithResponses) PaymentIntentsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PaymentIntentsListResponse, error)
- func (c *ClientWithResponses) PaymentTopupInitWithBodyWithResponse(ctx context.Context, params *PaymentTopupInitParams, contentType string, ...) (*PaymentTopupInitResponse, error)
- func (c *ClientWithResponses) PaymentTopupInitWithResponse(ctx context.Context, params *PaymentTopupInitParams, ...) (*PaymentTopupInitResponse, error)
- func (c *ClientWithResponses) PlanTypesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlanTypesListResponse, error)
- func (c *ClientWithResponses) PlansListWithResponse(ctx context.Context, params *PlansListParams, reqEditors ...RequestEditorFn) (*PlansListResponse, error)
- func (c *ClientWithResponses) ProjectCreateWithBodyWithResponse(ctx context.Context, params *ProjectCreateParams, contentType string, ...) (*ProjectCreateResponse, error)
- func (c *ClientWithResponses) ProjectCreateWithResponse(ctx context.Context, params *ProjectCreateParams, ...) (*ProjectCreateResponse, error)
- func (c *ClientWithResponses) ProjectDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ProjectDeleteResponse, error)
- func (c *ClientWithResponses) ProjectGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ProjectGetResponse, error)
- func (c *ClientWithResponses) ProjectUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ProjectUpdateResponse, error)
- func (c *ClientWithResponses) ProjectUpdateWithResponse(ctx context.Context, id string, body ProjectUpdateJSONRequestBody, ...) (*ProjectUpdateResponse, error)
- func (c *ClientWithResponses) ProjectsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProjectsListResponse, error)
- func (c *ClientWithResponses) RdnsClearWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RdnsClearResponse, error)
- func (c *ClientWithResponses) RdnsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*RdnsSetResponse, error)
- func (c *ClientWithResponses) RdnsSetWithResponse(ctx context.Context, id string, body RdnsSetJSONRequestBody, ...) (*RdnsSetResponse, error)
- func (c *ClientWithResponses) RegionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RegionsListResponse, error)
- func (c *ClientWithResponses) ResourcePricesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResourcePricesListResponse, error)
- func (c *ClientWithResponses) ServerActionCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerActionCreateResponse, error)
- func (c *ClientWithResponses) ServerActionCreateWithResponse(ctx context.Context, id string, body ServerActionCreateJSONRequestBody, ...) (*ServerActionCreateResponse, error)
- func (c *ClientWithResponses) ServerActionGetWithResponse(ctx context.Context, id string, actionId string, reqEditors ...RequestEditorFn) (*ServerActionGetResponse, error)
- func (c *ClientWithResponses) ServerAlertDeleteWithResponse(ctx context.Context, id string, metric ServerAlertDeleteParamsMetric, ...) (*ServerAlertDeleteResponse, error)
- func (c *ClientWithResponses) ServerAlertSaveWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerAlertSaveResponse, error)
- func (c *ClientWithResponses) ServerAlertSaveWithResponse(ctx context.Context, id string, body ServerAlertSaveJSONRequestBody, ...) (*ServerAlertSaveResponse, error)
- func (c *ClientWithResponses) ServerAlertsListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerAlertsListResponse, error)
- func (c *ClientWithResponses) ServerAppRetryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerAppRetryResponse, error)
- func (c *ClientWithResponses) ServerBackupCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerBackupCreateResponse, error)
- func (c *ClientWithResponses) ServerBackupCreateWithResponse(ctx context.Context, id string, body ServerBackupCreateJSONRequestBody, ...) (*ServerBackupCreateResponse, error)
- func (c *ClientWithResponses) ServerBackupDeleteWithResponse(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*ServerBackupDeleteResponse, error)
- func (c *ClientWithResponses) ServerBackupListAllWithResponse(ctx context.Context, params *ServerBackupListAllParams, ...) (*ServerBackupListAllResponse, error)
- func (c *ClientWithResponses) ServerBackupListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerBackupListResponse, error)
- func (c *ClientWithResponses) ServerBackupRestoreWithResponse(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*ServerBackupRestoreResponse, error)
- func (c *ClientWithResponses) ServerBackupSettingsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerBackupSettingsGetResponse, error)
- func (c *ClientWithResponses) ServerBackupSettingsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerBackupSettingsUpdateResponse, error)
- func (c *ClientWithResponses) ServerBackupSettingsUpdateWithResponse(ctx context.Context, id string, body ServerBackupSettingsUpdateJSONRequestBody, ...) (*ServerBackupSettingsUpdateResponse, error)
- func (c *ClientWithResponses) ServerBillingGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerBillingGetResponse, error)
- func (c *ClientWithResponses) ServerConsoleCreateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerConsoleCreateResponse, error)
- func (c *ClientWithResponses) ServerCreateWithBodyWithResponse(ctx context.Context, params *ServerCreateParams, contentType string, ...) (*ServerCreateResponse, error)
- func (c *ClientWithResponses) ServerCreateWithResponse(ctx context.Context, params *ServerCreateParams, ...) (*ServerCreateResponse, error)
- func (c *ClientWithResponses) ServerDeleteWithResponse(ctx context.Context, id string, params *ServerDeleteParams, ...) (*ServerDeleteResponse, error)
- func (c *ClientWithResponses) ServerDiskMetricsListWithResponse(ctx context.Context, id string, params *ServerDiskMetricsListParams, ...) (*ServerDiskMetricsListResponse, error)
- func (c *ClientWithResponses) ServerEventsListWithResponse(ctx context.Context, id string, params *ServerEventsListParams, ...) (*ServerEventsListResponse, error)
- func (c *ClientWithResponses) ServerFilesystemsListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerFilesystemsListResponse, error)
- func (c *ClientWithResponses) ServerGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerGetResponse, error)
- func (c *ClientWithResponses) ServerLedgerListWithResponse(ctx context.Context, id string, params *ServerLedgerListParams, ...) (*ServerLedgerListResponse, error)
- func (c *ClientWithResponses) ServerMetricsListWithResponse(ctx context.Context, id string, params *ServerMetricsListParams, ...) (*ServerMetricsListResponse, error)
- func (c *ClientWithResponses) ServerMountISOWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerMountISOResponse, error)
- func (c *ClientWithResponses) ServerMountISOWithResponse(ctx context.Context, id string, body ServerMountISOJSONRequestBody, ...) (*ServerMountISOResponse, error)
- func (c *ClientWithResponses) ServerNetworkAttachWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerNetworkAttachResponse, error)
- func (c *ClientWithResponses) ServerNetworkAttachWithResponse(ctx context.Context, id string, body ServerNetworkAttachJSONRequestBody, ...) (*ServerNetworkAttachResponse, error)
- func (c *ClientWithResponses) ServerNetworkDetachWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerNetworkDetachResponse, error)
- func (c *ClientWithResponses) ServerPasswordResetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerPasswordResetResponse, error)
- func (c *ClientWithResponses) ServerProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerProjectSetResponse, error)
- func (c *ClientWithResponses) ServerProjectSetWithResponse(ctx context.Context, id string, body ServerProjectSetJSONRequestBody, ...) (*ServerProjectSetResponse, error)
- func (c *ClientWithResponses) ServerRDNSListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerRDNSListResponse, error)
- func (c *ClientWithResponses) ServerRebuildWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerRebuildResponse, error)
- func (c *ClientWithResponses) ServerRebuildWithResponse(ctx context.Context, id string, body ServerRebuildJSONRequestBody, ...) (*ServerRebuildResponse, error)
- func (c *ClientWithResponses) ServerRenameWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerRenameResponse, error)
- func (c *ClientWithResponses) ServerRenameWithResponse(ctx context.Context, id string, body ServerRenameJSONRequestBody, ...) (*ServerRenameResponse, error)
- func (c *ClientWithResponses) ServerRescueEnterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerRescueEnterResponse, error)
- func (c *ClientWithResponses) ServerRescueExitWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerRescueExitResponse, error)
- func (c *ClientWithResponses) ServerResizeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerResizeResponse, error)
- func (c *ClientWithResponses) ServerResizeWithResponse(ctx context.Context, id string, body ServerResizeJSONRequestBody, ...) (*ServerResizeResponse, error)
- func (c *ClientWithResponses) ServerSnapshotCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerSnapshotCreateResponse, error)
- func (c *ClientWithResponses) ServerSnapshotCreateWithResponse(ctx context.Context, id string, body ServerSnapshotCreateJSONRequestBody, ...) (*ServerSnapshotCreateResponse, error)
- func (c *ClientWithResponses) ServerSnapshotDeleteWithResponse(ctx context.Context, id string, snapshotId string, ...) (*ServerSnapshotDeleteResponse, error)
- func (c *ClientWithResponses) ServerSnapshotListAllWithResponse(ctx context.Context, params *ServerSnapshotListAllParams, ...) (*ServerSnapshotListAllResponse, error)
- func (c *ClientWithResponses) ServerSnapshotListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerSnapshotListResponse, error)
- func (c *ClientWithResponses) ServerSnapshotRestoreWithResponse(ctx context.Context, id string, snapshotId string, ...) (*ServerSnapshotRestoreResponse, error)
- func (c *ClientWithResponses) ServerTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ServerTagsSetResponse, error)
- func (c *ClientWithResponses) ServerTagsSetWithResponse(ctx context.Context, id string, body ServerTagsSetJSONRequestBody, ...) (*ServerTagsSetResponse, error)
- func (c *ClientWithResponses) ServerUnmountISOWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerUnmountISOResponse, error)
- func (c *ClientWithResponses) ServersListWithResponse(ctx context.Context, params *ServersListParams, reqEditors ...RequestEditorFn) (*ServersListResponse, error)
- func (c *ClientWithResponses) SshKeyCreateWithBodyWithResponse(ctx context.Context, params *SshKeyCreateParams, contentType string, ...) (*SshKeyCreateResponse, error)
- func (c *ClientWithResponses) SshKeyCreateWithResponse(ctx context.Context, params *SshKeyCreateParams, ...) (*SshKeyCreateResponse, error)
- func (c *ClientWithResponses) SshKeyDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SshKeyDeleteResponse, error)
- func (c *ClientWithResponses) SshKeyGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SshKeyGetResponse, error)
- func (c *ClientWithResponses) SshKeysListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SshKeysListResponse, error)
- func (c *ClientWithResponses) TagsListWithResponse(ctx context.Context, params *TagsListParams, reqEditors ...RequestEditorFn) (*TagsListResponse, error)
- func (c *ClientWithResponses) TicketAttachmentDownloadWithResponse(ctx context.Context, code string, id int64, reqEditors ...RequestEditorFn) (*TicketAttachmentDownloadResponse, error)
- func (c *ClientWithResponses) TicketCloseWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*TicketCloseResponse, error)
- func (c *ClientWithResponses) TicketCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TicketCreateResponse, error)
- func (c *ClientWithResponses) TicketCreateWithResponse(ctx context.Context, body TicketCreateJSONRequestBody, ...) (*TicketCreateResponse, error)
- func (c *ClientWithResponses) TicketGetWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*TicketGetResponse, error)
- func (c *ClientWithResponses) TicketReopenWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*TicketReopenResponse, error)
- func (c *ClientWithResponses) TicketReplyWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, ...) (*TicketReplyResponse, error)
- func (c *ClientWithResponses) TicketReplyWithResponse(ctx context.Context, code string, body TicketReplyJSONRequestBody, ...) (*TicketReplyResponse, error)
- func (c *ClientWithResponses) TicketsListWithResponse(ctx context.Context, params *TicketsListParams, reqEditors ...RequestEditorFn) (*TicketsListResponse, error)
- func (c *ClientWithResponses) VolumeAttachWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*VolumeAttachResponse, error)
- func (c *ClientWithResponses) VolumeAttachWithResponse(ctx context.Context, id string, body VolumeAttachJSONRequestBody, ...) (*VolumeAttachResponse, error)
- func (c *ClientWithResponses) VolumeCreateWithBodyWithResponse(ctx context.Context, params *VolumeCreateParams, contentType string, ...) (*VolumeCreateResponse, error)
- func (c *ClientWithResponses) VolumeCreateWithResponse(ctx context.Context, params *VolumeCreateParams, ...) (*VolumeCreateResponse, error)
- func (c *ClientWithResponses) VolumeDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VolumeDeleteResponse, error)
- func (c *ClientWithResponses) VolumeDetachWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VolumeDetachResponse, error)
- func (c *ClientWithResponses) VolumeGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VolumeGetResponse, error)
- func (c *ClientWithResponses) VolumeLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VolumeLimitsResponse, error)
- func (c *ClientWithResponses) VolumeListWithResponse(ctx context.Context, params *VolumeListParams, reqEditors ...RequestEditorFn) (*VolumeListResponse, error)
- func (c *ClientWithResponses) VolumeProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*VolumeProjectSetResponse, error)
- func (c *ClientWithResponses) VolumeProjectSetWithResponse(ctx context.Context, id string, body VolumeProjectSetJSONRequestBody, ...) (*VolumeProjectSetResponse, error)
- func (c *ClientWithResponses) VolumeResizeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*VolumeResizeResponse, error)
- func (c *ClientWithResponses) VolumeResizeWithResponse(ctx context.Context, id string, body VolumeResizeJSONRequestBody, ...) (*VolumeResizeResponse, error)
- func (c *ClientWithResponses) VolumeTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*VolumeTagsSetResponse, error)
- func (c *ClientWithResponses) VolumeTagsSetWithResponse(ctx context.Context, id string, body VolumeTagsSetJSONRequestBody, ...) (*VolumeTagsSetResponse, error)
- func (c *ClientWithResponses) WalletGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WalletGetResponse, error)
- func (c *ClientWithResponses) WalletLedgerDailyWithResponse(ctx context.Context, params *WalletLedgerDailyParams, ...) (*WalletLedgerDailyResponse, error)
- func (c *ClientWithResponses) WalletLedgerListWithResponse(ctx context.Context, params *WalletLedgerListParams, ...) (*WalletLedgerListResponse, error)
- func (c *ClientWithResponses) WalletPromoRedeemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*WalletPromoRedeemResponse, error)
- func (c *ClientWithResponses) WalletPromoRedeemWithResponse(ctx context.Context, body WalletPromoRedeemJSONRequestBody, ...) (*WalletPromoRedeemResponse, error)
- func (c *ClientWithResponses) WalletPromoRedemptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WalletPromoRedemptionsResponse, error)
- type ClientWithResponsesInterface
- type CodeInputBody
- type ConnectedAppRevokeResponse
- type ConnectedAppsListResponse
- func (r ConnectedAppsListResponse) ContentType() string
- func (r ConnectedAppsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ConnectedAppsListResponse) GetBody() []byte
- func (r ConnectedAppsListResponse) GetJSON200() *GrantsOutputBody
- func (r ConnectedAppsListResponse) Status() string
- func (r ConnectedAppsListResponse) StatusCode() int
- type ConsentBody
- type ConsoleOutputBody
- type Cookie
- type CreateInputBody
- type CreateOutputBody
- type CustomerFeaturesOutputBody
- type CustomerQuotaBody
- type CustomerQuotaOutputBody
- type DatabaseAlertDeleteParamsMetric
- type DatabaseAlertDeleteResponse
- func (r DatabaseAlertDeleteResponse) ContentType() string
- func (r DatabaseAlertDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseAlertDeleteResponse) GetBody() []byte
- func (r DatabaseAlertDeleteResponse) Status() string
- func (r DatabaseAlertDeleteResponse) StatusCode() int
- type DatabaseAlertSaveJSONRequestBody
- type DatabaseAlertSaveResponse
- func (r DatabaseAlertSaveResponse) ContentType() string
- func (r DatabaseAlertSaveResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseAlertSaveResponse) GetBody() []byte
- func (r DatabaseAlertSaveResponse) GetJSON200() *AlertBody
- func (r DatabaseAlertSaveResponse) Status() string
- func (r DatabaseAlertSaveResponse) StatusCode() int
- type DatabaseAlertsListResponse
- func (r DatabaseAlertsListResponse) ContentType() string
- func (r DatabaseAlertsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseAlertsListResponse) GetBody() []byte
- func (r DatabaseAlertsListResponse) GetJSON200() *DbAlertsListOutputBody
- func (r DatabaseAlertsListResponse) Status() string
- func (r DatabaseAlertsListResponse) StatusCode() int
- type DatabaseBackupBody
- type DatabaseBackupBodyKind
- type DatabaseBackupBodyState
- type DatabaseBackupCreateResponse
- func (r DatabaseBackupCreateResponse) ContentType() string
- func (r DatabaseBackupCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseBackupCreateResponse) GetBody() []byte
- func (r DatabaseBackupCreateResponse) Status() string
- func (r DatabaseBackupCreateResponse) StatusCode() int
- type DatabaseBackupsListOutputBody
- type DatabaseBackupsListResponse
- func (r DatabaseBackupsListResponse) ContentType() string
- func (r DatabaseBackupsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseBackupsListResponse) GetBody() []byte
- func (r DatabaseBackupsListResponse) GetJSON200() *DatabaseBackupsListOutputBody
- func (r DatabaseBackupsListResponse) Status() string
- func (r DatabaseBackupsListResponse) StatusCode() int
- type DatabaseBody
- type DatabaseBodyEngine
- type DatabaseBodyState
- type DatabaseConnectionGetResponse
- func (r DatabaseConnectionGetResponse) ContentType() string
- func (r DatabaseConnectionGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseConnectionGetResponse) GetBody() []byte
- func (r DatabaseConnectionGetResponse) GetJSON200() *DatabaseConnectionOutputBody
- func (r DatabaseConnectionGetResponse) Status() string
- func (r DatabaseConnectionGetResponse) StatusCode() int
- type DatabaseConnectionOutputBody
- type DatabaseCreateInputBody
- type DatabaseCreateInputBodyEngine
- type DatabaseCreateJSONRequestBody
- type DatabaseCreateParams
- type DatabaseCreateResponse
- func (r DatabaseCreateResponse) ContentType() string
- func (r DatabaseCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseCreateResponse) GetBody() []byte
- func (r DatabaseCreateResponse) GetJSON202() *DatabaseBody
- func (r DatabaseCreateResponse) Status() string
- func (r DatabaseCreateResponse) StatusCode() int
- type DatabaseDbBody
- type DatabaseDbCreateInputBody
- type DatabaseDbCreateJSONRequestBody
- type DatabaseDbCreateResponse
- type DatabaseDeleteResponse
- type DatabaseEngineBody
- type DatabaseEngineBodyEngine
- type DatabaseGetOutputBody
- type DatabaseGetResponse
- func (r DatabaseGetResponse) ContentType() string
- func (r DatabaseGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseGetResponse) GetBody() []byte
- func (r DatabaseGetResponse) GetJSON200() *DatabaseGetOutputBody
- func (r DatabaseGetResponse) Status() string
- func (r DatabaseGetResponse) StatusCode() int
- type DatabaseMetricsListParams
- type DatabaseMetricsListParamsWindow
- type DatabaseMetricsListResponse
- func (r DatabaseMetricsListResponse) ContentType() string
- func (r DatabaseMetricsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseMetricsListResponse) GetBody() []byte
- func (r DatabaseMetricsListResponse) GetJSON200() *DbMetricsOutputBody
- func (r DatabaseMetricsListResponse) Status() string
- func (r DatabaseMetricsListResponse) StatusCode() int
- type DatabaseOptionsListResponse
- func (r DatabaseOptionsListResponse) ContentType() string
- func (r DatabaseOptionsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseOptionsListResponse) GetBody() []byte
- func (r DatabaseOptionsListResponse) GetJSON200() *DatabaseOptionsOutputBody
- func (r DatabaseOptionsListResponse) Status() string
- func (r DatabaseOptionsListResponse) StatusCode() int
- type DatabaseOptionsOutputBody
- type DatabasePlanBody
- type DatabaseProjectSetJSONRequestBody
- type DatabaseProjectSetResponse
- type DatabasePublicAccessInputBody
- type DatabasePublicAccessSetJSONRequestBody
- type DatabasePublicAccessSetResponse
- func (r DatabasePublicAccessSetResponse) ContentType() string
- func (r DatabasePublicAccessSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabasePublicAccessSetResponse) GetBody() []byte
- func (r DatabasePublicAccessSetResponse) Status() string
- func (r DatabasePublicAccessSetResponse) StatusCode() int
- type DatabaseResizeInputBody
- type DatabaseResizeJSONRequestBody
- type DatabaseResizeResponse
- type DatabaseRestoreCreateJSONRequestBody
- type DatabaseRestoreCreateResponse
- func (r DatabaseRestoreCreateResponse) ContentType() string
- func (r DatabaseRestoreCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseRestoreCreateResponse) GetBody() []byte
- func (r DatabaseRestoreCreateResponse) GetJSON202() *DatabaseBody
- func (r DatabaseRestoreCreateResponse) Status() string
- func (r DatabaseRestoreCreateResponse) StatusCode() int
- type DatabaseRestoreInputBody
- type DatabaseTagsSetJSONRequestBody
- type DatabaseTagsSetResponse
- func (r DatabaseTagsSetResponse) ContentType() string
- func (r DatabaseTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseTagsSetResponse) GetBody() []byte
- func (r DatabaseTagsSetResponse) GetJSON200() *TagsBody
- func (r DatabaseTagsSetResponse) Status() string
- func (r DatabaseTagsSetResponse) StatusCode() int
- type DatabaseTrustedSourceBody
- type DatabaseTrustedSourcesInputBody
- type DatabaseTrustedSourcesSetJSONRequestBody
- type DatabaseTrustedSourcesSetResponse
- func (r DatabaseTrustedSourcesSetResponse) ContentType() string
- func (r DatabaseTrustedSourcesSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseTrustedSourcesSetResponse) GetBody() []byte
- func (r DatabaseTrustedSourcesSetResponse) Status() string
- func (r DatabaseTrustedSourcesSetResponse) StatusCode() int
- type DatabaseUserBody
- type DatabaseUserCreateInputBody
- type DatabaseUserCreateJSONRequestBody
- type DatabaseUserCreateOutputBody
- type DatabaseUserCreateResponse
- func (r DatabaseUserCreateResponse) ContentType() string
- func (r DatabaseUserCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseUserCreateResponse) GetBody() []byte
- func (r DatabaseUserCreateResponse) GetJSON202() *DatabaseUserCreateOutputBody
- func (r DatabaseUserCreateResponse) Status() string
- func (r DatabaseUserCreateResponse) StatusCode() int
- type DatabaseUserDeleteResponse
- type DatabaseUserPasswordResetResponse
- func (r DatabaseUserPasswordResetResponse) ContentType() string
- func (r DatabaseUserPasswordResetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabaseUserPasswordResetResponse) GetBody() []byte
- func (r DatabaseUserPasswordResetResponse) GetJSON202() *DatabaseUserResetOutputBody
- func (r DatabaseUserPasswordResetResponse) Status() string
- func (r DatabaseUserPasswordResetResponse) StatusCode() int
- type DatabaseUserResetOutputBody
- type DatabasesListOutputBody
- type DatabasesListParams
- type DatabasesListResponse
- func (r DatabasesListResponse) ContentType() string
- func (r DatabasesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DatabasesListResponse) GetBody() []byte
- func (r DatabasesListResponse) GetJSON200() *DatabasesListOutputBody
- func (r DatabasesListResponse) Status() string
- func (r DatabasesListResponse) StatusCode() int
- type DbAlertSaveInputBody
- type DbAlertSaveInputBodyMetric
- type DbAlertsListOutputBody
- type DbMetricPointBody
- type DbMetricsOutputBody
- type DecisionInputBody
- type DecisionOutputBody
- type DeletionBlockersBody
- type DeletionRequestInputBody
- type DeletionRequestOutputBody
- type DeletionStateOutputBody
- type DiskMetricPointBody
- type DiskMetricsOutputBody
- type DnsRecordBody
- type DnsRecordCreateJSONRequestBody
- type DnsRecordCreateParams
- type DnsRecordCreateResponse
- func (r DnsRecordCreateResponse) ContentType() string
- func (r DnsRecordCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DnsRecordCreateResponse) GetBody() []byte
- func (r DnsRecordCreateResponse) GetJSON201() *DnsRecordBody
- func (r DnsRecordCreateResponse) Status() string
- func (r DnsRecordCreateResponse) StatusCode() int
- type DnsRecordDeleteResponse
- type DnsRecordUpdateJSONRequestBody
- type DnsRecordUpdateResponse
- func (r DnsRecordUpdateResponse) ContentType() string
- func (r DnsRecordUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DnsRecordUpdateResponse) GetBody() []byte
- func (r DnsRecordUpdateResponse) GetJSON200() *DnsRecordBody
- func (r DnsRecordUpdateResponse) Status() string
- func (r DnsRecordUpdateResponse) StatusCode() int
- type DnsZoneBody
- type DnsZoneCreateJSONRequestBody
- type DnsZoneCreateParams
- type DnsZoneCreateResponse
- func (r DnsZoneCreateResponse) ContentType() string
- func (r DnsZoneCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DnsZoneCreateResponse) GetBody() []byte
- func (r DnsZoneCreateResponse) GetJSON201() *ZoneDetailOutputBody
- func (r DnsZoneCreateResponse) Status() string
- func (r DnsZoneCreateResponse) StatusCode() int
- type DnsZoneDeleteResponse
- type DnsZoneGetResponse
- func (r DnsZoneGetResponse) ContentType() string
- func (r DnsZoneGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DnsZoneGetResponse) GetBody() []byte
- func (r DnsZoneGetResponse) GetJSON200() *ZoneDetailOutputBody
- func (r DnsZoneGetResponse) Status() string
- func (r DnsZoneGetResponse) StatusCode() int
- type DnsZoneProjectSetJSONRequestBody
- type DnsZoneProjectSetResponse
- type DnsZoneTagsSetJSONRequestBody
- type DnsZoneTagsSetResponse
- func (r DnsZoneTagsSetResponse) ContentType() string
- func (r DnsZoneTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DnsZoneTagsSetResponse) GetBody() []byte
- func (r DnsZoneTagsSetResponse) GetJSON200() *TagsBody
- func (r DnsZoneTagsSetResponse) Status() string
- func (r DnsZoneTagsSetResponse) StatusCode() int
- type DnsZonesListParams
- type DnsZonesListResponse
- func (r DnsZonesListResponse) ContentType() string
- func (r DnsZonesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DnsZonesListResponse) GetBody() []byte
- func (r DnsZonesListResponse) GetJSON200() *ZonesListOutputBody
- func (r DnsZonesListResponse) Status() string
- func (r DnsZonesListResponse) StatusCode() int
- type DomainAutoRenewInputBody
- type DomainAutoRenewSetJSONRequestBody
- type DomainAutoRenewSetResponse
- func (r DomainAutoRenewSetResponse) ContentType() string
- func (r DomainAutoRenewSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainAutoRenewSetResponse) GetBody() []byte
- func (r DomainAutoRenewSetResponse) GetJSON200() *DomainBody
- func (r DomainAutoRenewSetResponse) Status() string
- func (r DomainAutoRenewSetResponse) StatusCode() int
- type DomainBody
- type DomainBodyState
- type DomainContactBody
- type DomainContactBodyInput
- type DomainContactCreateJSONRequestBody
- type DomainContactCreateResponse
- func (r DomainContactCreateResponse) ContentType() string
- func (r DomainContactCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainContactCreateResponse) GetBody() []byte
- func (r DomainContactCreateResponse) GetJSON200() *DomainContactBody
- func (r DomainContactCreateResponse) Status() string
- func (r DomainContactCreateResponse) StatusCode() int
- type DomainContactDeleteResponse
- func (r DomainContactDeleteResponse) ContentType() string
- func (r DomainContactDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainContactDeleteResponse) GetBody() []byte
- func (r DomainContactDeleteResponse) Status() string
- func (r DomainContactDeleteResponse) StatusCode() int
- type DomainContactSuggestOutputBody
- type DomainContactSuggestResponse
- func (r DomainContactSuggestResponse) ContentType() string
- func (r DomainContactSuggestResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainContactSuggestResponse) GetBody() []byte
- func (r DomainContactSuggestResponse) GetJSON200() *DomainContactSuggestOutputBody
- func (r DomainContactSuggestResponse) Status() string
- func (r DomainContactSuggestResponse) StatusCode() int
- type DomainContactUpdateJSONRequestBody
- type DomainContactUpdateResponse
- func (r DomainContactUpdateResponse) ContentType() string
- func (r DomainContactUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainContactUpdateResponse) GetBody() []byte
- func (r DomainContactUpdateResponse) GetJSON200() *DomainContactBody
- func (r DomainContactUpdateResponse) Status() string
- func (r DomainContactUpdateResponse) StatusCode() int
- type DomainContactsListResponse
- func (r DomainContactsListResponse) ContentType() string
- func (r DomainContactsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainContactsListResponse) GetBody() []byte
- func (r DomainContactsListResponse) GetJSON200() *DomainContactsOutputBody
- func (r DomainContactsListResponse) Status() string
- func (r DomainContactsListResponse) StatusCode() int
- type DomainContactsOutputBody
- type DomainEventBody
- type DomainFlagInputBody
- type DomainGetOutputBody
- type DomainGetResponse
- func (r DomainGetResponse) ContentType() string
- func (r DomainGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainGetResponse) GetBody() []byte
- func (r DomainGetResponse) GetJSON200() *DomainGetOutputBody
- func (r DomainGetResponse) Status() string
- func (r DomainGetResponse) StatusCode() int
- type DomainLockSetJSONRequestBody
- type DomainLockSetResponse
- func (r DomainLockSetResponse) ContentType() string
- func (r DomainLockSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainLockSetResponse) GetBody() []byte
- func (r DomainLockSetResponse) GetJSON200() *DomainBody
- func (r DomainLockSetResponse) Status() string
- func (r DomainLockSetResponse) StatusCode() int
- type DomainNameserversInputBody
- type DomainNameserversSetJSONRequestBody
- type DomainNameserversSetResponse
- func (r DomainNameserversSetResponse) ContentType() string
- func (r DomainNameserversSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainNameserversSetResponse) GetBody() []byte
- func (r DomainNameserversSetResponse) GetJSON200() *DomainBody
- func (r DomainNameserversSetResponse) Status() string
- func (r DomainNameserversSetResponse) StatusCode() int
- type DomainOutputBody
- type DomainPrivacySetJSONRequestBody
- type DomainPrivacySetResponse
- func (r DomainPrivacySetResponse) ContentType() string
- func (r DomainPrivacySetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainPrivacySetResponse) GetBody() []byte
- func (r DomainPrivacySetResponse) GetJSON200() *DomainBody
- func (r DomainPrivacySetResponse) Status() string
- func (r DomainPrivacySetResponse) StatusCode() int
- type DomainProjectSetJSONRequestBody
- type DomainProjectSetResponse
- type DomainRegisterInputBody
- type DomainRegisterJSONRequestBody
- type DomainRegisterParams
- type DomainRegisterResponse
- func (r DomainRegisterResponse) ContentType() string
- func (r DomainRegisterResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainRegisterResponse) GetBody() []byte
- func (r DomainRegisterResponse) GetJSON200() *DomainOutputBody
- func (r DomainRegisterResponse) Status() string
- func (r DomainRegisterResponse) StatusCode() int
- type DomainRenewInputBody
- type DomainRenewJSONRequestBody
- type DomainRenewResponse
- func (r DomainRenewResponse) ContentType() string
- func (r DomainRenewResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainRenewResponse) GetBody() []byte
- func (r DomainRenewResponse) GetJSON200() *DomainOutputBody
- func (r DomainRenewResponse) Status() string
- func (r DomainRenewResponse) StatusCode() int
- type DomainSearchCandidateBody
- type DomainSearchCandidateBodyStatus
- type DomainSearchInputBody
- type DomainSearchJSONRequestBody
- type DomainSearchOutputBody
- type DomainSearchResponse
- func (r DomainSearchResponse) ContentType() string
- func (r DomainSearchResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainSearchResponse) GetBody() []byte
- func (r DomainSearchResponse) GetJSON200() *DomainSearchOutputBody
- func (r DomainSearchResponse) Status() string
- func (r DomainSearchResponse) StatusCode() int
- type DomainTLDBody
- type DomainTLDsOutputBody
- type DomainTagsSetJSONRequestBody
- type DomainTagsSetResponse
- func (r DomainTagsSetResponse) ContentType() string
- func (r DomainTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainTagsSetResponse) GetBody() []byte
- func (r DomainTagsSetResponse) GetJSON200() *TagsBody
- func (r DomainTagsSetResponse) Status() string
- func (r DomainTagsSetResponse) StatusCode() int
- type DomainTldsListResponse
- func (r DomainTldsListResponse) ContentType() string
- func (r DomainTldsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainTldsListResponse) GetBody() []byte
- func (r DomainTldsListResponse) GetJSON200() *DomainTLDsOutputBody
- func (r DomainTldsListResponse) Status() string
- func (r DomainTldsListResponse) StatusCode() int
- type DomainTransferInputBody
- type DomainTransferJSONRequestBody
- type DomainTransferResponse
- func (r DomainTransferResponse) ContentType() string
- func (r DomainTransferResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainTransferResponse) GetBody() []byte
- func (r DomainTransferResponse) GetJSON200() *DomainOutputBody
- func (r DomainTransferResponse) Status() string
- func (r DomainTransferResponse) StatusCode() int
- type DomainsListOutputBody
- type DomainsListParams
- type DomainsListResponse
- func (r DomainsListResponse) ContentType() string
- func (r DomainsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r DomainsListResponse) GetBody() []byte
- func (r DomainsListResponse) GetJSON200() *DomainsListOutputBody
- func (r DomainsListResponse) Status() string
- func (r DomainsListResponse) StatusCode() int
- type EmailChangeConfirmInputBody
- type EmailChangeConfirmOutputBody
- type EmailChangeInputBody
- type EnvVarBody
- type EnvVarBodyPhase
- type ErrorDetail
- type ErrorModel
- type EventBody
- type EventsOutputBody
- type ExecStartInputBody
- type ExecStartInputBodyKind
- type ExecStartOutputBody
- type ExportAccountSummaryRow
- type ExportUserBillingProfilesRow
- type ExportUserIdentitiesRow
- type ExportUserOrganizationsRow
- type ExportUserPaymentsRow
- type ExportUserResourcesRow
- type ExportUserSSHKeysRow
- type ExportUserTicketsRow
- type FeatureBody
- type FeatureBodyStage
- type FilesystemBody
- type FilesystemsOutputBody
- type FirewallBody
- type FirewallCreateInputBody
- type FirewallCreateJSONRequestBody
- type FirewallCreateParams
- type FirewallCreateResponse
- func (r FirewallCreateResponse) ContentType() string
- func (r FirewallCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r FirewallCreateResponse) GetBody() []byte
- func (r FirewallCreateResponse) GetJSON201() *FirewallBody
- func (r FirewallCreateResponse) Status() string
- func (r FirewallCreateResponse) StatusCode() int
- type FirewallDeleteResponse
- type FirewallGetOutputBody
- type FirewallGetResponse
- func (r FirewallGetResponse) ContentType() string
- func (r FirewallGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r FirewallGetResponse) GetBody() []byte
- func (r FirewallGetResponse) GetJSON200() *FirewallGetOutputBody
- func (r FirewallGetResponse) Status() string
- func (r FirewallGetResponse) StatusCode() int
- type FirewallRuleBody
- type FirewallRuleBodyDirection
- type FirewallRuleBodyProtocol
- type FirewallRulesPutInputBody
- type FirewallRulesReplaceJSONRequestBody
- type FirewallRulesReplaceResponse
- func (r FirewallRulesReplaceResponse) ContentType() string
- func (r FirewallRulesReplaceResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r FirewallRulesReplaceResponse) GetBody() []byte
- func (r FirewallRulesReplaceResponse) Status() string
- func (r FirewallRulesReplaceResponse) StatusCode() int
- type FirewallServerAttachResponse
- func (r FirewallServerAttachResponse) ContentType() string
- func (r FirewallServerAttachResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r FirewallServerAttachResponse) GetBody() []byte
- func (r FirewallServerAttachResponse) Status() string
- func (r FirewallServerAttachResponse) StatusCode() int
- type FirewallServerBody
- type FirewallServerDetachResponse
- func (r FirewallServerDetachResponse) ContentType() string
- func (r FirewallServerDetachResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r FirewallServerDetachResponse) GetBody() []byte
- func (r FirewallServerDetachResponse) Status() string
- func (r FirewallServerDetachResponse) StatusCode() int
- type FirewallUpdateInputBody
- type FirewallUpdateJSONRequestBody
- type FirewallUpdateResponse
- type FirewallsListOutputBody
- type FirewallsListParams
- type FirewallsListResponse
- func (r FirewallsListResponse) ContentType() string
- func (r FirewallsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r FirewallsListResponse) GetBody() []byte
- func (r FirewallsListResponse) GetJSON200() *FirewallsListOutputBody
- func (r FirewallsListResponse) Status() string
- func (r FirewallsListResponse) StatusCode() int
- type FloatingIPBody
- type FloatingIPBodyState
- type FloatingIPServerRef
- type FloatingIpAttachInputBody
- type FloatingIpAttachJSONRequestBody
- type FloatingIpAttachResponse
- type FloatingIpCreateInputBody
- type FloatingIpCreateJSONRequestBody
- type FloatingIpCreateParams
- type FloatingIpCreateResponse
- func (r FloatingIpCreateResponse) ContentType() string
- func (r FloatingIpCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r FloatingIpCreateResponse) GetBody() []byte
- func (r FloatingIpCreateResponse) GetJSON201() *FloatingIPBody
- func (r FloatingIpCreateResponse) Status() string
- func (r FloatingIpCreateResponse) StatusCode() int
- type FloatingIpDeleteResponse
- type FloatingIpDetachResponse
- type FloatingIpGetResponse
- func (r FloatingIpGetResponse) ContentType() string
- func (r FloatingIpGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r FloatingIpGetResponse) GetBody() []byte
- func (r FloatingIpGetResponse) GetJSON200() *FloatingIPBody
- func (r FloatingIpGetResponse) Status() string
- func (r FloatingIpGetResponse) StatusCode() int
- type FloatingIpsListOutputBody
- type FloatingIpsListResponse
- func (r FloatingIpsListResponse) ContentType() string
- func (r FloatingIpsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r FloatingIpsListResponse) GetBody() []byte
- func (r FloatingIpsListResponse) GetJSON200() *FloatingIpsListOutputBody
- func (r FloatingIpsListResponse) Status() string
- func (r FloatingIpsListResponse) StatusCode() int
- type FxOutputBody
- type FxRateResponse
- type GitConnectionBody
- type GitConnectionDeleteResponse
- func (r GitConnectionDeleteResponse) ContentType() string
- func (r GitConnectionDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GitConnectionDeleteResponse) GetBody() []byte
- func (r GitConnectionDeleteResponse) Status() string
- func (r GitConnectionDeleteResponse) StatusCode() int
- type GitConnectionsListOutputBody
- type GitConnectionsListResponse
- func (r GitConnectionsListResponse) ContentType() string
- func (r GitConnectionsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GitConnectionsListResponse) GetBody() []byte
- func (r GitConnectionsListResponse) GetJSON200() *GitConnectionsListOutputBody
- func (r GitConnectionsListResponse) Status() string
- func (r GitConnectionsListResponse) StatusCode() int
- type GitInstallCallbackParams
- type GitInstallCallbackParamsProvider
- type GitInstallCallbackResponse
- type GitInstallCallbackResponse302Headers
- type GitInstallSetupParams
- type GitInstallSetupParamsProvider
- type GitInstallSetupResponse
- type GitInstallSetupResponse302Headers
- type GitInstallStartParamsProvider
- type GitInstallStartResponse
- type GitInstallStartResponse302Headers
- type GitProvidersListResponse
- func (r GitProvidersListResponse) ContentType() string
- func (r GitProvidersListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GitProvidersListResponse) GetBody() []byte
- func (r GitProvidersListResponse) GetJSON200() *GitProvidersOutputBody
- func (r GitProvidersListResponse) Status() string
- func (r GitProvidersListResponse) StatusCode() int
- type GitProvidersOutputBody
- type GitRepositoriesListResponse
- func (r GitRepositoriesListResponse) ContentType() string
- func (r GitRepositoriesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r GitRepositoriesListResponse) GetBody() []byte
- func (r GitRepositoriesListResponse) GetJSON200() *GitRepositoriesOutputBody
- func (r GitRepositoriesListResponse) Status() string
- func (r GitRepositoriesListResponse) StatusCode() int
- type GitRepositoriesOutputBody
- type GitRepositoryBody
- type GrantBody
- type GrantsOutputBody
- type HttpRequestDoer
- type IdentitiesOutputBody
- type IdentityItem
- type ImageBody
- type ImagePackageBody
- type ImageSnapshot
- type ImagesListParams
- type ImagesListParamsKind
- type ImagesListResponse
- func (r ImagesListResponse) ContentType() string
- func (r ImagesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ImagesListResponse) GetBody() []byte
- func (r ImagesListResponse) GetJSON200() *ImagesOutputBody
- func (r ImagesListResponse) Status() string
- func (r ImagesListResponse) StatusCode() int
- type ImagesOutputBody
- type ImpersonateInputBody
- type ImpersonateOutputBody
- type ImpersonationBody
- type ImpersonationBodyMode
- type IntentBody
- type IntentsOutputBody
- type IsoBody
- type IsoBodyStatus
- type IsoCreateInputBody
- type IsoCreateInputBodySourceType
- type IsoCreateJSONRequestBody
- type IsoCreateOutputBody
- type IsoCreateParams
- type IsoCreateResponse
- func (r IsoCreateResponse) ContentType() string
- func (r IsoCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r IsoCreateResponse) GetBody() []byte
- func (r IsoCreateResponse) GetJSON200() *IsoCreateOutputBody
- func (r IsoCreateResponse) Status() string
- func (r IsoCreateResponse) StatusCode() int
- type IsoDeleteResponse
- type IsoGetOutputBody
- type IsoGetResponse
- type IsoListOutputBody
- type IsoListResponse
- type Item
- type KeyCreateInputBody
- type KeyListOutputBody
- type LedgerDailyOutputBody
- type LedgerDayBody
- type LedgerEntryBody
- type LedgerOutputBody
- type LedgerSummary
- type ListOutputBody
- type ListSummary
- type LoadBalancerBackendBody
- type LoadBalancerBackendBodyHealth
- type LoadBalancerBackendsPutInputBody
- type LoadBalancerBackendsSetJSONRequestBody
- type LoadBalancerBackendsSetResponse
- func (r LoadBalancerBackendsSetResponse) ContentType() string
- func (r LoadBalancerBackendsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r LoadBalancerBackendsSetResponse) GetBody() []byte
- func (r LoadBalancerBackendsSetResponse) Status() string
- func (r LoadBalancerBackendsSetResponse) StatusCode() int
- type LoadBalancerBody
- type LoadBalancerBodyAlgorithm
- type LoadBalancerBodyState
- type LoadBalancerCreateInputBody
- type LoadBalancerCreateInputBodyAlgorithm
- type LoadBalancerCreateJSONRequestBody
- type LoadBalancerCreateParams
- type LoadBalancerCreateResponse
- func (r LoadBalancerCreateResponse) ContentType() string
- func (r LoadBalancerCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r LoadBalancerCreateResponse) GetBody() []byte
- func (r LoadBalancerCreateResponse) GetJSON202() *LoadBalancerBody
- func (r LoadBalancerCreateResponse) Status() string
- func (r LoadBalancerCreateResponse) StatusCode() int
- type LoadBalancerDeleteResponse
- type LoadBalancerGetOutputBody
- type LoadBalancerGetResponse
- func (r LoadBalancerGetResponse) ContentType() string
- func (r LoadBalancerGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r LoadBalancerGetResponse) GetBody() []byte
- func (r LoadBalancerGetResponse) GetJSON200() *LoadBalancerGetOutputBody
- func (r LoadBalancerGetResponse) Status() string
- func (r LoadBalancerGetResponse) StatusCode() int
- type LoadBalancerHealthCheckBody
- type LoadBalancerHealthCheckBodyProtocol
- type LoadBalancerProjectSetJSONRequestBody
- type LoadBalancerProjectSetResponse
- func (r LoadBalancerProjectSetResponse) ContentType() string
- func (r LoadBalancerProjectSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r LoadBalancerProjectSetResponse) GetBody() []byte
- func (r LoadBalancerProjectSetResponse) Status() string
- func (r LoadBalancerProjectSetResponse) StatusCode() int
- type LoadBalancerRuleBody
- type LoadBalancerRuleBodyProtocol
- type LoadBalancerRulesPutInputBody
- type LoadBalancerRulesPutInputBodyAlgorithm
- type LoadBalancerRulesReplaceJSONRequestBody
- type LoadBalancerRulesReplaceResponse
- func (r LoadBalancerRulesReplaceResponse) ContentType() string
- func (r LoadBalancerRulesReplaceResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r LoadBalancerRulesReplaceResponse) GetBody() []byte
- func (r LoadBalancerRulesReplaceResponse) Status() string
- func (r LoadBalancerRulesReplaceResponse) StatusCode() int
- type LoadBalancerTagsSetJSONRequestBody
- type LoadBalancerTagsSetResponse
- func (r LoadBalancerTagsSetResponse) ContentType() string
- func (r LoadBalancerTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r LoadBalancerTagsSetResponse) GetBody() []byte
- func (r LoadBalancerTagsSetResponse) GetJSON200() *TagsBody
- func (r LoadBalancerTagsSetResponse) Status() string
- func (r LoadBalancerTagsSetResponse) StatusCode() int
- type LoadBalancersListOutputBody
- type LoadBalancersListParams
- type LoadBalancersListResponse
- func (r LoadBalancersListResponse) ContentType() string
- func (r LoadBalancersListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r LoadBalancersListResponse) GetBody() []byte
- func (r LoadBalancersListResponse) GetJSON200() *LoadBalancersListOutputBody
- func (r LoadBalancersListResponse) Status() string
- func (r LoadBalancersListResponse) StatusCode() int
- type LogRequestBody
- type LogRequestInputBody
- type LoginInputBody
- type LoginResponse
- type MetricPointBody
- type MetricsOutputBody
- type MfaVerifyInputBody
- type NetAttachInputBody
- type NetworkBody
- type NetworkBodyState
- type NetworkCreateInputBody
- type NetworkCreateJSONRequestBody
- type NetworkCreateParams
- type NetworkCreateResponse
- func (r NetworkCreateResponse) ContentType() string
- func (r NetworkCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r NetworkCreateResponse) GetBody() []byte
- func (r NetworkCreateResponse) GetJSON201() *NetworkBody
- func (r NetworkCreateResponse) Status() string
- func (r NetworkCreateResponse) StatusCode() int
- type NetworkDeleteResponse
- type NetworkGetOutputBody
- type NetworkGetResponse
- func (r NetworkGetResponse) ContentType() string
- func (r NetworkGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r NetworkGetResponse) GetBody() []byte
- func (r NetworkGetResponse) GetJSON200() *NetworkGetOutputBody
- func (r NetworkGetResponse) Status() string
- func (r NetworkGetResponse) StatusCode() int
- type NetworkMemberBody
- type NetworkProjectSetJSONRequestBody
- type NetworkProjectSetResponse
- type NetworkTagsSetJSONRequestBody
- type NetworkTagsSetResponse
- func (r NetworkTagsSetResponse) ContentType() string
- func (r NetworkTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r NetworkTagsSetResponse) GetBody() []byte
- func (r NetworkTagsSetResponse) GetJSON200() *TagsBody
- func (r NetworkTagsSetResponse) Status() string
- func (r NetworkTagsSetResponse) StatusCode() int
- type NetworksListOutputBody
- type NetworksListParams
- type NetworksListResponse
- func (r NetworksListResponse) ContentType() string
- func (r NetworksListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r NetworksListResponse) GetBody() []byte
- func (r NetworksListResponse) GetJSON200() *NetworksListOutputBody
- func (r NetworksListResponse) Status() string
- func (r NetworksListResponse) StatusCode() int
- type NotificationBody
- type NotificationBodySeverity
- type NotificationDeleteResponse
- type NotificationsListOutputBody
- type NotificationsListParams
- type NotificationsListResponse
- func (r NotificationsListResponse) ContentType() string
- func (r NotificationsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r NotificationsListResponse) GetBody() []byte
- func (r NotificationsListResponse) GetJSON200() *NotificationsListOutputBody
- func (r NotificationsListResponse) Status() string
- func (r NotificationsListResponse) StatusCode() int
- type NotificationsMarkReadJSONRequestBody
- type NotificationsMarkReadResponse
- func (r NotificationsMarkReadResponse) ContentType() string
- func (r NotificationsMarkReadResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r NotificationsMarkReadResponse) GetBody() []byte
- func (r NotificationsMarkReadResponse) GetJSON200() *NotificationsReadOutputBody
- func (r NotificationsMarkReadResponse) Status() string
- func (r NotificationsMarkReadResponse) StatusCode() int
- type NotificationsReadInputBody
- type NotificationsReadOutputBody
- type OauthConsentDecideJSONRequestBody
- type OauthConsentDecideResponse
- func (r OauthConsentDecideResponse) ContentType() string
- func (r OauthConsentDecideResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OauthConsentDecideResponse) GetBody() []byte
- func (r OauthConsentDecideResponse) GetJSON200() *DecisionOutputBody
- func (r OauthConsentDecideResponse) Status() string
- func (r OauthConsentDecideResponse) StatusCode() int
- type OauthConsentGetResponse
- func (r OauthConsentGetResponse) ContentType() string
- func (r OauthConsentGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OauthConsentGetResponse) GetBody() []byte
- func (r OauthConsentGetResponse) GetJSON200() *ConsentBody
- func (r OauthConsentGetResponse) Status() string
- func (r OauthConsentGetResponse) StatusCode() int
- type OnboardingOrganizationCreateJSONRequestBody
- type OnboardingOrganizationCreateResponse
- func (r OnboardingOrganizationCreateResponse) ContentType() string
- func (r OnboardingOrganizationCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OnboardingOrganizationCreateResponse) GetBody() []byte
- func (r OnboardingOrganizationCreateResponse) GetJSON200() *UserBody
- func (r OnboardingOrganizationCreateResponse) Status() string
- func (r OnboardingOrganizationCreateResponse) StatusCode() int
- type OrganizationBody
- type OrganizationCreateInputBody
- type OrganizationCreateInputBodyIndustry
- type OrganizationDetail
- type OrganizationInputBody
- type OrganizationInputBodyAccountType
- type OrganizationInputBodyIndustry
- type OrganizationInvitationAcceptResponse
- func (r OrganizationInvitationAcceptResponse) ContentType() string
- func (r OrganizationInvitationAcceptResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationInvitationAcceptResponse) GetBody() []byte
- func (r OrganizationInvitationAcceptResponse) Status() string
- func (r OrganizationInvitationAcceptResponse) StatusCode() int
- type OrganizationInvitationGetResponse
- func (r OrganizationInvitationGetResponse) ContentType() string
- func (r OrganizationInvitationGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationInvitationGetResponse) GetBody() []byte
- func (r OrganizationInvitationGetResponse) GetJSON200() *PublicInvitationOutputBody
- func (r OrganizationInvitationGetResponse) Status() string
- func (r OrganizationInvitationGetResponse) StatusCode() int
- type OrganizationInvitationsCreateJSONRequestBody
- type OrganizationInvitationsCreateResponse
- func (r OrganizationInvitationsCreateResponse) ContentType() string
- func (r OrganizationInvitationsCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationInvitationsCreateResponse) GetBody() []byte
- func (r OrganizationInvitationsCreateResponse) GetJSON200() *OrganizationInviteOutputBody
- func (r OrganizationInvitationsCreateResponse) Status() string
- func (r OrganizationInvitationsCreateResponse) StatusCode() int
- type OrganizationInvitationsListResponse
- func (r OrganizationInvitationsListResponse) ContentType() string
- func (r OrganizationInvitationsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationInvitationsListResponse) GetBody() []byte
- func (r OrganizationInvitationsListResponse) GetJSON200() *OrganizationInvitationsOutputBody
- func (r OrganizationInvitationsListResponse) Status() string
- func (r OrganizationInvitationsListResponse) StatusCode() int
- type OrganizationInvitationsOutputBody
- type OrganizationInvitationsRevokeResponse
- func (r OrganizationInvitationsRevokeResponse) ContentType() string
- func (r OrganizationInvitationsRevokeResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationInvitationsRevokeResponse) GetBody() []byte
- func (r OrganizationInvitationsRevokeResponse) Status() string
- func (r OrganizationInvitationsRevokeResponse) StatusCode() int
- type OrganizationInviteInputBody
- type OrganizationInviteInputBodyRole
- type OrganizationInviteOutputBody
- type OrganizationItem
- type OrganizationItemAccountType
- type OrganizationMemberItem
- type OrganizationMemberRoleUpdateJSONRequestBody
- type OrganizationMemberRoleUpdateResponse
- func (r OrganizationMemberRoleUpdateResponse) ContentType() string
- func (r OrganizationMemberRoleUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationMemberRoleUpdateResponse) GetBody() []byte
- func (r OrganizationMemberRoleUpdateResponse) Status() string
- func (r OrganizationMemberRoleUpdateResponse) StatusCode() int
- type OrganizationMembersListResponse
- func (r OrganizationMembersListResponse) ContentType() string
- func (r OrganizationMembersListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationMembersListResponse) GetBody() []byte
- func (r OrganizationMembersListResponse) GetJSON200() *OrganizationMembersOutputBody
- func (r OrganizationMembersListResponse) Status() string
- func (r OrganizationMembersListResponse) StatusCode() int
- type OrganizationMembersOutputBody
- type OrganizationMembersRemoveResponse
- func (r OrganizationMembersRemoveResponse) ContentType() string
- func (r OrganizationMembersRemoveResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationMembersRemoveResponse) GetBody() []byte
- func (r OrganizationMembersRemoveResponse) Status() string
- func (r OrganizationMembersRemoveResponse) StatusCode() int
- type OrganizationRenameInputBody
- type OrganizationRoleInputBody
- type OrganizationRoleInputBodyRole
- type OrganizationsActivateResponse
- func (r OrganizationsActivateResponse) ContentType() string
- func (r OrganizationsActivateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationsActivateResponse) GetBody() []byte
- func (r OrganizationsActivateResponse) Status() string
- func (r OrganizationsActivateResponse) StatusCode() int
- type OrganizationsCreateJSONRequestBody
- type OrganizationsCreateResponse
- func (r OrganizationsCreateResponse) ContentType() string
- func (r OrganizationsCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationsCreateResponse) GetBody() []byte
- func (r OrganizationsCreateResponse) GetJSON200() *OrganizationItem
- func (r OrganizationsCreateResponse) Status() string
- func (r OrganizationsCreateResponse) StatusCode() int
- type OrganizationsDeleteResponse
- func (r OrganizationsDeleteResponse) ContentType() string
- func (r OrganizationsDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationsDeleteResponse) GetBody() []byte
- func (r OrganizationsDeleteResponse) Status() string
- func (r OrganizationsDeleteResponse) StatusCode() int
- type OrganizationsGetResponse
- func (r OrganizationsGetResponse) ContentType() string
- func (r OrganizationsGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationsGetResponse) GetBody() []byte
- func (r OrganizationsGetResponse) GetJSON200() *OrganizationDetail
- func (r OrganizationsGetResponse) Status() string
- func (r OrganizationsGetResponse) StatusCode() int
- type OrganizationsLeaveResponse
- type OrganizationsListOutputBody
- type OrganizationsListResponse
- func (r OrganizationsListResponse) ContentType() string
- func (r OrganizationsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationsListResponse) GetBody() []byte
- func (r OrganizationsListResponse) GetJSON200() *OrganizationsListOutputBody
- func (r OrganizationsListResponse) Status() string
- func (r OrganizationsListResponse) StatusCode() int
- type OrganizationsRenameJSONRequestBody
- type OrganizationsRenameResponse
- func (r OrganizationsRenameResponse) ContentType() string
- func (r OrganizationsRenameResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r OrganizationsRenameResponse) GetBody() []byte
- func (r OrganizationsRenameResponse) Status() string
- func (r OrganizationsRenameResponse) StatusCode() int
- type PasswordChangeInputBody
- type PasswordResetOutputBody
- type PaymentIntentsListResponse
- func (r PaymentIntentsListResponse) ContentType() string
- func (r PaymentIntentsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PaymentIntentsListResponse) GetBody() []byte
- func (r PaymentIntentsListResponse) GetJSON200() *IntentsOutputBody
- func (r PaymentIntentsListResponse) Status() string
- func (r PaymentIntentsListResponse) StatusCode() int
- type PaymentTopupInitJSONRequestBody
- type PaymentTopupInitParams
- type PaymentTopupInitResponse
- func (r PaymentTopupInitResponse) ContentType() string
- func (r PaymentTopupInitResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PaymentTopupInitResponse) GetBody() []byte
- func (r PaymentTopupInitResponse) GetJSON202() *TopupOutputBody
- func (r PaymentTopupInitResponse) Status() string
- func (r PaymentTopupInitResponse) StatusCode() int
- type PhoneStartInputBody
- type PhoneStatusBody
- type PhoneVerifyInputBody
- type PlanBody
- type PlanSnapshot
- type PlanTypeBody
- type PlanTypesListResponse
- func (r PlanTypesListResponse) ContentType() string
- func (r PlanTypesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlanTypesListResponse) GetBody() []byte
- func (r PlanTypesListResponse) GetJSON200() *PlanTypesOutputBody
- func (r PlanTypesListResponse) Status() string
- func (r PlanTypesListResponse) StatusCode() int
- type PlanTypesOutputBody
- type PlansListParams
- type PlansListParamsKind
- type PlansListResponse
- func (r PlansListResponse) ContentType() string
- func (r PlansListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r PlansListResponse) GetBody() []byte
- func (r PlansListResponse) GetJSON200() *SizesOutputBody
- func (r PlansListResponse) Status() string
- func (r PlansListResponse) StatusCode() int
- type ProfileBody
- type ProfileBodyKind
- type ProjectAssignmentBody
- type ProjectBody
- type ProjectCreateInputBody
- type ProjectCreateJSONRequestBody
- type ProjectCreateParams
- type ProjectCreateResponse
- func (r ProjectCreateResponse) ContentType() string
- func (r ProjectCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ProjectCreateResponse) GetBody() []byte
- func (r ProjectCreateResponse) GetJSON201() *ProjectBody
- func (r ProjectCreateResponse) Status() string
- func (r ProjectCreateResponse) StatusCode() int
- type ProjectDeleteResponse
- type ProjectGetResponse
- func (r ProjectGetResponse) ContentType() string
- func (r ProjectGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ProjectGetResponse) GetBody() []byte
- func (r ProjectGetResponse) GetJSON200() *ProjectBody
- func (r ProjectGetResponse) Status() string
- func (r ProjectGetResponse) StatusCode() int
- type ProjectUpdateInputBody
- type ProjectUpdateJSONRequestBody
- type ProjectUpdateResponse
- type ProjectsListOutputBody
- type ProjectsListResponse
- func (r ProjectsListResponse) ContentType() string
- func (r ProjectsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ProjectsListResponse) GetBody() []byte
- func (r ProjectsListResponse) GetJSON200() *ProjectsListOutputBody
- func (r ProjectsListResponse) Status() string
- func (r ProjectsListResponse) StatusCode() int
- type PromoRedeemBody
- type PromoRedeemOutputBody
- type PromoRedemptionBody
- type PromoRedemptionsOutputBody
- type ProvidersOutputBody
- type PublicInvitationOutputBody
- type RdnsClearResponse
- type RdnsEntryBody
- type RdnsEntryOutputBody
- type RdnsListOutputBody
- type RdnsSetInputBody
- type RdnsSetJSONRequestBody
- type RdnsSetResponse
- func (r RdnsSetResponse) ContentType() string
- func (r RdnsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r RdnsSetResponse) GetBody() []byte
- func (r RdnsSetResponse) GetJSON200() *RdnsEntryOutputBody
- func (r RdnsSetResponse) Status() string
- func (r RdnsSetResponse) StatusCode() int
- type RebuildInputBody
- type RebuildOutputBody
- type RecordCreateInputBody
- type RecordUpdateInputBody
- type RecoveryCodesOutputBody
- type RegionBody
- type RegionRef
- type RegionsListResponse
- func (r RegionsListResponse) ContentType() string
- func (r RegionsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r RegionsListResponse) GetBody() []byte
- func (r RegionsListResponse) GetJSON200() *RegionsOutputBody
- func (r RegionsListResponse) Status() string
- func (r RegionsListResponse) StatusCode() int
- type RegionsOutputBody
- type RegisterInputBody
- type RegisterInputBodyLocale
- type ReleaseBody
- type ReleaseBodyTrigger
- type ReleaseListOutputBody
- type RenameInputBody
- type RequestEditorFn
- type ResendInputBody
- type ResetInputBody
- type ResetRequestInputBody
- type ResizeInputBody
- type ResourcePriceBody
- type ResourcePricesListResponse
- func (r ResourcePricesListResponse) ContentType() string
- func (r ResourcePricesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ResourcePricesListResponse) GetBody() []byte
- func (r ResourcePricesListResponse) GetJSON200() *ResourcePricesOutputBody
- func (r ResourcePricesListResponse) Status() string
- func (r ResourcePricesListResponse) StatusCode() int
- type ResourcePricesOutputBody
- type ServerActionCreateJSONRequestBody
- type ServerActionCreateResponse
- func (r ServerActionCreateResponse) ContentType() string
- func (r ServerActionCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerActionCreateResponse) GetBody() []byte
- func (r ServerActionCreateResponse) GetJSON202() *ActionBody
- func (r ServerActionCreateResponse) Status() string
- func (r ServerActionCreateResponse) StatusCode() int
- type ServerActionGetResponse
- func (r ServerActionGetResponse) ContentType() string
- func (r ServerActionGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerActionGetResponse) GetBody() []byte
- func (r ServerActionGetResponse) GetJSON200() *ActionBody
- func (r ServerActionGetResponse) Status() string
- func (r ServerActionGetResponse) StatusCode() int
- type ServerAlertDeleteParamsMetric
- type ServerAlertDeleteResponse
- type ServerAlertSaveJSONRequestBody
- type ServerAlertSaveResponse
- func (r ServerAlertSaveResponse) ContentType() string
- func (r ServerAlertSaveResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerAlertSaveResponse) GetBody() []byte
- func (r ServerAlertSaveResponse) GetJSON200() *AlertBody
- func (r ServerAlertSaveResponse) Status() string
- func (r ServerAlertSaveResponse) StatusCode() int
- type ServerAlertsListResponse
- func (r ServerAlertsListResponse) ContentType() string
- func (r ServerAlertsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerAlertsListResponse) GetBody() []byte
- func (r ServerAlertsListResponse) GetJSON200() *AlertsListOutputBody
- func (r ServerAlertsListResponse) Status() string
- func (r ServerAlertsListResponse) StatusCode() int
- type ServerAppRetryResponse
- func (r ServerAppRetryResponse) ContentType() string
- func (r ServerAppRetryResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerAppRetryResponse) GetBody() []byte
- func (r ServerAppRetryResponse) GetJSON202() *AppRetryOutputBody
- func (r ServerAppRetryResponse) Status() string
- func (r ServerAppRetryResponse) StatusCode() int
- type ServerBackupCreateJSONRequestBody
- type ServerBackupCreateResponse
- func (r ServerBackupCreateResponse) ContentType() string
- func (r ServerBackupCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerBackupCreateResponse) GetBody() []byte
- func (r ServerBackupCreateResponse) GetJSON202() *BackupBody
- func (r ServerBackupCreateResponse) Status() string
- func (r ServerBackupCreateResponse) StatusCode() int
- type ServerBackupDeleteResponse
- type ServerBackupListAllParams
- type ServerBackupListAllResponse
- func (r ServerBackupListAllResponse) ContentType() string
- func (r ServerBackupListAllResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerBackupListAllResponse) GetBody() []byte
- func (r ServerBackupListAllResponse) GetJSON200() *BackupListAllOutputBody
- func (r ServerBackupListAllResponse) Status() string
- func (r ServerBackupListAllResponse) StatusCode() int
- type ServerBackupListResponse
- func (r ServerBackupListResponse) ContentType() string
- func (r ServerBackupListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerBackupListResponse) GetBody() []byte
- func (r ServerBackupListResponse) GetJSON200() *BackupListOutputBody
- func (r ServerBackupListResponse) Status() string
- func (r ServerBackupListResponse) StatusCode() int
- type ServerBackupRestoreResponse
- func (r ServerBackupRestoreResponse) ContentType() string
- func (r ServerBackupRestoreResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerBackupRestoreResponse) GetBody() []byte
- func (r ServerBackupRestoreResponse) GetJSON202() *ActionBody
- func (r ServerBackupRestoreResponse) Status() string
- func (r ServerBackupRestoreResponse) StatusCode() int
- type ServerBackupSettingsGetResponse
- func (r ServerBackupSettingsGetResponse) ContentType() string
- func (r ServerBackupSettingsGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerBackupSettingsGetResponse) GetBody() []byte
- func (r ServerBackupSettingsGetResponse) GetJSON200() *BackupSettingsBody
- func (r ServerBackupSettingsGetResponse) Status() string
- func (r ServerBackupSettingsGetResponse) StatusCode() int
- type ServerBackupSettingsUpdateJSONRequestBody
- type ServerBackupSettingsUpdateResponse
- func (r ServerBackupSettingsUpdateResponse) ContentType() string
- func (r ServerBackupSettingsUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerBackupSettingsUpdateResponse) GetBody() []byte
- func (r ServerBackupSettingsUpdateResponse) GetJSON200() *BackupSettingsBody
- func (r ServerBackupSettingsUpdateResponse) Status() string
- func (r ServerBackupSettingsUpdateResponse) StatusCode() int
- type ServerBillingAttached
- type ServerBillingBody
- type ServerBillingGetResponse
- func (r ServerBillingGetResponse) ContentType() string
- func (r ServerBillingGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerBillingGetResponse) GetBody() []byte
- func (r ServerBillingGetResponse) GetJSON200() *ServerBillingBody
- func (r ServerBillingGetResponse) Status() string
- func (r ServerBillingGetResponse) StatusCode() int
- type ServerBillingPeriod
- type ServerBillingTraffic
- type ServerBody
- type ServerBodyState
- type ServerConsoleCreateResponse
- func (r ServerConsoleCreateResponse) ContentType() string
- func (r ServerConsoleCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerConsoleCreateResponse) GetBody() []byte
- func (r ServerConsoleCreateResponse) GetJSON201() *ConsoleOutputBody
- func (r ServerConsoleCreateResponse) Status() string
- func (r ServerConsoleCreateResponse) StatusCode() int
- type ServerCreateJSONRequestBody
- type ServerCreateParams
- type ServerCreateResponse
- func (r ServerCreateResponse) ContentType() string
- func (r ServerCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerCreateResponse) GetBody() []byte
- func (r ServerCreateResponse) GetJSON202() *CreateOutputBody
- func (r ServerCreateResponse) Status() string
- func (r ServerCreateResponse) StatusCode() int
- type ServerDeleteParams
- type ServerDeleteResponse
- type ServerDiskMetricsListParams
- type ServerDiskMetricsListParamsWindow
- type ServerDiskMetricsListResponse
- func (r ServerDiskMetricsListResponse) ContentType() string
- func (r ServerDiskMetricsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerDiskMetricsListResponse) GetBody() []byte
- func (r ServerDiskMetricsListResponse) GetJSON200() *DiskMetricsOutputBody
- func (r ServerDiskMetricsListResponse) Status() string
- func (r ServerDiskMetricsListResponse) StatusCode() int
- type ServerEventsListParams
- type ServerEventsListResponse
- func (r ServerEventsListResponse) ContentType() string
- func (r ServerEventsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerEventsListResponse) GetBody() []byte
- func (r ServerEventsListResponse) GetJSON200() *EventsOutputBody
- func (r ServerEventsListResponse) Status() string
- func (r ServerEventsListResponse) StatusCode() int
- type ServerFilesystemsListResponse
- func (r ServerFilesystemsListResponse) ContentType() string
- func (r ServerFilesystemsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerFilesystemsListResponse) GetBody() []byte
- func (r ServerFilesystemsListResponse) GetJSON200() *FilesystemsOutputBody
- func (r ServerFilesystemsListResponse) Status() string
- func (r ServerFilesystemsListResponse) StatusCode() int
- type ServerFirewallRef
- type ServerFloatingIPRef
- type ServerGetResponse
- func (r ServerGetResponse) ContentType() string
- func (r ServerGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerGetResponse) GetBody() []byte
- func (r ServerGetResponse) GetJSON200() *ServerBody
- func (r ServerGetResponse) Status() string
- func (r ServerGetResponse) StatusCode() int
- type ServerLedgerListParams
- type ServerLedgerListResponse
- func (r ServerLedgerListResponse) ContentType() string
- func (r ServerLedgerListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerLedgerListResponse) GetBody() []byte
- func (r ServerLedgerListResponse) GetJSON200() *ServerLedgerOutputBody
- func (r ServerLedgerListResponse) Status() string
- func (r ServerLedgerListResponse) StatusCode() int
- type ServerLedgerOutputBody
- type ServerMetricsListParams
- type ServerMetricsListParamsWindow
- type ServerMetricsListResponse
- func (r ServerMetricsListResponse) ContentType() string
- func (r ServerMetricsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerMetricsListResponse) GetBody() []byte
- func (r ServerMetricsListResponse) GetJSON200() *MetricsOutputBody
- func (r ServerMetricsListResponse) Status() string
- func (r ServerMetricsListResponse) StatusCode() int
- type ServerMountISOInputBody
- type ServerMountISOJSONRequestBody
- type ServerMountISOOutputBody
- type ServerMountISOResponse
- func (r ServerMountISOResponse) ContentType() string
- func (r ServerMountISOResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerMountISOResponse) GetBody() []byte
- func (r ServerMountISOResponse) GetJSON200() *ServerMountISOOutputBody
- func (r ServerMountISOResponse) Status() string
- func (r ServerMountISOResponse) StatusCode() int
- type ServerNetworkAttachJSONRequestBody
- type ServerNetworkAttachResponse
- func (r ServerNetworkAttachResponse) ContentType() string
- func (r ServerNetworkAttachResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerNetworkAttachResponse) GetBody() []byte
- func (r ServerNetworkAttachResponse) GetJSON202() *ActionBody
- func (r ServerNetworkAttachResponse) Status() string
- func (r ServerNetworkAttachResponse) StatusCode() int
- type ServerNetworkDetachResponse
- func (r ServerNetworkDetachResponse) ContentType() string
- func (r ServerNetworkDetachResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerNetworkDetachResponse) GetBody() []byte
- func (r ServerNetworkDetachResponse) GetJSON202() *ActionBody
- func (r ServerNetworkDetachResponse) Status() string
- func (r ServerNetworkDetachResponse) StatusCode() int
- type ServerNetworkRef
- type ServerPasswordResetResponse
- func (r ServerPasswordResetResponse) ContentType() string
- func (r ServerPasswordResetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerPasswordResetResponse) GetBody() []byte
- func (r ServerPasswordResetResponse) GetJSON202() *PasswordResetOutputBody
- func (r ServerPasswordResetResponse) Status() string
- func (r ServerPasswordResetResponse) StatusCode() int
- type ServerPriceChange
- type ServerProjectSetJSONRequestBody
- type ServerProjectSetResponse
- type ServerRDNSListResponse
- func (r ServerRDNSListResponse) ContentType() string
- func (r ServerRDNSListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerRDNSListResponse) GetBody() []byte
- func (r ServerRDNSListResponse) GetJSON200() *RdnsListOutputBody
- func (r ServerRDNSListResponse) Status() string
- func (r ServerRDNSListResponse) StatusCode() int
- type ServerRebuildJSONRequestBody
- type ServerRebuildResponse
- func (r ServerRebuildResponse) ContentType() string
- func (r ServerRebuildResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerRebuildResponse) GetBody() []byte
- func (r ServerRebuildResponse) GetJSON202() *RebuildOutputBody
- func (r ServerRebuildResponse) Status() string
- func (r ServerRebuildResponse) StatusCode() int
- type ServerRenameJSONRequestBody
- type ServerRenameResponse
- func (r ServerRenameResponse) ContentType() string
- func (r ServerRenameResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerRenameResponse) GetBody() []byte
- func (r ServerRenameResponse) GetJSON200() *ServerBody
- func (r ServerRenameResponse) Status() string
- func (r ServerRenameResponse) StatusCode() int
- type ServerRescueEnterResponse
- func (r ServerRescueEnterResponse) ContentType() string
- func (r ServerRescueEnterResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerRescueEnterResponse) GetBody() []byte
- func (r ServerRescueEnterResponse) GetJSON202() *ServerRescueOutputBody
- func (r ServerRescueEnterResponse) Status() string
- func (r ServerRescueEnterResponse) StatusCode() int
- type ServerRescueExitResponse
- func (r ServerRescueExitResponse) ContentType() string
- func (r ServerRescueExitResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerRescueExitResponse) GetBody() []byte
- func (r ServerRescueExitResponse) GetJSON202() *ServerRescueOutputBody
- func (r ServerRescueExitResponse) Status() string
- func (r ServerRescueExitResponse) StatusCode() int
- type ServerRescueOutputBody
- type ServerResizeJSONRequestBody
- type ServerResizeResponse
- func (r ServerResizeResponse) ContentType() string
- func (r ServerResizeResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerResizeResponse) GetBody() []byte
- func (r ServerResizeResponse) GetJSON202() *ActionBody
- func (r ServerResizeResponse) Status() string
- func (r ServerResizeResponse) StatusCode() int
- type ServerSnapshotCreateJSONRequestBody
- type ServerSnapshotCreateResponse
- func (r ServerSnapshotCreateResponse) ContentType() string
- func (r ServerSnapshotCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerSnapshotCreateResponse) GetBody() []byte
- func (r ServerSnapshotCreateResponse) GetJSON202() *SnapshotBody
- func (r ServerSnapshotCreateResponse) Status() string
- func (r ServerSnapshotCreateResponse) StatusCode() int
- type ServerSnapshotDeleteResponse
- func (r ServerSnapshotDeleteResponse) ContentType() string
- func (r ServerSnapshotDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerSnapshotDeleteResponse) GetBody() []byte
- func (r ServerSnapshotDeleteResponse) Status() string
- func (r ServerSnapshotDeleteResponse) StatusCode() int
- type ServerSnapshotListAllParams
- type ServerSnapshotListAllResponse
- func (r ServerSnapshotListAllResponse) ContentType() string
- func (r ServerSnapshotListAllResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerSnapshotListAllResponse) GetBody() []byte
- func (r ServerSnapshotListAllResponse) GetJSON200() *SnapshotListAllOutputBody
- func (r ServerSnapshotListAllResponse) Status() string
- func (r ServerSnapshotListAllResponse) StatusCode() int
- type ServerSnapshotListResponse
- func (r ServerSnapshotListResponse) ContentType() string
- func (r ServerSnapshotListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerSnapshotListResponse) GetBody() []byte
- func (r ServerSnapshotListResponse) GetJSON200() *SnapshotListOutputBody
- func (r ServerSnapshotListResponse) Status() string
- func (r ServerSnapshotListResponse) StatusCode() int
- type ServerSnapshotRestoreResponse
- func (r ServerSnapshotRestoreResponse) ContentType() string
- func (r ServerSnapshotRestoreResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerSnapshotRestoreResponse) GetBody() []byte
- func (r ServerSnapshotRestoreResponse) GetJSON202() *ActionBody
- func (r ServerSnapshotRestoreResponse) Status() string
- func (r ServerSnapshotRestoreResponse) StatusCode() int
- type ServerTagsSetJSONRequestBody
- type ServerTagsSetResponse
- func (r ServerTagsSetResponse) ContentType() string
- func (r ServerTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerTagsSetResponse) GetBody() []byte
- func (r ServerTagsSetResponse) GetJSON200() *TagsBody
- func (r ServerTagsSetResponse) Status() string
- func (r ServerTagsSetResponse) StatusCode() int
- type ServerUnmountISOOutputBody
- type ServerUnmountISOResponse
- func (r ServerUnmountISOResponse) ContentType() string
- func (r ServerUnmountISOResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServerUnmountISOResponse) GetBody() []byte
- func (r ServerUnmountISOResponse) GetJSON200() *ServerUnmountISOOutputBody
- func (r ServerUnmountISOResponse) Status() string
- func (r ServerUnmountISOResponse) StatusCode() int
- type ServersListParams
- type ServersListParamsState
- type ServersListResponse
- func (r ServersListResponse) ContentType() string
- func (r ServersListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r ServersListResponse) GetBody() []byte
- func (r ServersListResponse) GetJSON200() *ListOutputBody
- func (r ServersListResponse) Status() string
- func (r ServersListResponse) StatusCode() int
- type SessionItem
- type SessionItemSupportMode
- type SessionsOutputBody
- type SizesOutputBody
- type SnapshotAllBody
- type SnapshotBody
- type SnapshotCreateInputBody
- type SnapshotListAllOutputBody
- type SnapshotListOutputBody
- type SshKeyBody
- type SshKeyCreateJSONRequestBody
- type SshKeyCreateParams
- type SshKeyCreateResponse
- func (r SshKeyCreateResponse) ContentType() string
- func (r SshKeyCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r SshKeyCreateResponse) GetBody() []byte
- func (r SshKeyCreateResponse) GetJSON201() *SshKeyBody
- func (r SshKeyCreateResponse) Status() string
- func (r SshKeyCreateResponse) StatusCode() int
- type SshKeyDeleteResponse
- type SshKeyGetResponse
- func (r SshKeyGetResponse) ContentType() string
- func (r SshKeyGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r SshKeyGetResponse) GetBody() []byte
- func (r SshKeyGetResponse) GetJSON200() *SshKeyBody
- func (r SshKeyGetResponse) Status() string
- func (r SshKeyGetResponse) StatusCode() int
- type SshKeysListResponse
- func (r SshKeysListResponse) ContentType() string
- func (r SshKeysListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r SshKeysListResponse) GetBody() []byte
- func (r SshKeysListResponse) GetJSON200() *KeyListOutputBody
- func (r SshKeysListResponse) Status() string
- func (r SshKeysListResponse) StatusCode() int
- type SummaryStruct
- type SupportAccessItem
- type SupportAccessItemMode
- type SupportAccessOutputBody
- type TagCountBody
- type TagsBody
- type TagsListOutputBody
- type TagsListParams
- type TagsListParamsKind
- type TagsListResponse
- func (r TagsListResponse) ContentType() string
- func (r TagsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r TagsListResponse) GetBody() []byte
- func (r TagsListResponse) GetJSON200() *TagsListOutputBody
- func (r TagsListResponse) Status() string
- func (r TagsListResponse) StatusCode() int
- type TicketAttachmentBody
- type TicketAttachmentDownloadResponse
- func (r TicketAttachmentDownloadResponse) ContentType() string
- func (r TicketAttachmentDownloadResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r TicketAttachmentDownloadResponse) GetBody() []byte
- func (r TicketAttachmentDownloadResponse) GetJSON200() *[]byte
- func (r TicketAttachmentDownloadResponse) Status() string
- func (r TicketAttachmentDownloadResponse) StatusCode() int
- type TicketAttachmentDownloadResponse200Headers
- type TicketAttachmentUpload
- type TicketBody
- type TicketBodyCategory
- type TicketBodyLastActor
- type TicketBodyPriority
- type TicketBodyStatus
- type TicketCloseResponse
- func (r TicketCloseResponse) ContentType() string
- func (r TicketCloseResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r TicketCloseResponse) GetBody() []byte
- func (r TicketCloseResponse) GetJSON200() *TicketBody
- func (r TicketCloseResponse) Status() string
- func (r TicketCloseResponse) StatusCode() int
- type TicketCreateInputBody
- type TicketCreateInputBodyCategory
- type TicketCreateJSONRequestBody
- type TicketCreateResponse
- func (r TicketCreateResponse) ContentType() string
- func (r TicketCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r TicketCreateResponse) GetBody() []byte
- func (r TicketCreateResponse) GetJSON201() *TicketBody
- func (r TicketCreateResponse) Status() string
- func (r TicketCreateResponse) StatusCode() int
- type TicketGetOutputBody
- type TicketGetResponse
- func (r TicketGetResponse) ContentType() string
- func (r TicketGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r TicketGetResponse) GetBody() []byte
- func (r TicketGetResponse) GetJSON200() *TicketGetOutputBody
- func (r TicketGetResponse) Status() string
- func (r TicketGetResponse) StatusCode() int
- type TicketMessageBody
- type TicketMessageBodyAuthorType
- type TicketReopenResponse
- func (r TicketReopenResponse) ContentType() string
- func (r TicketReopenResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r TicketReopenResponse) GetBody() []byte
- func (r TicketReopenResponse) GetJSON200() *TicketBody
- func (r TicketReopenResponse) Status() string
- func (r TicketReopenResponse) StatusCode() int
- type TicketReplyInputBody
- type TicketReplyJSONRequestBody
- type TicketReplyResponse
- func (r TicketReplyResponse) ContentType() string
- func (r TicketReplyResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r TicketReplyResponse) GetBody() []byte
- func (r TicketReplyResponse) GetJSON201() *TicketBody
- func (r TicketReplyResponse) Status() string
- func (r TicketReplyResponse) StatusCode() int
- type TicketsListOutputBody
- type TicketsListParams
- type TicketsListResponse
- func (r TicketsListResponse) ContentType() string
- func (r TicketsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r TicketsListResponse) GetBody() []byte
- func (r TicketsListResponse) GetJSON200() *TicketsListOutputBody
- func (r TicketsListResponse) Status() string
- func (r TicketsListResponse) StatusCode() int
- type TopupInputBody
- type TopupInputBodyMethod
- type TopupOutputBody
- type TotpSetupInputBody
- type TotpSetupOutputBody
- type TotpStatusOutputBody
- type UserBody
- type VerifyInputBody
- type VolumeAttachInputBody
- type VolumeAttachJSONRequestBody
- type VolumeAttachResponse
- type VolumeBody
- type VolumeBodyState
- type VolumeCreateInputBody
- type VolumeCreateInputBodyFsType
- type VolumeCreateJSONRequestBody
- type VolumeCreateParams
- type VolumeCreateResponse
- func (r VolumeCreateResponse) ContentType() string
- func (r VolumeCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r VolumeCreateResponse) GetBody() []byte
- func (r VolumeCreateResponse) GetJSON202() *VolumeBody
- func (r VolumeCreateResponse) Status() string
- func (r VolumeCreateResponse) StatusCode() int
- type VolumeDeleteResponse
- type VolumeDetachResponse
- type VolumeGetResponse
- func (r VolumeGetResponse) ContentType() string
- func (r VolumeGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r VolumeGetResponse) GetBody() []byte
- func (r VolumeGetResponse) GetJSON200() *VolumeBody
- func (r VolumeGetResponse) Status() string
- func (r VolumeGetResponse) StatusCode() int
- type VolumeLimitsOutputBody
- type VolumeLimitsResponse
- func (r VolumeLimitsResponse) ContentType() string
- func (r VolumeLimitsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r VolumeLimitsResponse) GetBody() []byte
- func (r VolumeLimitsResponse) GetJSON200() *VolumeLimitsOutputBody
- func (r VolumeLimitsResponse) Status() string
- func (r VolumeLimitsResponse) StatusCode() int
- type VolumeListOutputBody
- type VolumeListParams
- type VolumeListResponse
- func (r VolumeListResponse) ContentType() string
- func (r VolumeListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r VolumeListResponse) GetBody() []byte
- func (r VolumeListResponse) GetJSON200() *VolumeListOutputBody
- func (r VolumeListResponse) Status() string
- func (r VolumeListResponse) StatusCode() int
- type VolumeProjectSetJSONRequestBody
- type VolumeProjectSetResponse
- type VolumeResizeInputBody
- type VolumeResizeJSONRequestBody
- type VolumeResizeResponse
- type VolumeTagsSetJSONRequestBody
- type VolumeTagsSetResponse
- func (r VolumeTagsSetResponse) ContentType() string
- func (r VolumeTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r VolumeTagsSetResponse) GetBody() []byte
- func (r VolumeTagsSetResponse) GetJSON200() *TagsBody
- func (r VolumeTagsSetResponse) Status() string
- func (r VolumeTagsSetResponse) StatusCode() int
- type WalletBody
- type WalletGetResponse
- func (r WalletGetResponse) ContentType() string
- func (r WalletGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r WalletGetResponse) GetBody() []byte
- func (r WalletGetResponse) GetJSON200() *WalletBody
- func (r WalletGetResponse) Status() string
- func (r WalletGetResponse) StatusCode() int
- type WalletLedgerDailyParams
- type WalletLedgerDailyResponse
- func (r WalletLedgerDailyResponse) ContentType() string
- func (r WalletLedgerDailyResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r WalletLedgerDailyResponse) GetBody() []byte
- func (r WalletLedgerDailyResponse) GetJSON200() *LedgerDailyOutputBody
- func (r WalletLedgerDailyResponse) Status() string
- func (r WalletLedgerDailyResponse) StatusCode() int
- type WalletLedgerListParams
- type WalletLedgerListParamsDirection
- type WalletLedgerListResponse
- func (r WalletLedgerListResponse) ContentType() string
- func (r WalletLedgerListResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r WalletLedgerListResponse) GetBody() []byte
- func (r WalletLedgerListResponse) GetJSON200() *LedgerOutputBody
- func (r WalletLedgerListResponse) Status() string
- func (r WalletLedgerListResponse) StatusCode() int
- type WalletPromoRedeemJSONRequestBody
- type WalletPromoRedeemResponse
- func (r WalletPromoRedeemResponse) ContentType() string
- func (r WalletPromoRedeemResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r WalletPromoRedeemResponse) GetBody() []byte
- func (r WalletPromoRedeemResponse) GetJSON200() *PromoRedeemOutputBody
- func (r WalletPromoRedeemResponse) Status() string
- func (r WalletPromoRedeemResponse) StatusCode() int
- type WalletPromoRedemptionsResponse
- func (r WalletPromoRedemptionsResponse) ContentType() string
- func (r WalletPromoRedemptionsResponse) GetApplicationproblemJSONDefault() *ErrorModel
- func (r WalletPromoRedemptionsResponse) GetBody() []byte
- func (r WalletPromoRedemptionsResponse) GetJSON200() *PromoRedemptionsOutputBody
- func (r WalletPromoRedemptionsResponse) Status() string
- func (r WalletPromoRedemptionsResponse) StatusCode() int
- type ZoneCreateInputBody
- type ZoneDetailOutputBody
- type ZonesListOutputBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAccountBillingProfileGetRequest ¶
NewAccountBillingProfileGetRequest constructs an http.Request for the AccountBillingProfileGet method
func NewAccountBillingProfileSaveRequest ¶
func NewAccountBillingProfileSaveRequest(server string, body AccountBillingProfileSaveJSONRequestBody) (*http.Request, error)
NewAccountBillingProfileSaveRequest calls the generic AccountBillingProfileSave builder with application/json body
func NewAccountBillingProfileSaveRequestWithBody ¶
func NewAccountBillingProfileSaveRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccountBillingProfileSaveRequestWithBody constructs an http.Request for the AccountBillingProfileSave method, with any body, and a specified content type
func NewAccountChangePasswordRequest ¶
func NewAccountChangePasswordRequest(server string, body AccountChangePasswordJSONRequestBody) (*http.Request, error)
NewAccountChangePasswordRequest calls the generic AccountChangePassword builder with application/json body
func NewAccountChangePasswordRequestWithBody ¶
func NewAccountChangePasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccountChangePasswordRequestWithBody constructs an http.Request for the AccountChangePassword method, with any body, and a specified content type
func NewAccountDeletionCancelRequest ¶
NewAccountDeletionCancelRequest constructs an http.Request for the AccountDeletionCancel method
func NewAccountDeletionGetRequest ¶
NewAccountDeletionGetRequest constructs an http.Request for the AccountDeletionGet method
func NewAccountDeletionRequestRequest ¶
func NewAccountDeletionRequestRequest(server string, body AccountDeletionRequestJSONRequestBody) (*http.Request, error)
NewAccountDeletionRequestRequest calls the generic AccountDeletionRequest builder with application/json body
func NewAccountDeletionRequestRequestWithBody ¶
func NewAccountDeletionRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccountDeletionRequestRequestWithBody constructs an http.Request for the AccountDeletionRequest method, with any body, and a specified content type
func NewAccountEmailChangeStartRequest ¶
func NewAccountEmailChangeStartRequest(server string, body AccountEmailChangeStartJSONRequestBody) (*http.Request, error)
NewAccountEmailChangeStartRequest calls the generic AccountEmailChangeStart builder with application/json body
func NewAccountEmailChangeStartRequestWithBody ¶
func NewAccountEmailChangeStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccountEmailChangeStartRequestWithBody constructs an http.Request for the AccountEmailChangeStart method, with any body, and a specified content type
func NewAccountExportRequest ¶
NewAccountExportRequest constructs an http.Request for the AccountExport method
func NewAccountFeaturesRequest ¶
NewAccountFeaturesRequest constructs an http.Request for the AccountFeatures method
func NewAccountGetRequest ¶
NewAccountGetRequest constructs an http.Request for the AccountGet method
func NewAccountIdentitiesListRequest ¶
NewAccountIdentitiesListRequest constructs an http.Request for the AccountIdentitiesList method
func NewAccountIdentityUnlinkRequest ¶
func NewAccountIdentityUnlinkRequest(server string, provider AccountIdentityUnlinkParamsProvider) (*http.Request, error)
NewAccountIdentityUnlinkRequest constructs an http.Request for the AccountIdentityUnlink method
func NewAccountLimitsRequest ¶
NewAccountLimitsRequest constructs an http.Request for the AccountLimits method
func NewAccountOnboardingCompleteRequest ¶ added in v0.3.0
NewAccountOnboardingCompleteRequest constructs an http.Request for the AccountOnboardingComplete method
func NewAccountPhoneDeleteRequest ¶
NewAccountPhoneDeleteRequest constructs an http.Request for the AccountPhoneDelete method
func NewAccountPhoneGetRequest ¶
NewAccountPhoneGetRequest constructs an http.Request for the AccountPhoneGet method
func NewAccountPhoneResendRequest ¶
NewAccountPhoneResendRequest constructs an http.Request for the AccountPhoneResend method
func NewAccountPhoneStartRequest ¶
func NewAccountPhoneStartRequest(server string, body AccountPhoneStartJSONRequestBody) (*http.Request, error)
NewAccountPhoneStartRequest calls the generic AccountPhoneStart builder with application/json body
func NewAccountPhoneStartRequestWithBody ¶
func NewAccountPhoneStartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccountPhoneStartRequestWithBody constructs an http.Request for the AccountPhoneStart method, with any body, and a specified content type
func NewAccountPhoneVerifyRequest ¶
func NewAccountPhoneVerifyRequest(server string, body AccountPhoneVerifyJSONRequestBody) (*http.Request, error)
NewAccountPhoneVerifyRequest calls the generic AccountPhoneVerify builder with application/json body
func NewAccountPhoneVerifyRequestWithBody ¶
func NewAccountPhoneVerifyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccountPhoneVerifyRequestWithBody constructs an http.Request for the AccountPhoneVerify method, with any body, and a specified content type
func NewAccountSupportAccessRequest ¶
NewAccountSupportAccessRequest constructs an http.Request for the AccountSupportAccess method
func NewAccountTotpConfirmRequest ¶
func NewAccountTotpConfirmRequest(server string, body AccountTotpConfirmJSONRequestBody) (*http.Request, error)
NewAccountTotpConfirmRequest calls the generic AccountTotpConfirm builder with application/json body
func NewAccountTotpConfirmRequestWithBody ¶
func NewAccountTotpConfirmRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccountTotpConfirmRequestWithBody constructs an http.Request for the AccountTotpConfirm method, with any body, and a specified content type
func NewAccountTotpDisableRequest ¶
func NewAccountTotpDisableRequest(server string, body AccountTotpDisableJSONRequestBody) (*http.Request, error)
NewAccountTotpDisableRequest calls the generic AccountTotpDisable builder with application/json body
func NewAccountTotpDisableRequestWithBody ¶
func NewAccountTotpDisableRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccountTotpDisableRequestWithBody constructs an http.Request for the AccountTotpDisable method, with any body, and a specified content type
func NewAccountTotpRecoveryCodesRequest ¶
func NewAccountTotpRecoveryCodesRequest(server string, body AccountTotpRecoveryCodesJSONRequestBody) (*http.Request, error)
NewAccountTotpRecoveryCodesRequest calls the generic AccountTotpRecoveryCodes builder with application/json body
func NewAccountTotpRecoveryCodesRequestWithBody ¶
func NewAccountTotpRecoveryCodesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccountTotpRecoveryCodesRequestWithBody constructs an http.Request for the AccountTotpRecoveryCodes method, with any body, and a specified content type
func NewAccountTotpSetupRequest ¶
func NewAccountTotpSetupRequest(server string, body AccountTotpSetupJSONRequestBody) (*http.Request, error)
NewAccountTotpSetupRequest calls the generic AccountTotpSetup builder with application/json body
func NewAccountTotpSetupRequestWithBody ¶
func NewAccountTotpSetupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccountTotpSetupRequestWithBody constructs an http.Request for the AccountTotpSetup method, with any body, and a specified content type
func NewAccountTotpStatusRequest ¶
NewAccountTotpStatusRequest constructs an http.Request for the AccountTotpStatus method
func NewAccountUpdateRequest ¶
func NewAccountUpdateRequest(server string, body AccountUpdateJSONRequestBody) (*http.Request, error)
NewAccountUpdateRequest calls the generic AccountUpdate builder with application/json body
func NewAccountUpdateRequestWithBody ¶
func NewAccountUpdateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAccountUpdateRequestWithBody constructs an http.Request for the AccountUpdate method, with any body, and a specified content type
func NewAnnouncementBannerDismissRequest ¶
NewAnnouncementBannerDismissRequest constructs an http.Request for the AnnouncementBannerDismiss method
func NewAnnouncementBannerGetRequest ¶
NewAnnouncementBannerGetRequest constructs an http.Request for the AnnouncementBannerGet method
func NewAnnouncementsGetRequest ¶
NewAnnouncementsGetRequest constructs an http.Request for the AnnouncementsGet method
func NewAnnouncementsListRequest ¶
NewAnnouncementsListRequest constructs an http.Request for the AnnouncementsList method
func NewApiTokenCreateRequest ¶
func NewApiTokenCreateRequest(server string, body ApiTokenCreateJSONRequestBody) (*http.Request, error)
NewApiTokenCreateRequest calls the generic ApiTokenCreate builder with application/json body
func NewApiTokenCreateRequestWithBody ¶
func NewApiTokenCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewApiTokenCreateRequestWithBody constructs an http.Request for the ApiTokenCreate method, with any body, and a specified content type
func NewApiTokenRevokeRequest ¶
NewApiTokenRevokeRequest constructs an http.Request for the ApiTokenRevoke method
func NewApiTokensListRequest ¶
NewApiTokensListRequest constructs an http.Request for the ApiTokensList method
func NewAppActionRequest ¶
func NewAppActionRequest(server string, code string, body AppActionJSONRequestBody) (*http.Request, error)
NewAppActionRequest calls the generic AppAction builder with application/json body
func NewAppActionRequestWithBody ¶
func NewAppActionRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppActionRequestWithBody constructs an http.Request for the AppAction method, with any body, and a specified content type
func NewAppAttachmentCreateRequest ¶
func NewAppAttachmentCreateRequest(server string, appCode string, body AppAttachmentCreateJSONRequestBody) (*http.Request, error)
NewAppAttachmentCreateRequest calls the generic AppAttachmentCreate builder with application/json body
func NewAppAttachmentCreateRequestWithBody ¶
func NewAppAttachmentCreateRequestWithBody(server string, appCode string, contentType string, body io.Reader) (*http.Request, error)
NewAppAttachmentCreateRequestWithBody constructs an http.Request for the AppAttachmentCreate method, with any body, and a specified content type
func NewAppAttachmentDeleteRequest ¶
func NewAppAttachmentDeleteRequest(server string, appCode string, attachmentID string) (*http.Request, error)
NewAppAttachmentDeleteRequest constructs an http.Request for the AppAttachmentDelete method
func NewAppAttachmentVerifyRequest ¶
func NewAppAttachmentVerifyRequest(server string, appCode string, attachmentID string) (*http.Request, error)
NewAppAttachmentVerifyRequest constructs an http.Request for the AppAttachmentVerify method
func NewAppAttachmentsListRequest ¶
NewAppAttachmentsListRequest constructs an http.Request for the AppAttachmentsList method
func NewAppAutoDeploySetRequest ¶
func NewAppAutoDeploySetRequest(server string, code string, body AppAutoDeploySetJSONRequestBody) (*http.Request, error)
NewAppAutoDeploySetRequest calls the generic AppAutoDeploySet builder with application/json body
func NewAppAutoDeploySetRequestWithBody ¶
func NewAppAutoDeploySetRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppAutoDeploySetRequestWithBody constructs an http.Request for the AppAutoDeploySet method, with any body, and a specified content type
func NewAppBuildCancelRequest ¶
NewAppBuildCancelRequest constructs an http.Request for the AppBuildCancel method
func NewAppBuildCreateRequest ¶
func NewAppBuildCreateRequest(server string, code string, body AppBuildCreateJSONRequestBody) (*http.Request, error)
NewAppBuildCreateRequest calls the generic AppBuildCreate builder with application/json body
func NewAppBuildCreateRequestWithBody ¶
func NewAppBuildCreateRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppBuildCreateRequestWithBody constructs an http.Request for the AppBuildCreate method, with any body, and a specified content type
func NewAppBuildGetRequest ¶
NewAppBuildGetRequest constructs an http.Request for the AppBuildGet method
func NewAppBuildsListRequest ¶
NewAppBuildsListRequest constructs an http.Request for the AppBuildsList method
func NewAppCreateRequest ¶
func NewAppCreateRequest(server string, params *AppCreateParams, body AppCreateJSONRequestBody) (*http.Request, error)
NewAppCreateRequest calls the generic AppCreate builder with application/json body
func NewAppCreateRequestWithBody ¶
func NewAppCreateRequestWithBody(server string, params *AppCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewAppCreateRequestWithBody constructs an http.Request for the AppCreate method, with any body, and a specified content type
func NewAppDeleteRequest ¶
NewAppDeleteRequest constructs an http.Request for the AppDelete method
func NewAppDetectBuildRequest ¶
func NewAppDetectBuildRequest(server string, params *AppDetectBuildParams) (*http.Request, error)
NewAppDetectBuildRequest constructs an http.Request for the AppDetectBuild method
func NewAppDomainAddRequest ¶
func NewAppDomainAddRequest(server string, code string, body AppDomainAddJSONRequestBody) (*http.Request, error)
NewAppDomainAddRequest calls the generic AppDomainAdd builder with application/json body
func NewAppDomainAddRequestWithBody ¶
func NewAppDomainAddRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppDomainAddRequestWithBody constructs an http.Request for the AppDomainAdd method, with any body, and a specified content type
func NewAppDomainDeleteRequest ¶
NewAppDomainDeleteRequest constructs an http.Request for the AppDomainDelete method
func NewAppDomainVerifyRequest ¶
NewAppDomainVerifyRequest constructs an http.Request for the AppDomainVerify method
func NewAppDomainsListRequest ¶
NewAppDomainsListRequest constructs an http.Request for the AppDomainsList method
func NewAppEnvGetRequest ¶
NewAppEnvGetRequest constructs an http.Request for the AppEnvGet method
func NewAppEnvSetRequest ¶
func NewAppEnvSetRequest(server string, code string, body AppEnvSetJSONRequestBody) (*http.Request, error)
NewAppEnvSetRequest calls the generic AppEnvSet builder with application/json body
func NewAppEnvSetRequestWithBody ¶
func NewAppEnvSetRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppEnvSetRequestWithBody constructs an http.Request for the AppEnvSet method, with any body, and a specified content type
func NewAppEventsListRequest ¶
func NewAppEventsListRequest(server string, code string, params *AppEventsListParams) (*http.Request, error)
NewAppEventsListRequest constructs an http.Request for the AppEventsList method
func NewAppExecStartRequest ¶
func NewAppExecStartRequest(server string, code string, body AppExecStartJSONRequestBody) (*http.Request, error)
NewAppExecStartRequest calls the generic AppExecStart builder with application/json body
func NewAppExecStartRequestWithBody ¶
func NewAppExecStartRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppExecStartRequestWithBody constructs an http.Request for the AppExecStart method, with any body, and a specified content type
func NewAppGetRequest ¶
NewAppGetRequest constructs an http.Request for the AppGet method
func NewAppLogsGetRequest ¶
NewAppLogsGetRequest constructs an http.Request for the AppLogsGet method
func NewAppLogsRequestRequest ¶
func NewAppLogsRequestRequest(server string, code string, body AppLogsRequestJSONRequestBody) (*http.Request, error)
NewAppLogsRequestRequest calls the generic AppLogsRequest builder with application/json body
func NewAppLogsRequestRequestWithBody ¶
func NewAppLogsRequestRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppLogsRequestRequestWithBody constructs an http.Request for the AppLogsRequest method, with any body, and a specified content type
func NewAppMetricsRequest ¶
func NewAppMetricsRequest(server string, code string, params *AppMetricsParams) (*http.Request, error)
NewAppMetricsRequest constructs an http.Request for the AppMetrics method
func NewAppPlansListRequest ¶
NewAppPlansListRequest constructs an http.Request for the AppPlansList method
func NewAppPresetsListRequest ¶
NewAppPresetsListRequest constructs an http.Request for the AppPresetsList method
func NewAppProjectSetRequest ¶
func NewAppProjectSetRequest(server string, code string, body AppProjectSetJSONRequestBody) (*http.Request, error)
NewAppProjectSetRequest calls the generic AppProjectSet builder with application/json body
func NewAppProjectSetRequestWithBody ¶
func NewAppProjectSetRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppProjectSetRequestWithBody constructs an http.Request for the AppProjectSet method, with any body, and a specified content type
func NewAppReleasesListRequest ¶
NewAppReleasesListRequest constructs an http.Request for the AppReleasesList method
func NewAppResizeRequest ¶
func NewAppResizeRequest(server string, code string, body AppResizeJSONRequestBody) (*http.Request, error)
NewAppResizeRequest calls the generic AppResize builder with application/json body
func NewAppResizeRequestWithBody ¶
func NewAppResizeRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppResizeRequestWithBody constructs an http.Request for the AppResize method, with any body, and a specified content type
func NewAppRollbackRequest ¶
func NewAppRollbackRequest(server string, code string, body AppRollbackJSONRequestBody) (*http.Request, error)
NewAppRollbackRequest calls the generic AppRollback builder with application/json body
func NewAppRollbackRequestWithBody ¶
func NewAppRollbackRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppRollbackRequestWithBody constructs an http.Request for the AppRollback method, with any body, and a specified content type
func NewAppScaleRequest ¶
func NewAppScaleRequest(server string, code string, body AppScaleJSONRequestBody) (*http.Request, error)
NewAppScaleRequest calls the generic AppScale builder with application/json body
func NewAppScaleRequestWithBody ¶
func NewAppScaleRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppScaleRequestWithBody constructs an http.Request for the AppScale method, with any body, and a specified content type
func NewAppSourceSetRequest ¶
func NewAppSourceSetRequest(server string, code string, body AppSourceSetJSONRequestBody) (*http.Request, error)
NewAppSourceSetRequest calls the generic AppSourceSet builder with application/json body
func NewAppSourceSetRequestWithBody ¶
func NewAppSourceSetRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppSourceSetRequestWithBody constructs an http.Request for the AppSourceSet method, with any body, and a specified content type
func NewAppTagsSetRequest ¶
func NewAppTagsSetRequest(server string, code string, body AppTagsSetJSONRequestBody) (*http.Request, error)
NewAppTagsSetRequest calls the generic AppTagsSet builder with application/json body
func NewAppTagsSetRequestWithBody ¶
func NewAppTagsSetRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppTagsSetRequestWithBody constructs an http.Request for the AppTagsSet method, with any body, and a specified content type
func NewAppUpdateRequest ¶
func NewAppUpdateRequest(server string, code string, body AppUpdateJSONRequestBody) (*http.Request, error)
NewAppUpdateRequest calls the generic AppUpdate builder with application/json body
func NewAppUpdateRequestWithBody ¶
func NewAppUpdateRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewAppUpdateRequestWithBody constructs an http.Request for the AppUpdate method, with any body, and a specified content type
func NewAppsListRequest ¶
func NewAppsListRequest(server string, params *AppsListParams) (*http.Request, error)
NewAppsListRequest constructs an http.Request for the AppsList method
func NewAuthConfirmEmailChangeRequest ¶
func NewAuthConfirmEmailChangeRequest(server string, body AuthConfirmEmailChangeJSONRequestBody) (*http.Request, error)
NewAuthConfirmEmailChangeRequest calls the generic AuthConfirmEmailChange builder with application/json body
func NewAuthConfirmEmailChangeRequestWithBody ¶
func NewAuthConfirmEmailChangeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAuthConfirmEmailChangeRequestWithBody constructs an http.Request for the AuthConfirmEmailChange method, with any body, and a specified content type
func NewAuthImpersonateRequest ¶
func NewAuthImpersonateRequest(server string, body AuthImpersonateJSONRequestBody) (*http.Request, error)
NewAuthImpersonateRequest calls the generic AuthImpersonate builder with application/json body
func NewAuthImpersonateRequestWithBody ¶
func NewAuthImpersonateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAuthImpersonateRequestWithBody constructs an http.Request for the AuthImpersonate method, with any body, and a specified content type
func NewAuthLoginRequest ¶
func NewAuthLoginRequest(server string, body AuthLoginJSONRequestBody) (*http.Request, error)
NewAuthLoginRequest calls the generic AuthLogin builder with application/json body
func NewAuthLoginRequestWithBody ¶
func NewAuthLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAuthLoginRequestWithBody constructs an http.Request for the AuthLogin method, with any body, and a specified content type
func NewAuthLogoutRequest ¶
NewAuthLogoutRequest constructs an http.Request for the AuthLogout method
func NewAuthMfaVerifyRequest ¶
func NewAuthMfaVerifyRequest(server string, params *AuthMfaVerifyParams, body AuthMfaVerifyJSONRequestBody) (*http.Request, error)
NewAuthMfaVerifyRequest calls the generic AuthMfaVerify builder with application/json body
func NewAuthMfaVerifyRequestWithBody ¶
func NewAuthMfaVerifyRequestWithBody(server string, params *AuthMfaVerifyParams, contentType string, body io.Reader) (*http.Request, error)
NewAuthMfaVerifyRequestWithBody constructs an http.Request for the AuthMfaVerify method, with any body, and a specified content type
func NewAuthOauthCallbackRequest ¶
func NewAuthOauthCallbackRequest(server string, provider AuthOauthCallbackParamsProvider, params *AuthOauthCallbackParams) (*http.Request, error)
NewAuthOauthCallbackRequest constructs an http.Request for the AuthOauthCallback method
func NewAuthOauthProvidersRequest ¶
NewAuthOauthProvidersRequest constructs an http.Request for the AuthOauthProviders method
func NewAuthOauthStartRequest ¶
func NewAuthOauthStartRequest(server string, provider AuthOauthStartParamsProvider, params *AuthOauthStartParams) (*http.Request, error)
NewAuthOauthStartRequest constructs an http.Request for the AuthOauthStart method
func NewAuthPasswordResetRequest ¶
func NewAuthPasswordResetRequest(server string, body AuthPasswordResetJSONRequestBody) (*http.Request, error)
NewAuthPasswordResetRequest calls the generic AuthPasswordReset builder with application/json body
func NewAuthPasswordResetRequestRequest ¶
func NewAuthPasswordResetRequestRequest(server string, body AuthPasswordResetRequestJSONRequestBody) (*http.Request, error)
NewAuthPasswordResetRequestRequest calls the generic AuthPasswordResetRequest builder with application/json body
func NewAuthPasswordResetRequestRequestWithBody ¶
func NewAuthPasswordResetRequestRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAuthPasswordResetRequestRequestWithBody constructs an http.Request for the AuthPasswordResetRequest method, with any body, and a specified content type
func NewAuthPasswordResetRequestWithBody ¶
func NewAuthPasswordResetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAuthPasswordResetRequestWithBody constructs an http.Request for the AuthPasswordReset method, with any body, and a specified content type
func NewAuthPolicyRequest ¶
NewAuthPolicyRequest constructs an http.Request for the AuthPolicy method
func NewAuthRegisterRequest ¶
func NewAuthRegisterRequest(server string, body AuthRegisterJSONRequestBody) (*http.Request, error)
NewAuthRegisterRequest calls the generic AuthRegister builder with application/json body
func NewAuthRegisterRequestWithBody ¶
func NewAuthRegisterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAuthRegisterRequestWithBody constructs an http.Request for the AuthRegister method, with any body, and a specified content type
func NewAuthSessionRevokeRequest ¶
NewAuthSessionRevokeRequest constructs an http.Request for the AuthSessionRevoke method
func NewAuthSessionsListRequest ¶
NewAuthSessionsListRequest constructs an http.Request for the AuthSessionsList method
func NewAuthVerifyEmailRequest ¶
func NewAuthVerifyEmailRequest(server string, body AuthVerifyEmailJSONRequestBody) (*http.Request, error)
NewAuthVerifyEmailRequest calls the generic AuthVerifyEmail builder with application/json body
func NewAuthVerifyEmailRequestWithBody ¶
func NewAuthVerifyEmailRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAuthVerifyEmailRequestWithBody constructs an http.Request for the AuthVerifyEmail method, with any body, and a specified content type
func NewAuthVerifyEmailResendRequest ¶
func NewAuthVerifyEmailResendRequest(server string, body AuthVerifyEmailResendJSONRequestBody) (*http.Request, error)
NewAuthVerifyEmailResendRequest calls the generic AuthVerifyEmailResend builder with application/json body
func NewAuthVerifyEmailResendRequestWithBody ¶
func NewAuthVerifyEmailResendRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewAuthVerifyEmailResendRequestWithBody constructs an http.Request for the AuthVerifyEmailResend method, with any body, and a specified content type
func NewConnectedAppRevokeRequest ¶ added in v0.2.0
NewConnectedAppRevokeRequest constructs an http.Request for the ConnectedAppRevoke method
func NewConnectedAppsListRequest ¶ added in v0.2.0
NewConnectedAppsListRequest constructs an http.Request for the ConnectedAppsList method
func NewDatabaseAlertDeleteRequest ¶
func NewDatabaseAlertDeleteRequest(server string, databaseId string, metric DatabaseAlertDeleteParamsMetric) (*http.Request, error)
NewDatabaseAlertDeleteRequest constructs an http.Request for the DatabaseAlertDelete method
func NewDatabaseAlertSaveRequest ¶
func NewDatabaseAlertSaveRequest(server string, databaseId string, body DatabaseAlertSaveJSONRequestBody) (*http.Request, error)
NewDatabaseAlertSaveRequest calls the generic DatabaseAlertSave builder with application/json body
func NewDatabaseAlertSaveRequestWithBody ¶
func NewDatabaseAlertSaveRequestWithBody(server string, databaseId string, contentType string, body io.Reader) (*http.Request, error)
NewDatabaseAlertSaveRequestWithBody constructs an http.Request for the DatabaseAlertSave method, with any body, and a specified content type
func NewDatabaseAlertsListRequest ¶
NewDatabaseAlertsListRequest constructs an http.Request for the DatabaseAlertsList method
func NewDatabaseBackupCreateRequest ¶
NewDatabaseBackupCreateRequest constructs an http.Request for the DatabaseBackupCreate method
func NewDatabaseBackupsListRequest ¶
NewDatabaseBackupsListRequest constructs an http.Request for the DatabaseBackupsList method
func NewDatabaseConnectionGetRequest ¶
NewDatabaseConnectionGetRequest constructs an http.Request for the DatabaseConnectionGet method
func NewDatabaseCreateRequest ¶
func NewDatabaseCreateRequest(server string, params *DatabaseCreateParams, body DatabaseCreateJSONRequestBody) (*http.Request, error)
NewDatabaseCreateRequest calls the generic DatabaseCreate builder with application/json body
func NewDatabaseCreateRequestWithBody ¶
func NewDatabaseCreateRequestWithBody(server string, params *DatabaseCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewDatabaseCreateRequestWithBody constructs an http.Request for the DatabaseCreate method, with any body, and a specified content type
func NewDatabaseDbCreateRequest ¶
func NewDatabaseDbCreateRequest(server string, databaseID string, body DatabaseDbCreateJSONRequestBody) (*http.Request, error)
NewDatabaseDbCreateRequest calls the generic DatabaseDbCreate builder with application/json body
func NewDatabaseDbCreateRequestWithBody ¶
func NewDatabaseDbCreateRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
NewDatabaseDbCreateRequestWithBody constructs an http.Request for the DatabaseDbCreate method, with any body, and a specified content type
func NewDatabaseDeleteRequest ¶
NewDatabaseDeleteRequest constructs an http.Request for the DatabaseDelete method
func NewDatabaseGetRequest ¶
NewDatabaseGetRequest constructs an http.Request for the DatabaseGet method
func NewDatabaseMetricsListRequest ¶
func NewDatabaseMetricsListRequest(server string, databaseId string, params *DatabaseMetricsListParams) (*http.Request, error)
NewDatabaseMetricsListRequest constructs an http.Request for the DatabaseMetricsList method
func NewDatabaseOptionsListRequest ¶
NewDatabaseOptionsListRequest constructs an http.Request for the DatabaseOptionsList method
func NewDatabaseProjectSetRequest ¶
func NewDatabaseProjectSetRequest(server string, databaseID string, body DatabaseProjectSetJSONRequestBody) (*http.Request, error)
NewDatabaseProjectSetRequest calls the generic DatabaseProjectSet builder with application/json body
func NewDatabaseProjectSetRequestWithBody ¶
func NewDatabaseProjectSetRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
NewDatabaseProjectSetRequestWithBody constructs an http.Request for the DatabaseProjectSet method, with any body, and a specified content type
func NewDatabasePublicAccessSetRequest ¶
func NewDatabasePublicAccessSetRequest(server string, databaseID string, body DatabasePublicAccessSetJSONRequestBody) (*http.Request, error)
NewDatabasePublicAccessSetRequest calls the generic DatabasePublicAccessSet builder with application/json body
func NewDatabasePublicAccessSetRequestWithBody ¶
func NewDatabasePublicAccessSetRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
NewDatabasePublicAccessSetRequestWithBody constructs an http.Request for the DatabasePublicAccessSet method, with any body, and a specified content type
func NewDatabaseResizeRequest ¶
func NewDatabaseResizeRequest(server string, databaseId string, body DatabaseResizeJSONRequestBody) (*http.Request, error)
NewDatabaseResizeRequest calls the generic DatabaseResize builder with application/json body
func NewDatabaseResizeRequestWithBody ¶
func NewDatabaseResizeRequestWithBody(server string, databaseId string, contentType string, body io.Reader) (*http.Request, error)
NewDatabaseResizeRequestWithBody constructs an http.Request for the DatabaseResize method, with any body, and a specified content type
func NewDatabaseRestoreCreateRequest ¶
func NewDatabaseRestoreCreateRequest(server string, databaseID string, body DatabaseRestoreCreateJSONRequestBody) (*http.Request, error)
NewDatabaseRestoreCreateRequest calls the generic DatabaseRestoreCreate builder with application/json body
func NewDatabaseRestoreCreateRequestWithBody ¶
func NewDatabaseRestoreCreateRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
NewDatabaseRestoreCreateRequestWithBody constructs an http.Request for the DatabaseRestoreCreate method, with any body, and a specified content type
func NewDatabaseTagsSetRequest ¶
func NewDatabaseTagsSetRequest(server string, databaseID string, body DatabaseTagsSetJSONRequestBody) (*http.Request, error)
NewDatabaseTagsSetRequest calls the generic DatabaseTagsSet builder with application/json body
func NewDatabaseTagsSetRequestWithBody ¶
func NewDatabaseTagsSetRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
NewDatabaseTagsSetRequestWithBody constructs an http.Request for the DatabaseTagsSet method, with any body, and a specified content type
func NewDatabaseTrustedSourcesSetRequest ¶
func NewDatabaseTrustedSourcesSetRequest(server string, databaseID string, body DatabaseTrustedSourcesSetJSONRequestBody) (*http.Request, error)
NewDatabaseTrustedSourcesSetRequest calls the generic DatabaseTrustedSourcesSet builder with application/json body
func NewDatabaseTrustedSourcesSetRequestWithBody ¶
func NewDatabaseTrustedSourcesSetRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
NewDatabaseTrustedSourcesSetRequestWithBody constructs an http.Request for the DatabaseTrustedSourcesSet method, with any body, and a specified content type
func NewDatabaseUserCreateRequest ¶
func NewDatabaseUserCreateRequest(server string, databaseID string, body DatabaseUserCreateJSONRequestBody) (*http.Request, error)
NewDatabaseUserCreateRequest calls the generic DatabaseUserCreate builder with application/json body
func NewDatabaseUserCreateRequestWithBody ¶
func NewDatabaseUserCreateRequestWithBody(server string, databaseID string, contentType string, body io.Reader) (*http.Request, error)
NewDatabaseUserCreateRequestWithBody constructs an http.Request for the DatabaseUserCreate method, with any body, and a specified content type
func NewDatabaseUserDeleteRequest ¶
func NewDatabaseUserDeleteRequest(server string, databaseID string, userID string) (*http.Request, error)
NewDatabaseUserDeleteRequest constructs an http.Request for the DatabaseUserDelete method
func NewDatabaseUserPasswordResetRequest ¶
func NewDatabaseUserPasswordResetRequest(server string, databaseID string, userID string) (*http.Request, error)
NewDatabaseUserPasswordResetRequest constructs an http.Request for the DatabaseUserPasswordReset method
func NewDatabasesListRequest ¶
func NewDatabasesListRequest(server string, params *DatabasesListParams) (*http.Request, error)
NewDatabasesListRequest constructs an http.Request for the DatabasesList method
func NewDnsRecordCreateRequest ¶
func NewDnsRecordCreateRequest(server string, id string, params *DnsRecordCreateParams, body DnsRecordCreateJSONRequestBody) (*http.Request, error)
NewDnsRecordCreateRequest calls the generic DnsRecordCreate builder with application/json body
func NewDnsRecordCreateRequestWithBody ¶
func NewDnsRecordCreateRequestWithBody(server string, id string, params *DnsRecordCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewDnsRecordCreateRequestWithBody constructs an http.Request for the DnsRecordCreate method, with any body, and a specified content type
func NewDnsRecordDeleteRequest ¶
NewDnsRecordDeleteRequest constructs an http.Request for the DnsRecordDelete method
func NewDnsRecordUpdateRequest ¶
func NewDnsRecordUpdateRequest(server string, id string, recordId string, body DnsRecordUpdateJSONRequestBody) (*http.Request, error)
NewDnsRecordUpdateRequest calls the generic DnsRecordUpdate builder with application/json body
func NewDnsRecordUpdateRequestWithBody ¶
func NewDnsRecordUpdateRequestWithBody(server string, id string, recordId string, contentType string, body io.Reader) (*http.Request, error)
NewDnsRecordUpdateRequestWithBody constructs an http.Request for the DnsRecordUpdate method, with any body, and a specified content type
func NewDnsZoneCreateRequest ¶
func NewDnsZoneCreateRequest(server string, params *DnsZoneCreateParams, body DnsZoneCreateJSONRequestBody) (*http.Request, error)
NewDnsZoneCreateRequest calls the generic DnsZoneCreate builder with application/json body
func NewDnsZoneCreateRequestWithBody ¶
func NewDnsZoneCreateRequestWithBody(server string, params *DnsZoneCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewDnsZoneCreateRequestWithBody constructs an http.Request for the DnsZoneCreate method, with any body, and a specified content type
func NewDnsZoneDeleteRequest ¶
NewDnsZoneDeleteRequest constructs an http.Request for the DnsZoneDelete method
func NewDnsZoneGetRequest ¶
NewDnsZoneGetRequest constructs an http.Request for the DnsZoneGet method
func NewDnsZoneProjectSetRequest ¶
func NewDnsZoneProjectSetRequest(server string, id string, body DnsZoneProjectSetJSONRequestBody) (*http.Request, error)
NewDnsZoneProjectSetRequest calls the generic DnsZoneProjectSet builder with application/json body
func NewDnsZoneProjectSetRequestWithBody ¶
func NewDnsZoneProjectSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDnsZoneProjectSetRequestWithBody constructs an http.Request for the DnsZoneProjectSet method, with any body, and a specified content type
func NewDnsZoneTagsSetRequest ¶
func NewDnsZoneTagsSetRequest(server string, id string, body DnsZoneTagsSetJSONRequestBody) (*http.Request, error)
NewDnsZoneTagsSetRequest calls the generic DnsZoneTagsSet builder with application/json body
func NewDnsZoneTagsSetRequestWithBody ¶
func NewDnsZoneTagsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDnsZoneTagsSetRequestWithBody constructs an http.Request for the DnsZoneTagsSet method, with any body, and a specified content type
func NewDnsZonesListRequest ¶
func NewDnsZonesListRequest(server string, params *DnsZonesListParams) (*http.Request, error)
NewDnsZonesListRequest constructs an http.Request for the DnsZonesList method
func NewDomainAutoRenewSetRequest ¶
func NewDomainAutoRenewSetRequest(server string, id string, body DomainAutoRenewSetJSONRequestBody) (*http.Request, error)
NewDomainAutoRenewSetRequest calls the generic DomainAutoRenewSet builder with application/json body
func NewDomainAutoRenewSetRequestWithBody ¶
func NewDomainAutoRenewSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDomainAutoRenewSetRequestWithBody constructs an http.Request for the DomainAutoRenewSet method, with any body, and a specified content type
func NewDomainContactCreateRequest ¶
func NewDomainContactCreateRequest(server string, body DomainContactCreateJSONRequestBody) (*http.Request, error)
NewDomainContactCreateRequest calls the generic DomainContactCreate builder with application/json body
func NewDomainContactCreateRequestWithBody ¶
func NewDomainContactCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDomainContactCreateRequestWithBody constructs an http.Request for the DomainContactCreate method, with any body, and a specified content type
func NewDomainContactDeleteRequest ¶
NewDomainContactDeleteRequest constructs an http.Request for the DomainContactDelete method
func NewDomainContactSuggestRequest ¶
NewDomainContactSuggestRequest constructs an http.Request for the DomainContactSuggest method
func NewDomainContactUpdateRequest ¶
func NewDomainContactUpdateRequest(server string, id string, body DomainContactUpdateJSONRequestBody) (*http.Request, error)
NewDomainContactUpdateRequest calls the generic DomainContactUpdate builder with application/json body
func NewDomainContactUpdateRequestWithBody ¶
func NewDomainContactUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDomainContactUpdateRequestWithBody constructs an http.Request for the DomainContactUpdate method, with any body, and a specified content type
func NewDomainContactsListRequest ¶
NewDomainContactsListRequest constructs an http.Request for the DomainContactsList method
func NewDomainGetRequest ¶
NewDomainGetRequest constructs an http.Request for the DomainGet method
func NewDomainLockSetRequest ¶
func NewDomainLockSetRequest(server string, id string, body DomainLockSetJSONRequestBody) (*http.Request, error)
NewDomainLockSetRequest calls the generic DomainLockSet builder with application/json body
func NewDomainLockSetRequestWithBody ¶
func NewDomainLockSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDomainLockSetRequestWithBody constructs an http.Request for the DomainLockSet method, with any body, and a specified content type
func NewDomainNameserversSetRequest ¶
func NewDomainNameserversSetRequest(server string, id string, body DomainNameserversSetJSONRequestBody) (*http.Request, error)
NewDomainNameserversSetRequest calls the generic DomainNameserversSet builder with application/json body
func NewDomainNameserversSetRequestWithBody ¶
func NewDomainNameserversSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDomainNameserversSetRequestWithBody constructs an http.Request for the DomainNameserversSet method, with any body, and a specified content type
func NewDomainPrivacySetRequest ¶
func NewDomainPrivacySetRequest(server string, id string, body DomainPrivacySetJSONRequestBody) (*http.Request, error)
NewDomainPrivacySetRequest calls the generic DomainPrivacySet builder with application/json body
func NewDomainPrivacySetRequestWithBody ¶
func NewDomainPrivacySetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDomainPrivacySetRequestWithBody constructs an http.Request for the DomainPrivacySet method, with any body, and a specified content type
func NewDomainProjectSetRequest ¶
func NewDomainProjectSetRequest(server string, id string, body DomainProjectSetJSONRequestBody) (*http.Request, error)
NewDomainProjectSetRequest calls the generic DomainProjectSet builder with application/json body
func NewDomainProjectSetRequestWithBody ¶
func NewDomainProjectSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDomainProjectSetRequestWithBody constructs an http.Request for the DomainProjectSet method, with any body, and a specified content type
func NewDomainRegisterRequest ¶
func NewDomainRegisterRequest(server string, params *DomainRegisterParams, body DomainRegisterJSONRequestBody) (*http.Request, error)
NewDomainRegisterRequest calls the generic DomainRegister builder with application/json body
func NewDomainRegisterRequestWithBody ¶
func NewDomainRegisterRequestWithBody(server string, params *DomainRegisterParams, contentType string, body io.Reader) (*http.Request, error)
NewDomainRegisterRequestWithBody constructs an http.Request for the DomainRegister method, with any body, and a specified content type
func NewDomainRenewRequest ¶
func NewDomainRenewRequest(server string, id string, body DomainRenewJSONRequestBody) (*http.Request, error)
NewDomainRenewRequest calls the generic DomainRenew builder with application/json body
func NewDomainRenewRequestWithBody ¶
func NewDomainRenewRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDomainRenewRequestWithBody constructs an http.Request for the DomainRenew method, with any body, and a specified content type
func NewDomainSearchRequest ¶
func NewDomainSearchRequest(server string, body DomainSearchJSONRequestBody) (*http.Request, error)
NewDomainSearchRequest calls the generic DomainSearch builder with application/json body
func NewDomainSearchRequestWithBody ¶
func NewDomainSearchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDomainSearchRequestWithBody constructs an http.Request for the DomainSearch method, with any body, and a specified content type
func NewDomainTagsSetRequest ¶
func NewDomainTagsSetRequest(server string, id string, body DomainTagsSetJSONRequestBody) (*http.Request, error)
NewDomainTagsSetRequest calls the generic DomainTagsSet builder with application/json body
func NewDomainTagsSetRequestWithBody ¶
func NewDomainTagsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDomainTagsSetRequestWithBody constructs an http.Request for the DomainTagsSet method, with any body, and a specified content type
func NewDomainTldsListRequest ¶
NewDomainTldsListRequest constructs an http.Request for the DomainTldsList method
func NewDomainTransferRequest ¶
func NewDomainTransferRequest(server string, body DomainTransferJSONRequestBody) (*http.Request, error)
NewDomainTransferRequest calls the generic DomainTransfer builder with application/json body
func NewDomainTransferRequestWithBody ¶
func NewDomainTransferRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDomainTransferRequestWithBody constructs an http.Request for the DomainTransfer method, with any body, and a specified content type
func NewDomainsListRequest ¶
func NewDomainsListRequest(server string, params *DomainsListParams) (*http.Request, error)
NewDomainsListRequest constructs an http.Request for the DomainsList method
func NewFirewallCreateRequest ¶
func NewFirewallCreateRequest(server string, params *FirewallCreateParams, body FirewallCreateJSONRequestBody) (*http.Request, error)
NewFirewallCreateRequest calls the generic FirewallCreate builder with application/json body
func NewFirewallCreateRequestWithBody ¶
func NewFirewallCreateRequestWithBody(server string, params *FirewallCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewFirewallCreateRequestWithBody constructs an http.Request for the FirewallCreate method, with any body, and a specified content type
func NewFirewallDeleteRequest ¶
NewFirewallDeleteRequest constructs an http.Request for the FirewallDelete method
func NewFirewallGetRequest ¶
NewFirewallGetRequest constructs an http.Request for the FirewallGet method
func NewFirewallRulesReplaceRequest ¶
func NewFirewallRulesReplaceRequest(server string, id string, body FirewallRulesReplaceJSONRequestBody) (*http.Request, error)
NewFirewallRulesReplaceRequest calls the generic FirewallRulesReplace builder with application/json body
func NewFirewallRulesReplaceRequestWithBody ¶
func NewFirewallRulesReplaceRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewFirewallRulesReplaceRequestWithBody constructs an http.Request for the FirewallRulesReplace method, with any body, and a specified content type
func NewFirewallServerAttachRequest ¶
func NewFirewallServerAttachRequest(server string, id string, serverId string) (*http.Request, error)
NewFirewallServerAttachRequest constructs an http.Request for the FirewallServerAttach method
func NewFirewallServerDetachRequest ¶
func NewFirewallServerDetachRequest(server string, id string, serverId string) (*http.Request, error)
NewFirewallServerDetachRequest constructs an http.Request for the FirewallServerDetach method
func NewFirewallUpdateRequest ¶
func NewFirewallUpdateRequest(server string, id string, body FirewallUpdateJSONRequestBody) (*http.Request, error)
NewFirewallUpdateRequest calls the generic FirewallUpdate builder with application/json body
func NewFirewallUpdateRequestWithBody ¶
func NewFirewallUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewFirewallUpdateRequestWithBody constructs an http.Request for the FirewallUpdate method, with any body, and a specified content type
func NewFirewallsListRequest ¶
func NewFirewallsListRequest(server string, params *FirewallsListParams) (*http.Request, error)
NewFirewallsListRequest constructs an http.Request for the FirewallsList method
func NewFloatingIpAttachRequest ¶
func NewFloatingIpAttachRequest(server string, floatingIpID string, body FloatingIpAttachJSONRequestBody) (*http.Request, error)
NewFloatingIpAttachRequest calls the generic FloatingIpAttach builder with application/json body
func NewFloatingIpAttachRequestWithBody ¶
func NewFloatingIpAttachRequestWithBody(server string, floatingIpID string, contentType string, body io.Reader) (*http.Request, error)
NewFloatingIpAttachRequestWithBody constructs an http.Request for the FloatingIpAttach method, with any body, and a specified content type
func NewFloatingIpCreateRequest ¶
func NewFloatingIpCreateRequest(server string, params *FloatingIpCreateParams, body FloatingIpCreateJSONRequestBody) (*http.Request, error)
NewFloatingIpCreateRequest calls the generic FloatingIpCreate builder with application/json body
func NewFloatingIpCreateRequestWithBody ¶
func NewFloatingIpCreateRequestWithBody(server string, params *FloatingIpCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewFloatingIpCreateRequestWithBody constructs an http.Request for the FloatingIpCreate method, with any body, and a specified content type
func NewFloatingIpDeleteRequest ¶
NewFloatingIpDeleteRequest constructs an http.Request for the FloatingIpDelete method
func NewFloatingIpDetachRequest ¶
NewFloatingIpDetachRequest constructs an http.Request for the FloatingIpDetach method
func NewFloatingIpGetRequest ¶
NewFloatingIpGetRequest constructs an http.Request for the FloatingIpGet method
func NewFloatingIpsListRequest ¶
NewFloatingIpsListRequest constructs an http.Request for the FloatingIpsList method
func NewFxRateRequest ¶
NewFxRateRequest constructs an http.Request for the FxRate method
func NewGitConnectionDeleteRequest ¶
NewGitConnectionDeleteRequest constructs an http.Request for the GitConnectionDelete method
func NewGitConnectionsListRequest ¶
NewGitConnectionsListRequest constructs an http.Request for the GitConnectionsList method
func NewGitInstallCallbackRequest ¶
func NewGitInstallCallbackRequest(server string, provider GitInstallCallbackParamsProvider, params *GitInstallCallbackParams) (*http.Request, error)
NewGitInstallCallbackRequest constructs an http.Request for the GitInstallCallback method
func NewGitInstallSetupRequest ¶
func NewGitInstallSetupRequest(server string, provider GitInstallSetupParamsProvider, params *GitInstallSetupParams) (*http.Request, error)
NewGitInstallSetupRequest constructs an http.Request for the GitInstallSetup method
func NewGitInstallStartRequest ¶
func NewGitInstallStartRequest(server string, provider GitInstallStartParamsProvider) (*http.Request, error)
NewGitInstallStartRequest constructs an http.Request for the GitInstallStart method
func NewGitProvidersListRequest ¶
NewGitProvidersListRequest constructs an http.Request for the GitProvidersList method
func NewGitRepositoriesListRequest ¶
NewGitRepositoriesListRequest constructs an http.Request for the GitRepositoriesList method
func NewImagesListRequest ¶
func NewImagesListRequest(server string, params *ImagesListParams) (*http.Request, error)
NewImagesListRequest constructs an http.Request for the ImagesList method
func NewIsoCreateRequest ¶
func NewIsoCreateRequest(server string, params *IsoCreateParams, body IsoCreateJSONRequestBody) (*http.Request, error)
NewIsoCreateRequest calls the generic IsoCreate builder with application/json body
func NewIsoCreateRequestWithBody ¶
func NewIsoCreateRequestWithBody(server string, params *IsoCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewIsoCreateRequestWithBody constructs an http.Request for the IsoCreate method, with any body, and a specified content type
func NewIsoDeleteRequest ¶
NewIsoDeleteRequest constructs an http.Request for the IsoDelete method
func NewIsoGetRequest ¶
NewIsoGetRequest constructs an http.Request for the IsoGet method
func NewIsoListRequest ¶
NewIsoListRequest constructs an http.Request for the IsoList method
func NewLoadBalancerBackendsSetRequest ¶
func NewLoadBalancerBackendsSetRequest(server string, loadBalancerID string, body LoadBalancerBackendsSetJSONRequestBody) (*http.Request, error)
NewLoadBalancerBackendsSetRequest calls the generic LoadBalancerBackendsSet builder with application/json body
func NewLoadBalancerBackendsSetRequestWithBody ¶
func NewLoadBalancerBackendsSetRequestWithBody(server string, loadBalancerID string, contentType string, body io.Reader) (*http.Request, error)
NewLoadBalancerBackendsSetRequestWithBody constructs an http.Request for the LoadBalancerBackendsSet method, with any body, and a specified content type
func NewLoadBalancerCreateRequest ¶
func NewLoadBalancerCreateRequest(server string, params *LoadBalancerCreateParams, body LoadBalancerCreateJSONRequestBody) (*http.Request, error)
NewLoadBalancerCreateRequest calls the generic LoadBalancerCreate builder with application/json body
func NewLoadBalancerCreateRequestWithBody ¶
func NewLoadBalancerCreateRequestWithBody(server string, params *LoadBalancerCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewLoadBalancerCreateRequestWithBody constructs an http.Request for the LoadBalancerCreate method, with any body, and a specified content type
func NewLoadBalancerDeleteRequest ¶
NewLoadBalancerDeleteRequest constructs an http.Request for the LoadBalancerDelete method
func NewLoadBalancerGetRequest ¶
NewLoadBalancerGetRequest constructs an http.Request for the LoadBalancerGet method
func NewLoadBalancerProjectSetRequest ¶
func NewLoadBalancerProjectSetRequest(server string, loadBalancerID string, body LoadBalancerProjectSetJSONRequestBody) (*http.Request, error)
NewLoadBalancerProjectSetRequest calls the generic LoadBalancerProjectSet builder with application/json body
func NewLoadBalancerProjectSetRequestWithBody ¶
func NewLoadBalancerProjectSetRequestWithBody(server string, loadBalancerID string, contentType string, body io.Reader) (*http.Request, error)
NewLoadBalancerProjectSetRequestWithBody constructs an http.Request for the LoadBalancerProjectSet method, with any body, and a specified content type
func NewLoadBalancerRulesReplaceRequest ¶
func NewLoadBalancerRulesReplaceRequest(server string, loadBalancerID string, body LoadBalancerRulesReplaceJSONRequestBody) (*http.Request, error)
NewLoadBalancerRulesReplaceRequest calls the generic LoadBalancerRulesReplace builder with application/json body
func NewLoadBalancerRulesReplaceRequestWithBody ¶
func NewLoadBalancerRulesReplaceRequestWithBody(server string, loadBalancerID string, contentType string, body io.Reader) (*http.Request, error)
NewLoadBalancerRulesReplaceRequestWithBody constructs an http.Request for the LoadBalancerRulesReplace method, with any body, and a specified content type
func NewLoadBalancerTagsSetRequest ¶
func NewLoadBalancerTagsSetRequest(server string, loadBalancerID string, body LoadBalancerTagsSetJSONRequestBody) (*http.Request, error)
NewLoadBalancerTagsSetRequest calls the generic LoadBalancerTagsSet builder with application/json body
func NewLoadBalancerTagsSetRequestWithBody ¶
func NewLoadBalancerTagsSetRequestWithBody(server string, loadBalancerID string, contentType string, body io.Reader) (*http.Request, error)
NewLoadBalancerTagsSetRequestWithBody constructs an http.Request for the LoadBalancerTagsSet method, with any body, and a specified content type
func NewLoadBalancersListRequest ¶
func NewLoadBalancersListRequest(server string, params *LoadBalancersListParams) (*http.Request, error)
NewLoadBalancersListRequest constructs an http.Request for the LoadBalancersList method
func NewNetworkCreateRequest ¶
func NewNetworkCreateRequest(server string, params *NetworkCreateParams, body NetworkCreateJSONRequestBody) (*http.Request, error)
NewNetworkCreateRequest calls the generic NetworkCreate builder with application/json body
func NewNetworkCreateRequestWithBody ¶
func NewNetworkCreateRequestWithBody(server string, params *NetworkCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewNetworkCreateRequestWithBody constructs an http.Request for the NetworkCreate method, with any body, and a specified content type
func NewNetworkDeleteRequest ¶
NewNetworkDeleteRequest constructs an http.Request for the NetworkDelete method
func NewNetworkGetRequest ¶
NewNetworkGetRequest constructs an http.Request for the NetworkGet method
func NewNetworkProjectSetRequest ¶
func NewNetworkProjectSetRequest(server string, id string, body NetworkProjectSetJSONRequestBody) (*http.Request, error)
NewNetworkProjectSetRequest calls the generic NetworkProjectSet builder with application/json body
func NewNetworkProjectSetRequestWithBody ¶
func NewNetworkProjectSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewNetworkProjectSetRequestWithBody constructs an http.Request for the NetworkProjectSet method, with any body, and a specified content type
func NewNetworkTagsSetRequest ¶
func NewNetworkTagsSetRequest(server string, id string, body NetworkTagsSetJSONRequestBody) (*http.Request, error)
NewNetworkTagsSetRequest calls the generic NetworkTagsSet builder with application/json body
func NewNetworkTagsSetRequestWithBody ¶
func NewNetworkTagsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewNetworkTagsSetRequestWithBody constructs an http.Request for the NetworkTagsSet method, with any body, and a specified content type
func NewNetworksListRequest ¶
func NewNetworksListRequest(server string, params *NetworksListParams) (*http.Request, error)
NewNetworksListRequest constructs an http.Request for the NetworksList method
func NewNotificationDeleteRequest ¶
NewNotificationDeleteRequest constructs an http.Request for the NotificationDelete method
func NewNotificationsListRequest ¶
func NewNotificationsListRequest(server string, params *NotificationsListParams) (*http.Request, error)
NewNotificationsListRequest constructs an http.Request for the NotificationsList method
func NewNotificationsMarkReadRequest ¶
func NewNotificationsMarkReadRequest(server string, body NotificationsMarkReadJSONRequestBody) (*http.Request, error)
NewNotificationsMarkReadRequest calls the generic NotificationsMarkRead builder with application/json body
func NewNotificationsMarkReadRequestWithBody ¶
func NewNotificationsMarkReadRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewNotificationsMarkReadRequestWithBody constructs an http.Request for the NotificationsMarkRead method, with any body, and a specified content type
func NewOauthConsentDecideRequest ¶ added in v0.2.0
func NewOauthConsentDecideRequest(server string, id string, body OauthConsentDecideJSONRequestBody) (*http.Request, error)
NewOauthConsentDecideRequest calls the generic OauthConsentDecide builder with application/json body
func NewOauthConsentDecideRequestWithBody ¶ added in v0.2.0
func NewOauthConsentDecideRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewOauthConsentDecideRequestWithBody constructs an http.Request for the OauthConsentDecide method, with any body, and a specified content type
func NewOauthConsentGetRequest ¶ added in v0.2.0
NewOauthConsentGetRequest constructs an http.Request for the OauthConsentGet method
func NewOnboardingOrganizationCreateRequest ¶ added in v0.3.0
func NewOnboardingOrganizationCreateRequest(server string, body OnboardingOrganizationCreateJSONRequestBody) (*http.Request, error)
NewOnboardingOrganizationCreateRequest calls the generic OnboardingOrganizationCreate builder with application/json body
func NewOnboardingOrganizationCreateRequestWithBody ¶ added in v0.3.0
func NewOnboardingOrganizationCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewOnboardingOrganizationCreateRequestWithBody constructs an http.Request for the OnboardingOrganizationCreate method, with any body, and a specified content type
func NewOrganizationInvitationAcceptRequest ¶
NewOrganizationInvitationAcceptRequest constructs an http.Request for the OrganizationInvitationAccept method
func NewOrganizationInvitationGetRequest ¶
NewOrganizationInvitationGetRequest constructs an http.Request for the OrganizationInvitationGet method
func NewOrganizationInvitationsCreateRequest ¶
func NewOrganizationInvitationsCreateRequest(server string, id string, body OrganizationInvitationsCreateJSONRequestBody) (*http.Request, error)
NewOrganizationInvitationsCreateRequest calls the generic OrganizationInvitationsCreate builder with application/json body
func NewOrganizationInvitationsCreateRequestWithBody ¶
func NewOrganizationInvitationsCreateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewOrganizationInvitationsCreateRequestWithBody constructs an http.Request for the OrganizationInvitationsCreate method, with any body, and a specified content type
func NewOrganizationInvitationsListRequest ¶
NewOrganizationInvitationsListRequest constructs an http.Request for the OrganizationInvitationsList method
func NewOrganizationInvitationsRevokeRequest ¶
func NewOrganizationInvitationsRevokeRequest(server string, id string, invitationId string) (*http.Request, error)
NewOrganizationInvitationsRevokeRequest constructs an http.Request for the OrganizationInvitationsRevoke method
func NewOrganizationMemberRoleUpdateRequest ¶
func NewOrganizationMemberRoleUpdateRequest(server string, id string, userId string, body OrganizationMemberRoleUpdateJSONRequestBody) (*http.Request, error)
NewOrganizationMemberRoleUpdateRequest calls the generic OrganizationMemberRoleUpdate builder with application/json body
func NewOrganizationMemberRoleUpdateRequestWithBody ¶
func NewOrganizationMemberRoleUpdateRequestWithBody(server string, id string, userId string, contentType string, body io.Reader) (*http.Request, error)
NewOrganizationMemberRoleUpdateRequestWithBody constructs an http.Request for the OrganizationMemberRoleUpdate method, with any body, and a specified content type
func NewOrganizationMembersListRequest ¶
NewOrganizationMembersListRequest constructs an http.Request for the OrganizationMembersList method
func NewOrganizationMembersRemoveRequest ¶
func NewOrganizationMembersRemoveRequest(server string, id string, userId string) (*http.Request, error)
NewOrganizationMembersRemoveRequest constructs an http.Request for the OrganizationMembersRemove method
func NewOrganizationsActivateRequest ¶
NewOrganizationsActivateRequest constructs an http.Request for the OrganizationsActivate method
func NewOrganizationsCreateRequest ¶
func NewOrganizationsCreateRequest(server string, body OrganizationsCreateJSONRequestBody) (*http.Request, error)
NewOrganizationsCreateRequest calls the generic OrganizationsCreate builder with application/json body
func NewOrganizationsCreateRequestWithBody ¶
func NewOrganizationsCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewOrganizationsCreateRequestWithBody constructs an http.Request for the OrganizationsCreate method, with any body, and a specified content type
func NewOrganizationsDeleteRequest ¶
NewOrganizationsDeleteRequest constructs an http.Request for the OrganizationsDelete method
func NewOrganizationsGetRequest ¶
NewOrganizationsGetRequest constructs an http.Request for the OrganizationsGet method
func NewOrganizationsLeaveRequest ¶
NewOrganizationsLeaveRequest constructs an http.Request for the OrganizationsLeave method
func NewOrganizationsListRequest ¶
NewOrganizationsListRequest constructs an http.Request for the OrganizationsList method
func NewOrganizationsRenameRequest ¶
func NewOrganizationsRenameRequest(server string, id string, body OrganizationsRenameJSONRequestBody) (*http.Request, error)
NewOrganizationsRenameRequest calls the generic OrganizationsRename builder with application/json body
func NewOrganizationsRenameRequestWithBody ¶
func NewOrganizationsRenameRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewOrganizationsRenameRequestWithBody constructs an http.Request for the OrganizationsRename method, with any body, and a specified content type
func NewPaymentIntentsListRequest ¶
NewPaymentIntentsListRequest constructs an http.Request for the PaymentIntentsList method
func NewPaymentTopupInitRequest ¶
func NewPaymentTopupInitRequest(server string, params *PaymentTopupInitParams, body PaymentTopupInitJSONRequestBody) (*http.Request, error)
NewPaymentTopupInitRequest calls the generic PaymentTopupInit builder with application/json body
func NewPaymentTopupInitRequestWithBody ¶
func NewPaymentTopupInitRequestWithBody(server string, params *PaymentTopupInitParams, contentType string, body io.Reader) (*http.Request, error)
NewPaymentTopupInitRequestWithBody constructs an http.Request for the PaymentTopupInit method, with any body, and a specified content type
func NewPlanTypesListRequest ¶
NewPlanTypesListRequest constructs an http.Request for the PlanTypesList method
func NewPlansListRequest ¶
func NewPlansListRequest(server string, params *PlansListParams) (*http.Request, error)
NewPlansListRequest constructs an http.Request for the PlansList method
func NewProjectCreateRequest ¶
func NewProjectCreateRequest(server string, params *ProjectCreateParams, body ProjectCreateJSONRequestBody) (*http.Request, error)
NewProjectCreateRequest calls the generic ProjectCreate builder with application/json body
func NewProjectCreateRequestWithBody ¶
func NewProjectCreateRequestWithBody(server string, params *ProjectCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewProjectCreateRequestWithBody constructs an http.Request for the ProjectCreate method, with any body, and a specified content type
func NewProjectDeleteRequest ¶
NewProjectDeleteRequest constructs an http.Request for the ProjectDelete method
func NewProjectGetRequest ¶
NewProjectGetRequest constructs an http.Request for the ProjectGet method
func NewProjectUpdateRequest ¶
func NewProjectUpdateRequest(server string, id string, body ProjectUpdateJSONRequestBody) (*http.Request, error)
NewProjectUpdateRequest calls the generic ProjectUpdate builder with application/json body
func NewProjectUpdateRequestWithBody ¶
func NewProjectUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewProjectUpdateRequestWithBody constructs an http.Request for the ProjectUpdate method, with any body, and a specified content type
func NewProjectsListRequest ¶
NewProjectsListRequest constructs an http.Request for the ProjectsList method
func NewRdnsClearRequest ¶
NewRdnsClearRequest constructs an http.Request for the RdnsClear method
func NewRdnsSetRequest ¶
func NewRdnsSetRequest(server string, id string, body RdnsSetJSONRequestBody) (*http.Request, error)
NewRdnsSetRequest calls the generic RdnsSet builder with application/json body
func NewRdnsSetRequestWithBody ¶
func NewRdnsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewRdnsSetRequestWithBody constructs an http.Request for the RdnsSet method, with any body, and a specified content type
func NewRegionsListRequest ¶
NewRegionsListRequest constructs an http.Request for the RegionsList method
func NewResourcePricesListRequest ¶
NewResourcePricesListRequest constructs an http.Request for the ResourcePricesList method
func NewServerActionCreateRequest ¶
func NewServerActionCreateRequest(server string, id string, body ServerActionCreateJSONRequestBody) (*http.Request, error)
NewServerActionCreateRequest calls the generic ServerActionCreate builder with application/json body
func NewServerActionCreateRequestWithBody ¶
func NewServerActionCreateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerActionCreateRequestWithBody constructs an http.Request for the ServerActionCreate method, with any body, and a specified content type
func NewServerActionGetRequest ¶
NewServerActionGetRequest constructs an http.Request for the ServerActionGet method
func NewServerAlertDeleteRequest ¶
func NewServerAlertDeleteRequest(server string, id string, metric ServerAlertDeleteParamsMetric) (*http.Request, error)
NewServerAlertDeleteRequest constructs an http.Request for the ServerAlertDelete method
func NewServerAlertSaveRequest ¶
func NewServerAlertSaveRequest(server string, id string, body ServerAlertSaveJSONRequestBody) (*http.Request, error)
NewServerAlertSaveRequest calls the generic ServerAlertSave builder with application/json body
func NewServerAlertSaveRequestWithBody ¶
func NewServerAlertSaveRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerAlertSaveRequestWithBody constructs an http.Request for the ServerAlertSave method, with any body, and a specified content type
func NewServerAlertsListRequest ¶
NewServerAlertsListRequest constructs an http.Request for the ServerAlertsList method
func NewServerAppRetryRequest ¶
NewServerAppRetryRequest constructs an http.Request for the ServerAppRetry method
func NewServerBackupCreateRequest ¶
func NewServerBackupCreateRequest(server string, id string, body ServerBackupCreateJSONRequestBody) (*http.Request, error)
NewServerBackupCreateRequest calls the generic ServerBackupCreate builder with application/json body
func NewServerBackupCreateRequestWithBody ¶
func NewServerBackupCreateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerBackupCreateRequestWithBody constructs an http.Request for the ServerBackupCreate method, with any body, and a specified content type
func NewServerBackupDeleteRequest ¶
NewServerBackupDeleteRequest constructs an http.Request for the ServerBackupDelete method
func NewServerBackupListAllRequest ¶
func NewServerBackupListAllRequest(server string, params *ServerBackupListAllParams) (*http.Request, error)
NewServerBackupListAllRequest constructs an http.Request for the ServerBackupListAll method
func NewServerBackupListRequest ¶
NewServerBackupListRequest constructs an http.Request for the ServerBackupList method
func NewServerBackupRestoreRequest ¶
func NewServerBackupRestoreRequest(server string, id string, backupId string) (*http.Request, error)
NewServerBackupRestoreRequest constructs an http.Request for the ServerBackupRestore method
func NewServerBackupSettingsGetRequest ¶
NewServerBackupSettingsGetRequest constructs an http.Request for the ServerBackupSettingsGet method
func NewServerBackupSettingsUpdateRequest ¶
func NewServerBackupSettingsUpdateRequest(server string, id string, body ServerBackupSettingsUpdateJSONRequestBody) (*http.Request, error)
NewServerBackupSettingsUpdateRequest calls the generic ServerBackupSettingsUpdate builder with application/json body
func NewServerBackupSettingsUpdateRequestWithBody ¶
func NewServerBackupSettingsUpdateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerBackupSettingsUpdateRequestWithBody constructs an http.Request for the ServerBackupSettingsUpdate method, with any body, and a specified content type
func NewServerBillingGetRequest ¶
NewServerBillingGetRequest constructs an http.Request for the ServerBillingGet method
func NewServerConsoleCreateRequest ¶
NewServerConsoleCreateRequest constructs an http.Request for the ServerConsoleCreate method
func NewServerCreateRequest ¶
func NewServerCreateRequest(server string, params *ServerCreateParams, body ServerCreateJSONRequestBody) (*http.Request, error)
NewServerCreateRequest calls the generic ServerCreate builder with application/json body
func NewServerCreateRequestWithBody ¶
func NewServerCreateRequestWithBody(server string, params *ServerCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewServerCreateRequestWithBody constructs an http.Request for the ServerCreate method, with any body, and a specified content type
func NewServerDeleteRequest ¶
func NewServerDeleteRequest(server string, id string, params *ServerDeleteParams) (*http.Request, error)
NewServerDeleteRequest constructs an http.Request for the ServerDelete method
func NewServerDiskMetricsListRequest ¶ added in v0.3.0
func NewServerDiskMetricsListRequest(server string, id string, params *ServerDiskMetricsListParams) (*http.Request, error)
NewServerDiskMetricsListRequest constructs an http.Request for the ServerDiskMetricsList method
func NewServerEventsListRequest ¶
func NewServerEventsListRequest(server string, id string, params *ServerEventsListParams) (*http.Request, error)
NewServerEventsListRequest constructs an http.Request for the ServerEventsList method
func NewServerFilesystemsListRequest ¶
NewServerFilesystemsListRequest constructs an http.Request for the ServerFilesystemsList method
func NewServerGetRequest ¶
NewServerGetRequest constructs an http.Request for the ServerGet method
func NewServerLedgerListRequest ¶
func NewServerLedgerListRequest(server string, id string, params *ServerLedgerListParams) (*http.Request, error)
NewServerLedgerListRequest constructs an http.Request for the ServerLedgerList method
func NewServerMetricsListRequest ¶
func NewServerMetricsListRequest(server string, id string, params *ServerMetricsListParams) (*http.Request, error)
NewServerMetricsListRequest constructs an http.Request for the ServerMetricsList method
func NewServerMountISORequest ¶
func NewServerMountISORequest(server string, id string, body ServerMountISOJSONRequestBody) (*http.Request, error)
NewServerMountISORequest calls the generic ServerMountISO builder with application/json body
func NewServerMountISORequestWithBody ¶
func NewServerMountISORequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerMountISORequestWithBody constructs an http.Request for the ServerMountISO method, with any body, and a specified content type
func NewServerNetworkAttachRequest ¶
func NewServerNetworkAttachRequest(server string, id string, body ServerNetworkAttachJSONRequestBody) (*http.Request, error)
NewServerNetworkAttachRequest calls the generic ServerNetworkAttach builder with application/json body
func NewServerNetworkAttachRequestWithBody ¶
func NewServerNetworkAttachRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerNetworkAttachRequestWithBody constructs an http.Request for the ServerNetworkAttach method, with any body, and a specified content type
func NewServerNetworkDetachRequest ¶
NewServerNetworkDetachRequest constructs an http.Request for the ServerNetworkDetach method
func NewServerPasswordResetRequest ¶
NewServerPasswordResetRequest constructs an http.Request for the ServerPasswordReset method
func NewServerProjectSetRequest ¶
func NewServerProjectSetRequest(server string, id string, body ServerProjectSetJSONRequestBody) (*http.Request, error)
NewServerProjectSetRequest calls the generic ServerProjectSet builder with application/json body
func NewServerProjectSetRequestWithBody ¶
func NewServerProjectSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerProjectSetRequestWithBody constructs an http.Request for the ServerProjectSet method, with any body, and a specified content type
func NewServerRDNSListRequest ¶
NewServerRDNSListRequest constructs an http.Request for the ServerRDNSList method
func NewServerRebuildRequest ¶
func NewServerRebuildRequest(server string, id string, body ServerRebuildJSONRequestBody) (*http.Request, error)
NewServerRebuildRequest calls the generic ServerRebuild builder with application/json body
func NewServerRebuildRequestWithBody ¶
func NewServerRebuildRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerRebuildRequestWithBody constructs an http.Request for the ServerRebuild method, with any body, and a specified content type
func NewServerRenameRequest ¶
func NewServerRenameRequest(server string, id string, body ServerRenameJSONRequestBody) (*http.Request, error)
NewServerRenameRequest calls the generic ServerRename builder with application/json body
func NewServerRenameRequestWithBody ¶
func NewServerRenameRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerRenameRequestWithBody constructs an http.Request for the ServerRename method, with any body, and a specified content type
func NewServerRescueEnterRequest ¶
NewServerRescueEnterRequest constructs an http.Request for the ServerRescueEnter method
func NewServerRescueExitRequest ¶
NewServerRescueExitRequest constructs an http.Request for the ServerRescueExit method
func NewServerResizeRequest ¶
func NewServerResizeRequest(server string, id string, body ServerResizeJSONRequestBody) (*http.Request, error)
NewServerResizeRequest calls the generic ServerResize builder with application/json body
func NewServerResizeRequestWithBody ¶
func NewServerResizeRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerResizeRequestWithBody constructs an http.Request for the ServerResize method, with any body, and a specified content type
func NewServerSnapshotCreateRequest ¶
func NewServerSnapshotCreateRequest(server string, id string, body ServerSnapshotCreateJSONRequestBody) (*http.Request, error)
NewServerSnapshotCreateRequest calls the generic ServerSnapshotCreate builder with application/json body
func NewServerSnapshotCreateRequestWithBody ¶
func NewServerSnapshotCreateRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerSnapshotCreateRequestWithBody constructs an http.Request for the ServerSnapshotCreate method, with any body, and a specified content type
func NewServerSnapshotDeleteRequest ¶
func NewServerSnapshotDeleteRequest(server string, id string, snapshotId string) (*http.Request, error)
NewServerSnapshotDeleteRequest constructs an http.Request for the ServerSnapshotDelete method
func NewServerSnapshotListAllRequest ¶
func NewServerSnapshotListAllRequest(server string, params *ServerSnapshotListAllParams) (*http.Request, error)
NewServerSnapshotListAllRequest constructs an http.Request for the ServerSnapshotListAll method
func NewServerSnapshotListRequest ¶
NewServerSnapshotListRequest constructs an http.Request for the ServerSnapshotList method
func NewServerSnapshotRestoreRequest ¶
func NewServerSnapshotRestoreRequest(server string, id string, snapshotId string) (*http.Request, error)
NewServerSnapshotRestoreRequest constructs an http.Request for the ServerSnapshotRestore method
func NewServerTagsSetRequest ¶
func NewServerTagsSetRequest(server string, id string, body ServerTagsSetJSONRequestBody) (*http.Request, error)
NewServerTagsSetRequest calls the generic ServerTagsSet builder with application/json body
func NewServerTagsSetRequestWithBody ¶
func NewServerTagsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewServerTagsSetRequestWithBody constructs an http.Request for the ServerTagsSet method, with any body, and a specified content type
func NewServerUnmountISORequest ¶
NewServerUnmountISORequest constructs an http.Request for the ServerUnmountISO method
func NewServersListRequest ¶
func NewServersListRequest(server string, params *ServersListParams) (*http.Request, error)
NewServersListRequest constructs an http.Request for the ServersList method
func NewSshKeyCreateRequest ¶
func NewSshKeyCreateRequest(server string, params *SshKeyCreateParams, body SshKeyCreateJSONRequestBody) (*http.Request, error)
NewSshKeyCreateRequest calls the generic SshKeyCreate builder with application/json body
func NewSshKeyCreateRequestWithBody ¶
func NewSshKeyCreateRequestWithBody(server string, params *SshKeyCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewSshKeyCreateRequestWithBody constructs an http.Request for the SshKeyCreate method, with any body, and a specified content type
func NewSshKeyDeleteRequest ¶
NewSshKeyDeleteRequest constructs an http.Request for the SshKeyDelete method
func NewSshKeyGetRequest ¶
NewSshKeyGetRequest constructs an http.Request for the SshKeyGet method
func NewSshKeysListRequest ¶
NewSshKeysListRequest constructs an http.Request for the SshKeysList method
func NewTagsListRequest ¶
func NewTagsListRequest(server string, params *TagsListParams) (*http.Request, error)
NewTagsListRequest constructs an http.Request for the TagsList method
func NewTicketAttachmentDownloadRequest ¶
func NewTicketAttachmentDownloadRequest(server string, code string, id int64) (*http.Request, error)
NewTicketAttachmentDownloadRequest constructs an http.Request for the TicketAttachmentDownload method
func NewTicketCloseRequest ¶
NewTicketCloseRequest constructs an http.Request for the TicketClose method
func NewTicketCreateRequest ¶
func NewTicketCreateRequest(server string, body TicketCreateJSONRequestBody) (*http.Request, error)
NewTicketCreateRequest calls the generic TicketCreate builder with application/json body
func NewTicketCreateRequestWithBody ¶
func NewTicketCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTicketCreateRequestWithBody constructs an http.Request for the TicketCreate method, with any body, and a specified content type
func NewTicketGetRequest ¶
NewTicketGetRequest constructs an http.Request for the TicketGet method
func NewTicketReopenRequest ¶
NewTicketReopenRequest constructs an http.Request for the TicketReopen method
func NewTicketReplyRequest ¶
func NewTicketReplyRequest(server string, code string, body TicketReplyJSONRequestBody) (*http.Request, error)
NewTicketReplyRequest calls the generic TicketReply builder with application/json body
func NewTicketReplyRequestWithBody ¶
func NewTicketReplyRequestWithBody(server string, code string, contentType string, body io.Reader) (*http.Request, error)
NewTicketReplyRequestWithBody constructs an http.Request for the TicketReply method, with any body, and a specified content type
func NewTicketsListRequest ¶
func NewTicketsListRequest(server string, params *TicketsListParams) (*http.Request, error)
NewTicketsListRequest constructs an http.Request for the TicketsList method
func NewVolumeAttachRequest ¶
func NewVolumeAttachRequest(server string, id string, body VolumeAttachJSONRequestBody) (*http.Request, error)
NewVolumeAttachRequest calls the generic VolumeAttach builder with application/json body
func NewVolumeAttachRequestWithBody ¶
func NewVolumeAttachRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewVolumeAttachRequestWithBody constructs an http.Request for the VolumeAttach method, with any body, and a specified content type
func NewVolumeCreateRequest ¶
func NewVolumeCreateRequest(server string, params *VolumeCreateParams, body VolumeCreateJSONRequestBody) (*http.Request, error)
NewVolumeCreateRequest calls the generic VolumeCreate builder with application/json body
func NewVolumeCreateRequestWithBody ¶
func NewVolumeCreateRequestWithBody(server string, params *VolumeCreateParams, contentType string, body io.Reader) (*http.Request, error)
NewVolumeCreateRequestWithBody constructs an http.Request for the VolumeCreate method, with any body, and a specified content type
func NewVolumeDeleteRequest ¶
NewVolumeDeleteRequest constructs an http.Request for the VolumeDelete method
func NewVolumeDetachRequest ¶
NewVolumeDetachRequest constructs an http.Request for the VolumeDetach method
func NewVolumeGetRequest ¶
NewVolumeGetRequest constructs an http.Request for the VolumeGet method
func NewVolumeLimitsRequest ¶
NewVolumeLimitsRequest constructs an http.Request for the VolumeLimits method
func NewVolumeListRequest ¶
func NewVolumeListRequest(server string, params *VolumeListParams) (*http.Request, error)
NewVolumeListRequest constructs an http.Request for the VolumeList method
func NewVolumeProjectSetRequest ¶
func NewVolumeProjectSetRequest(server string, id string, body VolumeProjectSetJSONRequestBody) (*http.Request, error)
NewVolumeProjectSetRequest calls the generic VolumeProjectSet builder with application/json body
func NewVolumeProjectSetRequestWithBody ¶
func NewVolumeProjectSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewVolumeProjectSetRequestWithBody constructs an http.Request for the VolumeProjectSet method, with any body, and a specified content type
func NewVolumeResizeRequest ¶
func NewVolumeResizeRequest(server string, id string, body VolumeResizeJSONRequestBody) (*http.Request, error)
NewVolumeResizeRequest calls the generic VolumeResize builder with application/json body
func NewVolumeResizeRequestWithBody ¶
func NewVolumeResizeRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewVolumeResizeRequestWithBody constructs an http.Request for the VolumeResize method, with any body, and a specified content type
func NewVolumeTagsSetRequest ¶
func NewVolumeTagsSetRequest(server string, id string, body VolumeTagsSetJSONRequestBody) (*http.Request, error)
NewVolumeTagsSetRequest calls the generic VolumeTagsSet builder with application/json body
func NewVolumeTagsSetRequestWithBody ¶
func NewVolumeTagsSetRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewVolumeTagsSetRequestWithBody constructs an http.Request for the VolumeTagsSet method, with any body, and a specified content type
func NewWalletGetRequest ¶
NewWalletGetRequest constructs an http.Request for the WalletGet method
func NewWalletLedgerDailyRequest ¶
func NewWalletLedgerDailyRequest(server string, params *WalletLedgerDailyParams) (*http.Request, error)
NewWalletLedgerDailyRequest constructs an http.Request for the WalletLedgerDaily method
func NewWalletLedgerListRequest ¶
func NewWalletLedgerListRequest(server string, params *WalletLedgerListParams) (*http.Request, error)
NewWalletLedgerListRequest constructs an http.Request for the WalletLedgerList method
func NewWalletPromoRedeemRequest ¶
func NewWalletPromoRedeemRequest(server string, body WalletPromoRedeemJSONRequestBody) (*http.Request, error)
NewWalletPromoRedeemRequest calls the generic WalletPromoRedeem builder with application/json body
Types ¶
type AccountBillingProfileGetResponse ¶
type AccountBillingProfileGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProfileBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountBillingProfileGetResponse ¶
func ParseAccountBillingProfileGetResponse(rsp *http.Response) (*AccountBillingProfileGetResponse, error)
ParseAccountBillingProfileGetResponse parses an HTTP response from a AccountBillingProfileGetWithResponse call
func (AccountBillingProfileGetResponse) ContentType ¶
func (r AccountBillingProfileGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountBillingProfileGetResponse) GetApplicationproblemJSONDefault ¶
func (r AccountBillingProfileGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountBillingProfileGetResponse) GetBody ¶
func (r AccountBillingProfileGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountBillingProfileGetResponse) GetJSON200 ¶
func (r AccountBillingProfileGetResponse) GetJSON200() *ProfileBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountBillingProfileGetResponse) Status ¶
func (r AccountBillingProfileGetResponse) Status() string
Status returns HTTPResponse.Status
func (AccountBillingProfileGetResponse) StatusCode ¶
func (r AccountBillingProfileGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountBillingProfileSaveJSONRequestBody ¶
type AccountBillingProfileSaveJSONRequestBody = ProfileBody
AccountBillingProfileSaveJSONRequestBody defines body for AccountBillingProfileSave for application/json ContentType.
type AccountBillingProfileSaveResponse ¶
type AccountBillingProfileSaveResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProfileBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountBillingProfileSaveResponse ¶
func ParseAccountBillingProfileSaveResponse(rsp *http.Response) (*AccountBillingProfileSaveResponse, error)
ParseAccountBillingProfileSaveResponse parses an HTTP response from a AccountBillingProfileSaveWithResponse call
func (AccountBillingProfileSaveResponse) ContentType ¶
func (r AccountBillingProfileSaveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountBillingProfileSaveResponse) GetApplicationproblemJSONDefault ¶
func (r AccountBillingProfileSaveResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountBillingProfileSaveResponse) GetBody ¶
func (r AccountBillingProfileSaveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountBillingProfileSaveResponse) GetJSON200 ¶
func (r AccountBillingProfileSaveResponse) GetJSON200() *ProfileBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountBillingProfileSaveResponse) Status ¶
func (r AccountBillingProfileSaveResponse) Status() string
Status returns HTTPResponse.Status
func (AccountBillingProfileSaveResponse) StatusCode ¶
func (r AccountBillingProfileSaveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountChangePasswordJSONRequestBody ¶
type AccountChangePasswordJSONRequestBody = PasswordChangeInputBody
AccountChangePasswordJSONRequestBody defines body for AccountChangePassword for application/json ContentType.
type AccountChangePasswordResponse ¶
type AccountChangePasswordResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountChangePasswordResponse ¶
func ParseAccountChangePasswordResponse(rsp *http.Response) (*AccountChangePasswordResponse, error)
ParseAccountChangePasswordResponse parses an HTTP response from a AccountChangePasswordWithResponse call
func (AccountChangePasswordResponse) ContentType ¶
func (r AccountChangePasswordResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountChangePasswordResponse) GetApplicationproblemJSONDefault ¶
func (r AccountChangePasswordResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountChangePasswordResponse) GetBody ¶
func (r AccountChangePasswordResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountChangePasswordResponse) Status ¶
func (r AccountChangePasswordResponse) Status() string
Status returns HTTPResponse.Status
func (AccountChangePasswordResponse) StatusCode ¶
func (r AccountChangePasswordResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountDeletionCancelResponse ¶
type AccountDeletionCancelResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountDeletionCancelResponse ¶
func ParseAccountDeletionCancelResponse(rsp *http.Response) (*AccountDeletionCancelResponse, error)
ParseAccountDeletionCancelResponse parses an HTTP response from a AccountDeletionCancelWithResponse call
func (AccountDeletionCancelResponse) ContentType ¶
func (r AccountDeletionCancelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountDeletionCancelResponse) GetApplicationproblemJSONDefault ¶
func (r AccountDeletionCancelResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountDeletionCancelResponse) GetBody ¶
func (r AccountDeletionCancelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountDeletionCancelResponse) Status ¶
func (r AccountDeletionCancelResponse) Status() string
Status returns HTTPResponse.Status
func (AccountDeletionCancelResponse) StatusCode ¶
func (r AccountDeletionCancelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountDeletionGetResponse ¶
type AccountDeletionGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DeletionStateOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountDeletionGetResponse ¶
func ParseAccountDeletionGetResponse(rsp *http.Response) (*AccountDeletionGetResponse, error)
ParseAccountDeletionGetResponse parses an HTTP response from a AccountDeletionGetWithResponse call
func (AccountDeletionGetResponse) ContentType ¶
func (r AccountDeletionGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountDeletionGetResponse) GetApplicationproblemJSONDefault ¶
func (r AccountDeletionGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountDeletionGetResponse) GetBody ¶
func (r AccountDeletionGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountDeletionGetResponse) GetJSON200 ¶
func (r AccountDeletionGetResponse) GetJSON200() *DeletionStateOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountDeletionGetResponse) Status ¶
func (r AccountDeletionGetResponse) Status() string
Status returns HTTPResponse.Status
func (AccountDeletionGetResponse) StatusCode ¶
func (r AccountDeletionGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountDeletionRequestJSONRequestBody ¶
type AccountDeletionRequestJSONRequestBody = DeletionRequestInputBody
AccountDeletionRequestJSONRequestBody defines body for AccountDeletionRequest for application/json ContentType.
type AccountDeletionRequestResponse ¶
type AccountDeletionRequestResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *DeletionRequestOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountDeletionRequestResponse ¶
func ParseAccountDeletionRequestResponse(rsp *http.Response) (*AccountDeletionRequestResponse, error)
ParseAccountDeletionRequestResponse parses an HTTP response from a AccountDeletionRequestWithResponse call
func (AccountDeletionRequestResponse) ContentType ¶
func (r AccountDeletionRequestResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountDeletionRequestResponse) GetApplicationproblemJSONDefault ¶
func (r AccountDeletionRequestResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountDeletionRequestResponse) GetBody ¶
func (r AccountDeletionRequestResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountDeletionRequestResponse) GetJSON202 ¶
func (r AccountDeletionRequestResponse) GetJSON202() *DeletionRequestOutputBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (AccountDeletionRequestResponse) Status ¶
func (r AccountDeletionRequestResponse) Status() string
Status returns HTTPResponse.Status
func (AccountDeletionRequestResponse) StatusCode ¶
func (r AccountDeletionRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountEmailChangeStartJSONRequestBody ¶
type AccountEmailChangeStartJSONRequestBody = EmailChangeInputBody
AccountEmailChangeStartJSONRequestBody defines body for AccountEmailChangeStart for application/json ContentType.
type AccountEmailChangeStartResponse ¶
type AccountEmailChangeStartResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountEmailChangeStartResponse ¶
func ParseAccountEmailChangeStartResponse(rsp *http.Response) (*AccountEmailChangeStartResponse, error)
ParseAccountEmailChangeStartResponse parses an HTTP response from a AccountEmailChangeStartWithResponse call
func (AccountEmailChangeStartResponse) ContentType ¶
func (r AccountEmailChangeStartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountEmailChangeStartResponse) GetApplicationproblemJSONDefault ¶
func (r AccountEmailChangeStartResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountEmailChangeStartResponse) GetBody ¶
func (r AccountEmailChangeStartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountEmailChangeStartResponse) Status ¶
func (r AccountEmailChangeStartResponse) Status() string
Status returns HTTPResponse.Status
func (AccountEmailChangeStartResponse) StatusCode ¶
func (r AccountEmailChangeStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountExport ¶
type AccountExport struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AccountExport.json
Schema *string `json:"$schema,omitempty"`
Account ExportAccountSummaryRow `json:"account"`
BillingProfiles *[]ExportUserBillingProfilesRow `json:"billing_profiles"`
GeneratedAt time.Time `json:"generated_at"`
LinkedAccounts *[]ExportUserIdentitiesRow `json:"linked_accounts"`
Note string `json:"note"`
Organizations *[]ExportUserOrganizationsRow `json:"organizations"`
Payments *[]ExportUserPaymentsRow `json:"payments"`
Resources *[]ExportUserResourcesRow `json:"resources"`
SshKeys *[]ExportUserSSHKeysRow `json:"ssh_keys"`
SupportTickets *[]ExportUserTicketsRow `json:"support_tickets"`
}
AccountExport defines model for AccountExport.
type AccountExportResponse ¶
type AccountExportResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AccountExport
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountExportResponse ¶
func ParseAccountExportResponse(rsp *http.Response) (*AccountExportResponse, error)
ParseAccountExportResponse parses an HTTP response from a AccountExportWithResponse call
func (AccountExportResponse) ContentType ¶
func (r AccountExportResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountExportResponse) GetApplicationproblemJSONDefault ¶
func (r AccountExportResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountExportResponse) GetBody ¶
func (r AccountExportResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountExportResponse) GetJSON200 ¶
func (r AccountExportResponse) GetJSON200() *AccountExport
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountExportResponse) Status ¶
func (r AccountExportResponse) Status() string
Status returns HTTPResponse.Status
func (AccountExportResponse) StatusCode ¶
func (r AccountExportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountFeaturesResponse ¶
type AccountFeaturesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CustomerFeaturesOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountFeaturesResponse ¶
func ParseAccountFeaturesResponse(rsp *http.Response) (*AccountFeaturesResponse, error)
ParseAccountFeaturesResponse parses an HTTP response from a AccountFeaturesWithResponse call
func (AccountFeaturesResponse) ContentType ¶
func (r AccountFeaturesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountFeaturesResponse) GetApplicationproblemJSONDefault ¶
func (r AccountFeaturesResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountFeaturesResponse) GetBody ¶
func (r AccountFeaturesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountFeaturesResponse) GetJSON200 ¶
func (r AccountFeaturesResponse) GetJSON200() *CustomerFeaturesOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountFeaturesResponse) Status ¶
func (r AccountFeaturesResponse) Status() string
Status returns HTTPResponse.Status
func (AccountFeaturesResponse) StatusCode ¶
func (r AccountFeaturesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountGetResponse ¶
type AccountGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UserBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountGetResponse ¶
func ParseAccountGetResponse(rsp *http.Response) (*AccountGetResponse, error)
ParseAccountGetResponse parses an HTTP response from a AccountGetWithResponse call
func (AccountGetResponse) ContentType ¶
func (r AccountGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountGetResponse) GetApplicationproblemJSONDefault ¶
func (r AccountGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountGetResponse) GetBody ¶
func (r AccountGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountGetResponse) GetJSON200 ¶
func (r AccountGetResponse) GetJSON200() *UserBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountGetResponse) Status ¶
func (r AccountGetResponse) Status() string
Status returns HTTPResponse.Status
func (AccountGetResponse) StatusCode ¶
func (r AccountGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountIdentitiesListResponse ¶
type AccountIdentitiesListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IdentitiesOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountIdentitiesListResponse ¶
func ParseAccountIdentitiesListResponse(rsp *http.Response) (*AccountIdentitiesListResponse, error)
ParseAccountIdentitiesListResponse parses an HTTP response from a AccountIdentitiesListWithResponse call
func (AccountIdentitiesListResponse) ContentType ¶
func (r AccountIdentitiesListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountIdentitiesListResponse) GetApplicationproblemJSONDefault ¶
func (r AccountIdentitiesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountIdentitiesListResponse) GetBody ¶
func (r AccountIdentitiesListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountIdentitiesListResponse) GetJSON200 ¶
func (r AccountIdentitiesListResponse) GetJSON200() *IdentitiesOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountIdentitiesListResponse) Status ¶
func (r AccountIdentitiesListResponse) Status() string
Status returns HTTPResponse.Status
func (AccountIdentitiesListResponse) StatusCode ¶
func (r AccountIdentitiesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountIdentityUnlinkParamsProvider ¶
type AccountIdentityUnlinkParamsProvider string
AccountIdentityUnlinkParamsProvider defines parameters for AccountIdentityUnlink.
const ( AccountIdentityUnlinkParamsProviderGithub AccountIdentityUnlinkParamsProvider = "github" AccountIdentityUnlinkParamsProviderGoogle AccountIdentityUnlinkParamsProvider = "google" )
Defines values for AccountIdentityUnlinkParamsProvider.
func (AccountIdentityUnlinkParamsProvider) Valid ¶
func (e AccountIdentityUnlinkParamsProvider) Valid() bool
Valid indicates whether the value is a known member of the AccountIdentityUnlinkParamsProvider enum.
type AccountIdentityUnlinkResponse ¶
type AccountIdentityUnlinkResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountIdentityUnlinkResponse ¶
func ParseAccountIdentityUnlinkResponse(rsp *http.Response) (*AccountIdentityUnlinkResponse, error)
ParseAccountIdentityUnlinkResponse parses an HTTP response from a AccountIdentityUnlinkWithResponse call
func (AccountIdentityUnlinkResponse) ContentType ¶
func (r AccountIdentityUnlinkResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountIdentityUnlinkResponse) GetApplicationproblemJSONDefault ¶
func (r AccountIdentityUnlinkResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountIdentityUnlinkResponse) GetBody ¶
func (r AccountIdentityUnlinkResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountIdentityUnlinkResponse) Status ¶
func (r AccountIdentityUnlinkResponse) Status() string
Status returns HTTPResponse.Status
func (AccountIdentityUnlinkResponse) StatusCode ¶
func (r AccountIdentityUnlinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountLimitsResponse ¶
type AccountLimitsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *CustomerQuotaOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountLimitsResponse ¶
func ParseAccountLimitsResponse(rsp *http.Response) (*AccountLimitsResponse, error)
ParseAccountLimitsResponse parses an HTTP response from a AccountLimitsWithResponse call
func (AccountLimitsResponse) ContentType ¶
func (r AccountLimitsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountLimitsResponse) GetApplicationproblemJSONDefault ¶
func (r AccountLimitsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountLimitsResponse) GetBody ¶
func (r AccountLimitsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountLimitsResponse) GetJSON200 ¶
func (r AccountLimitsResponse) GetJSON200() *CustomerQuotaOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountLimitsResponse) Status ¶
func (r AccountLimitsResponse) Status() string
Status returns HTTPResponse.Status
func (AccountLimitsResponse) StatusCode ¶
func (r AccountLimitsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountOnboardingCompleteResponse ¶ added in v0.3.0
type AccountOnboardingCompleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UserBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountOnboardingCompleteResponse ¶ added in v0.3.0
func ParseAccountOnboardingCompleteResponse(rsp *http.Response) (*AccountOnboardingCompleteResponse, error)
ParseAccountOnboardingCompleteResponse parses an HTTP response from a AccountOnboardingCompleteWithResponse call
func (AccountOnboardingCompleteResponse) ContentType ¶ added in v0.3.0
func (r AccountOnboardingCompleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountOnboardingCompleteResponse) GetApplicationproblemJSONDefault ¶ added in v0.3.0
func (r AccountOnboardingCompleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountOnboardingCompleteResponse) GetBody ¶ added in v0.3.0
func (r AccountOnboardingCompleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountOnboardingCompleteResponse) GetJSON200 ¶ added in v0.3.0
func (r AccountOnboardingCompleteResponse) GetJSON200() *UserBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountOnboardingCompleteResponse) Status ¶ added in v0.3.0
func (r AccountOnboardingCompleteResponse) Status() string
Status returns HTTPResponse.Status
func (AccountOnboardingCompleteResponse) StatusCode ¶ added in v0.3.0
func (r AccountOnboardingCompleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountPhoneDeleteResponse ¶
type AccountPhoneDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountPhoneDeleteResponse ¶
func ParseAccountPhoneDeleteResponse(rsp *http.Response) (*AccountPhoneDeleteResponse, error)
ParseAccountPhoneDeleteResponse parses an HTTP response from a AccountPhoneDeleteWithResponse call
func (AccountPhoneDeleteResponse) ContentType ¶
func (r AccountPhoneDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountPhoneDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r AccountPhoneDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountPhoneDeleteResponse) GetBody ¶
func (r AccountPhoneDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountPhoneDeleteResponse) Status ¶
func (r AccountPhoneDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (AccountPhoneDeleteResponse) StatusCode ¶
func (r AccountPhoneDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountPhoneGetResponse ¶
type AccountPhoneGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PhoneStatusBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountPhoneGetResponse ¶
func ParseAccountPhoneGetResponse(rsp *http.Response) (*AccountPhoneGetResponse, error)
ParseAccountPhoneGetResponse parses an HTTP response from a AccountPhoneGetWithResponse call
func (AccountPhoneGetResponse) ContentType ¶
func (r AccountPhoneGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountPhoneGetResponse) GetApplicationproblemJSONDefault ¶
func (r AccountPhoneGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountPhoneGetResponse) GetBody ¶
func (r AccountPhoneGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountPhoneGetResponse) GetJSON200 ¶
func (r AccountPhoneGetResponse) GetJSON200() *PhoneStatusBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountPhoneGetResponse) Status ¶
func (r AccountPhoneGetResponse) Status() string
Status returns HTTPResponse.Status
func (AccountPhoneGetResponse) StatusCode ¶
func (r AccountPhoneGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountPhoneResendResponse ¶
type AccountPhoneResendResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PhoneStatusBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountPhoneResendResponse ¶
func ParseAccountPhoneResendResponse(rsp *http.Response) (*AccountPhoneResendResponse, error)
ParseAccountPhoneResendResponse parses an HTTP response from a AccountPhoneResendWithResponse call
func (AccountPhoneResendResponse) ContentType ¶
func (r AccountPhoneResendResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountPhoneResendResponse) GetApplicationproblemJSONDefault ¶
func (r AccountPhoneResendResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountPhoneResendResponse) GetBody ¶
func (r AccountPhoneResendResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountPhoneResendResponse) GetJSON200 ¶
func (r AccountPhoneResendResponse) GetJSON200() *PhoneStatusBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountPhoneResendResponse) Status ¶
func (r AccountPhoneResendResponse) Status() string
Status returns HTTPResponse.Status
func (AccountPhoneResendResponse) StatusCode ¶
func (r AccountPhoneResendResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountPhoneStartJSONRequestBody ¶
type AccountPhoneStartJSONRequestBody = PhoneStartInputBody
AccountPhoneStartJSONRequestBody defines body for AccountPhoneStart for application/json ContentType.
type AccountPhoneStartResponse ¶
type AccountPhoneStartResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PhoneStatusBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountPhoneStartResponse ¶
func ParseAccountPhoneStartResponse(rsp *http.Response) (*AccountPhoneStartResponse, error)
ParseAccountPhoneStartResponse parses an HTTP response from a AccountPhoneStartWithResponse call
func (AccountPhoneStartResponse) ContentType ¶
func (r AccountPhoneStartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountPhoneStartResponse) GetApplicationproblemJSONDefault ¶
func (r AccountPhoneStartResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountPhoneStartResponse) GetBody ¶
func (r AccountPhoneStartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountPhoneStartResponse) GetJSON200 ¶
func (r AccountPhoneStartResponse) GetJSON200() *PhoneStatusBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountPhoneStartResponse) Status ¶
func (r AccountPhoneStartResponse) Status() string
Status returns HTTPResponse.Status
func (AccountPhoneStartResponse) StatusCode ¶
func (r AccountPhoneStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountPhoneVerifyJSONRequestBody ¶
type AccountPhoneVerifyJSONRequestBody = PhoneVerifyInputBody
AccountPhoneVerifyJSONRequestBody defines body for AccountPhoneVerify for application/json ContentType.
type AccountPhoneVerifyResponse ¶
type AccountPhoneVerifyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PhoneStatusBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountPhoneVerifyResponse ¶
func ParseAccountPhoneVerifyResponse(rsp *http.Response) (*AccountPhoneVerifyResponse, error)
ParseAccountPhoneVerifyResponse parses an HTTP response from a AccountPhoneVerifyWithResponse call
func (AccountPhoneVerifyResponse) ContentType ¶
func (r AccountPhoneVerifyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountPhoneVerifyResponse) GetApplicationproblemJSONDefault ¶
func (r AccountPhoneVerifyResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountPhoneVerifyResponse) GetBody ¶
func (r AccountPhoneVerifyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountPhoneVerifyResponse) GetJSON200 ¶
func (r AccountPhoneVerifyResponse) GetJSON200() *PhoneStatusBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountPhoneVerifyResponse) Status ¶
func (r AccountPhoneVerifyResponse) Status() string
Status returns HTTPResponse.Status
func (AccountPhoneVerifyResponse) StatusCode ¶
func (r AccountPhoneVerifyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountSupportAccessResponse ¶
type AccountSupportAccessResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SupportAccessOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountSupportAccessResponse ¶
func ParseAccountSupportAccessResponse(rsp *http.Response) (*AccountSupportAccessResponse, error)
ParseAccountSupportAccessResponse parses an HTTP response from a AccountSupportAccessWithResponse call
func (AccountSupportAccessResponse) ContentType ¶
func (r AccountSupportAccessResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountSupportAccessResponse) GetApplicationproblemJSONDefault ¶
func (r AccountSupportAccessResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountSupportAccessResponse) GetBody ¶
func (r AccountSupportAccessResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountSupportAccessResponse) GetJSON200 ¶
func (r AccountSupportAccessResponse) GetJSON200() *SupportAccessOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountSupportAccessResponse) Status ¶
func (r AccountSupportAccessResponse) Status() string
Status returns HTTPResponse.Status
func (AccountSupportAccessResponse) StatusCode ¶
func (r AccountSupportAccessResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountTotpConfirmJSONRequestBody ¶
type AccountTotpConfirmJSONRequestBody = CodeInputBody
AccountTotpConfirmJSONRequestBody defines body for AccountTotpConfirm for application/json ContentType.
type AccountTotpConfirmResponse ¶
type AccountTotpConfirmResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RecoveryCodesOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountTotpConfirmResponse ¶
func ParseAccountTotpConfirmResponse(rsp *http.Response) (*AccountTotpConfirmResponse, error)
ParseAccountTotpConfirmResponse parses an HTTP response from a AccountTotpConfirmWithResponse call
func (AccountTotpConfirmResponse) ContentType ¶
func (r AccountTotpConfirmResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountTotpConfirmResponse) GetApplicationproblemJSONDefault ¶
func (r AccountTotpConfirmResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountTotpConfirmResponse) GetBody ¶
func (r AccountTotpConfirmResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountTotpConfirmResponse) GetJSON200 ¶
func (r AccountTotpConfirmResponse) GetJSON200() *RecoveryCodesOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountTotpConfirmResponse) Status ¶
func (r AccountTotpConfirmResponse) Status() string
Status returns HTTPResponse.Status
func (AccountTotpConfirmResponse) StatusCode ¶
func (r AccountTotpConfirmResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountTotpDisableJSONRequestBody ¶
type AccountTotpDisableJSONRequestBody = CodeInputBody
AccountTotpDisableJSONRequestBody defines body for AccountTotpDisable for application/json ContentType.
type AccountTotpDisableResponse ¶
type AccountTotpDisableResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountTotpDisableResponse ¶
func ParseAccountTotpDisableResponse(rsp *http.Response) (*AccountTotpDisableResponse, error)
ParseAccountTotpDisableResponse parses an HTTP response from a AccountTotpDisableWithResponse call
func (AccountTotpDisableResponse) ContentType ¶
func (r AccountTotpDisableResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountTotpDisableResponse) GetApplicationproblemJSONDefault ¶
func (r AccountTotpDisableResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountTotpDisableResponse) GetBody ¶
func (r AccountTotpDisableResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountTotpDisableResponse) Status ¶
func (r AccountTotpDisableResponse) Status() string
Status returns HTTPResponse.Status
func (AccountTotpDisableResponse) StatusCode ¶
func (r AccountTotpDisableResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountTotpRecoveryCodesJSONRequestBody ¶
type AccountTotpRecoveryCodesJSONRequestBody = CodeInputBody
AccountTotpRecoveryCodesJSONRequestBody defines body for AccountTotpRecoveryCodes for application/json ContentType.
type AccountTotpRecoveryCodesResponse ¶
type AccountTotpRecoveryCodesResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RecoveryCodesOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountTotpRecoveryCodesResponse ¶
func ParseAccountTotpRecoveryCodesResponse(rsp *http.Response) (*AccountTotpRecoveryCodesResponse, error)
ParseAccountTotpRecoveryCodesResponse parses an HTTP response from a AccountTotpRecoveryCodesWithResponse call
func (AccountTotpRecoveryCodesResponse) ContentType ¶
func (r AccountTotpRecoveryCodesResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountTotpRecoveryCodesResponse) GetApplicationproblemJSONDefault ¶
func (r AccountTotpRecoveryCodesResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountTotpRecoveryCodesResponse) GetBody ¶
func (r AccountTotpRecoveryCodesResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountTotpRecoveryCodesResponse) GetJSON200 ¶
func (r AccountTotpRecoveryCodesResponse) GetJSON200() *RecoveryCodesOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountTotpRecoveryCodesResponse) Status ¶
func (r AccountTotpRecoveryCodesResponse) Status() string
Status returns HTTPResponse.Status
func (AccountTotpRecoveryCodesResponse) StatusCode ¶
func (r AccountTotpRecoveryCodesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountTotpSetupJSONRequestBody ¶
type AccountTotpSetupJSONRequestBody = TotpSetupInputBody
AccountTotpSetupJSONRequestBody defines body for AccountTotpSetup for application/json ContentType.
type AccountTotpSetupResponse ¶
type AccountTotpSetupResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TotpSetupOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountTotpSetupResponse ¶
func ParseAccountTotpSetupResponse(rsp *http.Response) (*AccountTotpSetupResponse, error)
ParseAccountTotpSetupResponse parses an HTTP response from a AccountTotpSetupWithResponse call
func (AccountTotpSetupResponse) ContentType ¶
func (r AccountTotpSetupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountTotpSetupResponse) GetApplicationproblemJSONDefault ¶
func (r AccountTotpSetupResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountTotpSetupResponse) GetBody ¶
func (r AccountTotpSetupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountTotpSetupResponse) GetJSON200 ¶
func (r AccountTotpSetupResponse) GetJSON200() *TotpSetupOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountTotpSetupResponse) Status ¶
func (r AccountTotpSetupResponse) Status() string
Status returns HTTPResponse.Status
func (AccountTotpSetupResponse) StatusCode ¶
func (r AccountTotpSetupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountTotpStatusResponse ¶
type AccountTotpStatusResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TotpStatusOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountTotpStatusResponse ¶
func ParseAccountTotpStatusResponse(rsp *http.Response) (*AccountTotpStatusResponse, error)
ParseAccountTotpStatusResponse parses an HTTP response from a AccountTotpStatusWithResponse call
func (AccountTotpStatusResponse) ContentType ¶
func (r AccountTotpStatusResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountTotpStatusResponse) GetApplicationproblemJSONDefault ¶
func (r AccountTotpStatusResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountTotpStatusResponse) GetBody ¶
func (r AccountTotpStatusResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountTotpStatusResponse) GetJSON200 ¶
func (r AccountTotpStatusResponse) GetJSON200() *TotpStatusOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountTotpStatusResponse) Status ¶
func (r AccountTotpStatusResponse) Status() string
Status returns HTTPResponse.Status
func (AccountTotpStatusResponse) StatusCode ¶
func (r AccountTotpStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AccountUpdateInputBody ¶
type AccountUpdateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AccountUpdateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Country ISO-3166 alpha-2. Where the PERSON is; the invoice country lives on the organization billing profile
Country *string `json:"country,omitempty"`
// FirstName Given name. Send both halves together. Does not rename the personal organization, which has its own name.
FirstName *string `json:"first_name,omitempty"`
// LastName Family name. Send both halves together.
LastName *string `json:"last_name,omitempty"`
Locale *AccountUpdateInputBodyLocale `json:"locale,omitempty"`
// MarketingOptIn true opts in to marketing messages, false withdraws the consent
MarketingOptIn *bool `json:"marketing_opt_in,omitempty"`
// Timezone IANA zone every date in the panel is formatted in. Sending it without a country moves the country with it
Timezone *string `json:"timezone,omitempty"`
}
AccountUpdateInputBody defines model for AccountUpdateInputBody.
type AccountUpdateInputBodyLocale ¶
type AccountUpdateInputBodyLocale string
AccountUpdateInputBodyLocale defines model for AccountUpdateInputBody.Locale.
const ( AccountUpdateInputBodyLocaleDe AccountUpdateInputBodyLocale = "de" AccountUpdateInputBodyLocaleEn AccountUpdateInputBodyLocale = "en" AccountUpdateInputBodyLocaleEs AccountUpdateInputBodyLocale = "es" AccountUpdateInputBodyLocaleTr AccountUpdateInputBodyLocale = "tr" )
Defines values for AccountUpdateInputBodyLocale.
func (AccountUpdateInputBodyLocale) Valid ¶
func (e AccountUpdateInputBodyLocale) Valid() bool
Valid indicates whether the value is a known member of the AccountUpdateInputBodyLocale enum.
type AccountUpdateJSONRequestBody ¶
type AccountUpdateJSONRequestBody = AccountUpdateInputBody
AccountUpdateJSONRequestBody defines body for AccountUpdate for application/json ContentType.
type AccountUpdateResponse ¶
type AccountUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UserBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAccountUpdateResponse ¶
func ParseAccountUpdateResponse(rsp *http.Response) (*AccountUpdateResponse, error)
ParseAccountUpdateResponse parses an HTTP response from a AccountUpdateWithResponse call
func (AccountUpdateResponse) ContentType ¶
func (r AccountUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AccountUpdateResponse) GetApplicationproblemJSONDefault ¶
func (r AccountUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AccountUpdateResponse) GetBody ¶
func (r AccountUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AccountUpdateResponse) GetJSON200 ¶
func (r AccountUpdateResponse) GetJSON200() *UserBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AccountUpdateResponse) Status ¶
func (r AccountUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (AccountUpdateResponse) StatusCode ¶
func (r AccountUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ActionBody ¶
type ActionBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ActionBody.json
Schema *string `json:"$schema,omitempty"`
CreatedAt time.Time `json:"created_at"`
ErrorCode *string `json:"error_code,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
Id string `json:"id"`
Kind string `json:"kind"`
// State succeeded and failed are terminal; anything else means the work is still in flight
State ActionBodyState `json:"state"`
}
ActionBody defines model for ActionBody.
type ActionBodyState ¶
type ActionBodyState string
ActionBodyState succeeded and failed are terminal; anything else means the work is still in flight
const ( ActionBodyStateFailed ActionBodyState = "failed" ActionBodyStateQueued ActionBodyState = "queued" ActionBodyStateRunning ActionBodyState = "running" ActionBodyStateSucceeded ActionBodyState = "succeeded" )
Defines values for ActionBodyState.
func (ActionBodyState) Valid ¶
func (e ActionBodyState) Valid() bool
Valid indicates whether the value is a known member of the ActionBodyState enum.
type ActionInputBody ¶
type ActionInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ActionInputBody.json
Schema *string `json:"$schema,omitempty"`
// Kind Power action. stop is graceful (ACPI); force_stop cuts power without waiting — data not yet flushed to disk is lost, use it only when a stop hangs
Kind ActionInputBodyKind `json:"kind"`
}
ActionInputBody defines model for ActionInputBody.
type ActionInputBodyKind ¶
type ActionInputBodyKind string
ActionInputBodyKind Power action. stop is graceful (ACPI); force_stop cuts power without waiting — data not yet flushed to disk is lost, use it only when a stop hangs
const ( ActionInputBodyKindForceStop ActionInputBodyKind = "force_stop" ActionInputBodyKindReboot ActionInputBodyKind = "reboot" ActionInputBodyKindStart ActionInputBodyKind = "start" ActionInputBodyKindStop ActionInputBodyKind = "stop" )
Defines values for ActionInputBodyKind.
func (ActionInputBodyKind) Valid ¶
func (e ActionInputBodyKind) Valid() bool
Valid indicates whether the value is a known member of the ActionInputBodyKind enum.
type ActionUsage ¶
type ActionUsage struct {
RebuildLimit int64 `json:"rebuild_limit"`
RebuildUsed int64 `json:"rebuild_used"`
ResizeLimit int64 `json:"resize_limit"`
ResizeUsed int64 `json:"resize_used"`
}
ActionUsage defines model for ActionUsage.
type AlertBody ¶
type AlertBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AlertBody.json
Schema *string `json:"$schema,omitempty"`
// DurationMin Sustained minutes over the threshold before firing. Ignored for traffic, which is a month-to-date total
DurationMin int32 `json:"duration_min"`
Enabled bool `json:"enabled"`
// Firing Currently over the threshold
Firing bool `json:"firing"`
// Metric cpu | memory | disk | net_out | traffic
Metric string `json:"metric"`
// ThresholdPct Alarm threshold, percent
ThresholdPct float32 `json:"threshold_pct"`
}
AlertBody defines model for AlertBody.
type AlertSaveInputBody ¶
type AlertSaveInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AlertSaveInputBody.json
Schema *string `json:"$schema,omitempty"`
// DurationMin Sustained minutes over the threshold
DurationMin int32 `json:"duration_min"`
Enabled bool `json:"enabled"`
// Metric Metric to watch. net_out is the outbound rate as a share of the plan's bandwidth cap; traffic is month-to-date outbound against the plan's monthly allowance
Metric AlertSaveInputBodyMetric `json:"metric"`
// ThresholdPct Alarm threshold, percent
ThresholdPct float32 `json:"threshold_pct"`
}
AlertSaveInputBody defines model for AlertSaveInputBody.
type AlertSaveInputBodyMetric ¶
type AlertSaveInputBodyMetric string
AlertSaveInputBodyMetric Metric to watch. net_out is the outbound rate as a share of the plan's bandwidth cap; traffic is month-to-date outbound against the plan's monthly allowance
const ( AlertSaveInputBodyMetricCpu AlertSaveInputBodyMetric = "cpu" AlertSaveInputBodyMetricDisk AlertSaveInputBodyMetric = "disk" AlertSaveInputBodyMetricMemory AlertSaveInputBodyMetric = "memory" AlertSaveInputBodyMetricNetOut AlertSaveInputBodyMetric = "net_out" AlertSaveInputBodyMetricTraffic AlertSaveInputBodyMetric = "traffic" )
Defines values for AlertSaveInputBodyMetric.
func (AlertSaveInputBodyMetric) Valid ¶
func (e AlertSaveInputBodyMetric) Valid() bool
Valid indicates whether the value is a known member of the AlertSaveInputBodyMetric enum.
type AlertsListOutputBody ¶
type AlertsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AlertsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Alerts *[]AlertBody `json:"alerts"`
}
AlertsListOutputBody defines model for AlertsListOutputBody.
type Announcement ¶
type Announcement struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/Announcement.json
Schema *string `json:"$schema,omitempty"`
AudienceOrganizationCount int32 `json:"audience_organization_count"`
ContentHtml string `json:"content_html"`
ContentJson interface{} `json:"content_json"`
ContentText string `json:"content_text"`
CreatedAt time.Time `json:"created_at"`
CreatedBy *string `json:"created_by,omitempty"`
EmailFailedCount *int64 `json:"email_failed_count,omitempty"`
EmailPendingCount *int64 `json:"email_pending_count,omitempty"`
EmailRecipientCount int32 `json:"email_recipient_count"`
EmailSentCount *int64 `json:"email_sent_count,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
FailureReason *string `json:"failure_reason,omitempty"`
Id string `json:"id"`
Importance string `json:"importance"`
PublishedAt *time.Time `json:"published_at,omitempty"`
PublishedBy *string `json:"published_by,omitempty"`
RecipientCount int32 `json:"recipient_count"`
ScheduleVersion int32 `json:"schedule_version"`
ScheduledAt *time.Time `json:"scheduled_at,omitempty"`
SendEmail bool `json:"send_email"`
ShowBanner bool `json:"show_banner"`
Status string `json:"status"`
TargetFilter interface{} `json:"target_filter"`
Title string `json:"title"`
UpdatedAt time.Time `json:"updated_at"`
UpdatedBy *string `json:"updated_by,omitempty"`
}
Announcement defines model for Announcement.
type AnnouncementBannerDismissResponse ¶
type AnnouncementBannerDismissResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAnnouncementBannerDismissResponse ¶
func ParseAnnouncementBannerDismissResponse(rsp *http.Response) (*AnnouncementBannerDismissResponse, error)
ParseAnnouncementBannerDismissResponse parses an HTTP response from a AnnouncementBannerDismissWithResponse call
func (AnnouncementBannerDismissResponse) ContentType ¶
func (r AnnouncementBannerDismissResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnnouncementBannerDismissResponse) GetApplicationproblemJSONDefault ¶
func (r AnnouncementBannerDismissResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AnnouncementBannerDismissResponse) GetBody ¶
func (r AnnouncementBannerDismissResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnnouncementBannerDismissResponse) Status ¶
func (r AnnouncementBannerDismissResponse) Status() string
Status returns HTTPResponse.Status
func (AnnouncementBannerDismissResponse) StatusCode ¶
func (r AnnouncementBannerDismissResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnnouncementBannerGetResponse ¶
type AnnouncementBannerGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AnnouncementBannerOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAnnouncementBannerGetResponse ¶
func ParseAnnouncementBannerGetResponse(rsp *http.Response) (*AnnouncementBannerGetResponse, error)
ParseAnnouncementBannerGetResponse parses an HTTP response from a AnnouncementBannerGetWithResponse call
func (AnnouncementBannerGetResponse) ContentType ¶
func (r AnnouncementBannerGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnnouncementBannerGetResponse) GetApplicationproblemJSONDefault ¶
func (r AnnouncementBannerGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AnnouncementBannerGetResponse) GetBody ¶
func (r AnnouncementBannerGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnnouncementBannerGetResponse) GetJSON200 ¶
func (r AnnouncementBannerGetResponse) GetJSON200() *AnnouncementBannerOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnnouncementBannerGetResponse) Status ¶
func (r AnnouncementBannerGetResponse) Status() string
Status returns HTTPResponse.Status
func (AnnouncementBannerGetResponse) StatusCode ¶
func (r AnnouncementBannerGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnnouncementBannerOutputBody ¶
type AnnouncementBannerOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AnnouncementBannerOutputBody.json
Schema *string `json:"$schema,omitempty"`
Announcement *Announcement `json:"announcement,omitempty"`
}
AnnouncementBannerOutputBody defines model for AnnouncementBannerOutputBody.
type AnnouncementsGetResponse ¶
type AnnouncementsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *Announcement
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAnnouncementsGetResponse ¶
func ParseAnnouncementsGetResponse(rsp *http.Response) (*AnnouncementsGetResponse, error)
ParseAnnouncementsGetResponse parses an HTTP response from a AnnouncementsGetWithResponse call
func (AnnouncementsGetResponse) ContentType ¶
func (r AnnouncementsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnnouncementsGetResponse) GetApplicationproblemJSONDefault ¶
func (r AnnouncementsGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AnnouncementsGetResponse) GetBody ¶
func (r AnnouncementsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnnouncementsGetResponse) GetJSON200 ¶
func (r AnnouncementsGetResponse) GetJSON200() *Announcement
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnnouncementsGetResponse) Status ¶
func (r AnnouncementsGetResponse) Status() string
Status returns HTTPResponse.Status
func (AnnouncementsGetResponse) StatusCode ¶
func (r AnnouncementsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnnouncementsListOutputBody ¶
type AnnouncementsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AnnouncementsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Announcements *[]Announcement `json:"announcements"`
UnreadCount int64 `json:"unread_count"`
}
AnnouncementsListOutputBody defines model for AnnouncementsListOutputBody.
type AnnouncementsListResponse ¶
type AnnouncementsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AnnouncementsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAnnouncementsListResponse ¶
func ParseAnnouncementsListResponse(rsp *http.Response) (*AnnouncementsListResponse, error)
ParseAnnouncementsListResponse parses an HTTP response from a AnnouncementsListWithResponse call
func (AnnouncementsListResponse) ContentType ¶
func (r AnnouncementsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AnnouncementsListResponse) GetApplicationproblemJSONDefault ¶
func (r AnnouncementsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AnnouncementsListResponse) GetBody ¶
func (r AnnouncementsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AnnouncementsListResponse) GetJSON200 ¶
func (r AnnouncementsListResponse) GetJSON200() *AnnouncementsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AnnouncementsListResponse) Status ¶
func (r AnnouncementsListResponse) Status() string
Status returns HTTPResponse.Status
func (AnnouncementsListResponse) StatusCode ¶
func (r AnnouncementsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApiTokenBody ¶
type ApiTokenBody struct {
CreatedAt time.Time `json:"created_at"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
Id string `json:"id"`
LastUsedAt *time.Time `json:"last_used_at,omitempty"`
LastUsedIp *string `json:"last_used_ip,omitempty"`
Name string `json:"name"`
OrganizationId string `json:"organization_id"`
OrganizationName string `json:"organization_name"`
Prefix string `json:"prefix"`
Scopes *[]string `json:"scopes"`
}
ApiTokenBody defines model for ApiTokenBody.
type ApiTokenCreateInputBody ¶
type ApiTokenCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ApiTokenCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// ExpiresAt Omit for a token that never expires
ExpiresAt *time.Time `json:"expires_at,omitempty"`
// Name What this token is for; must be unique among your active tokens
Name string `json:"name"`
// Password Your account password. Required unless the account signs in only through a social provider.
Password *string `json:"password,omitempty"`
// Scopes Any of: read, deploy, write, destroy. read is always included.
Scopes *[]string `json:"scopes"`
}
ApiTokenCreateInputBody defines model for ApiTokenCreateInputBody.
type ApiTokenCreateJSONRequestBody ¶
type ApiTokenCreateJSONRequestBody = ApiTokenCreateInputBody
ApiTokenCreateJSONRequestBody defines body for ApiTokenCreate for application/json ContentType.
type ApiTokenCreateOutputBody ¶
type ApiTokenCreateOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ApiTokenCreateOutputBody.json
Schema *string `json:"$schema,omitempty"`
Secret string `json:"secret"`
Token ApiTokenBody `json:"token"`
}
ApiTokenCreateOutputBody defines model for ApiTokenCreateOutputBody.
type ApiTokenCreateResponse ¶
type ApiTokenCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ApiTokenCreateOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseApiTokenCreateResponse ¶
func ParseApiTokenCreateResponse(rsp *http.Response) (*ApiTokenCreateResponse, error)
ParseApiTokenCreateResponse parses an HTTP response from a ApiTokenCreateWithResponse call
func (ApiTokenCreateResponse) ContentType ¶
func (r ApiTokenCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApiTokenCreateResponse) GetApplicationproblemJSONDefault ¶
func (r ApiTokenCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ApiTokenCreateResponse) GetBody ¶
func (r ApiTokenCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ApiTokenCreateResponse) GetJSON201 ¶
func (r ApiTokenCreateResponse) GetJSON201() *ApiTokenCreateOutputBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (ApiTokenCreateResponse) Status ¶
func (r ApiTokenCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ApiTokenCreateResponse) StatusCode ¶
func (r ApiTokenCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApiTokenRevokeResponse ¶
type ApiTokenRevokeResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseApiTokenRevokeResponse ¶
func ParseApiTokenRevokeResponse(rsp *http.Response) (*ApiTokenRevokeResponse, error)
ParseApiTokenRevokeResponse parses an HTTP response from a ApiTokenRevokeWithResponse call
func (ApiTokenRevokeResponse) ContentType ¶
func (r ApiTokenRevokeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApiTokenRevokeResponse) GetApplicationproblemJSONDefault ¶
func (r ApiTokenRevokeResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ApiTokenRevokeResponse) GetBody ¶
func (r ApiTokenRevokeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ApiTokenRevokeResponse) Status ¶
func (r ApiTokenRevokeResponse) Status() string
Status returns HTTPResponse.Status
func (ApiTokenRevokeResponse) StatusCode ¶
func (r ApiTokenRevokeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApiTokensListOutputBody ¶
type ApiTokensListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ApiTokensListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Tokens *[]ApiTokenBody `json:"tokens"`
}
ApiTokensListOutputBody defines model for ApiTokensListOutputBody.
type ApiTokensListResponse ¶
type ApiTokensListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ApiTokensListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseApiTokensListResponse ¶
func ParseApiTokensListResponse(rsp *http.Response) (*ApiTokensListResponse, error)
ParseApiTokensListResponse parses an HTTP response from a ApiTokensListWithResponse call
func (ApiTokensListResponse) ContentType ¶
func (r ApiTokensListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApiTokensListResponse) GetApplicationproblemJSONDefault ¶
func (r ApiTokensListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ApiTokensListResponse) GetBody ¶
func (r ApiTokensListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ApiTokensListResponse) GetJSON200 ¶
func (r ApiTokensListResponse) GetJSON200() *ApiTokensListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ApiTokensListResponse) Status ¶
func (r ApiTokensListResponse) Status() string
Status returns HTTPResponse.Status
func (ApiTokensListResponse) StatusCode ¶
func (r ApiTokensListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppActionInputBody ¶
type AppActionInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppActionInputBody.json
Schema *string `json:"$schema,omitempty"`
Action AppActionInputBodyAction `json:"action"`
}
AppActionInputBody defines model for AppActionInputBody.
type AppActionInputBodyAction ¶
type AppActionInputBodyAction string
AppActionInputBodyAction defines model for AppActionInputBody.Action.
const ( AppActionInputBodyActionRestart AppActionInputBodyAction = "restart" AppActionInputBodyActionStart AppActionInputBodyAction = "start" AppActionInputBodyActionStop AppActionInputBodyAction = "stop" )
Defines values for AppActionInputBodyAction.
func (AppActionInputBodyAction) Valid ¶
func (e AppActionInputBodyAction) Valid() bool
Valid indicates whether the value is a known member of the AppActionInputBodyAction enum.
type AppActionJSONRequestBody ¶
type AppActionJSONRequestBody = AppActionInputBody
AppActionJSONRequestBody defines body for AppAction for application/json ContentType.
type AppActionResponse ¶
type AppActionResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppActionResponse ¶
func ParseAppActionResponse(rsp *http.Response) (*AppActionResponse, error)
ParseAppActionResponse parses an HTTP response from a AppActionWithResponse call
func (AppActionResponse) ContentType ¶
func (r AppActionResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppActionResponse) GetApplicationproblemJSONDefault ¶
func (r AppActionResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppActionResponse) GetBody ¶
func (r AppActionResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppActionResponse) GetJSON200 ¶
func (r AppActionResponse) GetJSON200() *AppBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppActionResponse) Status ¶
func (r AppActionResponse) Status() string
Status returns HTTPResponse.Status
func (AppActionResponse) StatusCode ¶
func (r AppActionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppAttachmentBody ¶
type AppAttachmentBody struct {
CreatedAt time.Time `json:"created_at"`
DatabaseCode string `json:"database_code"`
DatabaseId string `json:"database_id"`
DatabaseName string `json:"database_name"`
DatabaseState string `json:"database_state"`
Engine string `json:"engine"`
EngineVersion string `json:"engine_version"`
// EnvPrefix Injected variables: <PREFIX>_URL, _HOST, _PORT, _USER, _PASSWORD, _NAME
EnvPrefix string `json:"env_prefix"`
Id string `json:"id"`
ProbeCheckedAt *time.Time `json:"probe_checked_at,omitempty"`
// ProbeEndpoint host:port the check dialled
ProbeEndpoint *string `json:"probe_endpoint,omitempty"`
ProbeError *string `json:"probe_error,omitempty"`
// ProbeState Empty when the link predates connectivity checks
ProbeState AppAttachmentBodyProbeState `json:"probe_state"`
State AppAttachmentBodyState `json:"state"`
}
AppAttachmentBody defines model for AppAttachmentBody.
type AppAttachmentBodyProbeState ¶
type AppAttachmentBodyProbeState string
AppAttachmentBodyProbeState Empty when the link predates connectivity checks
const ( AppAttachmentBodyProbeStateEmpty AppAttachmentBodyProbeState = "" AppAttachmentBodyProbeStateFailed AppAttachmentBodyProbeState = "failed" AppAttachmentBodyProbeStatePassed AppAttachmentBodyProbeState = "passed" AppAttachmentBodyProbeStateQueued AppAttachmentBodyProbeState = "queued" )
Defines values for AppAttachmentBodyProbeState.
func (AppAttachmentBodyProbeState) Valid ¶
func (e AppAttachmentBodyProbeState) Valid() bool
Valid indicates whether the value is a known member of the AppAttachmentBodyProbeState enum.
type AppAttachmentBodyState ¶
type AppAttachmentBodyState string
AppAttachmentBodyState defines model for AppAttachmentBody.State.
const ( AppAttachmentBodyStateAttached AppAttachmentBodyState = "attached" AppAttachmentBodyStateAttaching AppAttachmentBodyState = "attaching" AppAttachmentBodyStateDetaching AppAttachmentBodyState = "detaching" AppAttachmentBodyStateError AppAttachmentBodyState = "error" )
Defines values for AppAttachmentBodyState.
func (AppAttachmentBodyState) Valid ¶
func (e AppAttachmentBodyState) Valid() bool
Valid indicates whether the value is a known member of the AppAttachmentBodyState enum.
type AppAttachmentCreateInputBody ¶
type AppAttachmentCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppAttachmentCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
DatabaseId string `json:"database_id"`
// EnvPrefix Default DATABASE; a second attachment needs its own prefix
EnvPrefix *string `json:"env_prefix,omitempty"`
}
AppAttachmentCreateInputBody defines model for AppAttachmentCreateInputBody.
type AppAttachmentCreateJSONRequestBody ¶
type AppAttachmentCreateJSONRequestBody = AppAttachmentCreateInputBody
AppAttachmentCreateJSONRequestBody defines body for AppAttachmentCreate for application/json ContentType.
type AppAttachmentCreateResponse ¶
type AppAttachmentCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppAttachmentCreateResponse ¶
func ParseAppAttachmentCreateResponse(rsp *http.Response) (*AppAttachmentCreateResponse, error)
ParseAppAttachmentCreateResponse parses an HTTP response from a AppAttachmentCreateWithResponse call
func (AppAttachmentCreateResponse) ContentType ¶
func (r AppAttachmentCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppAttachmentCreateResponse) GetApplicationproblemJSONDefault ¶
func (r AppAttachmentCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppAttachmentCreateResponse) GetBody ¶
func (r AppAttachmentCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppAttachmentCreateResponse) Status ¶
func (r AppAttachmentCreateResponse) Status() string
Status returns HTTPResponse.Status
func (AppAttachmentCreateResponse) StatusCode ¶
func (r AppAttachmentCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppAttachmentDeleteResponse ¶
type AppAttachmentDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppAttachmentDeleteResponse ¶
func ParseAppAttachmentDeleteResponse(rsp *http.Response) (*AppAttachmentDeleteResponse, error)
ParseAppAttachmentDeleteResponse parses an HTTP response from a AppAttachmentDeleteWithResponse call
func (AppAttachmentDeleteResponse) ContentType ¶
func (r AppAttachmentDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppAttachmentDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r AppAttachmentDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppAttachmentDeleteResponse) GetBody ¶
func (r AppAttachmentDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppAttachmentDeleteResponse) Status ¶
func (r AppAttachmentDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (AppAttachmentDeleteResponse) StatusCode ¶
func (r AppAttachmentDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppAttachmentVerifyResponse ¶
type AppAttachmentVerifyResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppAttachmentVerifyResponse ¶
func ParseAppAttachmentVerifyResponse(rsp *http.Response) (*AppAttachmentVerifyResponse, error)
ParseAppAttachmentVerifyResponse parses an HTTP response from a AppAttachmentVerifyWithResponse call
func (AppAttachmentVerifyResponse) ContentType ¶
func (r AppAttachmentVerifyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppAttachmentVerifyResponse) GetApplicationproblemJSONDefault ¶
func (r AppAttachmentVerifyResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppAttachmentVerifyResponse) GetBody ¶
func (r AppAttachmentVerifyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppAttachmentVerifyResponse) Status ¶
func (r AppAttachmentVerifyResponse) Status() string
Status returns HTTPResponse.Status
func (AppAttachmentVerifyResponse) StatusCode ¶
func (r AppAttachmentVerifyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppAttachmentsListOutputBody ¶
type AppAttachmentsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppAttachmentsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Attachments *[]AppAttachmentBody `json:"attachments"`
}
AppAttachmentsListOutputBody defines model for AppAttachmentsListOutputBody.
type AppAttachmentsListResponse ¶
type AppAttachmentsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppAttachmentsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppAttachmentsListResponse ¶
func ParseAppAttachmentsListResponse(rsp *http.Response) (*AppAttachmentsListResponse, error)
ParseAppAttachmentsListResponse parses an HTTP response from a AppAttachmentsListWithResponse call
func (AppAttachmentsListResponse) ContentType ¶
func (r AppAttachmentsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppAttachmentsListResponse) GetApplicationproblemJSONDefault ¶
func (r AppAttachmentsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppAttachmentsListResponse) GetBody ¶
func (r AppAttachmentsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppAttachmentsListResponse) GetJSON200 ¶
func (r AppAttachmentsListResponse) GetJSON200() *AppAttachmentsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppAttachmentsListResponse) Status ¶
func (r AppAttachmentsListResponse) Status() string
Status returns HTTPResponse.Status
func (AppAttachmentsListResponse) StatusCode ¶
func (r AppAttachmentsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppAutoDeployInputBody ¶
type AppAutoDeployInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppAutoDeployInputBody.json
Schema *string `json:"$schema,omitempty"`
Enabled bool `json:"enabled"`
}
AppAutoDeployInputBody defines model for AppAutoDeployInputBody.
type AppAutoDeploySetJSONRequestBody ¶
type AppAutoDeploySetJSONRequestBody = AppAutoDeployInputBody
AppAutoDeploySetJSONRequestBody defines body for AppAutoDeploySet for application/json ContentType.
type AppAutoDeploySetResponse ¶
type AppAutoDeploySetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppAutoDeploySetResponse ¶
func ParseAppAutoDeploySetResponse(rsp *http.Response) (*AppAutoDeploySetResponse, error)
ParseAppAutoDeploySetResponse parses an HTTP response from a AppAutoDeploySetWithResponse call
func (AppAutoDeploySetResponse) ContentType ¶
func (r AppAutoDeploySetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppAutoDeploySetResponse) GetApplicationproblemJSONDefault ¶
func (r AppAutoDeploySetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppAutoDeploySetResponse) GetBody ¶
func (r AppAutoDeploySetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppAutoDeploySetResponse) GetJSON200 ¶
func (r AppAutoDeploySetResponse) GetJSON200() *AppBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppAutoDeploySetResponse) Status ¶
func (r AppAutoDeploySetResponse) Status() string
Status returns HTTPResponse.Status
func (AppAutoDeploySetResponse) StatusCode ¶
func (r AppAutoDeploySetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppBody ¶
type AppBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppBody.json
Schema *string `json:"$schema,omitempty"`
AutoDeploy bool `json:"auto_deploy"`
BuildCommand *string `json:"build_command,omitempty"`
Builder *AppBodyBuilder `json:"builder,omitempty"`
// ChargeCurrency Currency of monthly_charge_minor
ChargeCurrency *string `json:"charge_currency,omitempty"`
Code string `json:"code"`
ContextDir *string `json:"context_dir,omitempty"`
CpuMillis int32 `json:"cpu_millis"`
CreatedAt time.Time `json:"created_at"`
// Currency Currency of the FROZEN monthly_price_minor
Currency *string `json:"currency,omitempty"`
DesiredState string `json:"desired_state"`
DockerfilePath *string `json:"dockerfile_path,omitempty"`
ExtraReplicaHourlyMinor int64 `json:"extra_replica_hourly_minor"`
GitConnectionId *string `json:"git_connection_id,omitempty"`
GitRef *string `json:"git_ref,omitempty"`
HealthPath *string `json:"health_path,omitempty"`
Image string `json:"image"`
InstallCommand *string `json:"install_command,omitempty"`
// LastDeployAt List only.
LastDeployAt *time.Time `json:"last_deploy_at,omitempty"`
// LastDeployRef List only.
LastDeployRef *string `json:"last_deploy_ref,omitempty"`
MemoryMb int32 `json:"memory_mb"`
Message *string `json:"message,omitempty"`
MonthlyChargeMinor int64 `json:"monthly_charge_minor"`
MonthlyPriceMinor int64 `json:"monthly_price_minor"`
Name string `json:"name"`
ObservedAt *time.Time `json:"observed_at,omitempty"`
ObservedState *string `json:"observed_state,omitempty"`
OutputDir *string `json:"output_dir,omitempty"`
PaidThrough *time.Time `json:"paid_through,omitempty"`
Plan *string `json:"plan,omitempty"`
PlanMaxReplicas int32 `json:"plan_max_replicas"`
Port int32 `json:"port"`
Preset *string `json:"preset,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
ReplicasDesired int32 `json:"replicas_desired"`
ReplicasMax int32 `json:"replicas_max"`
ReplicasMin int32 `json:"replicas_min"`
Runtime string `json:"runtime"`
SourceUrl *string `json:"source_url,omitempty"`
StartCommand *string `json:"start_command,omitempty"`
// Tags Tags this resource carries. Set them with PUT .../tags.
Tags *[]string `json:"tags"`
TrafficGb int32 `json:"traffic_gb"`
// TrafficOverageCurrency Currency of traffic_overage_tb_minor
TrafficOverageCurrency *string `json:"traffic_overage_currency,omitempty"`
TrafficOverageTbMinor int64 `json:"traffic_overage_tb_minor"`
// TrafficUsedBytes Detail only. Month-to-date outbound bytes.
TrafficUsedBytes *int64 `json:"traffic_used_bytes,omitempty"`
Url *string `json:"url,omitempty"`
// UsageCpuBp List only. Newest report cycle, summed across replicas. Core-percent in basis points; divide by cpu_millis*10*replicas for percent-of-plan.
UsageCpuBp *int64 `json:"usage_cpu_bp,omitempty"`
// UsageMemBytes List only.
UsageMemBytes *int64 `json:"usage_mem_bytes,omitempty"`
}
AppBody defines model for AppBody.
type AppBodyBuilder ¶
type AppBodyBuilder string
AppBodyBuilder defines model for AppBody.Builder.
const ( AppBodyBuilderDockerfile AppBodyBuilder = "dockerfile" AppBodyBuilderPreset AppBodyBuilder = "preset" )
Defines values for AppBodyBuilder.
func (AppBodyBuilder) Valid ¶
func (e AppBodyBuilder) Valid() bool
Valid indicates whether the value is a known member of the AppBodyBuilder enum.
type AppBuildCancelResponse ¶
type AppBuildCancelResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BuildBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppBuildCancelResponse ¶
func ParseAppBuildCancelResponse(rsp *http.Response) (*AppBuildCancelResponse, error)
ParseAppBuildCancelResponse parses an HTTP response from a AppBuildCancelWithResponse call
func (AppBuildCancelResponse) ContentType ¶
func (r AppBuildCancelResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppBuildCancelResponse) GetApplicationproblemJSONDefault ¶
func (r AppBuildCancelResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppBuildCancelResponse) GetBody ¶
func (r AppBuildCancelResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppBuildCancelResponse) GetJSON200 ¶
func (r AppBuildCancelResponse) GetJSON200() *BuildBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppBuildCancelResponse) Status ¶
func (r AppBuildCancelResponse) Status() string
Status returns HTTPResponse.Status
func (AppBuildCancelResponse) StatusCode ¶
func (r AppBuildCancelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppBuildCreateJSONRequestBody ¶
type AppBuildCreateJSONRequestBody = BuildCreateInputBody
AppBuildCreateJSONRequestBody defines body for AppBuildCreate for application/json ContentType.
type AppBuildCreateResponse ¶
type AppBuildCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *BuildBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppBuildCreateResponse ¶
func ParseAppBuildCreateResponse(rsp *http.Response) (*AppBuildCreateResponse, error)
ParseAppBuildCreateResponse parses an HTTP response from a AppBuildCreateWithResponse call
func (AppBuildCreateResponse) ContentType ¶
func (r AppBuildCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppBuildCreateResponse) GetApplicationproblemJSONDefault ¶
func (r AppBuildCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppBuildCreateResponse) GetBody ¶
func (r AppBuildCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppBuildCreateResponse) GetJSON202 ¶
func (r AppBuildCreateResponse) GetJSON202() *BuildBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (AppBuildCreateResponse) Status ¶
func (r AppBuildCreateResponse) Status() string
Status returns HTTPResponse.Status
func (AppBuildCreateResponse) StatusCode ¶
func (r AppBuildCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppBuildGetResponse ¶
type AppBuildGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BuildBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppBuildGetResponse ¶
func ParseAppBuildGetResponse(rsp *http.Response) (*AppBuildGetResponse, error)
ParseAppBuildGetResponse parses an HTTP response from a AppBuildGetWithResponse call
func (AppBuildGetResponse) ContentType ¶
func (r AppBuildGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppBuildGetResponse) GetApplicationproblemJSONDefault ¶
func (r AppBuildGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppBuildGetResponse) GetBody ¶
func (r AppBuildGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppBuildGetResponse) GetJSON200 ¶
func (r AppBuildGetResponse) GetJSON200() *BuildBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppBuildGetResponse) Status ¶
func (r AppBuildGetResponse) Status() string
Status returns HTTPResponse.Status
func (AppBuildGetResponse) StatusCode ¶
func (r AppBuildGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppBuildsListResponse ¶
type AppBuildsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BuildListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppBuildsListResponse ¶
func ParseAppBuildsListResponse(rsp *http.Response) (*AppBuildsListResponse, error)
ParseAppBuildsListResponse parses an HTTP response from a AppBuildsListWithResponse call
func (AppBuildsListResponse) ContentType ¶
func (r AppBuildsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppBuildsListResponse) GetApplicationproblemJSONDefault ¶
func (r AppBuildsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppBuildsListResponse) GetBody ¶
func (r AppBuildsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppBuildsListResponse) GetJSON200 ¶
func (r AppBuildsListResponse) GetJSON200() *BuildListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppBuildsListResponse) Status ¶
func (r AppBuildsListResponse) Status() string
Status returns HTTPResponse.Status
func (AppBuildsListResponse) StatusCode ¶
func (r AppBuildsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppCreateInputBody ¶
type AppCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// BuildCommand Overrides the preset's build step.
BuildCommand *string `json:"build_command,omitempty"`
// Builder Who writes the Dockerfile. dockerfile (the default) means your repository carries one. preset means the platform generates one for the stack you name, which is how a repository with no Dockerfile deploys.
Builder *AppCreateInputBodyBuilder `json:"builder,omitempty"`
// ContextDir Repository subdirectory to build from (monorepo). Relative, no leading slash.
ContextDir *string `json:"context_dir,omitempty"`
// DockerfilePath Dockerfile path relative to the build directory (default Dockerfile). Only with the dockerfile builder.
DockerfilePath *string `json:"dockerfile_path,omitempty"`
// Env Environment variables, including any that apply at build time. Sealed at rest and readable only through GET /v1/apps/{code}/env, which is audited. At most 100.
Env *[]EnvVarBody `json:"env,omitempty"`
// GitConnectionId Connection from /v1/git/connections to fetch a PRIVATE repository with. Every build then mints a short-lived credential from it.
GitConnectionId *string `json:"git_connection_id,omitempty"`
// GitRef Branch or tag to build (default main)
GitRef *string `json:"git_ref,omitempty"`
// HealthPath HTTP path a new version must answer before it takes over traffic. Empty means a plain TCP check on the app port.
HealthPath *string `json:"health_path,omitempty"`
// Image OCI image to run, from an allowed public registry (a reference with no registry means Docker Hub). Leave empty when source_url is given: the first build produces the image.
Image *string `json:"image,omitempty"`
// InstallCommand Overrides the preset's dependency install step.
InstallCommand *string `json:"install_command,omitempty"`
// Name Lowercase letters, digits and dashes; starts with a letter (e.g. my-api)
Name string `json:"name"`
// OutputDir The directory that matters at the end of the build: the document root for php, the build output for static. Empty means the preset default.
OutputDir *string `json:"output_dir,omitempty"`
// Plan App plan slug from /v1/app-plans. The plan decides the memory and CPU limits and the monthly price.
Plan string `json:"plan"`
// Port Port the app listens on inside the container (default 8080)
Port *int32 `json:"port,omitempty"`
// Preset Stack slug from GET /v1/app-presets. Required with the preset builder, refused without it.
Preset *string `json:"preset,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
// Region Region slug; the first active region when omitted
Region *string `json:"region,omitempty"`
// Runtime Isolation runtime. runsc (gVisor) and kata (microVM) require a node that registers them.
Runtime *AppCreateInputBodyRuntime `json:"runtime,omitempty"`
// SourceUrl HTTPS git repository to build from. The build is queued with the app, in the same transaction, so an app never exists with a repository nobody built.
SourceUrl *string `json:"source_url,omitempty"`
// StartCommand Overrides the image's own command, run through a shell. Leave empty unless detection picked the wrong process.
StartCommand *string `json:"start_command,omitempty"`
// Tags Tags to give the resource at birth. Lowercased, deduplicated and sorted before storage.
Tags *[]string `json:"tags,omitempty"`
}
AppCreateInputBody defines model for AppCreateInputBody.
type AppCreateInputBodyBuilder ¶
type AppCreateInputBodyBuilder string
AppCreateInputBodyBuilder Who writes the Dockerfile. dockerfile (the default) means your repository carries one. preset means the platform generates one for the stack you name, which is how a repository with no Dockerfile deploys.
const ( AppCreateInputBodyBuilderDockerfile AppCreateInputBodyBuilder = "dockerfile" AppCreateInputBodyBuilderPreset AppCreateInputBodyBuilder = "preset" )
Defines values for AppCreateInputBodyBuilder.
func (AppCreateInputBodyBuilder) Valid ¶
func (e AppCreateInputBodyBuilder) Valid() bool
Valid indicates whether the value is a known member of the AppCreateInputBodyBuilder enum.
type AppCreateInputBodyRuntime ¶
type AppCreateInputBodyRuntime string
AppCreateInputBodyRuntime Isolation runtime. runsc (gVisor) and kata (microVM) require a node that registers them.
const ( Kata AppCreateInputBodyRuntime = "kata" Runc AppCreateInputBodyRuntime = "runc" Runsc AppCreateInputBodyRuntime = "runsc" )
Defines values for AppCreateInputBodyRuntime.
func (AppCreateInputBodyRuntime) Valid ¶
func (e AppCreateInputBodyRuntime) Valid() bool
Valid indicates whether the value is a known member of the AppCreateInputBodyRuntime enum.
type AppCreateJSONRequestBody ¶
type AppCreateJSONRequestBody = AppCreateInputBody
AppCreateJSONRequestBody defines body for AppCreate for application/json ContentType.
type AppCreateParams ¶
type AppCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
AppCreateParams defines parameters for AppCreate.
type AppCreateResponse ¶
type AppCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *AppBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppCreateResponse ¶
func ParseAppCreateResponse(rsp *http.Response) (*AppCreateResponse, error)
ParseAppCreateResponse parses an HTTP response from a AppCreateWithResponse call
func (AppCreateResponse) ContentType ¶
func (r AppCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppCreateResponse) GetApplicationproblemJSONDefault ¶
func (r AppCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppCreateResponse) GetBody ¶
func (r AppCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppCreateResponse) GetJSON201 ¶
func (r AppCreateResponse) GetJSON201() *AppBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (AppCreateResponse) Status ¶
func (r AppCreateResponse) Status() string
Status returns HTTPResponse.Status
func (AppCreateResponse) StatusCode ¶
func (r AppCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppDeleteResponse ¶
type AppDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppDeleteResponse ¶
func ParseAppDeleteResponse(rsp *http.Response) (*AppDeleteResponse, error)
ParseAppDeleteResponse parses an HTTP response from a AppDeleteWithResponse call
func (AppDeleteResponse) ContentType ¶
func (r AppDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r AppDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppDeleteResponse) GetBody ¶
func (r AppDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppDeleteResponse) Status ¶
func (r AppDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (AppDeleteResponse) StatusCode ¶
func (r AppDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppDetectBuildParams ¶
type AppDetectBuildParams struct {
// ConnectionId Connection from /v1/git/connections, for a repository picked from a connected account. Give this or source_url.
ConnectionId *string `form:"connection_id,omitempty" json:"connection_id,omitempty"`
// Repo Repository in owner/name form. Required with connection_id.
Repo *string `form:"repo,omitempty" json:"repo,omitempty"`
// SourceUrl HTTPS URL of a PUBLIC repository, for the paste-a-URL path. Give this or connection_id.
SourceUrl *string `form:"source_url,omitempty" json:"source_url,omitempty"`
// Ref Branch or tag to look at. Empty means the repository's default branch.
Ref *string `form:"ref,omitempty" json:"ref,omitempty"`
// Dir Build directory to look in, for a monorepo. Empty means the repository root.
Dir *string `form:"dir,omitempty" json:"dir,omitempty"`
}
AppDetectBuildParams defines parameters for AppDetectBuild.
type AppDetectBuildResponse ¶
type AppDetectBuildResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppDetectOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppDetectBuildResponse ¶
func ParseAppDetectBuildResponse(rsp *http.Response) (*AppDetectBuildResponse, error)
ParseAppDetectBuildResponse parses an HTTP response from a AppDetectBuildWithResponse call
func (AppDetectBuildResponse) ContentType ¶
func (r AppDetectBuildResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppDetectBuildResponse) GetApplicationproblemJSONDefault ¶
func (r AppDetectBuildResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppDetectBuildResponse) GetBody ¶
func (r AppDetectBuildResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppDetectBuildResponse) GetJSON200 ¶
func (r AppDetectBuildResponse) GetJSON200() *AppDetectOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppDetectBuildResponse) Status ¶
func (r AppDetectBuildResponse) Status() string
Status returns HTTPResponse.Status
func (AppDetectBuildResponse) StatusCode ¶
func (r AppDetectBuildResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppDetectOutputBody ¶
type AppDetectOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppDetectOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Builder What the create form should select. dockerfile means the repository carries one and it will be used as it is.
Builder AppDetectOutputBodyBuilder `json:"builder"`
// Code Machine key for the outcome. The panel renders the customer's language from this; reason is the English fallback beside it.
Code AppDetectOutputBodyCode `json:"code"`
// Found False when nothing was recognised. The reason still explains where we looked.
Found bool `json:"found"`
// Port The preset's default port, so the form and the generated recipe agree about where the app listens.
Port *int32 `json:"port,omitempty"`
// Preset Stack slug from /v1/app-presets, when one was recognised.
Preset *string `json:"preset,omitempty"`
// Reason A sentence for the customer, always present, including when nothing was found.
Reason string `json:"reason"`
// StartRequired Whether this stack needs a start command from the customer.
StartRequired bool `json:"start_required"`
}
AppDetectOutputBody defines model for AppDetectOutputBody.
type AppDetectOutputBodyBuilder ¶
type AppDetectOutputBodyBuilder string
AppDetectOutputBodyBuilder What the create form should select. dockerfile means the repository carries one and it will be used as it is.
const ( AppDetectOutputBodyBuilderDockerfile AppDetectOutputBodyBuilder = "dockerfile" AppDetectOutputBodyBuilderPreset AppDetectOutputBodyBuilder = "preset" )
Defines values for AppDetectOutputBodyBuilder.
func (AppDetectOutputBodyBuilder) Valid ¶
func (e AppDetectOutputBodyBuilder) Valid() bool
Valid indicates whether the value is a known member of the AppDetectOutputBodyBuilder enum.
type AppDetectOutputBodyCode ¶
type AppDetectOutputBodyCode string
AppDetectOutputBodyCode Machine key for the outcome. The panel renders the customer's language from this; reason is the English fallback beside it.
const ( AppDetectOutputBodyCodeDockerfile AppDetectOutputBodyCode = "dockerfile" AppDetectOutputBodyCodeGuessed AppDetectOutputBodyCode = "guessed" AppDetectOutputBodyCodeHostNotAllowed AppDetectOutputBodyCode = "host_not_allowed" AppDetectOutputBodyCodeNoRepo AppDetectOutputBodyCode = "no_repo" AppDetectOutputBodyCodeNone AppDetectOutputBodyCode = "none" AppDetectOutputBodyCodeNotARepo AppDetectOutputBodyCode = "not_a_repo" AppDetectOutputBodyCodePreset AppDetectOutputBodyCode = "preset" AppDetectOutputBodyCodeUnreadable AppDetectOutputBodyCode = "unreadable" AppDetectOutputBodyCodeUnreadablePublic AppDetectOutputBodyCode = "unreadable_public" )
Defines values for AppDetectOutputBodyCode.
func (AppDetectOutputBodyCode) Valid ¶
func (e AppDetectOutputBodyCode) Valid() bool
Valid indicates whether the value is a known member of the AppDetectOutputBodyCode enum.
type AppDomainAddInputBody ¶
type AppDomainAddInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppDomainAddInputBody.json
Schema *string `json:"$schema,omitempty"`
// Hostname The hostname to serve this app on, e.g. app.example.com. A URL is accepted and reduced to its host.
Hostname string `json:"hostname"`
}
AppDomainAddInputBody defines model for AppDomainAddInputBody.
type AppDomainAddJSONRequestBody ¶
type AppDomainAddJSONRequestBody = AppDomainAddInputBody
AppDomainAddJSONRequestBody defines body for AppDomainAdd for application/json ContentType.
type AppDomainAddResponse ¶
type AppDomainAddResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *AppDomainBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppDomainAddResponse ¶
func ParseAppDomainAddResponse(rsp *http.Response) (*AppDomainAddResponse, error)
ParseAppDomainAddResponse parses an HTTP response from a AppDomainAddWithResponse call
func (AppDomainAddResponse) ContentType ¶
func (r AppDomainAddResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppDomainAddResponse) GetApplicationproblemJSONDefault ¶
func (r AppDomainAddResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppDomainAddResponse) GetBody ¶
func (r AppDomainAddResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppDomainAddResponse) GetJSON201 ¶
func (r AppDomainAddResponse) GetJSON201() *AppDomainBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (AppDomainAddResponse) Status ¶
func (r AppDomainAddResponse) Status() string
Status returns HTTPResponse.Status
func (AppDomainAddResponse) StatusCode ¶
func (r AppDomainAddResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppDomainBody ¶
type AppDomainBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppDomainBody.json
Schema *string `json:"$schema,omitempty"`
ChallengeName string `json:"challenge_name"`
ChallengeValue string `json:"challenge_value"`
CheckedAt *time.Time `json:"checked_at,omitempty"`
// ClaimExpiresAt While the claim is pending: when it stops reserving the hostname. Verify before then, or another organization may claim the name and this claim is released.
ClaimExpiresAt *time.Time `json:"claim_expires_at,omitempty"`
CnameTarget string `json:"cname_target"`
CreatedAt time.Time `json:"created_at"`
Hostname string `json:"hostname"`
Id string `json:"id"`
LastError *string `json:"last_error,omitempty"`
State string `json:"state"`
VerifiedAt *time.Time `json:"verified_at,omitempty"`
}
AppDomainBody defines model for AppDomainBody.
type AppDomainDeleteResponse ¶
type AppDomainDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppDomainDeleteResponse ¶
func ParseAppDomainDeleteResponse(rsp *http.Response) (*AppDomainDeleteResponse, error)
ParseAppDomainDeleteResponse parses an HTTP response from a AppDomainDeleteWithResponse call
func (AppDomainDeleteResponse) ContentType ¶
func (r AppDomainDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppDomainDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r AppDomainDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppDomainDeleteResponse) GetBody ¶
func (r AppDomainDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppDomainDeleteResponse) Status ¶
func (r AppDomainDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (AppDomainDeleteResponse) StatusCode ¶
func (r AppDomainDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppDomainVerifyResponse ¶
type AppDomainVerifyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppDomainBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppDomainVerifyResponse ¶
func ParseAppDomainVerifyResponse(rsp *http.Response) (*AppDomainVerifyResponse, error)
ParseAppDomainVerifyResponse parses an HTTP response from a AppDomainVerifyWithResponse call
func (AppDomainVerifyResponse) ContentType ¶
func (r AppDomainVerifyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppDomainVerifyResponse) GetApplicationproblemJSONDefault ¶
func (r AppDomainVerifyResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppDomainVerifyResponse) GetBody ¶
func (r AppDomainVerifyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppDomainVerifyResponse) GetJSON200 ¶
func (r AppDomainVerifyResponse) GetJSON200() *AppDomainBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppDomainVerifyResponse) Status ¶
func (r AppDomainVerifyResponse) Status() string
Status returns HTTPResponse.Status
func (AppDomainVerifyResponse) StatusCode ¶
func (r AppDomainVerifyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppDomainsListOutputBody ¶
type AppDomainsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppDomainsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Domains *[]AppDomainBody `json:"domains"`
}
AppDomainsListOutputBody defines model for AppDomainsListOutputBody.
type AppDomainsListResponse ¶
type AppDomainsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppDomainsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppDomainsListResponse ¶
func ParseAppDomainsListResponse(rsp *http.Response) (*AppDomainsListResponse, error)
ParseAppDomainsListResponse parses an HTTP response from a AppDomainsListWithResponse call
func (AppDomainsListResponse) ContentType ¶
func (r AppDomainsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppDomainsListResponse) GetApplicationproblemJSONDefault ¶
func (r AppDomainsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppDomainsListResponse) GetBody ¶
func (r AppDomainsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppDomainsListResponse) GetJSON200 ¶
func (r AppDomainsListResponse) GetJSON200() *AppDomainsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppDomainsListResponse) Status ¶
func (r AppDomainsListResponse) Status() string
Status returns HTTPResponse.Status
func (AppDomainsListResponse) StatusCode ¶
func (r AppDomainsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppEnvGetOutputBody ¶
type AppEnvGetOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppEnvGetOutputBody.json
Schema *string `json:"$schema,omitempty"`
Vars *[]EnvVarBody `json:"vars"`
}
AppEnvGetOutputBody defines model for AppEnvGetOutputBody.
type AppEnvGetResponse ¶
type AppEnvGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppEnvGetOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppEnvGetResponse ¶
func ParseAppEnvGetResponse(rsp *http.Response) (*AppEnvGetResponse, error)
ParseAppEnvGetResponse parses an HTTP response from a AppEnvGetWithResponse call
func (AppEnvGetResponse) ContentType ¶
func (r AppEnvGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppEnvGetResponse) GetApplicationproblemJSONDefault ¶
func (r AppEnvGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppEnvGetResponse) GetBody ¶
func (r AppEnvGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppEnvGetResponse) GetJSON200 ¶
func (r AppEnvGetResponse) GetJSON200() *AppEnvGetOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppEnvGetResponse) Status ¶
func (r AppEnvGetResponse) Status() string
Status returns HTTPResponse.Status
func (AppEnvGetResponse) StatusCode ¶
func (r AppEnvGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppEnvSetInputBody ¶
type AppEnvSetInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppEnvSetInputBody.json
Schema *string `json:"$schema,omitempty"`
// Vars The complete set. Whatever is absent here is removed. At most 100.
Vars *[]EnvVarBody `json:"vars"`
}
AppEnvSetInputBody defines model for AppEnvSetInputBody.
type AppEnvSetJSONRequestBody ¶
type AppEnvSetJSONRequestBody = AppEnvSetInputBody
AppEnvSetJSONRequestBody defines body for AppEnvSet for application/json ContentType.
type AppEnvSetResponse ¶
type AppEnvSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppEnvSetResponse ¶
func ParseAppEnvSetResponse(rsp *http.Response) (*AppEnvSetResponse, error)
ParseAppEnvSetResponse parses an HTTP response from a AppEnvSetWithResponse call
func (AppEnvSetResponse) ContentType ¶
func (r AppEnvSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppEnvSetResponse) GetApplicationproblemJSONDefault ¶
func (r AppEnvSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppEnvSetResponse) GetBody ¶
func (r AppEnvSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppEnvSetResponse) Status ¶
func (r AppEnvSetResponse) Status() string
Status returns HTTPResponse.Status
func (AppEnvSetResponse) StatusCode ¶
func (r AppEnvSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppEventsListParams ¶
type AppEventsListParams struct {
AfterId *int64 `form:"after_id,omitempty" json:"after_id,omitempty"`
}
AppEventsListParams defines parameters for AppEventsList.
type AppEventsListResponse ¶
type AppEventsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppEventsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppEventsListResponse ¶
func ParseAppEventsListResponse(rsp *http.Response) (*AppEventsListResponse, error)
ParseAppEventsListResponse parses an HTTP response from a AppEventsListWithResponse call
func (AppEventsListResponse) ContentType ¶
func (r AppEventsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppEventsListResponse) GetApplicationproblemJSONDefault ¶
func (r AppEventsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppEventsListResponse) GetBody ¶
func (r AppEventsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppEventsListResponse) GetJSON200 ¶
func (r AppEventsListResponse) GetJSON200() *AppEventsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppEventsListResponse) Status ¶
func (r AppEventsListResponse) Status() string
Status returns HTTPResponse.Status
func (AppEventsListResponse) StatusCode ¶
func (r AppEventsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppEventsOutputBody ¶
type AppEventsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppEventsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Events *[]EventBody `json:"events"`
}
AppEventsOutputBody defines model for AppEventsOutputBody.
type AppExecStartJSONRequestBody ¶
type AppExecStartJSONRequestBody = ExecStartInputBody
AppExecStartJSONRequestBody defines body for AppExecStart for application/json ContentType.
type AppExecStartResponse ¶
type AppExecStartResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ExecStartOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppExecStartResponse ¶
func ParseAppExecStartResponse(rsp *http.Response) (*AppExecStartResponse, error)
ParseAppExecStartResponse parses an HTTP response from a AppExecStartWithResponse call
func (AppExecStartResponse) ContentType ¶
func (r AppExecStartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppExecStartResponse) GetApplicationproblemJSONDefault ¶
func (r AppExecStartResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppExecStartResponse) GetBody ¶
func (r AppExecStartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppExecStartResponse) GetJSON201 ¶
func (r AppExecStartResponse) GetJSON201() *ExecStartOutputBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (AppExecStartResponse) Status ¶
func (r AppExecStartResponse) Status() string
Status returns HTTPResponse.Status
func (AppExecStartResponse) StatusCode ¶
func (r AppExecStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppGetResponse ¶
type AppGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppGetResponse ¶
func ParseAppGetResponse(rsp *http.Response) (*AppGetResponse, error)
ParseAppGetResponse parses an HTTP response from a AppGetWithResponse call
func (AppGetResponse) ContentType ¶
func (r AppGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppGetResponse) GetApplicationproblemJSONDefault ¶
func (r AppGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppGetResponse) GetBody ¶
func (r AppGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppGetResponse) GetJSON200 ¶
func (r AppGetResponse) GetJSON200() *AppBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppGetResponse) Status ¶
func (r AppGetResponse) Status() string
Status returns HTTPResponse.Status
func (AppGetResponse) StatusCode ¶
func (r AppGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppLogsGetResponse ¶
type AppLogsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LogRequestBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppLogsGetResponse ¶
func ParseAppLogsGetResponse(rsp *http.Response) (*AppLogsGetResponse, error)
ParseAppLogsGetResponse parses an HTTP response from a AppLogsGetWithResponse call
func (AppLogsGetResponse) ContentType ¶
func (r AppLogsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppLogsGetResponse) GetApplicationproblemJSONDefault ¶
func (r AppLogsGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppLogsGetResponse) GetBody ¶
func (r AppLogsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppLogsGetResponse) GetJSON200 ¶
func (r AppLogsGetResponse) GetJSON200() *LogRequestBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppLogsGetResponse) Status ¶
func (r AppLogsGetResponse) Status() string
Status returns HTTPResponse.Status
func (AppLogsGetResponse) StatusCode ¶
func (r AppLogsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppLogsRequestJSONRequestBody ¶
type AppLogsRequestJSONRequestBody = LogRequestInputBody
AppLogsRequestJSONRequestBody defines body for AppLogsRequest for application/json ContentType.
type AppLogsRequestResponse ¶
type AppLogsRequestResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *LogRequestBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppLogsRequestResponse ¶
func ParseAppLogsRequestResponse(rsp *http.Response) (*AppLogsRequestResponse, error)
ParseAppLogsRequestResponse parses an HTTP response from a AppLogsRequestWithResponse call
func (AppLogsRequestResponse) ContentType ¶
func (r AppLogsRequestResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppLogsRequestResponse) GetApplicationproblemJSONDefault ¶
func (r AppLogsRequestResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppLogsRequestResponse) GetBody ¶
func (r AppLogsRequestResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppLogsRequestResponse) GetJSON202 ¶
func (r AppLogsRequestResponse) GetJSON202() *LogRequestBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (AppLogsRequestResponse) Status ¶
func (r AppLogsRequestResponse) Status() string
Status returns HTTPResponse.Status
func (AppLogsRequestResponse) StatusCode ¶
func (r AppLogsRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppMetricHourBody ¶
type AppMetricHourBody struct {
CpuBpAvg int64 `json:"cpu_bp_avg"`
CpuBpMax int64 `json:"cpu_bp_max"`
Hour time.Time `json:"hour"`
MemBytesAvg int64 `json:"mem_bytes_avg"`
MemBytesMax int64 `json:"mem_bytes_max"`
MemLimitBytes int64 `json:"mem_limit_bytes"`
NetRxBpsAvg int64 `json:"net_rx_bps_avg"`
NetRxBpsMax int64 `json:"net_rx_bps_max"`
NetTxBpsAvg int64 `json:"net_tx_bps_avg"`
NetTxBpsMax int64 `json:"net_tx_bps_max"`
Samples int32 `json:"samples"`
}
AppMetricHourBody defines model for AppMetricHourBody.
type AppMetricSampleBody ¶
type AppMetricSampleBody struct {
At time.Time `json:"at"`
// CpuBp Core-percent in basis points: one core flat out = 10000. Divide by the app's cpu_millis to get percent-of-plan.
CpuBp int64 `json:"cpu_bp"`
MemBytes int64 `json:"mem_bytes"`
MemLimitBytes int64 `json:"mem_limit_bytes"`
NetRxBps int64 `json:"net_rx_bps"`
NetTxBps int64 `json:"net_tx_bps"`
}
AppMetricSampleBody defines model for AppMetricSampleBody.
type AppMetricsOutputBody ¶
type AppMetricsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppMetricsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Hourly *[]AppMetricHourBody `json:"hourly,omitempty"`
Samples *[]AppMetricSampleBody `json:"samples,omitempty"`
}
AppMetricsOutputBody defines model for AppMetricsOutputBody.
type AppMetricsParams ¶
type AppMetricsParams struct {
Range *AppMetricsParamsRange `form:"range,omitempty" json:"range,omitempty"`
}
AppMetricsParams defines parameters for AppMetrics.
type AppMetricsParamsRange ¶
type AppMetricsParamsRange string
AppMetricsParamsRange defines parameters for AppMetrics.
const ( N1h AppMetricsParamsRange = "1h" N24h AppMetricsParamsRange = "24h" N7d AppMetricsParamsRange = "7d" )
Defines values for AppMetricsParamsRange.
func (AppMetricsParamsRange) Valid ¶
func (e AppMetricsParamsRange) Valid() bool
Valid indicates whether the value is a known member of the AppMetricsParamsRange enum.
type AppMetricsResponse ¶
type AppMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppMetricsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppMetricsResponse ¶
func ParseAppMetricsResponse(rsp *http.Response) (*AppMetricsResponse, error)
ParseAppMetricsResponse parses an HTTP response from a AppMetricsWithResponse call
func (AppMetricsResponse) ContentType ¶
func (r AppMetricsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppMetricsResponse) GetApplicationproblemJSONDefault ¶
func (r AppMetricsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppMetricsResponse) GetBody ¶
func (r AppMetricsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppMetricsResponse) GetJSON200 ¶
func (r AppMetricsResponse) GetJSON200() *AppMetricsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppMetricsResponse) Status ¶
func (r AppMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (AppMetricsResponse) StatusCode ¶
func (r AppMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppPlanBody ¶
type AppPlanBody struct {
CpuMillis int32 `json:"cpu_millis"`
// Currency Currency of monthly_price_minor — the asking organization's
Currency string `json:"currency"`
MaxReplicas int32 `json:"max_replicas"`
MemoryMb int32 `json:"memory_mb"`
MonthlyPriceMinor int64 `json:"monthly_price_minor"`
// Name Display name in the language asked for with Accept-Language (tr, en, de, es). A request without the header, or with none of those languages, gets English. A missing translation falls back to English (for any language but tr), then to the base name.
Name string `json:"name"`
Slug string `json:"slug"`
UsdMonthlyPriceMinor int64 `json:"usd_monthly_price_minor"`
}
AppPlanBody defines model for AppPlanBody.
type AppPlansListResponse ¶
type AppPlansListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppPlansOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppPlansListResponse ¶
func ParseAppPlansListResponse(rsp *http.Response) (*AppPlansListResponse, error)
ParseAppPlansListResponse parses an HTTP response from a AppPlansListWithResponse call
func (AppPlansListResponse) ContentType ¶
func (r AppPlansListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppPlansListResponse) GetApplicationproblemJSONDefault ¶
func (r AppPlansListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppPlansListResponse) GetBody ¶
func (r AppPlansListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppPlansListResponse) GetJSON200 ¶
func (r AppPlansListResponse) GetJSON200() *AppPlansOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppPlansListResponse) Status ¶
func (r AppPlansListResponse) Status() string
Status returns HTTPResponse.Status
func (AppPlansListResponse) StatusCode ¶
func (r AppPlansListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppPlansOutputBody ¶
type AppPlansOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppPlansOutputBody.json
Schema *string `json:"$schema,omitempty"`
Plans *[]AppPlanBody `json:"plans"`
}
AppPlansOutputBody defines model for AppPlansOutputBody.
type AppPresetBody ¶
type AppPresetBody struct {
DefaultOutputDir *string `json:"default_output_dir,omitempty"`
DefaultPort int32 `json:"default_port"`
Name string `json:"name"`
Slug string `json:"slug"`
StartRequired bool `json:"start_required"`
UsesOutputDir bool `json:"uses_output_dir"`
}
AppPresetBody defines model for AppPresetBody.
type AppPresetsListResponse ¶
type AppPresetsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppPresetsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppPresetsListResponse ¶
func ParseAppPresetsListResponse(rsp *http.Response) (*AppPresetsListResponse, error)
ParseAppPresetsListResponse parses an HTTP response from a AppPresetsListWithResponse call
func (AppPresetsListResponse) ContentType ¶
func (r AppPresetsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppPresetsListResponse) GetApplicationproblemJSONDefault ¶
func (r AppPresetsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppPresetsListResponse) GetBody ¶
func (r AppPresetsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppPresetsListResponse) GetJSON200 ¶
func (r AppPresetsListResponse) GetJSON200() *AppPresetsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppPresetsListResponse) Status ¶
func (r AppPresetsListResponse) Status() string
Status returns HTTPResponse.Status
func (AppPresetsListResponse) StatusCode ¶
func (r AppPresetsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppPresetsOutputBody ¶
type AppPresetsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppPresetsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Presets *[]AppPresetBody `json:"presets"`
}
AppPresetsOutputBody defines model for AppPresetsOutputBody.
type AppProjectSetJSONRequestBody ¶
type AppProjectSetJSONRequestBody = ProjectAssignmentBody
AppProjectSetJSONRequestBody defines body for AppProjectSet for application/json ContentType.
type AppProjectSetResponse ¶
type AppProjectSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppProjectSetResponse ¶
func ParseAppProjectSetResponse(rsp *http.Response) (*AppProjectSetResponse, error)
ParseAppProjectSetResponse parses an HTTP response from a AppProjectSetWithResponse call
func (AppProjectSetResponse) ContentType ¶
func (r AppProjectSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppProjectSetResponse) GetApplicationproblemJSONDefault ¶
func (r AppProjectSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppProjectSetResponse) GetBody ¶
func (r AppProjectSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppProjectSetResponse) Status ¶
func (r AppProjectSetResponse) Status() string
Status returns HTTPResponse.Status
func (AppProjectSetResponse) StatusCode ¶
func (r AppProjectSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppReleasesListResponse ¶
type AppReleasesListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ReleaseListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppReleasesListResponse ¶
func ParseAppReleasesListResponse(rsp *http.Response) (*AppReleasesListResponse, error)
ParseAppReleasesListResponse parses an HTTP response from a AppReleasesListWithResponse call
func (AppReleasesListResponse) ContentType ¶
func (r AppReleasesListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppReleasesListResponse) GetApplicationproblemJSONDefault ¶
func (r AppReleasesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppReleasesListResponse) GetBody ¶
func (r AppReleasesListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppReleasesListResponse) GetJSON200 ¶
func (r AppReleasesListResponse) GetJSON200() *ReleaseListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppReleasesListResponse) Status ¶
func (r AppReleasesListResponse) Status() string
Status returns HTTPResponse.Status
func (AppReleasesListResponse) StatusCode ¶
func (r AppReleasesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppResizeInputBody ¶
type AppResizeInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppResizeInputBody.json
Schema *string `json:"$schema,omitempty"`
// Plan The app plan slug to move to
Plan string `json:"plan"`
}
AppResizeInputBody defines model for AppResizeInputBody.
type AppResizeJSONRequestBody ¶
type AppResizeJSONRequestBody = AppResizeInputBody
AppResizeJSONRequestBody defines body for AppResize for application/json ContentType.
type AppResizeResponse ¶
type AppResizeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppResizeResponse ¶
func ParseAppResizeResponse(rsp *http.Response) (*AppResizeResponse, error)
ParseAppResizeResponse parses an HTTP response from a AppResizeWithResponse call
func (AppResizeResponse) ContentType ¶
func (r AppResizeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppResizeResponse) GetApplicationproblemJSONDefault ¶
func (r AppResizeResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppResizeResponse) GetBody ¶
func (r AppResizeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppResizeResponse) GetJSON200 ¶
func (r AppResizeResponse) GetJSON200() *AppBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppResizeResponse) Status ¶
func (r AppResizeResponse) Status() string
Status returns HTTPResponse.Status
func (AppResizeResponse) StatusCode ¶
func (r AppResizeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppRetryOutputBody ¶
type AppRetryOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppRetryOutputBody.json
Schema *string `json:"$schema,omitempty"`
Action ActionBody `json:"action"`
}
AppRetryOutputBody defines model for AppRetryOutputBody.
type AppRollbackInputBody ¶
type AppRollbackInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppRollbackInputBody.json
Schema *string `json:"$schema,omitempty"`
// Release The release number to go back to, as shown in the deployments list (the 13 in v13). It must still be within image retention; older ones answer BUILD_NOT_DEPLOYABLE.
Release int32 `json:"release"`
}
AppRollbackInputBody defines model for AppRollbackInputBody.
type AppRollbackJSONRequestBody ¶
type AppRollbackJSONRequestBody = AppRollbackInputBody
AppRollbackJSONRequestBody defines body for AppRollback for application/json ContentType.
type AppRollbackResponse ¶
type AppRollbackResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppRollbackResponse ¶
func ParseAppRollbackResponse(rsp *http.Response) (*AppRollbackResponse, error)
ParseAppRollbackResponse parses an HTTP response from a AppRollbackWithResponse call
func (AppRollbackResponse) ContentType ¶
func (r AppRollbackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppRollbackResponse) GetApplicationproblemJSONDefault ¶
func (r AppRollbackResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppRollbackResponse) GetBody ¶
func (r AppRollbackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppRollbackResponse) GetJSON200 ¶
func (r AppRollbackResponse) GetJSON200() *AppBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppRollbackResponse) Status ¶
func (r AppRollbackResponse) Status() string
Status returns HTTPResponse.Status
func (AppRollbackResponse) StatusCode ¶
func (r AppRollbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppScaleInputBody ¶
type AppScaleInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppScaleInputBody.json
Schema *string `json:"$schema,omitempty"`
// ReplicasMax Most the platform may run, bounded by the app's plan. Equal to the minimum pins the count.
ReplicasMax int32 `json:"replicas_max"`
// ReplicasMin Fewest containers to keep running
ReplicasMin int32 `json:"replicas_min"`
}
AppScaleInputBody defines model for AppScaleInputBody.
type AppScaleJSONRequestBody ¶
type AppScaleJSONRequestBody = AppScaleInputBody
AppScaleJSONRequestBody defines body for AppScale for application/json ContentType.
type AppScaleResponse ¶
type AppScaleResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppScaleResponse ¶
func ParseAppScaleResponse(rsp *http.Response) (*AppScaleResponse, error)
ParseAppScaleResponse parses an HTTP response from a AppScaleWithResponse call
func (AppScaleResponse) ContentType ¶
func (r AppScaleResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppScaleResponse) GetApplicationproblemJSONDefault ¶
func (r AppScaleResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppScaleResponse) GetBody ¶
func (r AppScaleResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppScaleResponse) GetJSON200 ¶
func (r AppScaleResponse) GetJSON200() *AppBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppScaleResponse) Status ¶
func (r AppScaleResponse) Status() string
Status returns HTTPResponse.Status
func (AppScaleResponse) StatusCode ¶
func (r AppScaleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppSourceInputBody ¶
type AppSourceInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppSourceInputBody.json
Schema *string `json:"$schema,omitempty"`
BuildCommand *string `json:"build_command,omitempty"`
// Builder Who writes the Dockerfile. Replaced whole with the rest of this body, so switching back to dockerfile clears the preset and its commands.
Builder *AppSourceInputBodyBuilder `json:"builder,omitempty"`
// ContextDir Repository subdirectory to build from (monorepo). Relative, no leading slash. Replaced whole with the rest of this body, and cleared by an unlink.
ContextDir *string `json:"context_dir,omitempty"`
// DockerfilePath Dockerfile path relative to the build directory (default Dockerfile). Only with the dockerfile builder.
DockerfilePath *string `json:"dockerfile_path,omitempty"`
// GitConnectionId Connection from /v1/git/connections for a PRIVATE repository. Omit for a public one.
GitConnectionId *string `json:"git_connection_id,omitempty"`
// GitRef Branch or tag to build (default main)
GitRef *string `json:"git_ref,omitempty"`
InstallCommand *string `json:"install_command,omitempty"`
OutputDir *string `json:"output_dir,omitempty"`
// Preset Stack slug from GET /v1/app-presets. Required with the preset builder, refused without it.
Preset *string `json:"preset,omitempty"`
// SourceUrl HTTPS git repository. Empty unlinks the app: it keeps running its current image and auto-deploy is switched off with the link.
SourceUrl string `json:"source_url"`
}
AppSourceInputBody defines model for AppSourceInputBody.
type AppSourceInputBodyBuilder ¶
type AppSourceInputBodyBuilder string
AppSourceInputBodyBuilder Who writes the Dockerfile. Replaced whole with the rest of this body, so switching back to dockerfile clears the preset and its commands.
const ( AppSourceInputBodyBuilderDockerfile AppSourceInputBodyBuilder = "dockerfile" AppSourceInputBodyBuilderPreset AppSourceInputBodyBuilder = "preset" )
Defines values for AppSourceInputBodyBuilder.
func (AppSourceInputBodyBuilder) Valid ¶
func (e AppSourceInputBodyBuilder) Valid() bool
Valid indicates whether the value is a known member of the AppSourceInputBodyBuilder enum.
type AppSourceSetJSONRequestBody ¶
type AppSourceSetJSONRequestBody = AppSourceInputBody
AppSourceSetJSONRequestBody defines body for AppSourceSet for application/json ContentType.
type AppSourceSetResponse ¶
type AppSourceSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppSourceSetResponse ¶
func ParseAppSourceSetResponse(rsp *http.Response) (*AppSourceSetResponse, error)
ParseAppSourceSetResponse parses an HTTP response from a AppSourceSetWithResponse call
func (AppSourceSetResponse) ContentType ¶
func (r AppSourceSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppSourceSetResponse) GetApplicationproblemJSONDefault ¶
func (r AppSourceSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppSourceSetResponse) GetBody ¶
func (r AppSourceSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppSourceSetResponse) GetJSON200 ¶
func (r AppSourceSetResponse) GetJSON200() *AppBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppSourceSetResponse) Status ¶
func (r AppSourceSetResponse) Status() string
Status returns HTTPResponse.Status
func (AppSourceSetResponse) StatusCode ¶
func (r AppSourceSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppTagsSetJSONRequestBody ¶
type AppTagsSetJSONRequestBody = TagsBody
AppTagsSetJSONRequestBody defines body for AppTagsSet for application/json ContentType.
type AppTagsSetResponse ¶
type AppTagsSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TagsBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppTagsSetResponse ¶
func ParseAppTagsSetResponse(rsp *http.Response) (*AppTagsSetResponse, error)
ParseAppTagsSetResponse parses an HTTP response from a AppTagsSetWithResponse call
func (AppTagsSetResponse) ContentType ¶
func (r AppTagsSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppTagsSetResponse) GetApplicationproblemJSONDefault ¶
func (r AppTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppTagsSetResponse) GetBody ¶
func (r AppTagsSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppTagsSetResponse) GetJSON200 ¶
func (r AppTagsSetResponse) GetJSON200() *TagsBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppTagsSetResponse) Status ¶
func (r AppTagsSetResponse) Status() string
Status returns HTTPResponse.Status
func (AppTagsSetResponse) StatusCode ¶
func (r AppTagsSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppUpdateInputBody ¶
type AppUpdateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppUpdateInputBody.json
Schema *string `json:"$schema,omitempty"`
HealthPath *string `json:"health_path,omitempty"`
Name string `json:"name"`
Port int32 `json:"port"`
StartCommand *string `json:"start_command,omitempty"`
}
AppUpdateInputBody defines model for AppUpdateInputBody.
type AppUpdateJSONRequestBody ¶
type AppUpdateJSONRequestBody = AppUpdateInputBody
AppUpdateJSONRequestBody defines body for AppUpdate for application/json ContentType.
type AppUpdateResponse ¶
type AppUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppUpdateResponse ¶
func ParseAppUpdateResponse(rsp *http.Response) (*AppUpdateResponse, error)
ParseAppUpdateResponse parses an HTTP response from a AppUpdateWithResponse call
func (AppUpdateResponse) ContentType ¶
func (r AppUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppUpdateResponse) GetApplicationproblemJSONDefault ¶
func (r AppUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppUpdateResponse) GetBody ¶
func (r AppUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppUpdateResponse) GetJSON200 ¶
func (r AppUpdateResponse) GetJSON200() *AppBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppUpdateResponse) Status ¶
func (r AppUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (AppUpdateResponse) StatusCode ¶
func (r AppUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppsListOutputBody ¶
type AppsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AppsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Apps *[]AppBody `json:"apps"`
Summary AppsListSummary `json:"summary"`
Total int64 `json:"total"`
}
AppsListOutputBody defines model for AppsListOutputBody.
type AppsListParams ¶
type AppsListParams struct {
// Project Project UUID, or the literal 'none' for resources in no project at all
Project *string `form:"project,omitempty" json:"project,omitempty"`
// Tag Filter by tag. Repeat to require several: ?tag=env:prod&tag=role:web returns only what carries both.
Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
AppsListParams defines parameters for AppsList.
type AppsListResponse ¶
type AppsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AppsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAppsListResponse ¶
func ParseAppsListResponse(rsp *http.Response) (*AppsListResponse, error)
ParseAppsListResponse parses an HTTP response from a AppsListWithResponse call
func (AppsListResponse) ContentType ¶
func (r AppsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AppsListResponse) GetApplicationproblemJSONDefault ¶
func (r AppsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AppsListResponse) GetBody ¶
func (r AppsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AppsListResponse) GetJSON200 ¶
func (r AppsListResponse) GetJSON200() *AppsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AppsListResponse) Status ¶
func (r AppsListResponse) Status() string
Status returns HTTPResponse.Status
func (AppsListResponse) StatusCode ¶
func (r AppsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AppsListSummary ¶
type AppsListSummary struct {
ChargeCurrency string `json:"charge_currency"`
// MonthlyChargeMinor Sum over all apps of the monthly charge times the replicas billed for
MonthlyChargeMinor int64 `json:"monthly_charge_minor"`
Running int64 `json:"running"`
// Total Every app in the organization
Total int64 `json:"total"`
}
AppsListSummary defines model for AppsListSummary.
type AuthConfirmEmailChangeJSONRequestBody ¶
type AuthConfirmEmailChangeJSONRequestBody = EmailChangeConfirmInputBody
AuthConfirmEmailChangeJSONRequestBody defines body for AuthConfirmEmailChange for application/json ContentType.
type AuthConfirmEmailChangeResponse ¶
type AuthConfirmEmailChangeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EmailChangeConfirmOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAuthConfirmEmailChangeResponse ¶
func ParseAuthConfirmEmailChangeResponse(rsp *http.Response) (*AuthConfirmEmailChangeResponse, error)
ParseAuthConfirmEmailChangeResponse parses an HTTP response from a AuthConfirmEmailChangeWithResponse call
func (AuthConfirmEmailChangeResponse) ContentType ¶
func (r AuthConfirmEmailChangeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthConfirmEmailChangeResponse) GetApplicationproblemJSONDefault ¶
func (r AuthConfirmEmailChangeResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthConfirmEmailChangeResponse) GetBody ¶
func (r AuthConfirmEmailChangeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthConfirmEmailChangeResponse) GetJSON200 ¶
func (r AuthConfirmEmailChangeResponse) GetJSON200() *EmailChangeConfirmOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AuthConfirmEmailChangeResponse) Status ¶
func (r AuthConfirmEmailChangeResponse) Status() string
Status returns HTTPResponse.Status
func (AuthConfirmEmailChangeResponse) StatusCode ¶
func (r AuthConfirmEmailChangeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthImpersonateJSONRequestBody ¶
type AuthImpersonateJSONRequestBody = ImpersonateInputBody
AuthImpersonateJSONRequestBody defines body for AuthImpersonate for application/json ContentType.
type AuthImpersonateResponse ¶
type AuthImpersonateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ImpersonateOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *AuthImpersonateResponse200Headers
}
func ParseAuthImpersonateResponse ¶
func ParseAuthImpersonateResponse(rsp *http.Response) (*AuthImpersonateResponse, error)
ParseAuthImpersonateResponse parses an HTTP response from a AuthImpersonateWithResponse call
func (AuthImpersonateResponse) ContentType ¶
func (r AuthImpersonateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthImpersonateResponse) GetApplicationproblemJSONDefault ¶
func (r AuthImpersonateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthImpersonateResponse) GetBody ¶
func (r AuthImpersonateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthImpersonateResponse) GetJSON200 ¶
func (r AuthImpersonateResponse) GetJSON200() *ImpersonateOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AuthImpersonateResponse) Status ¶
func (r AuthImpersonateResponse) Status() string
Status returns HTTPResponse.Status
func (AuthImpersonateResponse) StatusCode ¶
func (r AuthImpersonateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthImpersonateResponse200Headers ¶
type AuthImpersonateResponse200Headers struct {
SetCookie *string
}
AuthImpersonateResponse200Headers the declared response headers of an HTTP 200 response for AuthImpersonate
type AuthLoginJSONRequestBody ¶
type AuthLoginJSONRequestBody = LoginInputBody
AuthLoginJSONRequestBody defines body for AuthLogin for application/json ContentType.
type AuthLoginResponse ¶
type AuthLoginResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LoginResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *AuthLoginResponse200Headers
}
func ParseAuthLoginResponse ¶
func ParseAuthLoginResponse(rsp *http.Response) (*AuthLoginResponse, error)
ParseAuthLoginResponse parses an HTTP response from a AuthLoginWithResponse call
func (AuthLoginResponse) ContentType ¶
func (r AuthLoginResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthLoginResponse) GetApplicationproblemJSONDefault ¶
func (r AuthLoginResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthLoginResponse) GetBody ¶
func (r AuthLoginResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthLoginResponse) GetJSON200 ¶
func (r AuthLoginResponse) GetJSON200() *LoginResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AuthLoginResponse) Status ¶
func (r AuthLoginResponse) Status() string
Status returns HTTPResponse.Status
func (AuthLoginResponse) StatusCode ¶
func (r AuthLoginResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthLoginResponse200Headers ¶
type AuthLoginResponse200Headers struct {
SetCookie *string
}
AuthLoginResponse200Headers the declared response headers of an HTTP 200 response for AuthLogin
type AuthLogoutResponse ¶
type AuthLogoutResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers204 the parsed response headers for an HTTP 204 response
Headers204 *AuthLogoutResponse204Headers
}
func ParseAuthLogoutResponse ¶
func ParseAuthLogoutResponse(rsp *http.Response) (*AuthLogoutResponse, error)
ParseAuthLogoutResponse parses an HTTP response from a AuthLogoutWithResponse call
func (AuthLogoutResponse) ContentType ¶
func (r AuthLogoutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthLogoutResponse) GetApplicationproblemJSONDefault ¶
func (r AuthLogoutResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthLogoutResponse) GetBody ¶
func (r AuthLogoutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthLogoutResponse) Status ¶
func (r AuthLogoutResponse) Status() string
Status returns HTTPResponse.Status
func (AuthLogoutResponse) StatusCode ¶
func (r AuthLogoutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthLogoutResponse204Headers ¶
type AuthLogoutResponse204Headers struct {
SetCookie *string
}
AuthLogoutResponse204Headers the declared response headers of an HTTP 204 response for AuthLogout
type AuthMfaVerifyJSONRequestBody ¶
type AuthMfaVerifyJSONRequestBody = MfaVerifyInputBody
AuthMfaVerifyJSONRequestBody defines body for AuthMfaVerify for application/json ContentType.
type AuthMfaVerifyParams ¶
type AuthMfaVerifyParams struct {
CpMfa *Cookie `form:"cp_mfa,omitempty" json:"cp_mfa,omitempty"`
}
AuthMfaVerifyParams defines parameters for AuthMfaVerify.
type AuthMfaVerifyResponse ¶
type AuthMfaVerifyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LoginResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *AuthMfaVerifyResponse200Headers
}
func ParseAuthMfaVerifyResponse ¶
func ParseAuthMfaVerifyResponse(rsp *http.Response) (*AuthMfaVerifyResponse, error)
ParseAuthMfaVerifyResponse parses an HTTP response from a AuthMfaVerifyWithResponse call
func (AuthMfaVerifyResponse) ContentType ¶
func (r AuthMfaVerifyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthMfaVerifyResponse) GetApplicationproblemJSONDefault ¶
func (r AuthMfaVerifyResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthMfaVerifyResponse) GetBody ¶
func (r AuthMfaVerifyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthMfaVerifyResponse) GetJSON200 ¶
func (r AuthMfaVerifyResponse) GetJSON200() *LoginResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AuthMfaVerifyResponse) Status ¶
func (r AuthMfaVerifyResponse) Status() string
Status returns HTTPResponse.Status
func (AuthMfaVerifyResponse) StatusCode ¶
func (r AuthMfaVerifyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthMfaVerifyResponse200Headers ¶
type AuthMfaVerifyResponse200Headers struct {
SetCookie *string
}
AuthMfaVerifyResponse200Headers the declared response headers of an HTTP 200 response for AuthMfaVerify
type AuthOauthCallbackParams ¶
type AuthOauthCallbackParams struct {
Code *string `form:"code,omitempty" json:"code,omitempty"`
State *string `form:"state,omitempty" json:"state,omitempty"`
Error *string `form:"error,omitempty" json:"error,omitempty"`
CpOauth *Cookie `form:"cp_oauth,omitempty" json:"cp_oauth,omitempty"`
}
AuthOauthCallbackParams defines parameters for AuthOauthCallback.
type AuthOauthCallbackParamsProvider ¶
type AuthOauthCallbackParamsProvider string
AuthOauthCallbackParamsProvider defines parameters for AuthOauthCallback.
const ( AuthOauthCallbackParamsProviderGithub AuthOauthCallbackParamsProvider = "github" AuthOauthCallbackParamsProviderGoogle AuthOauthCallbackParamsProvider = "google" )
Defines values for AuthOauthCallbackParamsProvider.
func (AuthOauthCallbackParamsProvider) Valid ¶
func (e AuthOauthCallbackParamsProvider) Valid() bool
Valid indicates whether the value is a known member of the AuthOauthCallbackParamsProvider enum.
type AuthOauthCallbackResponse ¶
type AuthOauthCallbackResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers302 the parsed response headers for an HTTP 302 response
Headers302 *AuthOauthCallbackResponse302Headers
}
func ParseAuthOauthCallbackResponse ¶
func ParseAuthOauthCallbackResponse(rsp *http.Response) (*AuthOauthCallbackResponse, error)
ParseAuthOauthCallbackResponse parses an HTTP response from a AuthOauthCallbackWithResponse call
func (AuthOauthCallbackResponse) ContentType ¶
func (r AuthOauthCallbackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthOauthCallbackResponse) GetApplicationproblemJSONDefault ¶
func (r AuthOauthCallbackResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthOauthCallbackResponse) GetBody ¶
func (r AuthOauthCallbackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthOauthCallbackResponse) Status ¶
func (r AuthOauthCallbackResponse) Status() string
Status returns HTTPResponse.Status
func (AuthOauthCallbackResponse) StatusCode ¶
func (r AuthOauthCallbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthOauthCallbackResponse302Headers ¶
AuthOauthCallbackResponse302Headers the declared response headers of an HTTP 302 response for AuthOauthCallback
type AuthOauthProvidersResponse ¶
type AuthOauthProvidersResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProvidersOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAuthOauthProvidersResponse ¶
func ParseAuthOauthProvidersResponse(rsp *http.Response) (*AuthOauthProvidersResponse, error)
ParseAuthOauthProvidersResponse parses an HTTP response from a AuthOauthProvidersWithResponse call
func (AuthOauthProvidersResponse) ContentType ¶
func (r AuthOauthProvidersResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthOauthProvidersResponse) GetApplicationproblemJSONDefault ¶
func (r AuthOauthProvidersResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthOauthProvidersResponse) GetBody ¶
func (r AuthOauthProvidersResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthOauthProvidersResponse) GetJSON200 ¶
func (r AuthOauthProvidersResponse) GetJSON200() *ProvidersOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AuthOauthProvidersResponse) Status ¶
func (r AuthOauthProvidersResponse) Status() string
Status returns HTTPResponse.Status
func (AuthOauthProvidersResponse) StatusCode ¶
func (r AuthOauthProvidersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthOauthStartParams ¶
type AuthOauthStartParams struct {
Mode *AuthOauthStartParamsMode `form:"mode,omitempty" json:"mode,omitempty"`
// TermsAccepted Must be true for a first-time social sign-up (Terms of Service and Acceptable Use Policy); otherwise the callback redirects with oauth_error=TERMS_NOT_ACCEPTED
TermsAccepted *bool `form:"terms_accepted,omitempty" json:"terms_accepted,omitempty"`
// MarketingOptIn Optional consent to marketing messages, applied only when the flow creates a new account
MarketingOptIn *bool `form:"marketing_opt_in,omitempty" json:"marketing_opt_in,omitempty"`
// KvkkConsent Deprecated: send terms_accepted. Still read as terms_accepted when that is false
KvkkConsent *bool `form:"kvkk_consent,omitempty" json:"kvkk_consent,omitempty"`
Locale *AuthOauthStartParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
}
AuthOauthStartParams defines parameters for AuthOauthStart.
type AuthOauthStartParamsLocale ¶
type AuthOauthStartParamsLocale string
AuthOauthStartParamsLocale defines parameters for AuthOauthStart.
const ( AuthOauthStartParamsLocaleDe AuthOauthStartParamsLocale = "de" AuthOauthStartParamsLocaleEn AuthOauthStartParamsLocale = "en" AuthOauthStartParamsLocaleEs AuthOauthStartParamsLocale = "es" AuthOauthStartParamsLocaleTr AuthOauthStartParamsLocale = "tr" )
Defines values for AuthOauthStartParamsLocale.
func (AuthOauthStartParamsLocale) Valid ¶
func (e AuthOauthStartParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the AuthOauthStartParamsLocale enum.
type AuthOauthStartParamsMode ¶
type AuthOauthStartParamsMode string
AuthOauthStartParamsMode defines parameters for AuthOauthStart.
const ( Link AuthOauthStartParamsMode = "link" Login AuthOauthStartParamsMode = "login" )
Defines values for AuthOauthStartParamsMode.
func (AuthOauthStartParamsMode) Valid ¶
func (e AuthOauthStartParamsMode) Valid() bool
Valid indicates whether the value is a known member of the AuthOauthStartParamsMode enum.
type AuthOauthStartParamsProvider ¶
type AuthOauthStartParamsProvider string
AuthOauthStartParamsProvider defines parameters for AuthOauthStart.
const ( AuthOauthStartParamsProviderGithub AuthOauthStartParamsProvider = "github" AuthOauthStartParamsProviderGoogle AuthOauthStartParamsProvider = "google" )
Defines values for AuthOauthStartParamsProvider.
func (AuthOauthStartParamsProvider) Valid ¶
func (e AuthOauthStartParamsProvider) Valid() bool
Valid indicates whether the value is a known member of the AuthOauthStartParamsProvider enum.
type AuthOauthStartResponse ¶
type AuthOauthStartResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers302 the parsed response headers for an HTTP 302 response
Headers302 *AuthOauthStartResponse302Headers
}
func ParseAuthOauthStartResponse ¶
func ParseAuthOauthStartResponse(rsp *http.Response) (*AuthOauthStartResponse, error)
ParseAuthOauthStartResponse parses an HTTP response from a AuthOauthStartWithResponse call
func (AuthOauthStartResponse) ContentType ¶
func (r AuthOauthStartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthOauthStartResponse) GetApplicationproblemJSONDefault ¶
func (r AuthOauthStartResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthOauthStartResponse) GetBody ¶
func (r AuthOauthStartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthOauthStartResponse) Status ¶
func (r AuthOauthStartResponse) Status() string
Status returns HTTPResponse.Status
func (AuthOauthStartResponse) StatusCode ¶
func (r AuthOauthStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthOauthStartResponse302Headers ¶
AuthOauthStartResponse302Headers the declared response headers of an HTTP 302 response for AuthOauthStart
type AuthPasswordResetJSONRequestBody ¶
type AuthPasswordResetJSONRequestBody = ResetInputBody
AuthPasswordResetJSONRequestBody defines body for AuthPasswordReset for application/json ContentType.
type AuthPasswordResetRequestJSONRequestBody ¶
type AuthPasswordResetRequestJSONRequestBody = ResetRequestInputBody
AuthPasswordResetRequestJSONRequestBody defines body for AuthPasswordResetRequest for application/json ContentType.
type AuthPasswordResetRequestResponse ¶
type AuthPasswordResetRequestResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAuthPasswordResetRequestResponse ¶
func ParseAuthPasswordResetRequestResponse(rsp *http.Response) (*AuthPasswordResetRequestResponse, error)
ParseAuthPasswordResetRequestResponse parses an HTTP response from a AuthPasswordResetRequestWithResponse call
func (AuthPasswordResetRequestResponse) ContentType ¶
func (r AuthPasswordResetRequestResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthPasswordResetRequestResponse) GetApplicationproblemJSONDefault ¶
func (r AuthPasswordResetRequestResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthPasswordResetRequestResponse) GetBody ¶
func (r AuthPasswordResetRequestResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthPasswordResetRequestResponse) Status ¶
func (r AuthPasswordResetRequestResponse) Status() string
Status returns HTTPResponse.Status
func (AuthPasswordResetRequestResponse) StatusCode ¶
func (r AuthPasswordResetRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthPasswordResetResponse ¶
type AuthPasswordResetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAuthPasswordResetResponse ¶
func ParseAuthPasswordResetResponse(rsp *http.Response) (*AuthPasswordResetResponse, error)
ParseAuthPasswordResetResponse parses an HTTP response from a AuthPasswordResetWithResponse call
func (AuthPasswordResetResponse) ContentType ¶
func (r AuthPasswordResetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthPasswordResetResponse) GetApplicationproblemJSONDefault ¶
func (r AuthPasswordResetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthPasswordResetResponse) GetBody ¶
func (r AuthPasswordResetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthPasswordResetResponse) Status ¶
func (r AuthPasswordResetResponse) Status() string
Status returns HTTPResponse.Status
func (AuthPasswordResetResponse) StatusCode ¶
func (r AuthPasswordResetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthPolicyBody ¶
type AuthPolicyBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/AuthPolicyBody.json
Schema *string `json:"$schema,omitempty"`
// EmailVerificationRequired Registration sends a verification mail and unverified accounts cannot sign in
EmailVerificationRequired bool `json:"email_verification_required"`
// PhoneVerificationRequired A verified phone number is required before resources can be created
PhoneVerificationRequired bool `json:"phone_verification_required"`
}
AuthPolicyBody defines model for AuthPolicyBody.
type AuthPolicyResponse ¶
type AuthPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AuthPolicyBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAuthPolicyResponse ¶
func ParseAuthPolicyResponse(rsp *http.Response) (*AuthPolicyResponse, error)
ParseAuthPolicyResponse parses an HTTP response from a AuthPolicyWithResponse call
func (AuthPolicyResponse) ContentType ¶
func (r AuthPolicyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthPolicyResponse) GetApplicationproblemJSONDefault ¶
func (r AuthPolicyResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthPolicyResponse) GetBody ¶
func (r AuthPolicyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthPolicyResponse) GetJSON200 ¶
func (r AuthPolicyResponse) GetJSON200() *AuthPolicyBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AuthPolicyResponse) Status ¶
func (r AuthPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (AuthPolicyResponse) StatusCode ¶
func (r AuthPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthRegisterJSONRequestBody ¶
type AuthRegisterJSONRequestBody = RegisterInputBody
AuthRegisterJSONRequestBody defines body for AuthRegister for application/json ContentType.
type AuthRegisterResponse ¶
type AuthRegisterResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAuthRegisterResponse ¶
func ParseAuthRegisterResponse(rsp *http.Response) (*AuthRegisterResponse, error)
ParseAuthRegisterResponse parses an HTTP response from a AuthRegisterWithResponse call
func (AuthRegisterResponse) ContentType ¶
func (r AuthRegisterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthRegisterResponse) GetApplicationproblemJSONDefault ¶
func (r AuthRegisterResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthRegisterResponse) GetBody ¶
func (r AuthRegisterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthRegisterResponse) Status ¶
func (r AuthRegisterResponse) Status() string
Status returns HTTPResponse.Status
func (AuthRegisterResponse) StatusCode ¶
func (r AuthRegisterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthSessionRevokeResponse ¶
type AuthSessionRevokeResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAuthSessionRevokeResponse ¶
func ParseAuthSessionRevokeResponse(rsp *http.Response) (*AuthSessionRevokeResponse, error)
ParseAuthSessionRevokeResponse parses an HTTP response from a AuthSessionRevokeWithResponse call
func (AuthSessionRevokeResponse) ContentType ¶
func (r AuthSessionRevokeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthSessionRevokeResponse) GetApplicationproblemJSONDefault ¶
func (r AuthSessionRevokeResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthSessionRevokeResponse) GetBody ¶
func (r AuthSessionRevokeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthSessionRevokeResponse) Status ¶
func (r AuthSessionRevokeResponse) Status() string
Status returns HTTPResponse.Status
func (AuthSessionRevokeResponse) StatusCode ¶
func (r AuthSessionRevokeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthSessionsListResponse ¶
type AuthSessionsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SessionsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAuthSessionsListResponse ¶
func ParseAuthSessionsListResponse(rsp *http.Response) (*AuthSessionsListResponse, error)
ParseAuthSessionsListResponse parses an HTTP response from a AuthSessionsListWithResponse call
func (AuthSessionsListResponse) ContentType ¶
func (r AuthSessionsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthSessionsListResponse) GetApplicationproblemJSONDefault ¶
func (r AuthSessionsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthSessionsListResponse) GetBody ¶
func (r AuthSessionsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthSessionsListResponse) GetJSON200 ¶
func (r AuthSessionsListResponse) GetJSON200() *SessionsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AuthSessionsListResponse) Status ¶
func (r AuthSessionsListResponse) Status() string
Status returns HTTPResponse.Status
func (AuthSessionsListResponse) StatusCode ¶
func (r AuthSessionsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthVerifyEmailJSONRequestBody ¶
type AuthVerifyEmailJSONRequestBody = VerifyInputBody
AuthVerifyEmailJSONRequestBody defines body for AuthVerifyEmail for application/json ContentType.
type AuthVerifyEmailResendJSONRequestBody ¶
type AuthVerifyEmailResendJSONRequestBody = ResendInputBody
AuthVerifyEmailResendJSONRequestBody defines body for AuthVerifyEmailResend for application/json ContentType.
type AuthVerifyEmailResendResponse ¶
type AuthVerifyEmailResendResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAuthVerifyEmailResendResponse ¶
func ParseAuthVerifyEmailResendResponse(rsp *http.Response) (*AuthVerifyEmailResendResponse, error)
ParseAuthVerifyEmailResendResponse parses an HTTP response from a AuthVerifyEmailResendWithResponse call
func (AuthVerifyEmailResendResponse) ContentType ¶
func (r AuthVerifyEmailResendResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthVerifyEmailResendResponse) GetApplicationproblemJSONDefault ¶
func (r AuthVerifyEmailResendResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthVerifyEmailResendResponse) GetBody ¶
func (r AuthVerifyEmailResendResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthVerifyEmailResendResponse) Status ¶
func (r AuthVerifyEmailResendResponse) Status() string
Status returns HTTPResponse.Status
func (AuthVerifyEmailResendResponse) StatusCode ¶
func (r AuthVerifyEmailResendResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthVerifyEmailResponse ¶
type AuthVerifyEmailResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseAuthVerifyEmailResponse ¶
func ParseAuthVerifyEmailResponse(rsp *http.Response) (*AuthVerifyEmailResponse, error)
ParseAuthVerifyEmailResponse parses an HTTP response from a AuthVerifyEmailWithResponse call
func (AuthVerifyEmailResponse) ContentType ¶
func (r AuthVerifyEmailResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthVerifyEmailResponse) GetApplicationproblemJSONDefault ¶
func (r AuthVerifyEmailResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (AuthVerifyEmailResponse) GetBody ¶
func (r AuthVerifyEmailResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthVerifyEmailResponse) Status ¶
func (r AuthVerifyEmailResponse) Status() string
Status returns HTTPResponse.Status
func (AuthVerifyEmailResponse) StatusCode ¶
func (r AuthVerifyEmailResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BackupAllBody ¶
type BackupAllBody struct {
CreatedAt time.Time `json:"created_at"`
// DiskGb Source disk — the chosen plan's disk must be at least this
DiskGb int64 `json:"disk_gb"`
Id string `json:"id"`
Name string `json:"name"`
// RegionName Display name in the language asked for with Accept-Language (tr, en, de, es). A request without the header, or with none of those languages, gets English. A missing translation falls back to English (for any language but tr), then to the base name.
RegionName string `json:"region_name"`
// RegionSlug Region the restore will land in. A restore is pinned to the node holding the archive, so the region on create is taken from here and any region sent with the request is ignored.
RegionSlug string `json:"region_slug"`
ServerDeleted bool `json:"server_deleted"`
ServerId string `json:"server_id"`
ServerName string `json:"server_name"`
// SizeGb Archive size
SizeGb int64 `json:"size_gb"`
}
BackupAllBody defines model for BackupAllBody.
type BackupBody ¶
type BackupBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/BackupBody.json
Schema *string `json:"$schema,omitempty"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
Name string `json:"name"`
// SizeGb Billed GB of the archive (0 until the backup finishes)
SizeGb int64 `json:"size_gb"`
// Source manual | auto
Source string `json:"source"`
// State creating | active | restoring | deleting | error
State string `json:"state"`
}
BackupBody defines model for BackupBody.
type BackupCreateInputBody ¶
type BackupCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/BackupCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Name Hostname format: lowercase letters, digits, hyphens
Name string `json:"name"`
}
BackupCreateInputBody defines model for BackupCreateInputBody.
type BackupListAllOutputBody ¶
type BackupListAllOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/BackupListAllOutputBody.json
Schema *string `json:"$schema,omitempty"`
Backups *[]BackupAllBody `json:"backups"`
Total int64 `json:"total"`
}
BackupListAllOutputBody defines model for BackupListAllOutputBody.
type BackupListOutputBody ¶
type BackupListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/BackupListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Backups *[]BackupBody `json:"backups"`
}
BackupListOutputBody defines model for BackupListOutputBody.
type BackupSettingsBody ¶
type BackupSettingsBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/BackupSettingsBody.json
Schema *string `json:"$schema,omitempty"`
AutoEnabled bool `json:"auto_enabled"`
}
BackupSettingsBody defines model for BackupSettingsBody.
type BackupSettingsUpdateInputBody ¶
type BackupSettingsUpdateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/BackupSettingsUpdateInputBody.json
Schema *string `json:"$schema,omitempty"`
AutoEnabled bool `json:"auto_enabled"`
}
BackupSettingsUpdateInputBody defines model for BackupSettingsUpdateInputBody.
type BuildBody ¶
type BuildBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/BuildBody.json
Schema *string `json:"$schema,omitempty"`
BuildArgs *map[string]string `json:"build_args,omitempty"`
CancelRequestedAt *time.Time `json:"cancel_requested_at,omitempty"`
CommitAuthor *string `json:"commit_author,omitempty"`
CommitMessage *string `json:"commit_message,omitempty"`
CommitSha *string `json:"commit_sha,omitempty"`
ContextDir *string `json:"context_dir,omitempty"`
CreatedAt time.Time `json:"created_at"`
Deployable bool `json:"deployable"`
Dockerfile *string `json:"dockerfile,omitempty"`
DockerfilePath *string `json:"dockerfile_path,omitempty"`
Error *string `json:"error,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
GitRef string `json:"git_ref"`
Id string `json:"id"`
ImageRef *string `json:"image_ref,omitempty"`
Log *string `json:"log,omitempty"`
SourceUrl string `json:"source_url"`
StartedAt *time.Time `json:"started_at,omitempty"`
// State canceled is the customer's own stop, never a failure
State BuildBodyState `json:"state"`
Trigger *BuildBodyTrigger `json:"trigger,omitempty"`
}
BuildBody defines model for BuildBody.
type BuildBodyState ¶
type BuildBodyState string
BuildBodyState canceled is the customer's own stop, never a failure
const ( BuildBodyStateBuilding BuildBodyState = "building" BuildBodyStateCanceled BuildBodyState = "canceled" BuildBodyStateFailed BuildBodyState = "failed" BuildBodyStateQueued BuildBodyState = "queued" BuildBodyStateSucceeded BuildBodyState = "succeeded" )
Defines values for BuildBodyState.
func (BuildBodyState) Valid ¶
func (e BuildBodyState) Valid() bool
Valid indicates whether the value is a known member of the BuildBodyState enum.
type BuildBodyTrigger ¶
type BuildBodyTrigger string
BuildBodyTrigger defines model for BuildBody.Trigger.
const ( BuildBodyTriggerCreate BuildBodyTrigger = "create" BuildBodyTriggerManual BuildBodyTrigger = "manual" BuildBodyTriggerPush BuildBodyTrigger = "push" BuildBodyTriggerPushCoalesced BuildBodyTrigger = "push_coalesced" )
Defines values for BuildBodyTrigger.
func (BuildBodyTrigger) Valid ¶
func (e BuildBodyTrigger) Valid() bool
Valid indicates whether the value is a known member of the BuildBodyTrigger enum.
type BuildCreateInputBody ¶
type BuildCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/BuildCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// GitRef Branch, tag or commit (default: the app's own ref, then main)
GitRef *string `json:"git_ref,omitempty"`
// SourceUrl HTTPS git repository URL containing a Dockerfile. Omit to build the app's own repository. A different repository is a change of what the app runs, so it needs the permission PUT /v1/apps/{code}/source needs (the admin role, and the write scope for a token); a deploy-only caller may name the app's own repository at any ref.
SourceUrl *string `json:"source_url,omitempty"`
}
BuildCreateInputBody defines model for BuildCreateInputBody.
type BuildListOutputBody ¶
type BuildListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/BuildListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Builds *[]BuildBody `json:"builds"`
}
BuildListOutputBody defines model for BuildListOutputBody.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AccountBillingProfileGet ¶
func (c *Client) AccountBillingProfileGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountBillingProfileGet Invoice details
404 when nothing has been saved yet — the panel treats that as 'not filled in', not as an error.
Corresponds with GET /v1/account/billing-profile (the `AccountBillingProfileGet` operationId).
func (*Client) AccountBillingProfileSave ¶
func (c *Client) AccountBillingProfileSave(ctx context.Context, body AccountBillingProfileSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountBillingProfileSave Save invoice details
Required before the first top-up. Editing later does NOT change already-issued invoices — each payment carries its own frozen copy.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/account/billing-profile (the `AccountBillingProfileSave` operationId).
func (*Client) AccountBillingProfileSaveWithBody ¶
func (c *Client) AccountBillingProfileSaveWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountBillingProfileSaveWithBody Save invoice details
Required before the first top-up. Editing later does NOT change already-issued invoices — each payment carries its own frozen copy.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/account/billing-profile (the `AccountBillingProfileSave` operationId).
func (*Client) AccountChangePassword ¶
func (c *Client) AccountChangePassword(ctx context.Context, body AccountChangePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountChangePassword Change password
Verifies the current password, writes the new one, and terminates all sessions except the current one.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/account/password (the `AccountChangePassword` operationId).
func (*Client) AccountChangePasswordWithBody ¶
func (c *Client) AccountChangePasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountChangePasswordWithBody Change password
Verifies the current password, writes the new one, and terminates all sessions except the current one.
Takes any type of body and a specified content type.
Corresponds with POST /v1/account/password (the `AccountChangePassword` operationId).
func (*Client) AccountDeletionCancel ¶
func (c *Client) AccountDeletionCancel(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountDeletionCancel Cancel a scheduled deletion
Corresponds with DELETE /v1/account/deletion (the `AccountDeletionCancel` operationId).
func (*Client) AccountDeletionGet ¶
func (c *Client) AccountDeletionGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountDeletionGet Whether the account can be closed, and whether it is closing
Rendered before the button is offered, so the customer sees what to clear rather than a refusal after the fact.
Corresponds with GET /v1/account/deletion (the `AccountDeletionGet` operationId).
func (*Client) AccountDeletionRequest ¶
func (c *Client) AccountDeletionRequest(ctx context.Context, body AccountDeletionRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountDeletionRequest Ask for the account to be deleted
Schedules erasure 30 days out and mails the account. Sign-in stays open the whole time so the request can be cancelled; what stops is creating anything new.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/account/deletion (the `AccountDeletionRequest` operationId).
func (*Client) AccountDeletionRequestWithBody ¶
func (c *Client) AccountDeletionRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountDeletionRequestWithBody Ask for the account to be deleted
Schedules erasure 30 days out and mails the account. Sign-in stays open the whole time so the request can be cancelled; what stops is creating anything new.
Takes any type of body and a specified content type.
Corresponds with POST /v1/account/deletion (the `AccountDeletionRequest` operationId).
func (*Client) AccountEmailChangeStart ¶
func (c *Client) AccountEmailChangeStart(ctx context.Context, body AccountEmailChangeStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountEmailChangeStart Start changing the sign-in address
Sends a confirmation link to the NEW address and a security notice to the current one. Nothing changes until the link is opened; confirming closes every open session.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/account/email (the `AccountEmailChangeStart` operationId).
func (*Client) AccountEmailChangeStartWithBody ¶
func (c *Client) AccountEmailChangeStartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountEmailChangeStartWithBody Start changing the sign-in address
Sends a confirmation link to the NEW address and a security notice to the current one. Nothing changes until the link is opened; confirming closes every open session.
Takes any type of body and a specified content type.
Corresponds with POST /v1/account/email (the `AccountEmailChangeStart` operationId).
func (*Client) AccountExport ¶
func (c *Client) AccountExport(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountExport Download a copy of the data held about this account
Account, linked sign-in methods, SSH key fingerprints, organizations, billing profiles, payments, resources and support tickets. Server contents, the audit log and credentials are deliberately not included; the response says so in its own `note`.
Corresponds with GET /v1/account/export (the `AccountExport` operationId).
func (*Client) AccountFeatures ¶
func (c *Client) AccountFeatures(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountFeatures Which products are available to you
Every product the platform can switch on or off, with whether it is available to you and how finished it is. A product that is off refuses new orders; anything you already have keeps working.
Corresponds with GET /v1/features (the `AccountFeatures` operationId).
func (*Client) AccountGet ¶
func (c *Client) AccountGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountGet Current authenticated user
Corresponds with GET /v1/account (the `AccountGet` operationId).
func (*Client) AccountIdentitiesList ¶
func (c *Client) AccountIdentitiesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountIdentitiesList Linked social accounts
Corresponds with GET /v1/account/identities (the `AccountIdentitiesList` operationId).
func (*Client) AccountIdentityUnlink ¶
func (c *Client) AccountIdentityUnlink(ctx context.Context, provider AccountIdentityUnlinkParamsProvider, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountIdentityUnlink Unlink a social account
Refused when it would remove the only way into the account (no password and no other provider).
Corresponds with DELETE /v1/account/identities/{provider} (the `AccountIdentityUnlink` operationId).
func (*Client) AccountLimits ¶
func (c *Client) AccountLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountLimits Resource limits and current usage
Every ceiling that applies to you, with what you have used against it. Reported at the level that binds first — your account or your organization, whichever is lower. A hint: create paths re-derive these under lock.
Corresponds with GET /v1/limits (the `AccountLimits` operationId).
func (*Client) AccountOnboardingComplete ¶ added in v0.3.0
func (c *Client) AccountOnboardingComplete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountOnboardingComplete Complete onboarding
Onboarding step two, after the invoice details are saved. Refused with 409 ORGANIZATION_REQUIRED before the account belongs to an organization, and with 409 BILLING_PROFILE_REQUIRED while the organization the caller owns has no invoice details. Repeating it is harmless: the first completion time is kept.
Corresponds with POST /v1/account/onboarding (the `AccountOnboardingComplete` operationId).
func (*Client) AccountPhoneDelete ¶
func (c *Client) AccountPhoneDelete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountPhoneDelete Remove the verified phone
Clears the number and releases it, so its next owner can verify it on their own account. If phone verification is required, the account returns to unverified.
Corresponds with DELETE /v1/account/phone (the `AccountPhoneDelete` operationId).
func (*Client) AccountPhoneGet ¶
func (c *Client) AccountPhoneGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountPhoneGet Phone verification status
The account's verified number, and any number still waiting on a code.
Corresponds with GET /v1/account/phone (the `AccountPhoneGet` operationId).
func (*Client) AccountPhoneResend ¶
func (c *Client) AccountPhoneResend(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountPhoneResend Resend the phone verification code
Re-issues a code for the number already waiting. Takes no number, so a reload cannot resend to a different one than the page shows. Same rate limits as the first send.
Corresponds with POST /v1/account/phone/resend (the `AccountPhoneResend` operationId).
func (*Client) AccountPhoneStart ¶
func (c *Client) AccountPhoneStart(ctx context.Context, body AccountPhoneStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountPhoneStart Send a phone verification code
Validates the number, resolves its SMS provider and texts a 6-digit code valid for 5 minutes. Rate limited per account, per number and per deployment.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/account/phone (the `AccountPhoneStart` operationId).
func (*Client) AccountPhoneStartWithBody ¶
func (c *Client) AccountPhoneStartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountPhoneStartWithBody Send a phone verification code
Validates the number, resolves its SMS provider and texts a 6-digit code valid for 5 minutes. Rate limited per account, per number and per deployment.
Takes any type of body and a specified content type.
Corresponds with POST /v1/account/phone (the `AccountPhoneStart` operationId).
func (*Client) AccountPhoneVerify ¶
func (c *Client) AccountPhoneVerify(ctx context.Context, body AccountPhoneVerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountPhoneVerify Verify the phone code
Consumes the code and writes the number onto the account. Five wrong attempts retire the challenge, correct code included.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/account/phone/verify (the `AccountPhoneVerify` operationId).
func (*Client) AccountPhoneVerifyWithBody ¶
func (c *Client) AccountPhoneVerifyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountPhoneVerifyWithBody Verify the phone code
Consumes the code and writes the number onto the account. Five wrong attempts retire the challenge, correct code included.
Takes any type of body and a specified content type.
Corresponds with POST /v1/account/phone/verify (the `AccountPhoneVerify` operationId).
func (*Client) AccountSupportAccess ¶
func (c *Client) AccountSupportAccess(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountSupportAccess When the support team opened this account
One row per staff-opened session, newest first.
Corresponds with GET /v1/account/support-access (the `AccountSupportAccess` operationId).
func (*Client) AccountTotpConfirm ¶
func (c *Client) AccountTotpConfirm(ctx context.Context, body AccountTotpConfirmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountTotpConfirm Confirm and enable two-factor
Returns the recovery codes. They are displayed once and cannot be retrieved later — only regenerated.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/account/totp/confirm (the `AccountTotpConfirm` operationId).
func (*Client) AccountTotpConfirmWithBody ¶
func (c *Client) AccountTotpConfirmWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountTotpConfirmWithBody Confirm and enable two-factor
Returns the recovery codes. They are displayed once and cannot be retrieved later — only regenerated.
Takes any type of body and a specified content type.
Corresponds with POST /v1/account/totp/confirm (the `AccountTotpConfirm` operationId).
func (*Client) AccountTotpDisable ¶
func (c *Client) AccountTotpDisable(ctx context.Context, body AccountTotpDisableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountTotpDisable Disable two-factor
Requires a current authenticator or recovery code — a session alone is not enough to remove the factor that protects it.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/account/totp/disable (the `AccountTotpDisable` operationId).
func (*Client) AccountTotpDisableWithBody ¶
func (c *Client) AccountTotpDisableWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountTotpDisableWithBody Disable two-factor
Requires a current authenticator or recovery code — a session alone is not enough to remove the factor that protects it.
Takes any type of body and a specified content type.
Corresponds with POST /v1/account/totp/disable (the `AccountTotpDisable` operationId).
func (*Client) AccountTotpRecoveryCodes ¶
func (c *Client) AccountTotpRecoveryCodes(ctx context.Context, body AccountTotpRecoveryCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountTotpRecoveryCodes Regenerate recovery codes
Invalidates every outstanding recovery code and issues a new set.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/account/totp/recovery-codes (the `AccountTotpRecoveryCodes` operationId).
func (*Client) AccountTotpRecoveryCodesWithBody ¶
func (c *Client) AccountTotpRecoveryCodesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountTotpRecoveryCodesWithBody Regenerate recovery codes
Invalidates every outstanding recovery code and issues a new set.
Takes any type of body and a specified content type.
Corresponds with POST /v1/account/totp/recovery-codes (the `AccountTotpRecoveryCodes` operationId).
func (*Client) AccountTotpSetup ¶
func (c *Client) AccountTotpSetup(ctx context.Context, body AccountTotpSetupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountTotpSetup Begin two-factor setup
Generates a secret and stores it disabled. 2FA only becomes active once /v1/account/totp/confirm accepts a code from the authenticator. Accounts with a password must re-confirm it here.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/account/totp/setup (the `AccountTotpSetup` operationId).
func (*Client) AccountTotpSetupWithBody ¶
func (c *Client) AccountTotpSetupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountTotpSetupWithBody Begin two-factor setup
Generates a secret and stores it disabled. 2FA only becomes active once /v1/account/totp/confirm accepts a code from the authenticator. Accounts with a password must re-confirm it here.
Takes any type of body and a specified content type.
Corresponds with POST /v1/account/totp/setup (the `AccountTotpSetup` operationId).
func (*Client) AccountTotpStatus ¶
func (c *Client) AccountTotpStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountTotpStatus Two-factor status
Corresponds with GET /v1/account/totp (the `AccountTotpStatus` operationId).
func (*Client) AccountUpdate ¶
func (c *Client) AccountUpdate(ctx context.Context, body AccountUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountUpdate Update account preferences
The panel language, the display name and where the customer is (timezone, country); send only what changes. The full user object is returned so the client can refresh its cache in one round trip.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/account (the `AccountUpdate` operationId).
func (*Client) AccountUpdateWithBody ¶
func (c *Client) AccountUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AccountUpdateWithBody Update account preferences
The panel language, the display name and where the customer is (timezone, country); send only what changes. The full user object is returned so the client can refresh its cache in one round trip.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/account (the `AccountUpdate` operationId).
func (*Client) AnnouncementBannerDismiss ¶
func (c *Client) AnnouncementBannerDismiss(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
AnnouncementBannerDismiss Dismiss announcement banner
Corresponds with POST /v1/announcements/{id}/dismiss-banner (the `AnnouncementBannerDismiss` operationId).
func (*Client) AnnouncementBannerGet ¶
func (c *Client) AnnouncementBannerGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AnnouncementBannerGet Highest priority active banner
Corresponds with GET /v1/announcements/banner (the `AnnouncementBannerGet` operationId).
func (*Client) AnnouncementsGet ¶
func (c *Client) AnnouncementsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
AnnouncementsGet Announcement detail and mark read
Corresponds with GET /v1/announcements/{id} (the `AnnouncementsGet` operationId).
func (*Client) AnnouncementsList ¶
func (c *Client) AnnouncementsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AnnouncementsList My announcements
Corresponds with GET /v1/announcements (the `AnnouncementsList` operationId).
func (*Client) ApiTokenCreate ¶
func (c *Client) ApiTokenCreate(ctx context.Context, body ApiTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ApiTokenCreate Create an API token
The token acts as you, in your active organization, limited to the scopes you pick. The secret is shown once.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/account/api-tokens (the `ApiTokenCreate` operationId).
func (*Client) ApiTokenCreateWithBody ¶
func (c *Client) ApiTokenCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ApiTokenCreateWithBody Create an API token
The token acts as you, in your active organization, limited to the scopes you pick. The secret is shown once.
Takes any type of body and a specified content type.
Corresponds with POST /v1/account/api-tokens (the `ApiTokenCreate` operationId).
func (*Client) ApiTokenRevoke ¶
func (c *Client) ApiTokenRevoke(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ApiTokenRevoke Revoke an API token
Takes effect on the next request; there is no cached copy anywhere.
Corresponds with DELETE /v1/account/api-tokens/{id} (the `ApiTokenRevoke` operationId).
func (*Client) ApiTokensList ¶
func (c *Client) ApiTokensList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ApiTokensList My API tokens
The secret itself is shown once, at creation, and is not retrievable afterwards.
Corresponds with GET /v1/account/api-tokens (the `ApiTokensList` operationId).
func (*Client) AppAction ¶
func (c *Client) AppAction(ctx context.Context, code string, body AppActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppAction Start, stop or restart an app
Writes the desired state and returns immediately. The node's agent converges within a second; poll the app to see `observed_state` follow. `restart` is rolling: the replacement starts beside the incumbent and traffic moves only once it answers.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/apps/{code}/action (the `AppAction` operationId).
func (*Client) AppActionWithBody ¶
func (c *Client) AppActionWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppActionWithBody Start, stop or restart an app
Writes the desired state and returns immediately. The node's agent converges within a second; poll the app to see `observed_state` follow. `restart` is rolling: the replacement starts beside the incumbent and traffic moves only once it answers.
Takes any type of body and a specified content type.
Corresponds with POST /v1/apps/{code}/action (the `AppAction` operationId).
func (*Client) AppAttachmentCreate ¶
func (c *Client) AppAttachmentCreate(ctx context.Context, appCode string, body AppAttachmentCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppAttachmentCreate Attach a managed database
Creates a dedicated database user for the app and injects the connection variables into its environment. The app restarts with the new variables.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/apps/{appCode}/attachments (the `AppAttachmentCreate` operationId).
func (*Client) AppAttachmentCreateWithBody ¶
func (c *Client) AppAttachmentCreateWithBody(ctx context.Context, appCode string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppAttachmentCreateWithBody Attach a managed database
Creates a dedicated database user for the app and injects the connection variables into its environment. The app restarts with the new variables.
Takes any type of body and a specified content type.
Corresponds with POST /v1/apps/{appCode}/attachments (the `AppAttachmentCreate` operationId).
func (*Client) AppAttachmentDelete ¶
func (c *Client) AppAttachmentDelete(ctx context.Context, appCode string, attachmentID string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppAttachmentDelete Detach a managed database
Removes the injected variables (the app restarts) and drops the app's database user. The data is untouched.
Corresponds with DELETE /v1/apps/{appCode}/attachments/{attachmentID} (the `AppAttachmentDelete` operationId).
func (*Client) AppAttachmentVerify ¶
func (c *Client) AppAttachmentVerify(ctx context.Context, appCode string, attachmentID string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppAttachmentVerify Re-check an attachment's connectivity
Queues a TCP connect to the endpoint the app's injected URL names, run from the app's own network on its node. The result appears as probe_state on the attachment.
Corresponds with POST /v1/apps/{appCode}/attachments/{attachmentID}/verify (the `AppAttachmentVerify` operationId).
func (*Client) AppAttachmentsList ¶
func (c *Client) AppAttachmentsList(ctx context.Context, appCode string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppAttachmentsList Databases attached to the app
Corresponds with GET /v1/apps/{appCode}/attachments (the `AppAttachmentsList` operationId).
func (*Client) AppAutoDeploySet ¶
func (c *Client) AppAutoDeploySet(ctx context.Context, code string, body AppAutoDeploySetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppAutoDeploySet Deploy on every push
When on, a push to the app's branch queues a build by itself. Off by default: connecting a repository is not the same as asking for every commit to reach production. Requires an app created from a repository.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/apps/{code}/auto-deploy (the `AppAutoDeploySet` operationId).
func (*Client) AppAutoDeploySetWithBody ¶
func (c *Client) AppAutoDeploySetWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppAutoDeploySetWithBody Deploy on every push
When on, a push to the app's branch queues a build by itself. Off by default: connecting a repository is not the same as asking for every commit to reach production. Requires an app created from a repository.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/apps/{code}/auto-deploy (the `AppAutoDeploySet` operationId).
func (*Client) AppBuildCancel ¶
func (c *Client) AppBuildCancel(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppBuildCancel Cancel a build
Stops a queued build immediately; a running build is asked to stop and reports `canceled` once the node confirms. With one build at a time per app, this is how a bad deploy stops blocking the next one instead of holding it for the full build timeout.
Corresponds with POST /v1/apps/{code}/builds/{id}/cancel (the `AppBuildCancel` operationId).
func (*Client) AppBuildCreate ¶
func (c *Client) AppBuildCreate(ctx context.Context, code string, body AppBuildCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppBuildCreate Build from a repository
Queues a build with the app's own build configuration and build-phase variables. The node's agent fetches the source, builds it with BuildKit, pushes the image to the region's registry and — on success — points the app at it, which rolls the container forward on the next cycle. One build at a time per app. The deploy scope builds the app's own repository, at its stored ref or another one; building a different repository answers 403 (ORGANIZATION_ROLE_FORBIDDEN or TOKEN_SCOPE_FORBIDDEN) unless the caller could change the app's source. To change the repository, subdirectory or Dockerfile path for good, use PUT /v1/apps/{code}/source first.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/apps/{code}/builds (the `AppBuildCreate` operationId).
func (*Client) AppBuildCreateWithBody ¶
func (c *Client) AppBuildCreateWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppBuildCreateWithBody Build from a repository
Queues a build with the app's own build configuration and build-phase variables. The node's agent fetches the source, builds it with BuildKit, pushes the image to the region's registry and — on success — points the app at it, which rolls the container forward on the next cycle. One build at a time per app. The deploy scope builds the app's own repository, at its stored ref or another one; building a different repository answers 403 (ORGANIZATION_ROLE_FORBIDDEN or TOKEN_SCOPE_FORBIDDEN) unless the caller could change the app's source. To change the repository, subdirectory or Dockerfile path for good, use PUT /v1/apps/{code}/source first.
Takes any type of body and a specified content type.
Corresponds with POST /v1/apps/{code}/builds (the `AppBuildCreate` operationId).
func (*Client) AppBuildGet ¶
func (c *Client) AppBuildGet(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppBuildGet Build detail with log
The log survives the build: it is stored with the row, not streamed and forgotten.
Corresponds with GET /v1/apps/{code}/builds/{id} (the `AppBuildGet` operationId).
func (*Client) AppBuildsList ¶
func (c *Client) AppBuildsList(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppBuildsList Build history
Corresponds with GET /v1/apps/{code}/builds (the `AppBuildsList` operationId).
func (*Client) AppCreate ¶
func (c *Client) AppCreate(ctx context.Context, params *AppCreateParams, body AppCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppCreate Create app
Places the app on a node in the chosen region, charges the first month and starts it. Placement and payment happen in the same transaction, so a create either has a machine and a paid month or fails with NO_CAPACITY / INSUFFICIENT_BALANCE — it is never queued and never half-done.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/apps (the `AppCreate` operationId).
func (*Client) AppCreateWithBody ¶
func (c *Client) AppCreateWithBody(ctx context.Context, params *AppCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppCreateWithBody Create app
Places the app on a node in the chosen region, charges the first month and starts it. Placement and payment happen in the same transaction, so a create either has a machine and a paid month or fails with NO_CAPACITY / INSUFFICIENT_BALANCE — it is never queued and never half-done.
Takes any type of body and a specified content type.
Corresponds with POST /v1/apps (the `AppCreate` operationId).
func (*Client) AppDelete ¶
func (c *Client) AppDelete(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppDelete Delete app
Corresponds with DELETE /v1/apps/{code} (the `AppDelete` operationId).
func (*Client) AppDetectBuild ¶
func (c *Client) AppDetectBuild(ctx context.Context, params *AppDetectBuildParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AppDetectBuild Guess how a repository is built
Reads the listing at the build directory and at most one manifest, and suggests a builder for the create form. A suggestion only: nothing is written and every field stays editable.
Corresponds with GET /v1/apps/detect (the `AppDetectBuild` operationId).
func (*Client) AppDomainAdd ¶
func (c *Client) AppDomainAdd(ctx context.Context, code string, body AppDomainAddJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppDomainAdd Attach a custom domain
Records the claim and returns the DNS records to create. Nothing is routed until `appDomainVerify` finds the TXT record, which is what stops one customer from claiming another's hostname. An unverified claim reserves the hostname for seven days (`claim_expires_at`); after that another organization's claim releases it. A claim on a deleted app is released with the app.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/apps/{code}/domains (the `AppDomainAdd` operationId).
func (*Client) AppDomainAddWithBody ¶
func (c *Client) AppDomainAddWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppDomainAddWithBody Attach a custom domain
Records the claim and returns the DNS records to create. Nothing is routed until `appDomainVerify` finds the TXT record, which is what stops one customer from claiming another's hostname. An unverified claim reserves the hostname for seven days (`claim_expires_at`); after that another organization's claim releases it. A claim on a deleted app is released with the app.
Takes any type of body and a specified content type.
Corresponds with POST /v1/apps/{code}/domains (the `AppDomainAdd` operationId).
func (*Client) AppDomainDelete ¶
func (c *Client) AppDomainDelete(ctx context.Context, code string, domainID string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppDomainDelete Detach a custom domain
Stops serving the hostname. Point its DNS somewhere else too: a record still aimed here after this call is what subdomain takeover attempts look for.
Corresponds with DELETE /v1/apps/{code}/domains/{domainID} (the `AppDomainDelete` operationId).
func (*Client) AppDomainVerify ¶
func (c *Client) AppDomainVerify(ctx context.Context, code string, domainID string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppDomainVerify Check the ownership record
Reads the TXT record from the hostname's own nameservers, not from a public resolver, so a record added seconds ago is seen immediately. On success the edge starts serving the hostname within about a second.
Corresponds with POST /v1/apps/{code}/domains/{domainID}/verify (the `AppDomainVerify` operationId).
func (*Client) AppDomainsList ¶
func (c *Client) AppDomainsList(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppDomainsList Custom domains of an app
Corresponds with GET /v1/apps/{code}/domains (the `AppDomainsList` operationId).
func (*Client) AppEnvGet ¶
func (c *Client) AppEnvGet(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppEnvGet Environment variables
Returns the decrypted values. The read is written to the audit log, so treat it as a deliberate action rather than something to poll.
Corresponds with GET /v1/apps/{code}/env (the `AppEnvGet` operationId).
func (*Client) AppEnvSet ¶
func (c *Client) AppEnvSet(ctx context.Context, code string, body AppEnvSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppEnvSet Replace environment variables
Stores the values encrypted. Run-phase changes recreate the container on the next agent cycle, about a second later, with no separate apply step. Build-phase changes reach nothing running: they decide what the NEXT build is given.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/apps/{code}/env (the `AppEnvSet` operationId).
func (*Client) AppEnvSetWithBody ¶
func (c *Client) AppEnvSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppEnvSetWithBody Replace environment variables
Stores the values encrypted. Run-phase changes recreate the container on the next agent cycle, about a second later, with no separate apply step. Build-phase changes reach nothing running: they decide what the NEXT build is given.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/apps/{code}/env (the `AppEnvSet` operationId).
func (*Client) AppEventsList ¶
func (c *Client) AppEventsList(ctx context.Context, code string, params *AppEventsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AppEventsList App activity feed
Corresponds with GET /v1/apps/{code}/events (the `AppEventsList` operationId).
func (*Client) AppExecStart ¶
func (c *Client) AppExecStart(ctx context.Context, code string, body AppExecStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppExecStart Open a shell or follow the logs
Mints a single-use token for an interactive session. The browser dials /v1/apps/exec/ws offering [exec.v1, <token>]; the node's agent attaches from its side, normally within a second. Opening and closing are both recorded in the audit log.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/apps/{code}/exec (the `AppExecStart` operationId).
func (*Client) AppExecStartWithBody ¶
func (c *Client) AppExecStartWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppExecStartWithBody Open a shell or follow the logs
Mints a single-use token for an interactive session. The browser dials /v1/apps/exec/ws offering [exec.v1, <token>]; the node's agent attaches from its side, normally within a second. Opening and closing are both recorded in the audit log.
Takes any type of body and a specified content type.
Corresponds with POST /v1/apps/{code}/exec (the `AppExecStart` operationId).
func (*Client) AppGet ¶
func (c *Client) AppGet(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppGet App detail
Corresponds with GET /v1/apps/{code} (the `AppGet` operationId).
func (*Client) AppLogsGet ¶
func (c *Client) AppLogsGet(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppLogsGet Read the answer to a log request
Corresponds with GET /v1/apps/{code}/logs/{id} (the `AppLogsGet` operationId).
func (*Client) AppLogsRequest ¶
func (c *Client) AppLogsRequest(ctx context.Context, code string, body AppLogsRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppLogsRequest Ask for the app's recent output
Queues a request for the tail of the running container's log. The node answers on its next cycle, normally within a second; poll the returned id. Reading application output is recorded in the audit log.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/apps/{code}/logs (the `AppLogsRequest` operationId).
func (*Client) AppLogsRequestWithBody ¶
func (c *Client) AppLogsRequestWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppLogsRequestWithBody Ask for the app's recent output
Queues a request for the tail of the running container's log. The node answers on its next cycle, normally within a second; poll the returned id. Reading application output is recorded in the audit log.
Takes any type of body and a specified content type.
Corresponds with POST /v1/apps/{code}/logs (the `AppLogsRequest` operationId).
func (*Client) AppMetrics ¶
func (c *Client) AppMetrics(ctx context.Context, code string, params *AppMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AppMetrics Resource usage (CPU, memory, network)
Corresponds with GET /v1/apps/{code}/metrics (the `AppMetrics` operationId).
func (*Client) AppPlansList ¶
func (c *Client) AppPlansList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AppPlansList App plans
The container plans an app can be created on, with the monthly price already converted to the asking organization's currency. A separate catalog from /v1/plans on purpose: a container has no disk or bandwidth tier, and a server plan is not something an app can run on.
Corresponds with GET /v1/app-plans (the `AppPlansList` operationId).
func (*Client) AppPresetsList ¶
func (c *Client) AppPresetsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AppPresetsList Build presets
The stacks the platform can write a Dockerfile for, so a repository that carries none can still be deployed. Choosing one is the `preset` builder; the default builder still expects a Dockerfile in the repository.
Corresponds with GET /v1/app-presets (the `AppPresetsList` operationId).
func (*Client) AppProjectSet ¶
func (c *Client) AppProjectSet(ctx context.Context, code string, body AppProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppProjectSet Move app to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/apps/{code}/project (the `AppProjectSet` operationId).
func (*Client) AppProjectSetWithBody ¶
func (c *Client) AppProjectSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppProjectSetWithBody Move app to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/apps/{code}/project (the `AppProjectSet` operationId).
func (*Client) AppReleasesList ¶
func (c *Client) AppReleasesList(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
AppReleasesList Release history
What this app has served, newest first, with the commit each version came from where there was one.
Corresponds with GET /v1/apps/{code}/releases (the `AppReleasesList` operationId).
func (*Client) AppResize ¶
func (c *Client) AppResize(ctx context.Context, code string, body AppResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppResize Resize an app
Moves the app to another plan and returns immediately; the container is replaced with the new limits through the rolling cutover. An upgrade is charged upfront for the days left in the prepaid month; a downgrade takes effect at the next renewal. Same-node only: NO_CAPACITY when the node cannot fit the growth.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/apps/{code}/resize (the `AppResize` operationId).
func (*Client) AppResizeWithBody ¶
func (c *Client) AppResizeWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppResizeWithBody Resize an app
Moves the app to another plan and returns immediately; the container is replaced with the new limits through the rolling cutover. An upgrade is charged upfront for the days left in the prepaid month; a downgrade takes effect at the next renewal. Same-node only: NO_CAPACITY when the node cannot fit the growth.
Takes any type of body and a specified content type.
Corresponds with POST /v1/apps/{code}/resize (the `AppResize` operationId).
func (*Client) AppRollback ¶
func (c *Client) AppRollback(ctx context.Context, code string, body AppRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppRollback Roll back to a previous release
Points the app at the image an earlier release ran. Nothing is rebuilt, so recovery takes as long as a container start; the current version keeps serving until the restored one answers. The rollback is itself a new release, so the history stays append-only and the number the customer is on always moves forward.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/apps/{code}/rollback (the `AppRollback` operationId).
func (*Client) AppRollbackWithBody ¶
func (c *Client) AppRollbackWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppRollbackWithBody Roll back to a previous release
Points the app at the image an earlier release ran. Nothing is rebuilt, so recovery takes as long as a container start; the current version keeps serving until the restored one answers. The rollback is itself a new release, so the history stays append-only and the number the customer is on always moves forward.
Takes any type of body and a specified content type.
Corresponds with POST /v1/apps/{code}/rollback (the `AppRollback` operationId).
func (*Client) AppScale ¶
func (c *Client) AppScale(ctx context.Context, code string, body AppScaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppScale Set the replica range
Sets how many containers may run. The platform picks the number inside the range from CPU load; setting the minimum equal to the maximum pins it. Capacity is reserved for the MAXIMUM, so a range whose ceiling does not fit the node answers NO_CAPACITY. Same-node only.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/apps/{code}/scale (the `AppScale` operationId).
func (*Client) AppScaleWithBody ¶
func (c *Client) AppScaleWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppScaleWithBody Set the replica range
Sets how many containers may run. The platform picks the number inside the range from CPU load; setting the minimum equal to the maximum pins it. Capacity is reserved for the MAXIMUM, so a range whose ceiling does not fit the node answers NO_CAPACITY. Same-node only.
Takes any type of body and a specified content type.
Corresponds with POST /v1/apps/{code}/scale (the `AppScale` operationId).
func (*Client) AppSourceSet ¶
func (c *Client) AppSourceSet(ctx context.Context, code string, body AppSourceSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppSourceSet Change the app's repository
Repoints the app at a different repository, branch, connection or build configuration. Queues NO build — changing where the code comes from and deciding to ship it are two decisions. The next deploy uses the new source.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/apps/{code}/source (the `AppSourceSet` operationId).
func (*Client) AppSourceSetWithBody ¶
func (c *Client) AppSourceSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppSourceSetWithBody Change the app's repository
Repoints the app at a different repository, branch, connection or build configuration. Queues NO build — changing where the code comes from and deciding to ship it are two decisions. The next deploy uses the new source.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/apps/{code}/source (the `AppSourceSet` operationId).
func (*Client) AppTagsSet ¶
func (c *Client) AppTagsSet(ctx context.Context, code string, body AppTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppTagsSet Replace app tags
Replaces the whole tag set. Tags group resources across projects: a app is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/apps/{code}/tags (the `AppTagsSet` operationId).
func (*Client) AppTagsSetWithBody ¶
func (c *Client) AppTagsSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppTagsSetWithBody Replace app tags
Replaces the whole tag set. Tags group resources across projects: a app is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/apps/{code}/tags (the `AppTagsSet` operationId).
func (*Client) AppUpdate ¶
func (c *Client) AppUpdate(ctx context.Context, code string, body AppUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AppUpdate Change app settings
Sends the whole editable set. A port or start-command change produces a new container; the running one keeps serving until the replacement answers. Changing the start command needs the organization admin or owner role, because it runs with the app's environment; a member sends it back unchanged. Memory and CPU are not here — those are a capacity reservation and change through a resize.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/apps/{code}/settings (the `AppUpdate` operationId).
func (*Client) AppUpdateWithBody ¶
func (c *Client) AppUpdateWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AppUpdateWithBody Change app settings
Sends the whole editable set. A port or start-command change produces a new container; the running one keeps serving until the replacement answers. Changing the start command needs the organization admin or owner role, because it runs with the app's environment; a member sends it back unchanged. Memory and CPU are not here — those are a capacity reservation and change through a resize.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/apps/{code}/settings (the `AppUpdate` operationId).
func (*Client) AppsList ¶
func (c *Client) AppsList(ctx context.Context, params *AppsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AppsList My apps
Paged. `summary` describes the whole organization and does not move as you page.
Corresponds with GET /v1/apps (the `AppsList` operationId).
func (*Client) AuthConfirmEmailChange ¶
func (c *Client) AuthConfirmEmailChange(ctx context.Context, body AuthConfirmEmailChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthConfirmEmailChange Confirm a sign-in address change
Spends the one-time link. Every open session is closed, so the customer signs in again with the new address.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/verify-email-change (the `AuthConfirmEmailChange` operationId).
func (*Client) AuthConfirmEmailChangeWithBody ¶
func (c *Client) AuthConfirmEmailChangeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthConfirmEmailChangeWithBody Confirm a sign-in address change
Spends the one-time link. Every open session is closed, so the customer signs in again with the new address.
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/verify-email-change (the `AuthConfirmEmailChange` operationId).
func (*Client) AuthImpersonate ¶
func (c *Client) AuthImpersonate(ctx context.Context, body AuthImpersonateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthImpersonate Exchange a staff impersonation grant for a session
Consumes a single-use grant minted in the admin panel and sets a customer session cookie carrying the staff member's identity. The grant dies on first use; expired, already-used and unknown grants are one refusal. The session is short-lived and every request from it is recorded against the customer, with the join back to the staff member in the audit log.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/impersonate (the `AuthImpersonate` operationId).
func (*Client) AuthImpersonateWithBody ¶
func (c *Client) AuthImpersonateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthImpersonateWithBody Exchange a staff impersonation grant for a session
Consumes a single-use grant minted in the admin panel and sets a customer session cookie carrying the staff member's identity. The grant dies on first use; expired, already-used and unknown grants are one refusal. The session is short-lived and every request from it is recorded against the customer, with the join back to the staff member in the audit log.
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/impersonate (the `AuthImpersonate` operationId).
func (*Client) AuthLogin ¶
func (c *Client) AuthLogin(ctx context.Context, body AuthLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthLogin Log in
On success a session cookie is set. If the account has 2FA enabled the response is `mfa_required` with a short-lived challenge cookie instead — no session exists until POST /v1/auth/mfa succeeds. Repeated failures put the address into a growing backoff window (429); the window applies to unregistered addresses too, so it reveals nothing about which accounts exist.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/login (the `AuthLogin` operationId).
func (*Client) AuthLoginWithBody ¶
func (c *Client) AuthLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthLoginWithBody Log in
On success a session cookie is set. If the account has 2FA enabled the response is `mfa_required` with a short-lived challenge cookie instead — no session exists until POST /v1/auth/mfa succeeds. Repeated failures put the address into a growing backoff window (429); the window applies to unregistered addresses too, so it reveals nothing about which accounts exist.
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/login (the `AuthLogin` operationId).
func (*Client) AuthLogout ¶
func (c *Client) AuthLogout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthLogout Log out
Corresponds with POST /v1/auth/logout (the `AuthLogout` operationId).
func (*Client) AuthMfaVerify ¶
func (c *Client) AuthMfaVerify(ctx context.Context, params *AuthMfaVerifyParams, body AuthMfaVerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthMfaVerify Complete login with a second factor
Consumes the challenge cookie from the login step. At most 5 attempts per challenge; the challenge expires after 10 minutes.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/mfa (the `AuthMfaVerify` operationId).
func (*Client) AuthMfaVerifyWithBody ¶
func (c *Client) AuthMfaVerifyWithBody(ctx context.Context, params *AuthMfaVerifyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthMfaVerifyWithBody Complete login with a second factor
Consumes the challenge cookie from the login step. At most 5 attempts per challenge; the challenge expires after 10 minutes.
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/mfa (the `AuthMfaVerify` operationId).
func (*Client) AuthOauthCallback ¶
func (c *Client) AuthOauthCallback(ctx context.Context, provider AuthOauthCallbackParamsProvider, params *AuthOauthCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthOauthCallback Social sign-in callback
Provider redirect target. Always answers with a redirect into the panel — on success with a session (or 2FA challenge) cookie, on failure with an `oauth_error` query parameter.
Corresponds with GET /v1/auth/oauth/{provider}/callback (the `AuthOauthCallback` operationId).
func (*Client) AuthOauthProviders ¶
func (c *Client) AuthOauthProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthOauthProviders Configured social sign-in providers
The panel renders one button per entry, so an unconfigured provider never shows a dead button.
Corresponds with GET /v1/auth/oauth/providers (the `AuthOauthProviders` operationId).
func (*Client) AuthOauthStart ¶
func (c *Client) AuthOauthStart(ctx context.Context, provider AuthOauthStartParamsProvider, params *AuthOauthStartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthOauthStart Begin social sign-in
Redirects to the provider. `mode=link` requires an authenticated session and attaches the provider to it.
Corresponds with GET /v1/auth/oauth/{provider}/start (the `AuthOauthStart` operationId).
func (*Client) AuthPasswordReset ¶
func (c *Client) AuthPasswordReset(ctx context.Context, body AuthPasswordResetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthPasswordReset Reset password
Consumes the token, changes the password, and terminates all sessions.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/password-reset/confirm (the `AuthPasswordReset` operationId).
func (*Client) AuthPasswordResetRequest ¶
func (c *Client) AuthPasswordResetRequest(ctx context.Context, body AuthPasswordResetRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthPasswordResetRequest Request password reset
If the account exists a reset email is sent; the response is 204 in all cases (enumeration protection).
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/password-reset/request (the `AuthPasswordResetRequest` operationId).
func (*Client) AuthPasswordResetRequestWithBody ¶
func (c *Client) AuthPasswordResetRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthPasswordResetRequestWithBody Request password reset
If the account exists a reset email is sent; the response is 204 in all cases (enumeration protection).
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/password-reset/request (the `AuthPasswordResetRequest` operationId).
func (*Client) AuthPasswordResetWithBody ¶
func (c *Client) AuthPasswordResetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthPasswordResetWithBody Reset password
Consumes the token, changes the password, and terminates all sessions.
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/password-reset/confirm (the `AuthPasswordReset` operationId).
func (*Client) AuthPolicy ¶
func (c *Client) AuthPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthPolicy Verification policy
Which verification steps this deployment requires. Unauthenticated: a sign-up form has to know it before anyone has an account.
Corresponds with GET /v1/auth/policy (the `AuthPolicy` operationId).
func (*Client) AuthRegister ¶
func (c *Client) AuthRegister(ctx context.Context, body AuthRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthRegister Register
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/register (the `AuthRegister` operationId).
func (*Client) AuthRegisterWithBody ¶
func (c *Client) AuthRegisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthRegisterWithBody Register
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/register (the `AuthRegister` operationId).
func (*Client) AuthSessionRevoke ¶
func (c *Client) AuthSessionRevoke(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthSessionRevoke Revoke session
Corresponds with DELETE /v1/auth/sessions/{id} (the `AuthSessionRevoke` operationId).
func (*Client) AuthSessionsList ¶
func (c *Client) AuthSessionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthSessionsList Active sessions
Corresponds with GET /v1/auth/sessions (the `AuthSessionsList` operationId).
func (*Client) AuthVerifyEmail ¶
func (c *Client) AuthVerifyEmail(ctx context.Context, body AuthVerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthVerifyEmail Verify email
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/verify-email (the `AuthVerifyEmail` operationId).
func (*Client) AuthVerifyEmailResend ¶
func (c *Client) AuthVerifyEmailResend(ctx context.Context, body AuthVerifyEmailResendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthVerifyEmailResend Resend verification email
Always 204: unknown address, already-verified account and throttled sender are indistinguishable (enumeration protection). At most one mail per minute and 5 per day per account.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/auth/verify-email/resend (the `AuthVerifyEmailResend` operationId).
func (*Client) AuthVerifyEmailResendWithBody ¶
func (c *Client) AuthVerifyEmailResendWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthVerifyEmailResendWithBody Resend verification email
Always 204: unknown address, already-verified account and throttled sender are indistinguishable (enumeration protection). At most one mail per minute and 5 per day per account.
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/verify-email/resend (the `AuthVerifyEmailResend` operationId).
func (*Client) AuthVerifyEmailWithBody ¶
func (c *Client) AuthVerifyEmailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthVerifyEmailWithBody Verify email
Takes any type of body and a specified content type.
Corresponds with POST /v1/auth/verify-email (the `AuthVerifyEmail` operationId).
func (*Client) ConnectedAppRevoke ¶ added in v0.2.0
func (c *Client) ConnectedAppRevoke(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectedAppRevoke Disconnect an application
The consent is withdrawn and the token it holds stops working immediately, not at its own expiry.
Corresponds with DELETE /v1/account/connected-apps/{id} (the `ConnectedAppRevoke` operationId).
func (*Client) ConnectedAppsList ¶ added in v0.2.0
func (c *Client) ConnectedAppsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectedAppsList Applications connected to my account
Every application that holds a live authorization, what it may do, and when it last used it.
Corresponds with GET /v1/account/connected-apps (the `ConnectedAppsList` operationId).
func (*Client) DatabaseAlertDelete ¶
func (c *Client) DatabaseAlertDelete(ctx context.Context, databaseId string, metric DatabaseAlertDeleteParamsMetric, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseAlertDelete Delete a metric alarm rule
Corresponds with DELETE /v1/databases/{databaseId}/alerts/{metric} (the `DatabaseAlertDelete` operationId).
func (*Client) DatabaseAlertSave ¶
func (c *Client) DatabaseAlertSave(ctx context.Context, databaseId string, body DatabaseAlertSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseAlertSave Create or update a metric alarm rule
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/databases/{databaseId}/alerts (the `DatabaseAlertSave` operationId).
func (*Client) DatabaseAlertSaveWithBody ¶
func (c *Client) DatabaseAlertSaveWithBody(ctx context.Context, databaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseAlertSaveWithBody Create or update a metric alarm rule
Takes any type of body and a specified content type.
Corresponds with PUT /v1/databases/{databaseId}/alerts (the `DatabaseAlertSave` operationId).
func (*Client) DatabaseAlertsList ¶
func (c *Client) DatabaseAlertsList(ctx context.Context, databaseId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseAlertsList List metric alarm rules
Corresponds with GET /v1/databases/{databaseId}/alerts (the `DatabaseAlertsList` operationId).
func (*Client) DatabaseBackupCreate ¶
func (c *Client) DatabaseBackupCreate(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseBackupCreate Take an on-demand full backup
Corresponds with POST /v1/databases/{databaseID}/backups (the `DatabaseBackupCreate` operationId).
func (*Client) DatabaseBackupsList ¶
func (c *Client) DatabaseBackupsList(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseBackupsList Backup history
Corresponds with GET /v1/databases/{databaseID}/backups (the `DatabaseBackupsList` operationId).
func (*Client) DatabaseConnectionGet ¶
func (c *Client) DatabaseConnectionGet(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseConnectionGet Connection credentials
Reading credentials is recorded in the audit log.
Corresponds with GET /v1/databases/{databaseID}/connection (the `DatabaseConnectionGet` operationId).
func (*Client) DatabaseCreate ¶
func (c *Client) DatabaseCreate(ctx context.Context, params *DatabaseCreateParams, body DatabaseCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseCreate Create a managed database
Charges one month upfront (payment before provision). The unused period is refunded on early delete.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/databases (the `DatabaseCreate` operationId).
func (*Client) DatabaseCreateWithBody ¶
func (c *Client) DatabaseCreateWithBody(ctx context.Context, params *DatabaseCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseCreateWithBody Create a managed database
Charges one month upfront (payment before provision). The unused period is refunded on early delete.
Takes any type of body and a specified content type.
Corresponds with POST /v1/databases (the `DatabaseCreate` operationId).
func (*Client) DatabaseDbCreate ¶
func (c *Client) DatabaseDbCreate(ctx context.Context, databaseID string, body DatabaseDbCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseDbCreate Create a logical database
Takes a body of the `application/json` content type.
Corresponds with POST /v1/databases/{databaseID}/dbs (the `DatabaseDbCreate` operationId).
func (*Client) DatabaseDbCreateWithBody ¶
func (c *Client) DatabaseDbCreateWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseDbCreateWithBody Create a logical database
Takes any type of body and a specified content type.
Corresponds with POST /v1/databases/{databaseID}/dbs (the `DatabaseDbCreate` operationId).
func (*Client) DatabaseDelete ¶
func (c *Client) DatabaseDelete(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseDelete Delete the managed database
The unused part of the prepaid month is refunded to the wallet.
Corresponds with DELETE /v1/databases/{databaseID} (the `DatabaseDelete` operationId).
func (*Client) DatabaseGet ¶
func (c *Client) DatabaseGet(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseGet Managed database detail
Corresponds with GET /v1/databases/{databaseID} (the `DatabaseGet` operationId).
func (*Client) DatabaseMetricsList ¶
func (c *Client) DatabaseMetricsList(ctx context.Context, databaseId string, params *DatabaseMetricsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseMetricsList Sampled resource metrics
Corresponds with GET /v1/databases/{databaseId}/metrics (the `DatabaseMetricsList` operationId).
func (*Client) DatabaseOptionsList ¶
func (c *Client) DatabaseOptionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseOptionsList Managed database plans and engine versions
Corresponds with GET /v1/database-options (the `DatabaseOptionsList` operationId).
func (*Client) DatabaseProjectSet ¶
func (c *Client) DatabaseProjectSet(ctx context.Context, databaseID string, body DatabaseProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseProjectSet Move database to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/databases/{databaseID}/project (the `DatabaseProjectSet` operationId).
func (*Client) DatabaseProjectSetWithBody ¶
func (c *Client) DatabaseProjectSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseProjectSetWithBody Move database to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/databases/{databaseID}/project (the `DatabaseProjectSet` operationId).
func (*Client) DatabasePublicAccessSet ¶
func (c *Client) DatabasePublicAccessSet(ctx context.Context, databaseID string, body DatabasePublicAccessSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabasePublicAccessSet Toggle public access
Off by default. On admits ONLY the trusted-sources list, never the whole internet.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/databases/{databaseID}/public-access (the `DatabasePublicAccessSet` operationId).
func (*Client) DatabasePublicAccessSetWithBody ¶
func (c *Client) DatabasePublicAccessSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabasePublicAccessSetWithBody Toggle public access
Off by default. On admits ONLY the trusted-sources list, never the whole internet.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/databases/{databaseID}/public-access (the `DatabasePublicAccessSet` operationId).
func (*Client) DatabaseResize ¶
func (c *Client) DatabaseResize(ctx context.Context, databaseId string, body DatabaseResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseResize Upgrade the instance to a bigger plan
Stops the hidden VM, applies the new shape and starts it again (brief downtime). The pro-rated price difference for the remaining prepaid period is charged upfront. Downgrades are refused.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/databases/{databaseId}/resize (the `DatabaseResize` operationId).
func (*Client) DatabaseResizeWithBody ¶
func (c *Client) DatabaseResizeWithBody(ctx context.Context, databaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseResizeWithBody Upgrade the instance to a bigger plan
Stops the hidden VM, applies the new shape and starts it again (brief downtime). The pro-rated price difference for the remaining prepaid period is charged upfront. Downgrades are refused.
Takes any type of body and a specified content type.
Corresponds with POST /v1/databases/{databaseId}/resize (the `DatabaseResize` operationId).
func (*Client) DatabaseRestoreCreate ¶
func (c *Client) DatabaseRestoreCreate(ctx context.Context, databaseID string, body DatabaseRestoreCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseRestoreCreate Restore to a point in time
Always creates a NEW database instance from this one's backups; the source is never touched. Charged like a create.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/databases/{databaseID}/restores (the `DatabaseRestoreCreate` operationId).
func (*Client) DatabaseRestoreCreateWithBody ¶
func (c *Client) DatabaseRestoreCreateWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseRestoreCreateWithBody Restore to a point in time
Always creates a NEW database instance from this one's backups; the source is never touched. Charged like a create.
Takes any type of body and a specified content type.
Corresponds with POST /v1/databases/{databaseID}/restores (the `DatabaseRestoreCreate` operationId).
func (*Client) DatabaseTagsSet ¶
func (c *Client) DatabaseTagsSet(ctx context.Context, databaseID string, body DatabaseTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseTagsSet Replace database tags
Replaces the whole tag set. Tags group resources across projects: a database is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/databases/{databaseID}/tags (the `DatabaseTagsSet` operationId).
func (*Client) DatabaseTagsSetWithBody ¶
func (c *Client) DatabaseTagsSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseTagsSetWithBody Replace database tags
Replaces the whole tag set. Tags group resources across projects: a database is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/databases/{databaseID}/tags (the `DatabaseTagsSet` operationId).
func (*Client) DatabaseTrustedSourcesSet ¶
func (c *Client) DatabaseTrustedSourcesSet(ctx context.Context, databaseID string, body DatabaseTrustedSourcesSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseTrustedSourcesSet Set trusted sources
Public CIDRs admitted while public access is on. Attached apps and the private network are admitted automatically.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/databases/{databaseID}/trusted-sources (the `DatabaseTrustedSourcesSet` operationId).
func (*Client) DatabaseTrustedSourcesSetWithBody ¶
func (c *Client) DatabaseTrustedSourcesSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseTrustedSourcesSetWithBody Set trusted sources
Public CIDRs admitted while public access is on. Attached apps and the private network are admitted automatically.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/databases/{databaseID}/trusted-sources (the `DatabaseTrustedSourcesSet` operationId).
func (*Client) DatabaseUserCreate ¶
func (c *Client) DatabaseUserCreate(ctx context.Context, databaseID string, body DatabaseUserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseUserCreate Create a database user
Takes a body of the `application/json` content type.
Corresponds with POST /v1/databases/{databaseID}/users (the `DatabaseUserCreate` operationId).
func (*Client) DatabaseUserCreateWithBody ¶
func (c *Client) DatabaseUserCreateWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseUserCreateWithBody Create a database user
Takes any type of body and a specified content type.
Corresponds with POST /v1/databases/{databaseID}/users (the `DatabaseUserCreate` operationId).
func (*Client) DatabaseUserDelete ¶
func (c *Client) DatabaseUserDelete(ctx context.Context, databaseID string, userID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseUserDelete Delete a database user
A role that owns objects fails the apply and surfaces as an error rather than silently dropping anything.
Corresponds with DELETE /v1/databases/{databaseID}/users/{userID} (the `DatabaseUserDelete` operationId).
func (*Client) DatabaseUserPasswordReset ¶
func (c *Client) DatabaseUserPasswordReset(ctx context.Context, databaseID string, userID string, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabaseUserPasswordReset Reset a database user's password
Corresponds with POST /v1/databases/{databaseID}/users/{userID}/reset-password (the `DatabaseUserPasswordReset` operationId).
func (*Client) DatabasesList ¶
func (c *Client) DatabasesList(ctx context.Context, params *DatabasesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DatabasesList My managed databases
Corresponds with GET /v1/databases (the `DatabasesList` operationId).
func (*Client) DnsRecordCreate ¶
func (c *Client) DnsRecordCreate(ctx context.Context, id string, params *DnsRecordCreateParams, body DnsRecordCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsRecordCreate Add DNS record
Takes a body of the `application/json` content type.
Corresponds with POST /v1/dns/zones/{id}/records (the `DnsRecordCreate` operationId).
func (*Client) DnsRecordCreateWithBody ¶
func (c *Client) DnsRecordCreateWithBody(ctx context.Context, id string, params *DnsRecordCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsRecordCreateWithBody Add DNS record
Takes any type of body and a specified content type.
Corresponds with POST /v1/dns/zones/{id}/records (the `DnsRecordCreate` operationId).
func (*Client) DnsRecordDelete ¶
func (c *Client) DnsRecordDelete(ctx context.Context, id string, recordId string, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsRecordDelete Delete DNS record
Corresponds with DELETE /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordDelete` operationId).
func (*Client) DnsRecordUpdate ¶
func (c *Client) DnsRecordUpdate(ctx context.Context, id string, recordId string, body DnsRecordUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsRecordUpdate Update DNS record
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordUpdate` operationId).
func (*Client) DnsRecordUpdateWithBody ¶
func (c *Client) DnsRecordUpdateWithBody(ctx context.Context, id string, recordId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsRecordUpdateWithBody Update DNS record
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordUpdate` operationId).
func (*Client) DnsZoneCreate ¶
func (c *Client) DnsZoneCreate(ctx context.Context, params *DnsZoneCreateParams, body DnsZoneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsZoneCreate Create DNS zone
Creates the zone with system-managed SOA + NS records. The zone resolves once you point the domain's nameservers at the returned `nameservers`.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/dns/zones (the `DnsZoneCreate` operationId).
func (*Client) DnsZoneCreateWithBody ¶
func (c *Client) DnsZoneCreateWithBody(ctx context.Context, params *DnsZoneCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsZoneCreateWithBody Create DNS zone
Creates the zone with system-managed SOA + NS records. The zone resolves once you point the domain's nameservers at the returned `nameservers`.
Takes any type of body and a specified content type.
Corresponds with POST /v1/dns/zones (the `DnsZoneCreate` operationId).
func (*Client) DnsZoneDelete ¶
func (c *Client) DnsZoneDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsZoneDelete Delete DNS zone
Corresponds with DELETE /v1/dns/zones/{id} (the `DnsZoneDelete` operationId).
func (*Client) DnsZoneGet ¶
func (c *Client) DnsZoneGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsZoneGet DNS zone with records
Corresponds with GET /v1/dns/zones/{id} (the `DnsZoneGet` operationId).
func (*Client) DnsZoneProjectSet ¶
func (c *Client) DnsZoneProjectSet(ctx context.Context, id string, body DnsZoneProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsZoneProjectSet Move DNS zone to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/dns/zones/{id}/project (the `DnsZoneProjectSet` operationId).
func (*Client) DnsZoneProjectSetWithBody ¶
func (c *Client) DnsZoneProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsZoneProjectSetWithBody Move DNS zone to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/dns/zones/{id}/project (the `DnsZoneProjectSet` operationId).
func (*Client) DnsZoneTagsSet ¶
func (c *Client) DnsZoneTagsSet(ctx context.Context, id string, body DnsZoneTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsZoneTagsSet Replace DNS zone tags
Replaces the whole tag set. Tags group resources across projects: a DNS zone is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/dns/zones/{id}/tags (the `DnsZoneTagsSet` operationId).
func (*Client) DnsZoneTagsSetWithBody ¶
func (c *Client) DnsZoneTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsZoneTagsSetWithBody Replace DNS zone tags
Replaces the whole tag set. Tags group resources across projects: a DNS zone is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/dns/zones/{id}/tags (the `DnsZoneTagsSet` operationId).
func (*Client) DnsZonesList ¶
func (c *Client) DnsZonesList(ctx context.Context, params *DnsZonesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DnsZonesList My DNS zones
Corresponds with GET /v1/dns/zones (the `DnsZonesList` operationId).
func (*Client) DomainAutoRenewSet ¶
func (c *Client) DomainAutoRenewSet(ctx context.Context, id string, body DomainAutoRenewSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainAutoRenewSet Turn automatic renewal on or off
With it off nothing is charged and the domain lapses when it expires. Reminders are still sent.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/domains/{id}/auto-renew (the `DomainAutoRenewSet` operationId).
func (*Client) DomainAutoRenewSetWithBody ¶
func (c *Client) DomainAutoRenewSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainAutoRenewSetWithBody Turn automatic renewal on or off
With it off nothing is charged and the domain lapses when it expires. Reminders are still sent.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/domains/{id}/auto-renew (the `DomainAutoRenewSet` operationId).
func (*Client) DomainContactCreate ¶
func (c *Client) DomainContactCreate(ctx context.Context, body DomainContactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainContactCreate Create a registrant profile
The details published in WHOIS for domains registered with this profile. The first profile in an organization becomes its default.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/domain-contacts (the `DomainContactCreate` operationId).
func (*Client) DomainContactCreateWithBody ¶
func (c *Client) DomainContactCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainContactCreateWithBody Create a registrant profile
The details published in WHOIS for domains registered with this profile. The first profile in an organization becomes its default.
Takes any type of body and a specified content type.
Corresponds with POST /v1/domain-contacts (the `DomainContactCreate` operationId).
func (*Client) DomainContactDelete ¶
func (c *Client) DomainContactDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainContactDelete Delete a registrant profile
Only possible while no domain uses it: the registry is still publishing these details for any domain registered under them.
Corresponds with DELETE /v1/domain-contacts/{id} (the `DomainContactDelete` operationId).
func (*Client) DomainContactSuggest ¶
func (c *Client) DomainContactSuggest(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainContactSuggest Draft a registrant profile from the account
Prefill values for a new registrant profile, taken from the account name and its verified e-mail and phone. The address is deliberately not suggested: an invoice address is collected to raise a receipt, while this record is published by the registry. Nothing is stored and no profile is created; a field the platform cannot fill is returned empty.
Corresponds with GET /v1/domain-contacts/suggested (the `DomainContactSuggest` operationId).
func (*Client) DomainContactUpdate ¶
func (c *Client) DomainContactUpdate(ctx context.Context, id string, body DomainContactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainContactUpdate Update a registrant profile
Domains already registered with this profile are updated at the registrar by a background job.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/domain-contacts/{id} (the `DomainContactUpdate` operationId).
func (*Client) DomainContactUpdateWithBody ¶
func (c *Client) DomainContactUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainContactUpdateWithBody Update a registrant profile
Domains already registered with this profile are updated at the registrar by a background job.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/domain-contacts/{id} (the `DomainContactUpdate` operationId).
func (*Client) DomainContactsList ¶
func (c *Client) DomainContactsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainContactsList List registrant profiles
Corresponds with GET /v1/domain-contacts (the `DomainContactsList` operationId).
func (*Client) DomainGet ¶
func (c *Client) DomainGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainGet Domain detail
Corresponds with GET /v1/domains/{id} (the `DomainGet` operationId).
func (*Client) DomainLockSet ¶
func (c *Client) DomainLockSet(ctx context.Context, id string, body DomainLockSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainLockSet Set the registrar transfer lock
With the lock on, the registry refuses a transfer nobody authorized. Turning it off is the first step of moving the domain elsewhere.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/domains/{id}/lock (the `DomainLockSet` operationId).
func (*Client) DomainLockSetWithBody ¶
func (c *Client) DomainLockSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainLockSetWithBody Set the registrar transfer lock
With the lock on, the registry refuses a transfer nobody authorized. Turning it off is the first step of moving the domain elsewhere.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/domains/{id}/lock (the `DomainLockSet` operationId).
func (*Client) DomainNameserversSet ¶
func (c *Client) DomainNameserversSet(ctx context.Context, id string, body DomainNameserversSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainNameserversSet Set nameservers
Records the delegation you want and pushes it to the registrar in the background. The response shows both what you asked for and what the registrar last confirmed.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/domains/{id}/nameservers (the `DomainNameserversSet` operationId).
func (*Client) DomainNameserversSetWithBody ¶
func (c *Client) DomainNameserversSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainNameserversSetWithBody Set nameservers
Records the delegation you want and pushes it to the registrar in the background. The response shows both what you asked for and what the registrar last confirmed.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/domains/{id}/nameservers (the `DomainNameserversSet` operationId).
func (*Client) DomainPrivacySet ¶
func (c *Client) DomainPrivacySet(ctx context.Context, id string, body DomainPrivacySetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainPrivacySet Set WHOIS privacy
With privacy on, the registry publishes the privacy service's details instead of yours. Not offered by every extension.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/domains/{id}/privacy (the `DomainPrivacySet` operationId).
func (*Client) DomainPrivacySetWithBody ¶
func (c *Client) DomainPrivacySetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainPrivacySetWithBody Set WHOIS privacy
With privacy on, the registry publishes the privacy service's details instead of yours. Not offered by every extension.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/domains/{id}/privacy (the `DomainPrivacySet` operationId).
func (*Client) DomainProjectSet ¶
func (c *Client) DomainProjectSet(ctx context.Context, id string, body DomainProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainProjectSet Move domain to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/domains/{id}/project (the `DomainProjectSet` operationId).
func (*Client) DomainProjectSetWithBody ¶
func (c *Client) DomainProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainProjectSetWithBody Move domain to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/domains/{id}/project (the `DomainProjectSet` operationId).
func (*Client) DomainRegister ¶
func (c *Client) DomainRegister(ctx context.Context, params *DomainRegisterParams, body DomainRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainRegister Register a domain
Charges the wallet and queues the registration. A registration cannot be undone once the registry confirms it, so there is no early-delete refund; an order the registry never honours is refunded in full.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/domains (the `DomainRegister` operationId).
func (*Client) DomainRegisterWithBody ¶
func (c *Client) DomainRegisterWithBody(ctx context.Context, params *DomainRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainRegisterWithBody Register a domain
Charges the wallet and queues the registration. A registration cannot be undone once the registry confirms it, so there is no early-delete refund; an order the registry never honours is refunded in full.
Takes any type of body and a specified content type.
Corresponds with POST /v1/domains (the `DomainRegister` operationId).
func (*Client) DomainRenew ¶
func (c *Client) DomainRenew(ctx context.Context, id string, body DomainRenewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainRenew Renew a domain
Charges the wallet and extends the registration. Automatic renewal does the same thing on your behalf 14 days before expiry.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/domains/{id}/renew (the `DomainRenew` operationId).
func (*Client) DomainRenewWithBody ¶
func (c *Client) DomainRenewWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainRenewWithBody Renew a domain
Charges the wallet and extends the registration. Automatic renewal does the same thing on your behalf 14 days before expiry.
Takes any type of body and a specified content type.
Corresponds with POST /v1/domains/{id}/renew (the `DomainRenew` operationId).
func (*Client) DomainSearch ¶
func (c *Client) DomainSearch(ctx context.Context, body DomainSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainSearch Search domain availability
Asks the registry whether a name is free, and suggests the same label on this deployment's other extensions. Advisory: availability is the registry's to state and the answer can change before an order. Authenticated and rate-limited per account, because it spends a call against the platform's registrar credential.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/domains/search (the `DomainSearch` operationId).
func (*Client) DomainSearchWithBody ¶
func (c *Client) DomainSearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainSearchWithBody Search domain availability
Asks the registry whether a name is free, and suggests the same label on this deployment's other extensions. Advisory: availability is the registry's to state and the answer can change before an order. Authenticated and rate-limited per account, because it spends a call against the platform's registrar credential.
Takes any type of body and a specified content type.
Corresponds with POST /v1/domains/search (the `DomainSearch` operationId).
func (*Client) DomainTagsSet ¶
func (c *Client) DomainTagsSet(ctx context.Context, id string, body DomainTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainTagsSet Replace domain tags
Replaces the whole tag set. Tags group resources across projects: a domain is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/domains/{id}/tags (the `DomainTagsSet` operationId).
func (*Client) DomainTagsSetWithBody ¶
func (c *Client) DomainTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainTagsSetWithBody Replace domain tags
Replaces the whole tag set. Tags group resources across projects: a domain is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/domains/{id}/tags (the `DomainTagsSet` operationId).
func (*Client) DomainTldsList ¶
func (c *Client) DomainTldsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainTldsList Domain extension price list
Sellable extensions with their yearly registration, renewal and transfer prices. A local read: it never calls a registrar, so it is safe to render on a marketing page.
Corresponds with GET /v1/domain-tlds (the `DomainTldsList` operationId).
func (*Client) DomainTransfer ¶
func (c *Client) DomainTransfer(ctx context.Context, body DomainTransferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainTransfer Transfer a domain in
Charges the wallet and submits an inbound transfer. The registry decides over the following days, and the losing registrar has five of them to respond; a transfer that is refused or never completes is refunded in full. A transfer adds exactly one year to the term, which is what the registry sells.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/domains/transfer (the `DomainTransfer` operationId).
func (*Client) DomainTransferWithBody ¶
func (c *Client) DomainTransferWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainTransferWithBody Transfer a domain in
Charges the wallet and submits an inbound transfer. The registry decides over the following days, and the losing registrar has five of them to respond; a transfer that is refused or never completes is refunded in full. A transfer adds exactly one year to the term, which is what the registry sells.
Takes any type of body and a specified content type.
Corresponds with POST /v1/domains/transfer (the `DomainTransfer` operationId).
func (*Client) DomainsList ¶
func (c *Client) DomainsList(ctx context.Context, params *DomainsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DomainsList List domains
Corresponds with GET /v1/domains (the `DomainsList` operationId).
func (*Client) FirewallCreate ¶
func (c *Client) FirewallCreate(ctx context.Context, params *FirewallCreateParams, body FirewallCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
FirewallCreate Create firewall
Created empty: attach it to a server and it enforces deny-all inbound (plus ICMP) until rules are added.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/firewalls (the `FirewallCreate` operationId).
func (*Client) FirewallCreateWithBody ¶
func (c *Client) FirewallCreateWithBody(ctx context.Context, params *FirewallCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FirewallCreateWithBody Create firewall
Created empty: attach it to a server and it enforces deny-all inbound (plus ICMP) until rules are added.
Takes any type of body and a specified content type.
Corresponds with POST /v1/firewalls (the `FirewallCreate` operationId).
func (*Client) FirewallDelete ¶
func (c *Client) FirewallDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
FirewallDelete Delete firewall
Attached servers are detached and re-applied (back to all-open unless another firewall remains).
Corresponds with DELETE /v1/firewalls/{id} (the `FirewallDelete` operationId).
func (*Client) FirewallGet ¶
func (c *Client) FirewallGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
FirewallGet Firewall details
Corresponds with GET /v1/firewalls/{id} (the `FirewallGet` operationId).
func (*Client) FirewallRulesReplace ¶
func (c *Client) FirewallRulesReplace(ctx context.Context, id string, body FirewallRulesReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
FirewallRulesReplace Replace firewall rules
Full replace (PUT) — matches the desired-state application on the hypervisor. Attached servers are re-applied.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/firewalls/{id}/rules (the `FirewallRulesReplace` operationId).
func (*Client) FirewallRulesReplaceWithBody ¶
func (c *Client) FirewallRulesReplaceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FirewallRulesReplaceWithBody Replace firewall rules
Full replace (PUT) — matches the desired-state application on the hypervisor. Attached servers are re-applied.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/firewalls/{id}/rules (the `FirewallRulesReplace` operationId).
func (*Client) FirewallServerAttach ¶
func (c *Client) FirewallServerAttach(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*http.Response, error)
FirewallServerAttach Attach firewall to a server
Corresponds with POST /v1/firewalls/{id}/servers/{serverId} (the `FirewallServerAttach` operationId).
func (*Client) FirewallServerDetach ¶
func (c *Client) FirewallServerDetach(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*http.Response, error)
FirewallServerDetach Detach firewall from a server
Corresponds with DELETE /v1/firewalls/{id}/servers/{serverId} (the `FirewallServerDetach` operationId).
func (*Client) FirewallUpdate ¶
func (c *Client) FirewallUpdate(ctx context.Context, id string, body FirewallUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
FirewallUpdate Rename firewall
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/firewalls/{id} (the `FirewallUpdate` operationId).
func (*Client) FirewallUpdateWithBody ¶
func (c *Client) FirewallUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FirewallUpdateWithBody Rename firewall
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/firewalls/{id} (the `FirewallUpdate` operationId).
func (*Client) FirewallsList ¶
func (c *Client) FirewallsList(ctx context.Context, params *FirewallsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
FirewallsList My firewalls
Corresponds with GET /v1/firewalls (the `FirewallsList` operationId).
func (*Client) FloatingIpAttach ¶
func (c *Client) FloatingIpAttach(ctx context.Context, floatingIpID string, body FloatingIpAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
FloatingIpAttach Attach (or move) the floating IP to a server
Hot operation: no restart. The server must be in the floating IP's region (FIP_NODE_MISMATCH otherwise). While attached, the server's OUTBOUND traffic also leaves from the floating IP.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/floating-ips/{floatingIpID}/attach (the `FloatingIpAttach` operationId).
func (*Client) FloatingIpAttachWithBody ¶
func (c *Client) FloatingIpAttachWithBody(ctx context.Context, floatingIpID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FloatingIpAttachWithBody Attach (or move) the floating IP to a server
Hot operation: no restart. The server must be in the floating IP's region (FIP_NODE_MISMATCH otherwise). While attached, the server's OUTBOUND traffic also leaves from the floating IP.
Takes any type of body and a specified content type.
Corresponds with POST /v1/floating-ips/{floatingIpID}/attach (the `FloatingIpAttach` operationId).
func (*Client) FloatingIpCreate ¶
func (c *Client) FloatingIpCreate(ctx context.Context, params *FloatingIpCreateParams, body FloatingIpCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
FloatingIpCreate Create a floating IP
Takes a body of the `application/json` content type.
Corresponds with POST /v1/floating-ips (the `FloatingIpCreate` operationId).
func (*Client) FloatingIpCreateWithBody ¶
func (c *Client) FloatingIpCreateWithBody(ctx context.Context, params *FloatingIpCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FloatingIpCreateWithBody Create a floating IP
Takes any type of body and a specified content type.
Corresponds with POST /v1/floating-ips (the `FloatingIpCreate` operationId).
func (*Client) FloatingIpDelete ¶
func (c *Client) FloatingIpDelete(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*http.Response, error)
FloatingIpDelete Delete the floating IP
Refused while attached (FIP_ATTACHED): detach first. Billing stops when the floating IP is deleted. The address returns to the pool and can be assigned again, to another customer or to you.
Corresponds with DELETE /v1/floating-ips/{floatingIpID} (the `FloatingIpDelete` operationId).
func (*Client) FloatingIpDetach ¶
func (c *Client) FloatingIpDetach(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*http.Response, error)
FloatingIpDetach Detach the floating IP
Corresponds with POST /v1/floating-ips/{floatingIpID}/detach (the `FloatingIpDetach` operationId).
func (*Client) FloatingIpGet ¶
func (c *Client) FloatingIpGet(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*http.Response, error)
FloatingIpGet Floating IP detail
Corresponds with GET /v1/floating-ips/{floatingIpID} (the `FloatingIpGet` operationId).
func (*Client) FloatingIpsList ¶
func (c *Client) FloatingIpsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
FloatingIpsList My floating IPs
Corresponds with GET /v1/floating-ips (the `FloatingIpsList` operationId).
func (*Client) FxRate ¶
FxRate Effective USD/TRY rate used when quoting top-ups
Corresponds with GET /v1/fx (the `FxRate` operationId).
func (*Client) GitConnectionDelete ¶
func (c *Client) GitConnectionDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GitConnectionDelete Disconnect a git account
Stops us minting credentials for it. It does NOT uninstall the app on the forge — only the account owner can do that, from their own settings.
Corresponds with DELETE /v1/git/connections/{id} (the `GitConnectionDelete` operationId).
func (*Client) GitConnectionsList ¶
func (c *Client) GitConnectionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GitConnectionsList Connected git accounts
Corresponds with GET /v1/git/connections (the `GitConnectionsList` operationId).
func (*Client) GitInstallCallback ¶
func (c *Client) GitInstallCallback(ctx context.Context, provider GitInstallCallbackParamsProvider, params *GitInstallCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GitInstallCallback Forge authorization return
Verifies that the person finishing the flow owns the account they claimed, and only then records the connection. Always answers with a redirect into the panel.
Corresponds with GET /v1/git/{provider}/callback (the `GitInstallCallback` operationId).
func (*Client) GitInstallSetup ¶
func (c *Client) GitInstallSetup(ctx context.Context, provider GitInstallSetupParamsProvider, params *GitInstallSetupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GitInstallSetup Forge install return
Where the forge sends the customer after installing. Records the claimed installation and forwards them to the forge's authorization screen, which is what turns the claim into proof.
Corresponds with GET /v1/git/{provider}/setup (the `GitInstallSetup` operationId).
func (*Client) GitInstallStart ¶
func (c *Client) GitInstallStart(ctx context.Context, provider GitInstallStartParamsProvider, reqEditors ...RequestEditorFn) (*http.Response, error)
GitInstallStart Begin connecting a git account
Redirects to the forge's install screen. The organization the connection will belong to is fixed here, at the start, not read from the session on the way back.
Corresponds with GET /v1/git/{provider}/install (the `GitInstallStart` operationId).
func (*Client) GitProvidersList ¶
func (c *Client) GitProvidersList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GitProvidersList Configured git forges
Empty when the operator has registered no forge app; the panel then hides the connect button rather than showing a dead one.
Corresponds with GET /v1/git/providers (the `GitProvidersList` operationId).
func (*Client) GitRepositoriesList ¶
func (c *Client) GitRepositoriesList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GitRepositoriesList Repositories this connection can see
Asked live rather than cached: the customer changes the selection on the forge's side and expects the next screen to agree.
Corresponds with GET /v1/git/connections/{id}/repositories (the `GitRepositoriesList` operationId).
func (*Client) ImagesList ¶
func (c *Client) ImagesList(ctx context.Context, params *ImagesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ImagesList Image catalog
Corresponds with GET /v1/images (the `ImagesList` operationId).
func (*Client) IsoCreate ¶
func (c *Client) IsoCreate(ctx context.Context, params *IsoCreateParams, body IsoCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
IsoCreate Create or import custom ISO
Takes a body of the `application/json` content type.
Corresponds with POST /v1/isos (the `IsoCreate` operationId).
func (*Client) IsoCreateWithBody ¶
func (c *Client) IsoCreateWithBody(ctx context.Context, params *IsoCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
IsoCreateWithBody Create or import custom ISO
Takes any type of body and a specified content type.
Corresponds with POST /v1/isos (the `IsoCreate` operationId).
func (*Client) IsoDelete ¶
func (c *Client) IsoDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
IsoDelete Delete custom ISO
Corresponds with DELETE /v1/isos/{id} (the `IsoDelete` operationId).
func (*Client) IsoGet ¶
func (c *Client) IsoGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
IsoGet Get custom ISO details
Corresponds with GET /v1/isos/{id} (the `IsoGet` operationId).
func (*Client) IsoList ¶
func (c *Client) IsoList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
IsoList List custom ISOs
Corresponds with GET /v1/isos (the `IsoList` operationId).
func (*Client) LoadBalancerBackendsSet ¶
func (c *Client) LoadBalancerBackendsSet(ctx context.Context, loadBalancerID string, body LoadBalancerBackendsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerBackendsSet Set backend servers
Full set (add/remove by sending the resulting list). Each server must be a member of the LB's private network.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/backends (the `LoadBalancerBackendsSet` operationId).
func (*Client) LoadBalancerBackendsSetWithBody ¶
func (c *Client) LoadBalancerBackendsSetWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerBackendsSetWithBody Set backend servers
Full set (add/remove by sending the resulting list). Each server must be a member of the LB's private network.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/backends (the `LoadBalancerBackendsSet` operationId).
func (*Client) LoadBalancerCreate ¶
func (c *Client) LoadBalancerCreate(ctx context.Context, params *LoadBalancerCreateParams, body LoadBalancerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerCreate Create a load balancer
Charges one month upfront (payment before provision). The unused period is refunded on early delete.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/load-balancers (the `LoadBalancerCreate` operationId).
func (*Client) LoadBalancerCreateWithBody ¶
func (c *Client) LoadBalancerCreateWithBody(ctx context.Context, params *LoadBalancerCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerCreateWithBody Create a load balancer
Charges one month upfront (payment before provision). The unused period is refunded on early delete.
Takes any type of body and a specified content type.
Corresponds with POST /v1/load-balancers (the `LoadBalancerCreate` operationId).
func (*Client) LoadBalancerDelete ¶
func (c *Client) LoadBalancerDelete(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerDelete Delete the load balancer
The unused part of the prepaid month is refunded to the wallet.
Corresponds with DELETE /v1/load-balancers/{loadBalancerID} (the `LoadBalancerDelete` operationId).
func (*Client) LoadBalancerGet ¶
func (c *Client) LoadBalancerGet(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerGet Load balancer detail
Corresponds with GET /v1/load-balancers/{loadBalancerID} (the `LoadBalancerGet` operationId).
func (*Client) LoadBalancerProjectSet ¶
func (c *Client) LoadBalancerProjectSet(ctx context.Context, loadBalancerID string, body LoadBalancerProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerProjectSet Move load balancer to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/load-balancers/{loadBalancerID}/project (the `LoadBalancerProjectSet` operationId).
func (*Client) LoadBalancerProjectSetWithBody ¶
func (c *Client) LoadBalancerProjectSetWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerProjectSetWithBody Move load balancer to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/load-balancers/{loadBalancerID}/project (the `LoadBalancerProjectSet` operationId).
func (*Client) LoadBalancerRulesReplace ¶
func (c *Client) LoadBalancerRulesReplace(ctx context.Context, loadBalancerID string, body LoadBalancerRulesReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerRulesReplace Replace forwarding rules
Full replace; the new configuration is applied to the data plane asynchronously.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/rules (the `LoadBalancerRulesReplace` operationId).
func (*Client) LoadBalancerRulesReplaceWithBody ¶
func (c *Client) LoadBalancerRulesReplaceWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerRulesReplaceWithBody Replace forwarding rules
Full replace; the new configuration is applied to the data plane asynchronously.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/rules (the `LoadBalancerRulesReplace` operationId).
func (*Client) LoadBalancerTagsSet ¶
func (c *Client) LoadBalancerTagsSet(ctx context.Context, loadBalancerID string, body LoadBalancerTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerTagsSet Replace load balancer tags
Replaces the whole tag set. Tags group resources across projects: a load balancer is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/tags (the `LoadBalancerTagsSet` operationId).
func (*Client) LoadBalancerTagsSetWithBody ¶
func (c *Client) LoadBalancerTagsSetWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancerTagsSetWithBody Replace load balancer tags
Replaces the whole tag set. Tags group resources across projects: a load balancer is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/tags (the `LoadBalancerTagsSet` operationId).
func (*Client) LoadBalancersList ¶
func (c *Client) LoadBalancersList(ctx context.Context, params *LoadBalancersListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
LoadBalancersList My load balancers
Corresponds with GET /v1/load-balancers (the `LoadBalancersList` operationId).
func (*Client) NetworkCreate ¶
func (c *Client) NetworkCreate(ctx context.Context, params *NetworkCreateParams, body NetworkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
NetworkCreate Create private network
The network starts in `creating` and becomes `active` once built on the hypervisor. Servers may already reference it — provisioning waits.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/networks (the `NetworkCreate` operationId).
func (*Client) NetworkCreateWithBody ¶
func (c *Client) NetworkCreateWithBody(ctx context.Context, params *NetworkCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
NetworkCreateWithBody Create private network
The network starts in `creating` and becomes `active` once built on the hypervisor. Servers may already reference it — provisioning waits.
Takes any type of body and a specified content type.
Corresponds with POST /v1/networks (the `NetworkCreate` operationId).
func (*Client) NetworkDelete ¶
func (c *Client) NetworkDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
NetworkDelete Delete private network
Refused (409) while servers are attached.
Corresponds with DELETE /v1/networks/{id} (the `NetworkDelete` operationId).
func (*Client) NetworkGet ¶
func (c *Client) NetworkGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
NetworkGet Private network details
Corresponds with GET /v1/networks/{id} (the `NetworkGet` operationId).
func (*Client) NetworkProjectSet ¶
func (c *Client) NetworkProjectSet(ctx context.Context, id string, body NetworkProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
NetworkProjectSet Move private network to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/networks/{id}/project (the `NetworkProjectSet` operationId).
func (*Client) NetworkProjectSetWithBody ¶
func (c *Client) NetworkProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
NetworkProjectSetWithBody Move private network to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/networks/{id}/project (the `NetworkProjectSet` operationId).
func (*Client) NetworkTagsSet ¶
func (c *Client) NetworkTagsSet(ctx context.Context, id string, body NetworkTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
NetworkTagsSet Replace private network tags
Replaces the whole tag set. Tags group resources across projects: a private network is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/networks/{id}/tags (the `NetworkTagsSet` operationId).
func (*Client) NetworkTagsSetWithBody ¶
func (c *Client) NetworkTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
NetworkTagsSetWithBody Replace private network tags
Replaces the whole tag set. Tags group resources across projects: a private network is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/networks/{id}/tags (the `NetworkTagsSet` operationId).
func (*Client) NetworksList ¶
func (c *Client) NetworksList(ctx context.Context, params *NetworksListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
NetworksList My private networks
Corresponds with GET /v1/networks (the `NetworksList` operationId).
func (*Client) NotificationDelete ¶
func (c *Client) NotificationDelete(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
NotificationDelete Dismiss a notification
Corresponds with DELETE /v1/notifications/{id} (the `NotificationDelete` operationId).
func (*Client) NotificationsList ¶
func (c *Client) NotificationsList(ctx context.Context, params *NotificationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
NotificationsList Notification feed
Newest first, keyset-paginated on the descending id.
Corresponds with GET /v1/notifications (the `NotificationsList` operationId).
func (*Client) NotificationsMarkRead ¶
func (c *Client) NotificationsMarkRead(ctx context.Context, body NotificationsMarkReadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
NotificationsMarkRead Mark notifications read
Takes a body of the `application/json` content type.
Corresponds with POST /v1/notifications/read (the `NotificationsMarkRead` operationId).
func (*Client) NotificationsMarkReadWithBody ¶
func (c *Client) NotificationsMarkReadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
NotificationsMarkReadWithBody Mark notifications read
Takes any type of body and a specified content type.
Corresponds with POST /v1/notifications/read (the `NotificationsMarkRead` operationId).
func (*Client) OauthConsentDecide ¶ added in v0.2.0
func (c *Client) OauthConsentDecide(ctx context.Context, id string, body OauthConsentDecideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OauthConsentDecide Answer an application's request
Approve with the scopes ticked and the organization chosen, or refuse. Either way the client is told.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/oauth/authorization-requests/{id}/decision (the `OauthConsentDecide` operationId).
func (*Client) OauthConsentDecideWithBody ¶ added in v0.2.0
func (c *Client) OauthConsentDecideWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OauthConsentDecideWithBody Answer an application's request
Approve with the scopes ticked and the organization chosen, or refuse. Either way the client is told.
Takes any type of body and a specified content type.
Corresponds with POST /v1/oauth/authorization-requests/{id}/decision (the `OauthConsentDecide` operationId).
func (*Client) OauthConsentGet ¶ added in v0.2.0
func (c *Client) OauthConsentGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
OauthConsentGet An application is asking for access
What the consent screen renders. The prompt belongs to one account; another account's id is a 404.
Corresponds with GET /v1/oauth/authorization-requests/{id} (the `OauthConsentGet` operationId).
func (*Client) OnboardingOrganizationCreate ¶ added in v0.3.0
func (c *Client) OnboardingOrganizationCreate(ctx context.Context, body OnboardingOrganizationCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OnboardingOrganizationCreate Create the first organization
Onboarding step one. Creates the organization, its wallet in the currency the country decides and the caller's owner membership, and makes it the session's active organization. 409 ORGANIZATION_EXISTS when the account already belongs to an organization.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/onboarding/organization (the `OnboardingOrganizationCreate` operationId).
func (*Client) OnboardingOrganizationCreateWithBody ¶ added in v0.3.0
func (c *Client) OnboardingOrganizationCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OnboardingOrganizationCreateWithBody Create the first organization
Onboarding step one. Creates the organization, its wallet in the currency the country decides and the caller's owner membership, and makes it the session's active organization. 409 ORGANIZATION_EXISTS when the account already belongs to an organization.
Takes any type of body and a specified content type.
Corresponds with POST /v1/onboarding/organization (the `OnboardingOrganizationCreate` operationId).
func (*Client) OrganizationInvitationAccept ¶
func (c *Client) OrganizationInvitationAccept(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationInvitationAccept Accept invitation
Corresponds with POST /v1/organization-invitations/{token}/accept (the `OrganizationInvitationAccept` operationId).
func (*Client) OrganizationInvitationGet ¶
func (c *Client) OrganizationInvitationGet(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationInvitationGet View invitation
Corresponds with GET /v1/organization-invitations/{token} (the `OrganizationInvitationGet` operationId).
func (*Client) OrganizationInvitationsCreate ¶
func (c *Client) OrganizationInvitationsCreate(ctx context.Context, id string, body OrganizationInvitationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationInvitationsCreate Invite organization member
Takes a body of the `application/json` content type.
Corresponds with POST /v1/organizations/{id}/invitations (the `OrganizationInvitationsCreate` operationId).
func (*Client) OrganizationInvitationsCreateWithBody ¶
func (c *Client) OrganizationInvitationsCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationInvitationsCreateWithBody Invite organization member
Takes any type of body and a specified content type.
Corresponds with POST /v1/organizations/{id}/invitations (the `OrganizationInvitationsCreate` operationId).
func (*Client) OrganizationInvitationsList ¶
func (c *Client) OrganizationInvitationsList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationInvitationsList List active invitations
Corresponds with GET /v1/organizations/{id}/invitations (the `OrganizationInvitationsList` operationId).
func (*Client) OrganizationInvitationsRevoke ¶
func (c *Client) OrganizationInvitationsRevoke(ctx context.Context, id string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationInvitationsRevoke Revoke invitation
Corresponds with DELETE /v1/organizations/{id}/invitations/{invitation_id} (the `OrganizationInvitationsRevoke` operationId).
func (*Client) OrganizationMemberRoleUpdate ¶
func (c *Client) OrganizationMemberRoleUpdate(ctx context.Context, id string, userId string, body OrganizationMemberRoleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationMemberRoleUpdate Change member role
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/organizations/{id}/members/{user_id} (the `OrganizationMemberRoleUpdate` operationId).
func (*Client) OrganizationMemberRoleUpdateWithBody ¶
func (c *Client) OrganizationMemberRoleUpdateWithBody(ctx context.Context, id string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationMemberRoleUpdateWithBody Change member role
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/organizations/{id}/members/{user_id} (the `OrganizationMemberRoleUpdate` operationId).
func (*Client) OrganizationMembersList ¶
func (c *Client) OrganizationMembersList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationMembersList List organization members
Corresponds with GET /v1/organizations/{id}/members (the `OrganizationMembersList` operationId).
func (*Client) OrganizationMembersRemove ¶
func (c *Client) OrganizationMembersRemove(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationMembersRemove Remove organization member
Corresponds with DELETE /v1/organizations/{id}/members/{user_id} (the `OrganizationMembersRemove` operationId).
func (*Client) OrganizationsActivate ¶
func (c *Client) OrganizationsActivate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationsActivate Activate organization for this session
Corresponds with POST /v1/organizations/{id}/activate (the `OrganizationsActivate` operationId).
func (*Client) OrganizationsCreate ¶
func (c *Client) OrganizationsCreate(ctx context.Context, body OrganizationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationsCreate Create organization
Takes a body of the `application/json` content type.
Corresponds with POST /v1/organizations (the `OrganizationsCreate` operationId).
func (*Client) OrganizationsCreateWithBody ¶
func (c *Client) OrganizationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationsCreateWithBody Create organization
Takes any type of body and a specified content type.
Corresponds with POST /v1/organizations (the `OrganizationsCreate` operationId).
func (*Client) OrganizationsDelete ¶
func (c *Client) OrganizationsDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationsDelete Delete organization
Corresponds with DELETE /v1/organizations/{id} (the `OrganizationsDelete` operationId).
func (*Client) OrganizationsGet ¶
func (c *Client) OrganizationsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationsGet Get organization
Corresponds with GET /v1/organizations/{id} (the `OrganizationsGet` operationId).
func (*Client) OrganizationsLeave ¶
func (c *Client) OrganizationsLeave(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationsLeave Leave organization
Corresponds with POST /v1/organizations/{id}/leave (the `OrganizationsLeave` operationId).
func (*Client) OrganizationsList ¶
func (c *Client) OrganizationsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationsList List organizations
Corresponds with GET /v1/organizations (the `OrganizationsList` operationId).
func (*Client) OrganizationsRename ¶
func (c *Client) OrganizationsRename(ctx context.Context, id string, body OrganizationsRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationsRename Rename organization
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/organizations/{id} (the `OrganizationsRename` operationId).
func (*Client) OrganizationsRenameWithBody ¶
func (c *Client) OrganizationsRenameWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
OrganizationsRenameWithBody Rename organization
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/organizations/{id} (the `OrganizationsRename` operationId).
func (*Client) PaymentIntentsList ¶
func (c *Client) PaymentIntentsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
PaymentIntentsList Payment records
Corresponds with GET /v1/payments/intents (the `PaymentIntentsList` operationId).
func (*Client) PaymentTopupInit ¶
func (c *Client) PaymentTopupInit(ctx context.Context, params *PaymentTopupInitParams, body PaymentTopupInitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
PaymentTopupInit Start balance top-up
Card: opens a PayTR iframe session. Bank transfer: generates a description code valid for 72 hours. Credit is applied after payment confirmation (webhook/matching).
Takes a body of the `application/json` content type.
Corresponds with POST /v1/payments/topup (the `PaymentTopupInit` operationId).
func (*Client) PaymentTopupInitWithBody ¶
func (c *Client) PaymentTopupInitWithBody(ctx context.Context, params *PaymentTopupInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PaymentTopupInitWithBody Start balance top-up
Card: opens a PayTR iframe session. Bank transfer: generates a description code valid for 72 hours. Credit is applied after payment confirmation (webhook/matching).
Takes any type of body and a specified content type.
Corresponds with POST /v1/payments/topup (the `PaymentTopupInit` operationId).
func (*Client) PlanTypesList ¶
func (c *Client) PlanTypesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
PlanTypesList Plan types catalog
Corresponds with GET /v1/plan-types (the `PlanTypesList` operationId).
func (*Client) PlansList ¶
func (c *Client) PlansList(ctx context.Context, params *PlansListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
PlansList Plan catalog
Corresponds with GET /v1/plans (the `PlansList` operationId).
func (*Client) ProjectCreate ¶
func (c *Client) ProjectCreate(ctx context.Context, params *ProjectCreateParams, body ProjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectCreate Create project
Takes a body of the `application/json` content type.
Corresponds with POST /v1/projects (the `ProjectCreate` operationId).
func (*Client) ProjectCreateWithBody ¶
func (c *Client) ProjectCreateWithBody(ctx context.Context, params *ProjectCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectCreateWithBody Create project
Takes any type of body and a specified content type.
Corresponds with POST /v1/projects (the `ProjectCreate` operationId).
func (*Client) ProjectDelete ¶
func (c *Client) ProjectDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectDelete Delete project
Servers in the project are detached, never deleted.
Corresponds with DELETE /v1/projects/{id} (the `ProjectDelete` operationId).
func (*Client) ProjectGet ¶
func (c *Client) ProjectGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectGet Project
Corresponds with GET /v1/projects/{id} (the `ProjectGet` operationId).
func (*Client) ProjectUpdate ¶
func (c *Client) ProjectUpdate(ctx context.Context, id string, body ProjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectUpdate Rename project
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/projects/{id} (the `ProjectUpdate` operationId).
func (*Client) ProjectUpdateWithBody ¶
func (c *Client) ProjectUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectUpdateWithBody Rename project
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/projects/{id} (the `ProjectUpdate` operationId).
func (*Client) ProjectsList ¶
func (c *Client) ProjectsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ProjectsList My projects
Corresponds with GET /v1/projects (the `ProjectsList` operationId).
func (*Client) RdnsClear ¶
func (c *Client) RdnsClear(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
RdnsClear Remove reverse DNS from an address
Corresponds with DELETE /v1/ip-addresses/{id}/rdns (the `RdnsClear` operationId).
func (*Client) RdnsSet ¶
func (c *Client) RdnsSet(ctx context.Context, id string, body RdnsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
RdnsSet Set reverse DNS for an address
Publishes a PTR record. The hostname must already have an A/AAAA record pointing at this address (forward-confirmed reverse DNS); create that record first, then set the PTR.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/ip-addresses/{id}/rdns (the `RdnsSet` operationId).
func (*Client) RdnsSetWithBody ¶
func (c *Client) RdnsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RdnsSetWithBody Set reverse DNS for an address
Publishes a PTR record. The hostname must already have an A/AAAA record pointing at this address (forward-confirmed reverse DNS); create that record first, then set the PTR.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/ip-addresses/{id}/rdns (the `RdnsSet` operationId).
func (*Client) RegionsList ¶
func (c *Client) RegionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
RegionsList Region catalog
Active placement regions. The physical host inside a region is always chosen by the system.
Corresponds with GET /v1/regions (the `RegionsList` operationId).
func (*Client) ResourcePricesList ¶
func (c *Client) ResourcePricesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ResourcePricesList GB-based resource prices (snapshots, volumes)
Corresponds with GET /v1/resource-prices (the `ResourcePricesList` operationId).
func (*Client) ServerActionCreate ¶
func (c *Client) ServerActionCreate(ctx context.Context, id string, body ServerActionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerActionCreate Power action (start/stop/reboot)
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers/{id}/actions (the `ServerActionCreate` operationId).
func (*Client) ServerActionCreateWithBody ¶
func (c *Client) ServerActionCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerActionCreateWithBody Power action (start/stop/reboot)
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers/{id}/actions (the `ServerActionCreate` operationId).
func (*Client) ServerActionGet ¶
func (c *Client) ServerActionGet(ctx context.Context, id string, actionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerActionGet Power action status
Resolves the id returned by a power action. `succeeded` and `failed` are terminal; `failed` carries an error_code. Poll with increasing intervals rather than tightly.
Corresponds with GET /v1/servers/{id}/actions/{actionId} (the `ServerActionGet` operationId).
func (*Client) ServerAlertDelete ¶
func (c *Client) ServerAlertDelete(ctx context.Context, id string, metric ServerAlertDeleteParamsMetric, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerAlertDelete Delete a metric alarm rule
Corresponds with DELETE /v1/servers/{id}/alerts/{metric} (the `ServerAlertDelete` operationId).
func (*Client) ServerAlertSave ¶
func (c *Client) ServerAlertSave(ctx context.Context, id string, body ServerAlertSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerAlertSave Create or update a metric alarm rule
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/servers/{id}/alerts (the `ServerAlertSave` operationId).
func (*Client) ServerAlertSaveWithBody ¶
func (c *Client) ServerAlertSaveWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerAlertSaveWithBody Create or update a metric alarm rule
Takes any type of body and a specified content type.
Corresponds with PUT /v1/servers/{id}/alerts (the `ServerAlertSave` operationId).
func (*Client) ServerAlertsList ¶
func (c *Client) ServerAlertsList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerAlertsList List metric alarm rules
Corresponds with GET /v1/servers/{id}/alerts (the `ServerAlertsList` operationId).
func (*Client) ServerAppRetry ¶
func (c *Client) ServerAppRetry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerAppRetry Retry a failed marketplace app install
Only valid while app_state is 'failed' on a running server; 409 otherwise.
Corresponds with POST /v1/servers/{id}/app/retry (the `ServerAppRetry` operationId).
func (*Client) ServerBackupCreate ¶
func (c *Client) ServerBackupCreate(ctx context.Context, id string, body ServerBackupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerBackupCreate Take a backup now
On-demand vzdump to backup storage. Billed per GB-hour of the archive size; max 5 manual backups per server.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers/{id}/backups (the `ServerBackupCreate` operationId).
func (*Client) ServerBackupCreateWithBody ¶
func (c *Client) ServerBackupCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerBackupCreateWithBody Take a backup now
On-demand vzdump to backup storage. Billed per GB-hour of the archive size; max 5 manual backups per server.
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers/{id}/backups (the `ServerBackupCreate` operationId).
func (*Client) ServerBackupDelete ¶
func (c *Client) ServerBackupDelete(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerBackupDelete Delete a backup
Corresponds with DELETE /v1/servers/{id}/backups/{backupId} (the `ServerBackupDelete` operationId).
func (*Client) ServerBackupList ¶
func (c *Client) ServerBackupList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerBackupList Server backups
Corresponds with GET /v1/servers/{id}/backups (the `ServerBackupList` operationId).
func (*Client) ServerBackupListAll ¶
func (c *Client) ServerBackupListAll(ctx context.Context, params *ServerBackupListAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerBackupListAll All restorable backups (create-from-backup picker & global backups page)
Corresponds with GET /v1/backups (the `ServerBackupListAll` operationId).
func (*Client) ServerBackupRestore ¶
func (c *Client) ServerBackupRestore(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerBackupRestore Restore a backup
Whole-VM restore into the same server — the CURRENT disk state is lost. A running server is stopped and restarted. Blocked while extra volumes are attached.
Corresponds with POST /v1/servers/{id}/backups/{backupId}/restore (the `ServerBackupRestore` operationId).
func (*Client) ServerBackupSettingsGet ¶
func (c *Client) ServerBackupSettingsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerBackupSettingsGet Automatic-backup subscription state
Corresponds with GET /v1/servers/{id}/backup-settings (the `ServerBackupSettingsGet` operationId).
func (*Client) ServerBackupSettingsUpdate ¶
func (c *Client) ServerBackupSettingsUpdate(ctx context.Context, id string, body ServerBackupSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerBackupSettingsUpdate Toggle automatic daily backups
When on, a backup is taken daily (7 rolling) and the wallet is charged +20% of the plan price. Requires no attached volumes.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/servers/{id}/backup-settings (the `ServerBackupSettingsUpdate` operationId).
func (*Client) ServerBackupSettingsUpdateWithBody ¶
func (c *Client) ServerBackupSettingsUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerBackupSettingsUpdateWithBody Toggle automatic daily backups
When on, a backup is taken daily (7 rolling) and the wallet is charged +20% of the plan price. Requires no attached volumes.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/servers/{id}/backup-settings (the `ServerBackupSettingsUpdate` operationId).
func (*Client) ServerBillingGet ¶
func (c *Client) ServerBillingGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerBillingGet What this server costs
The plan charge, the resources attached to it and their current monthly rate, this month's traffic, and the lifetime totals taken from the ledger.
Corresponds with GET /v1/servers/{id}/billing (the `ServerBillingGet` operationId).
func (*Client) ServerConsoleCreate ¶
func (c *Client) ServerConsoleCreate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerConsoleCreate Open console session
Corresponds with POST /v1/servers/{id}/console (the `ServerConsoleCreate` operationId).
func (*Client) ServerCreate ¶
func (c *Client) ServerCreate(ctx context.Context, params *ServerCreateParams, body ServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerCreate Create server
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers (the `ServerCreate` operationId).
func (*Client) ServerCreateWithBody ¶
func (c *Client) ServerCreateWithBody(ctx context.Context, params *ServerCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerCreateWithBody Create server
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers (the `ServerCreate` operationId).
func (*Client) ServerDelete ¶
func (c *Client) ServerDelete(ctx context.Context, id string, params *ServerDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerDelete Delete server
The server and its disks are permanently deleted. Its public IP returns to the pool and can be assigned again, to another customer or to you.
Corresponds with DELETE /v1/servers/{id} (the `ServerDelete` operationId).
func (*Client) ServerDiskMetricsList ¶ added in v0.3.0
func (c *Client) ServerDiskMetricsList(ctx context.Context, id string, params *ServerDiskMetricsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerDiskMetricsList Sampled disk performance
Corresponds with GET /v1/servers/{id}/disk-metrics (the `ServerDiskMetricsList` operationId).
func (*Client) ServerEventsList ¶
func (c *Client) ServerEventsList(ctx context.Context, id string, params *ServerEventsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerEventsList Server event stream
Corresponds with GET /v1/servers/{id}/events (the `ServerEventsList` operationId).
func (*Client) ServerFilesystemsList ¶
func (c *Client) ServerFilesystemsList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerFilesystemsList Guest-agent disk usage per mount
Corresponds with GET /v1/servers/{id}/filesystems (the `ServerFilesystemsList` operationId).
func (*Client) ServerGet ¶
func (c *Client) ServerGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerGet Server details
Corresponds with GET /v1/servers/{id} (the `ServerGet` operationId).
func (*Client) ServerLedgerList ¶
func (c *Client) ServerLedgerList(ctx context.Context, id string, params *ServerLedgerListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerLedgerList Wallet movements charged to this server
Paged, newest first. Only movements written against this server: the plan charge, resize differences, refunds and traffic overage. Charges for its snapshots, backups, volumes and floating IPs are billed against those resources and appear on the wallet page.
Corresponds with GET /v1/servers/{id}/billing/ledger (the `ServerLedgerList` operationId).
func (*Client) ServerMetricsList ¶
func (c *Client) ServerMetricsList(ctx context.Context, id string, params *ServerMetricsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerMetricsList Sampled resource metrics
Corresponds with GET /v1/servers/{id}/metrics (the `ServerMetricsList` operationId).
func (*Client) ServerMountISO ¶
func (c *Client) ServerMountISO(ctx context.Context, id string, body ServerMountISOJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerMountISO Mount ISO to server
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers/{id}/actions/mount-iso (the `ServerMountISO` operationId).
func (*Client) ServerMountISOWithBody ¶
func (c *Client) ServerMountISOWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerMountISOWithBody Mount ISO to server
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers/{id}/actions/mount-iso (the `ServerMountISO` operationId).
func (*Client) ServerNetworkAttach ¶
func (c *Client) ServerNetworkAttach(ctx context.Context, id string, body ServerNetworkAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerNetworkAttach Join a private network
Assigns a private IP and adds the second NIC. A running server is stopped and restarted (no hotplug). One network per server.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers/{id}/network (the `ServerNetworkAttach` operationId).
func (*Client) ServerNetworkAttachWithBody ¶
func (c *Client) ServerNetworkAttachWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerNetworkAttachWithBody Join a private network
Assigns a private IP and adds the second NIC. A running server is stopped and restarted (no hotplug). One network per server.
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers/{id}/network (the `ServerNetworkAttach` operationId).
func (*Client) ServerNetworkDetach ¶
func (c *Client) ServerNetworkDetach(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerNetworkDetach Leave the private network
Removes the private NIC and releases the private IP. A running server is stopped and restarted.
Corresponds with DELETE /v1/servers/{id}/network (the `ServerNetworkDetach` operationId).
func (*Client) ServerPasswordReset ¶
func (c *Client) ServerPasswordReset(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerPasswordReset Reset root password
Corresponds with POST /v1/servers/{id}/password-reset (the `ServerPasswordReset` operationId).
func (*Client) ServerProjectSet ¶
func (c *Client) ServerProjectSet(ctx context.Context, id string, body ServerProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerProjectSet Move server to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/servers/{id}/project (the `ServerProjectSet` operationId).
func (*Client) ServerProjectSetWithBody ¶
func (c *Client) ServerProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerProjectSetWithBody Move server to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/servers/{id}/project (the `ServerProjectSet` operationId).
func (*Client) ServerRDNSList ¶
func (c *Client) ServerRDNSList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerRDNSList Reverse DNS for a server's addresses
The server's fixed public address plus every floating IP attached to it. An entry with no `reverse_zone` cannot carry a PTR in this region.
Corresponds with GET /v1/servers/{id}/rdns (the `ServerRDNSList` operationId).
func (*Client) ServerRebuild ¶
func (c *Client) ServerRebuild(ctx context.Context, id string, body ServerRebuildJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerRebuild Rebuild server (reinstall image)
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers/{id}/rebuild (the `ServerRebuild` operationId).
func (*Client) ServerRebuildWithBody ¶
func (c *Client) ServerRebuildWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerRebuildWithBody Rebuild server (reinstall image)
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers/{id}/rebuild (the `ServerRebuild` operationId).
func (*Client) ServerRename ¶
func (c *Client) ServerRename(ctx context.Context, id string, body ServerRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerRename Rename server
Changes the display name and the hypervisor VM name. The guest's hostname stays as set at first boot.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/servers/{id} (the `ServerRename` operationId).
func (*Client) ServerRenameWithBody ¶
func (c *Client) ServerRenameWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerRenameWithBody Rename server
Changes the display name and the hypervisor VM name. The guest's hostname stays as set at first boot.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/servers/{id} (the `ServerRename` operationId).
func (*Client) ServerRescueEnter ¶
func (c *Client) ServerRescueEnter(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerRescueEnter Boot the server into rescue mode
Mounts the platform's live rescue image and restarts the server from it; the disks are left untouched. The first rescue on a host downloads the image, so it can take a few minutes. Resize, rebuild and restore are refused while rescue is active.
Corresponds with POST /v1/servers/{id}/rescue (the `ServerRescueEnter` operationId).
func (*Client) ServerRescueExit ¶
func (c *Client) ServerRescueExit(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerRescueExit Leave rescue mode
Ejects the rescue image and restarts the server from its own disk.
Corresponds with POST /v1/servers/{id}/rescue/exit (the `ServerRescueExit` operationId).
func (*Client) ServerResize ¶
func (c *Client) ServerResize(ctx context.Context, id string, body ServerResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerResize Change plan (upgrade)
Honest offline resize: a RAM/CPU change restarts the server; disk only grows. In monthly mode the difference for the remaining period is charged upfront.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers/{id}/resize (the `ServerResize` operationId).
func (*Client) ServerResizeWithBody ¶
func (c *Client) ServerResizeWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerResizeWithBody Change plan (upgrade)
Honest offline resize: a RAM/CPU change restarts the server; disk only grows. In monthly mode the difference for the remaining period is charged upfront.
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers/{id}/resize (the `ServerResize` operationId).
func (*Client) ServerSnapshotCreate ¶
func (c *Client) ServerSnapshotCreate(ctx context.Context, id string, body ServerSnapshotCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerSnapshotCreate Take a snapshot
Disk-only, crash-consistent. Billed per GB-hour at the disk size frozen at creation; max 5 per server.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/servers/{id}/snapshots (the `ServerSnapshotCreate` operationId).
func (*Client) ServerSnapshotCreateWithBody ¶
func (c *Client) ServerSnapshotCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerSnapshotCreateWithBody Take a snapshot
Disk-only, crash-consistent. Billed per GB-hour at the disk size frozen at creation; max 5 per server.
Takes any type of body and a specified content type.
Corresponds with POST /v1/servers/{id}/snapshots (the `ServerSnapshotCreate` operationId).
func (*Client) ServerSnapshotDelete ¶
func (c *Client) ServerSnapshotDelete(ctx context.Context, id string, snapshotId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerSnapshotDelete Delete a snapshot
Corresponds with DELETE /v1/servers/{id}/snapshots/{snapshotId} (the `ServerSnapshotDelete` operationId).
func (*Client) ServerSnapshotList ¶
func (c *Client) ServerSnapshotList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerSnapshotList Server snapshots
Corresponds with GET /v1/servers/{id}/snapshots (the `ServerSnapshotList` operationId).
func (*Client) ServerSnapshotListAll ¶
func (c *Client) ServerSnapshotListAll(ctx context.Context, params *ServerSnapshotListAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerSnapshotListAll All restorable snapshots (global snapshots page)
Corresponds with GET /v1/snapshots (the `ServerSnapshotListAll` operationId).
func (*Client) ServerSnapshotRestore ¶
func (c *Client) ServerSnapshotRestore(ctx context.Context, id string, snapshotId string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerSnapshotRestore Restore a snapshot
Rolls the disk back to the snapshot — the CURRENT disk state is lost. A running server is stopped and restarted.
Corresponds with POST /v1/servers/{id}/snapshots/{snapshotId}/restore (the `ServerSnapshotRestore` operationId).
func (*Client) ServerTagsSet ¶
func (c *Client) ServerTagsSet(ctx context.Context, id string, body ServerTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerTagsSet Replace server tags
Replaces the whole tag set. Tags group resources across projects: a server is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/servers/{id}/tags (the `ServerTagsSet` operationId).
func (*Client) ServerTagsSetWithBody ¶
func (c *Client) ServerTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerTagsSetWithBody Replace server tags
Replaces the whole tag set. Tags group resources across projects: a server is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/servers/{id}/tags (the `ServerTagsSet` operationId).
func (*Client) ServerUnmountISO ¶
func (c *Client) ServerUnmountISO(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
ServerUnmountISO Unmount ISO from server
Corresponds with POST /v1/servers/{id}/actions/unmount-iso (the `ServerUnmountISO` operationId).
func (*Client) ServersList ¶
func (c *Client) ServersList(ctx context.Context, params *ServersListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ServersList My servers
Paged. `total` counts the rows matching the filters; `summary` describes the whole organization and does not move as you page or search.
Corresponds with GET /v1/servers (the `ServersList` operationId).
func (*Client) SshKeyCreate ¶
func (c *Client) SshKeyCreate(ctx context.Context, params *SshKeyCreateParams, body SshKeyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
SshKeyCreate Add SSH key
Takes a body of the `application/json` content type.
Corresponds with POST /v1/ssh-keys (the `SshKeyCreate` operationId).
func (*Client) SshKeyCreateWithBody ¶
func (c *Client) SshKeyCreateWithBody(ctx context.Context, params *SshKeyCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SshKeyCreateWithBody Add SSH key
Takes any type of body and a specified content type.
Corresponds with POST /v1/ssh-keys (the `SshKeyCreate` operationId).
func (*Client) SshKeyDelete ¶
func (c *Client) SshKeyDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
SshKeyDelete Delete SSH key
Existing servers are unaffected (the key is embedded at provision time).
Corresponds with DELETE /v1/ssh-keys/{id} (the `SshKeyDelete` operationId).
func (*Client) SshKeyGet ¶
func (c *Client) SshKeyGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
SshKeyGet SSH key
Corresponds with GET /v1/ssh-keys/{id} (the `SshKeyGet` operationId).
func (*Client) SshKeysList ¶
func (c *Client) SshKeysList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
SshKeysList My SSH keys
Corresponds with GET /v1/ssh-keys (the `SshKeysList` operationId).
func (*Client) TagsList ¶
func (c *Client) TagsList(ctx context.Context, params *TagsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TagsList Tags in use
Every tag this organization has used, with how many resources carry it. Tags are created by using them: there is no endpoint that makes one, and one stops existing when the last resource drops it.
Corresponds with GET /v1/tags (the `TagsList` operationId).
func (*Client) TicketAttachmentDownload ¶
func (c *Client) TicketAttachmentDownload(ctx context.Context, code string, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
TicketAttachmentDownload Download a ticket attachment
Returns the raw bytes. Images are served inline so the panel can render them; everything else downloads.
Corresponds with GET /v1/tickets/{code}/attachments/{id} (the `TicketAttachmentDownload` operationId).
func (*Client) TicketClose ¶
func (c *Client) TicketClose(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
TicketClose Close a ticket
Corresponds with POST /v1/tickets/{code}/close (the `TicketClose` operationId).
func (*Client) TicketCreate ¶
func (c *Client) TicketCreate(ctx context.Context, body TicketCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TicketCreate Open a support ticket
Takes a body of the `application/json` content type.
Corresponds with POST /v1/tickets (the `TicketCreate` operationId).
func (*Client) TicketCreateWithBody ¶
func (c *Client) TicketCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TicketCreateWithBody Open a support ticket
Takes any type of body and a specified content type.
Corresponds with POST /v1/tickets (the `TicketCreate` operationId).
func (*Client) TicketGet ¶
func (c *Client) TicketGet(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
TicketGet Ticket detail with its conversation
Staff-only internal notes are filtered out in the query, not in the response mapping.
Corresponds with GET /v1/tickets/{code} (the `TicketGet` operationId).
func (*Client) TicketReopen ¶
func (c *Client) TicketReopen(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
TicketReopen Reopen a ticket (within 7 days)
Corresponds with POST /v1/tickets/{code}/reopen (the `TicketReopen` operationId).
func (*Client) TicketReply ¶
func (c *Client) TicketReply(ctx context.Context, code string, body TicketReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
TicketReply Reply to a ticket
Takes a body of the `application/json` content type.
Corresponds with POST /v1/tickets/{code}/messages (the `TicketReply` operationId).
func (*Client) TicketReplyWithBody ¶
func (c *Client) TicketReplyWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TicketReplyWithBody Reply to a ticket
Takes any type of body and a specified content type.
Corresponds with POST /v1/tickets/{code}/messages (the `TicketReply` operationId).
func (*Client) TicketsList ¶
func (c *Client) TicketsList(ctx context.Context, params *TicketsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
TicketsList List support tickets
Corresponds with GET /v1/tickets (the `TicketsList` operationId).
func (*Client) VolumeAttach ¶
func (c *Client) VolumeAttach(ctx context.Context, id string, body VolumeAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeAttach Attach a volume
Hotplug — works on a running server. Blocked while the server has snapshots (409). With automount the volume is mounted in the guest and pinned in fstab; a volume that carries no filesystem yet cannot be automounted, because attaching never formats.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/volumes/{id}/attach (the `VolumeAttach` operationId).
func (*Client) VolumeAttachWithBody ¶
func (c *Client) VolumeAttachWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeAttachWithBody Attach a volume
Hotplug — works on a running server. Blocked while the server has snapshots (409). With automount the volume is mounted in the guest and pinned in fstab; a volume that carries no filesystem yet cannot be automounted, because attaching never formats.
Takes any type of body and a specified content type.
Corresponds with POST /v1/volumes/{id}/attach (the `VolumeAttach` operationId).
func (*Client) VolumeCreate ¶
func (c *Client) VolumeCreate(ctx context.Context, params *VolumeCreateParams, body VolumeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeCreate Create a volume
Billed per GB-hour at provisioned size from creation to deletion, regardless of attach state. Size band, count and total capacity are operator policy with per-account and per-organization overrides — read GET /v1/volumes/limits rather than assuming. Max 5 attached per server. With fs_type + automount the volume arrives formatted and mounted; without them it is a raw block device.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/volumes (the `VolumeCreate` operationId).
func (*Client) VolumeCreateWithBody ¶
func (c *Client) VolumeCreateWithBody(ctx context.Context, params *VolumeCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeCreateWithBody Create a volume
Billed per GB-hour at provisioned size from creation to deletion, regardless of attach state. Size band, count and total capacity are operator policy with per-account and per-organization overrides — read GET /v1/volumes/limits rather than assuming. Max 5 attached per server. With fs_type + automount the volume arrives formatted and mounted; without them it is a raw block device.
Takes any type of body and a specified content type.
Corresponds with POST /v1/volumes (the `VolumeCreate` operationId).
func (*Client) VolumeDelete ¶
func (c *Client) VolumeDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeDelete Delete a volume
Detached volumes only — detach first. The disk and its data are destroyed.
Corresponds with DELETE /v1/volumes/{id} (the `VolumeDelete` operationId).
func (*Client) VolumeDetach ¶
func (c *Client) VolumeDetach(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeDetach Detach a volume
Hot-detach — unmount inside the guest first; the data stays on the volume.
Corresponds with POST /v1/volumes/{id}/detach (the `VolumeDetach` operationId).
func (*Client) VolumeGet ¶
func (c *Client) VolumeGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeGet Volume detail
Corresponds with GET /v1/volumes/{id} (the `VolumeGet` operationId).
func (*Client) VolumeLimits ¶
func (c *Client) VolumeLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeLimits Volume limits and remaining allowance
The size band and what is left of the count and capacity quotas, narrowed to whichever of the account and organization ceilings binds first. A hint: the create path re-derives these under lock, so a concurrent create can still refuse a size this reported.
Corresponds with GET /v1/volumes/limits (the `VolumeLimits` operationId).
func (*Client) VolumeList ¶
func (c *Client) VolumeList(ctx context.Context, params *VolumeListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeList Volumes
Corresponds with GET /v1/volumes (the `VolumeList` operationId).
func (*Client) VolumeProjectSet ¶
func (c *Client) VolumeProjectSet(ctx context.Context, id string, body VolumeProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeProjectSet Move volume to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type.
Corresponds with PATCH /v1/volumes/{id}/project (the `VolumeProjectSet` operationId).
func (*Client) VolumeProjectSetWithBody ¶
func (c *Client) VolumeProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeProjectSetWithBody Move volume to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type.
Corresponds with PATCH /v1/volumes/{id}/project (the `VolumeProjectSet` operationId).
func (*Client) VolumeResize ¶
func (c *Client) VolumeResize(ctx context.Context, id string, body VolumeResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeResize Grow a volume
Grow only, online (works while attached). Enlarge the filesystem inside the guest afterwards.
Takes a body of the `application/json` content type.
Corresponds with POST /v1/volumes/{id}/resize (the `VolumeResize` operationId).
func (*Client) VolumeResizeWithBody ¶
func (c *Client) VolumeResizeWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeResizeWithBody Grow a volume
Grow only, online (works while attached). Enlarge the filesystem inside the guest afterwards.
Takes any type of body and a specified content type.
Corresponds with POST /v1/volumes/{id}/resize (the `VolumeResize` operationId).
func (*Client) VolumeTagsSet ¶
func (c *Client) VolumeTagsSet(ctx context.Context, id string, body VolumeTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeTagsSet Replace volume tags
Replaces the whole tag set. Tags group resources across projects: a volume is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type.
Corresponds with PUT /v1/volumes/{id}/tags (the `VolumeTagsSet` operationId).
func (*Client) VolumeTagsSetWithBody ¶
func (c *Client) VolumeTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
VolumeTagsSetWithBody Replace volume tags
Replaces the whole tag set. Tags group resources across projects: a volume is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type.
Corresponds with PUT /v1/volumes/{id}/tags (the `VolumeTagsSet` operationId).
func (*Client) WalletGet ¶
func (c *Client) WalletGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
WalletGet Wallet status
Corresponds with GET /v1/wallet (the `WalletGet` operationId).
func (*Client) WalletLedgerDaily ¶
func (c *Client) WalletLedgerDaily(ctx context.Context, params *WalletLedgerDailyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WalletLedgerDaily Daily wallet movement totals
In/out totals per day over the requested window, for the wallet chart.
Corresponds with GET /v1/wallet/ledger/daily (the `WalletLedgerDaily` operationId).
func (*Client) WalletLedgerList ¶
func (c *Client) WalletLedgerList(ctx context.Context, params *WalletLedgerListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
WalletLedgerList Wallet ledger entries
Paged, newest first. `total` counts what the filter matched; `summary` describes the whole wallet.
Corresponds with GET /v1/wallet/ledger (the `WalletLedgerList` operationId).
func (*Client) WalletPromoRedeem ¶
func (c *Client) WalletPromoRedeem(ctx context.Context, body WalletPromoRedeemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
WalletPromoRedeem Redeem a promo code
Takes a body of the `application/json` content type.
Corresponds with POST /v1/wallet/promo (the `WalletPromoRedeem` operationId).
func (*Client) WalletPromoRedeemWithBody ¶
func (c *Client) WalletPromoRedeemWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WalletPromoRedeemWithBody Redeem a promo code
Takes any type of body and a specified content type.
Corresponds with POST /v1/wallet/promo (the `WalletPromoRedeem` operationId).
func (*Client) WalletPromoRedemptions ¶
func (c *Client) WalletPromoRedemptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
WalletPromoRedemptions Promo codes this organization has redeemed
Corresponds with GET /v1/wallet/promo (the `WalletPromoRedemptions` operationId).
type ClientBody ¶ added in v0.2.0
type ClientBody struct {
Id string `json:"id"`
LogoUri *string `json:"logo_uri,omitempty"`
Name string `json:"name"`
Uri *string `json:"uri,omitempty"`
Verified bool `json:"verified"`
}
ClientBody defines model for ClientBody.
type ClientInterface ¶
type ClientInterface interface {
// AccountGet Current authenticated user
//
// Corresponds with GET /v1/account (the `AccountGet` operationId).
AccountGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountUpdateWithBody Update account preferences
//
// The panel language, the display name and where the customer is (timezone, country); send only what changes. The full user object is returned so the client can refresh its cache in one round trip.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/account (the `AccountUpdate` operationId).
AccountUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountUpdate Update account preferences
//
// The panel language, the display name and where the customer is (timezone, country); send only what changes. The full user object is returned so the client can refresh its cache in one round trip.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/account (the `AccountUpdate` operationId).
AccountUpdate(ctx context.Context, body AccountUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApiTokensList My API tokens
//
// The secret itself is shown once, at creation, and is not retrievable afterwards.
//
// Corresponds with GET /v1/account/api-tokens (the `ApiTokensList` operationId).
ApiTokensList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApiTokenCreateWithBody Create an API token
//
// The token acts as you, in your active organization, limited to the scopes you pick. The secret is shown once.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/account/api-tokens (the `ApiTokenCreate` operationId).
ApiTokenCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApiTokenCreate Create an API token
//
// The token acts as you, in your active organization, limited to the scopes you pick. The secret is shown once.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/account/api-tokens (the `ApiTokenCreate` operationId).
ApiTokenCreate(ctx context.Context, body ApiTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApiTokenRevoke Revoke an API token
//
// Takes effect on the next request; there is no cached copy anywhere.
//
// Corresponds with DELETE /v1/account/api-tokens/{id} (the `ApiTokenRevoke` operationId).
ApiTokenRevoke(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountBillingProfileGet Invoice details
//
// 404 when nothing has been saved yet — the panel treats that as 'not filled in', not as an error.
//
// Corresponds with GET /v1/account/billing-profile (the `AccountBillingProfileGet` operationId).
AccountBillingProfileGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountBillingProfileSaveWithBody Save invoice details
//
// Required before the first top-up. Editing later does NOT change already-issued invoices — each payment carries its own frozen copy.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/account/billing-profile (the `AccountBillingProfileSave` operationId).
AccountBillingProfileSaveWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountBillingProfileSave Save invoice details
//
// Required before the first top-up. Editing later does NOT change already-issued invoices — each payment carries its own frozen copy.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/account/billing-profile (the `AccountBillingProfileSave` operationId).
AccountBillingProfileSave(ctx context.Context, body AccountBillingProfileSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectedAppsList Applications connected to my account
//
// Every application that holds a live authorization, what it may do, and when it last used it.
//
// Corresponds with GET /v1/account/connected-apps (the `ConnectedAppsList` operationId).
ConnectedAppsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectedAppRevoke Disconnect an application
//
// The consent is withdrawn and the token it holds stops working immediately, not at its own expiry.
//
// Corresponds with DELETE /v1/account/connected-apps/{id} (the `ConnectedAppRevoke` operationId).
ConnectedAppRevoke(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountDeletionCancel Cancel a scheduled deletion
//
// Corresponds with DELETE /v1/account/deletion (the `AccountDeletionCancel` operationId).
AccountDeletionCancel(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountDeletionGet Whether the account can be closed, and whether it is closing
//
// Rendered before the button is offered, so the customer sees what to clear rather than a refusal after the fact.
//
// Corresponds with GET /v1/account/deletion (the `AccountDeletionGet` operationId).
AccountDeletionGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountDeletionRequestWithBody Ask for the account to be deleted
//
// Schedules erasure 30 days out and mails the account. Sign-in stays open the whole time so the request can be cancelled; what stops is creating anything new.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/account/deletion (the `AccountDeletionRequest` operationId).
AccountDeletionRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountDeletionRequest Ask for the account to be deleted
//
// Schedules erasure 30 days out and mails the account. Sign-in stays open the whole time so the request can be cancelled; what stops is creating anything new.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/account/deletion (the `AccountDeletionRequest` operationId).
AccountDeletionRequest(ctx context.Context, body AccountDeletionRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountEmailChangeStartWithBody Start changing the sign-in address
//
// Sends a confirmation link to the NEW address and a security notice to the current one. Nothing changes until the link is opened; confirming closes every open session.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/account/email (the `AccountEmailChangeStart` operationId).
AccountEmailChangeStartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountEmailChangeStart Start changing the sign-in address
//
// Sends a confirmation link to the NEW address and a security notice to the current one. Nothing changes until the link is opened; confirming closes every open session.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/account/email (the `AccountEmailChangeStart` operationId).
AccountEmailChangeStart(ctx context.Context, body AccountEmailChangeStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountExport Download a copy of the data held about this account
//
// Account, linked sign-in methods, SSH key fingerprints, organizations, billing profiles, payments, resources and support tickets. Server contents, the audit log and credentials are deliberately not included; the response says so in its own `note`.
//
// Corresponds with GET /v1/account/export (the `AccountExport` operationId).
AccountExport(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountIdentitiesList Linked social accounts
//
// Corresponds with GET /v1/account/identities (the `AccountIdentitiesList` operationId).
AccountIdentitiesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountIdentityUnlink Unlink a social account
//
// Refused when it would remove the only way into the account (no password and no other provider).
//
// Corresponds with DELETE /v1/account/identities/{provider} (the `AccountIdentityUnlink` operationId).
AccountIdentityUnlink(ctx context.Context, provider AccountIdentityUnlinkParamsProvider, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountOnboardingComplete Complete onboarding
//
// Onboarding step two, after the invoice details are saved. Refused with 409 ORGANIZATION_REQUIRED before the account belongs to an organization, and with 409 BILLING_PROFILE_REQUIRED while the organization the caller owns has no invoice details. Repeating it is harmless: the first completion time is kept.
//
// Corresponds with POST /v1/account/onboarding (the `AccountOnboardingComplete` operationId).
AccountOnboardingComplete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountChangePasswordWithBody Change password
//
// Verifies the current password, writes the new one, and terminates all sessions except the current one.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/account/password (the `AccountChangePassword` operationId).
AccountChangePasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountChangePassword Change password
//
// Verifies the current password, writes the new one, and terminates all sessions except the current one.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/account/password (the `AccountChangePassword` operationId).
AccountChangePassword(ctx context.Context, body AccountChangePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountPhoneDelete Remove the verified phone
//
// Clears the number and releases it, so its next owner can verify it on their own account. If phone verification is required, the account returns to unverified.
//
// Corresponds with DELETE /v1/account/phone (the `AccountPhoneDelete` operationId).
AccountPhoneDelete(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountPhoneGet Phone verification status
//
// The account's verified number, and any number still waiting on a code.
//
// Corresponds with GET /v1/account/phone (the `AccountPhoneGet` operationId).
AccountPhoneGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountPhoneStartWithBody Send a phone verification code
//
// Validates the number, resolves its SMS provider and texts a 6-digit code valid for 5 minutes. Rate limited per account, per number and per deployment.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/account/phone (the `AccountPhoneStart` operationId).
AccountPhoneStartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountPhoneStart Send a phone verification code
//
// Validates the number, resolves its SMS provider and texts a 6-digit code valid for 5 minutes. Rate limited per account, per number and per deployment.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/account/phone (the `AccountPhoneStart` operationId).
AccountPhoneStart(ctx context.Context, body AccountPhoneStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountPhoneResend Resend the phone verification code
//
// Re-issues a code for the number already waiting. Takes no number, so a reload cannot resend to a different one than the page shows. Same rate limits as the first send.
//
// Corresponds with POST /v1/account/phone/resend (the `AccountPhoneResend` operationId).
AccountPhoneResend(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountPhoneVerifyWithBody Verify the phone code
//
// Consumes the code and writes the number onto the account. Five wrong attempts retire the challenge, correct code included.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/account/phone/verify (the `AccountPhoneVerify` operationId).
AccountPhoneVerifyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountPhoneVerify Verify the phone code
//
// Consumes the code and writes the number onto the account. Five wrong attempts retire the challenge, correct code included.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/account/phone/verify (the `AccountPhoneVerify` operationId).
AccountPhoneVerify(ctx context.Context, body AccountPhoneVerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountSupportAccess When the support team opened this account
//
// One row per staff-opened session, newest first.
//
// Corresponds with GET /v1/account/support-access (the `AccountSupportAccess` operationId).
AccountSupportAccess(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountTotpStatus Two-factor status
//
// Corresponds with GET /v1/account/totp (the `AccountTotpStatus` operationId).
AccountTotpStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountTotpConfirmWithBody Confirm and enable two-factor
//
// Returns the recovery codes. They are displayed once and cannot be retrieved later — only regenerated.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/account/totp/confirm (the `AccountTotpConfirm` operationId).
AccountTotpConfirmWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountTotpConfirm Confirm and enable two-factor
//
// Returns the recovery codes. They are displayed once and cannot be retrieved later — only regenerated.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/account/totp/confirm (the `AccountTotpConfirm` operationId).
AccountTotpConfirm(ctx context.Context, body AccountTotpConfirmJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountTotpDisableWithBody Disable two-factor
//
// Requires a current authenticator or recovery code — a session alone is not enough to remove the factor that protects it.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/account/totp/disable (the `AccountTotpDisable` operationId).
AccountTotpDisableWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountTotpDisable Disable two-factor
//
// Requires a current authenticator or recovery code — a session alone is not enough to remove the factor that protects it.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/account/totp/disable (the `AccountTotpDisable` operationId).
AccountTotpDisable(ctx context.Context, body AccountTotpDisableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountTotpRecoveryCodesWithBody Regenerate recovery codes
//
// Invalidates every outstanding recovery code and issues a new set.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/account/totp/recovery-codes (the `AccountTotpRecoveryCodes` operationId).
AccountTotpRecoveryCodesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountTotpRecoveryCodes Regenerate recovery codes
//
// Invalidates every outstanding recovery code and issues a new set.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/account/totp/recovery-codes (the `AccountTotpRecoveryCodes` operationId).
AccountTotpRecoveryCodes(ctx context.Context, body AccountTotpRecoveryCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountTotpSetupWithBody Begin two-factor setup
//
// Generates a secret and stores it disabled. 2FA only becomes active once /v1/account/totp/confirm accepts a code from the authenticator. Accounts with a password must re-confirm it here.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/account/totp/setup (the `AccountTotpSetup` operationId).
AccountTotpSetupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountTotpSetup Begin two-factor setup
//
// Generates a secret and stores it disabled. 2FA only becomes active once /v1/account/totp/confirm accepts a code from the authenticator. Accounts with a password must re-confirm it here.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/account/totp/setup (the `AccountTotpSetup` operationId).
AccountTotpSetup(ctx context.Context, body AccountTotpSetupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnnouncementsList My announcements
//
// Corresponds with GET /v1/announcements (the `AnnouncementsList` operationId).
AnnouncementsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnnouncementBannerGet Highest priority active banner
//
// Corresponds with GET /v1/announcements/banner (the `AnnouncementBannerGet` operationId).
AnnouncementBannerGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnnouncementsGet Announcement detail and mark read
//
// Corresponds with GET /v1/announcements/{id} (the `AnnouncementsGet` operationId).
AnnouncementsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AnnouncementBannerDismiss Dismiss announcement banner
//
// Corresponds with POST /v1/announcements/{id}/dismiss-banner (the `AnnouncementBannerDismiss` operationId).
AnnouncementBannerDismiss(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppPlansList App plans
//
// The container plans an app can be created on, with the monthly price already converted to the asking organization's currency. A separate catalog from /v1/plans on purpose: a container has no disk or bandwidth tier, and a server plan is not something an app can run on.
//
// Corresponds with GET /v1/app-plans (the `AppPlansList` operationId).
AppPlansList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppPresetsList Build presets
//
// The stacks the platform can write a Dockerfile for, so a repository that carries none can still be deployed. Choosing one is the `preset` builder; the default builder still expects a Dockerfile in the repository.
//
// Corresponds with GET /v1/app-presets (the `AppPresetsList` operationId).
AppPresetsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppsList My apps
//
// Paged. `summary` describes the whole organization and does not move as you page.
//
// Corresponds with GET /v1/apps (the `AppsList` operationId).
AppsList(ctx context.Context, params *AppsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppCreateWithBody Create app
//
// Places the app on a node in the chosen region, charges the first month and starts it. Placement and payment happen in the same transaction, so a create either has a machine and a paid month or fails with NO_CAPACITY / INSUFFICIENT_BALANCE — it is never queued and never half-done.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/apps (the `AppCreate` operationId).
AppCreateWithBody(ctx context.Context, params *AppCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppCreate Create app
//
// Places the app on a node in the chosen region, charges the first month and starts it. Placement and payment happen in the same transaction, so a create either has a machine and a paid month or fails with NO_CAPACITY / INSUFFICIENT_BALANCE — it is never queued and never half-done.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/apps (the `AppCreate` operationId).
AppCreate(ctx context.Context, params *AppCreateParams, body AppCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppDetectBuild Guess how a repository is built
//
// Reads the listing at the build directory and at most one manifest, and suggests a builder for the create form. A suggestion only: nothing is written and every field stays editable.
//
// Corresponds with GET /v1/apps/detect (the `AppDetectBuild` operationId).
AppDetectBuild(ctx context.Context, params *AppDetectBuildParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppAttachmentsList Databases attached to the app
//
// Corresponds with GET /v1/apps/{appCode}/attachments (the `AppAttachmentsList` operationId).
AppAttachmentsList(ctx context.Context, appCode string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppAttachmentCreateWithBody Attach a managed database
//
// Creates a dedicated database user for the app and injects the connection variables into its environment. The app restarts with the new variables.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/apps/{appCode}/attachments (the `AppAttachmentCreate` operationId).
AppAttachmentCreateWithBody(ctx context.Context, appCode string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppAttachmentCreate Attach a managed database
//
// Creates a dedicated database user for the app and injects the connection variables into its environment. The app restarts with the new variables.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/apps/{appCode}/attachments (the `AppAttachmentCreate` operationId).
AppAttachmentCreate(ctx context.Context, appCode string, body AppAttachmentCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppAttachmentDelete Detach a managed database
//
// Removes the injected variables (the app restarts) and drops the app's database user. The data is untouched.
//
// Corresponds with DELETE /v1/apps/{appCode}/attachments/{attachmentID} (the `AppAttachmentDelete` operationId).
AppAttachmentDelete(ctx context.Context, appCode string, attachmentID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppAttachmentVerify Re-check an attachment's connectivity
//
// Queues a TCP connect to the endpoint the app's injected URL names, run from the app's own network on its node. The result appears as probe_state on the attachment.
//
// Corresponds with POST /v1/apps/{appCode}/attachments/{attachmentID}/verify (the `AppAttachmentVerify` operationId).
AppAttachmentVerify(ctx context.Context, appCode string, attachmentID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppDelete Delete app
//
// Corresponds with DELETE /v1/apps/{code} (the `AppDelete` operationId).
AppDelete(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppGet App detail
//
// Corresponds with GET /v1/apps/{code} (the `AppGet` operationId).
AppGet(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppActionWithBody Start, stop or restart an app
//
// Writes the desired state and returns immediately. The node's agent converges within a second; poll the app to see `observed_state` follow. `restart` is rolling: the replacement starts beside the incumbent and traffic moves only once it answers.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/apps/{code}/action (the `AppAction` operationId).
AppActionWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppAction Start, stop or restart an app
//
// Writes the desired state and returns immediately. The node's agent converges within a second; poll the app to see `observed_state` follow. `restart` is rolling: the replacement starts beside the incumbent and traffic moves only once it answers.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/apps/{code}/action (the `AppAction` operationId).
AppAction(ctx context.Context, code string, body AppActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppAutoDeploySetWithBody Deploy on every push
//
// When on, a push to the app's branch queues a build by itself. Off by default: connecting a repository is not the same as asking for every commit to reach production. Requires an app created from a repository.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/apps/{code}/auto-deploy (the `AppAutoDeploySet` operationId).
AppAutoDeploySetWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppAutoDeploySet Deploy on every push
//
// When on, a push to the app's branch queues a build by itself. Off by default: connecting a repository is not the same as asking for every commit to reach production. Requires an app created from a repository.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/apps/{code}/auto-deploy (the `AppAutoDeploySet` operationId).
AppAutoDeploySet(ctx context.Context, code string, body AppAutoDeploySetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppBuildsList Build history
//
// Corresponds with GET /v1/apps/{code}/builds (the `AppBuildsList` operationId).
AppBuildsList(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppBuildCreateWithBody Build from a repository
//
// Queues a build with the app's own build configuration and build-phase variables. The node's agent fetches the source, builds it with BuildKit, pushes the image to the region's registry and — on success — points the app at it, which rolls the container forward on the next cycle. One build at a time per app. The deploy scope builds the app's own repository, at its stored ref or another one; building a different repository answers 403 (ORGANIZATION_ROLE_FORBIDDEN or TOKEN_SCOPE_FORBIDDEN) unless the caller could change the app's source. To change the repository, subdirectory or Dockerfile path for good, use PUT /v1/apps/{code}/source first.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/apps/{code}/builds (the `AppBuildCreate` operationId).
AppBuildCreateWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppBuildCreate Build from a repository
//
// Queues a build with the app's own build configuration and build-phase variables. The node's agent fetches the source, builds it with BuildKit, pushes the image to the region's registry and — on success — points the app at it, which rolls the container forward on the next cycle. One build at a time per app. The deploy scope builds the app's own repository, at its stored ref or another one; building a different repository answers 403 (ORGANIZATION_ROLE_FORBIDDEN or TOKEN_SCOPE_FORBIDDEN) unless the caller could change the app's source. To change the repository, subdirectory or Dockerfile path for good, use PUT /v1/apps/{code}/source first.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/apps/{code}/builds (the `AppBuildCreate` operationId).
AppBuildCreate(ctx context.Context, code string, body AppBuildCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppBuildGet Build detail with log
//
// The log survives the build: it is stored with the row, not streamed and forgotten.
//
// Corresponds with GET /v1/apps/{code}/builds/{id} (the `AppBuildGet` operationId).
AppBuildGet(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppBuildCancel Cancel a build
//
// Stops a queued build immediately; a running build is asked to stop and reports `canceled` once the node confirms. With one build at a time per app, this is how a bad deploy stops blocking the next one instead of holding it for the full build timeout.
//
// Corresponds with POST /v1/apps/{code}/builds/{id}/cancel (the `AppBuildCancel` operationId).
AppBuildCancel(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppDomainsList Custom domains of an app
//
// Corresponds with GET /v1/apps/{code}/domains (the `AppDomainsList` operationId).
AppDomainsList(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppDomainAddWithBody Attach a custom domain
//
// Records the claim and returns the DNS records to create. Nothing is routed until `appDomainVerify` finds the TXT record, which is what stops one customer from claiming another's hostname. An unverified claim reserves the hostname for seven days (`claim_expires_at`); after that another organization's claim releases it. A claim on a deleted app is released with the app.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/apps/{code}/domains (the `AppDomainAdd` operationId).
AppDomainAddWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppDomainAdd Attach a custom domain
//
// Records the claim and returns the DNS records to create. Nothing is routed until `appDomainVerify` finds the TXT record, which is what stops one customer from claiming another's hostname. An unverified claim reserves the hostname for seven days (`claim_expires_at`); after that another organization's claim releases it. A claim on a deleted app is released with the app.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/apps/{code}/domains (the `AppDomainAdd` operationId).
AppDomainAdd(ctx context.Context, code string, body AppDomainAddJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppDomainDelete Detach a custom domain
//
// Stops serving the hostname. Point its DNS somewhere else too: a record still aimed here after this call is what subdomain takeover attempts look for.
//
// Corresponds with DELETE /v1/apps/{code}/domains/{domainID} (the `AppDomainDelete` operationId).
AppDomainDelete(ctx context.Context, code string, domainID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppDomainVerify Check the ownership record
//
// Reads the TXT record from the hostname's own nameservers, not from a public resolver, so a record added seconds ago is seen immediately. On success the edge starts serving the hostname within about a second.
//
// Corresponds with POST /v1/apps/{code}/domains/{domainID}/verify (the `AppDomainVerify` operationId).
AppDomainVerify(ctx context.Context, code string, domainID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppEnvGet Environment variables
//
// Returns the decrypted values. The read is written to the audit log, so treat it as a deliberate action rather than something to poll.
//
// Corresponds with GET /v1/apps/{code}/env (the `AppEnvGet` operationId).
AppEnvGet(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppEnvSetWithBody Replace environment variables
//
// Stores the values encrypted. Run-phase changes recreate the container on the next agent cycle, about a second later, with no separate apply step. Build-phase changes reach nothing running: they decide what the NEXT build is given.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/apps/{code}/env (the `AppEnvSet` operationId).
AppEnvSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppEnvSet Replace environment variables
//
// Stores the values encrypted. Run-phase changes recreate the container on the next agent cycle, about a second later, with no separate apply step. Build-phase changes reach nothing running: they decide what the NEXT build is given.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/apps/{code}/env (the `AppEnvSet` operationId).
AppEnvSet(ctx context.Context, code string, body AppEnvSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppEventsList App activity feed
//
// Corresponds with GET /v1/apps/{code}/events (the `AppEventsList` operationId).
AppEventsList(ctx context.Context, code string, params *AppEventsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppExecStartWithBody Open a shell or follow the logs
//
// Mints a single-use token for an interactive session. The browser dials /v1/apps/exec/ws offering [exec.v1, <token>]; the node's agent attaches from its side, normally within a second. Opening and closing are both recorded in the audit log.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/apps/{code}/exec (the `AppExecStart` operationId).
AppExecStartWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppExecStart Open a shell or follow the logs
//
// Mints a single-use token for an interactive session. The browser dials /v1/apps/exec/ws offering [exec.v1, <token>]; the node's agent attaches from its side, normally within a second. Opening and closing are both recorded in the audit log.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/apps/{code}/exec (the `AppExecStart` operationId).
AppExecStart(ctx context.Context, code string, body AppExecStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppLogsRequestWithBody Ask for the app's recent output
//
// Queues a request for the tail of the running container's log. The node answers on its next cycle, normally within a second; poll the returned id. Reading application output is recorded in the audit log.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/apps/{code}/logs (the `AppLogsRequest` operationId).
AppLogsRequestWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppLogsRequest Ask for the app's recent output
//
// Queues a request for the tail of the running container's log. The node answers on its next cycle, normally within a second; poll the returned id. Reading application output is recorded in the audit log.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/apps/{code}/logs (the `AppLogsRequest` operationId).
AppLogsRequest(ctx context.Context, code string, body AppLogsRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppLogsGet Read the answer to a log request
//
// Corresponds with GET /v1/apps/{code}/logs/{id} (the `AppLogsGet` operationId).
AppLogsGet(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppMetrics Resource usage (CPU, memory, network)
//
// Corresponds with GET /v1/apps/{code}/metrics (the `AppMetrics` operationId).
AppMetrics(ctx context.Context, code string, params *AppMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppProjectSetWithBody Move app to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/apps/{code}/project (the `AppProjectSet` operationId).
AppProjectSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppProjectSet Move app to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/apps/{code}/project (the `AppProjectSet` operationId).
AppProjectSet(ctx context.Context, code string, body AppProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppReleasesList Release history
//
// What this app has served, newest first, with the commit each version came from where there was one.
//
// Corresponds with GET /v1/apps/{code}/releases (the `AppReleasesList` operationId).
AppReleasesList(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppResizeWithBody Resize an app
//
// Moves the app to another plan and returns immediately; the container is replaced with the new limits through the rolling cutover. An upgrade is charged upfront for the days left in the prepaid month; a downgrade takes effect at the next renewal. Same-node only: NO_CAPACITY when the node cannot fit the growth.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/apps/{code}/resize (the `AppResize` operationId).
AppResizeWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppResize Resize an app
//
// Moves the app to another plan and returns immediately; the container is replaced with the new limits through the rolling cutover. An upgrade is charged upfront for the days left in the prepaid month; a downgrade takes effect at the next renewal. Same-node only: NO_CAPACITY when the node cannot fit the growth.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/apps/{code}/resize (the `AppResize` operationId).
AppResize(ctx context.Context, code string, body AppResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppRollbackWithBody Roll back to a previous release
//
// Points the app at the image an earlier release ran. Nothing is rebuilt, so recovery takes as long as a container start; the current version keeps serving until the restored one answers. The rollback is itself a new release, so the history stays append-only and the number the customer is on always moves forward.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/apps/{code}/rollback (the `AppRollback` operationId).
AppRollbackWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppRollback Roll back to a previous release
//
// Points the app at the image an earlier release ran. Nothing is rebuilt, so recovery takes as long as a container start; the current version keeps serving until the restored one answers. The rollback is itself a new release, so the history stays append-only and the number the customer is on always moves forward.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/apps/{code}/rollback (the `AppRollback` operationId).
AppRollback(ctx context.Context, code string, body AppRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppScaleWithBody Set the replica range
//
// Sets how many containers may run. The platform picks the number inside the range from CPU load; setting the minimum equal to the maximum pins it. Capacity is reserved for the MAXIMUM, so a range whose ceiling does not fit the node answers NO_CAPACITY. Same-node only.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/apps/{code}/scale (the `AppScale` operationId).
AppScaleWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppScale Set the replica range
//
// Sets how many containers may run. The platform picks the number inside the range from CPU load; setting the minimum equal to the maximum pins it. Capacity is reserved for the MAXIMUM, so a range whose ceiling does not fit the node answers NO_CAPACITY. Same-node only.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/apps/{code}/scale (the `AppScale` operationId).
AppScale(ctx context.Context, code string, body AppScaleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppUpdateWithBody Change app settings
//
// Sends the whole editable set. A port or start-command change produces a new container; the running one keeps serving until the replacement answers. Changing the start command needs the organization admin or owner role, because it runs with the app's environment; a member sends it back unchanged. Memory and CPU are not here — those are a capacity reservation and change through a resize.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/apps/{code}/settings (the `AppUpdate` operationId).
AppUpdateWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppUpdate Change app settings
//
// Sends the whole editable set. A port or start-command change produces a new container; the running one keeps serving until the replacement answers. Changing the start command needs the organization admin or owner role, because it runs with the app's environment; a member sends it back unchanged. Memory and CPU are not here — those are a capacity reservation and change through a resize.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/apps/{code}/settings (the `AppUpdate` operationId).
AppUpdate(ctx context.Context, code string, body AppUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppSourceSetWithBody Change the app's repository
//
// Repoints the app at a different repository, branch, connection or build configuration. Queues NO build — changing where the code comes from and deciding to ship it are two decisions. The next deploy uses the new source.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/apps/{code}/source (the `AppSourceSet` operationId).
AppSourceSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppSourceSet Change the app's repository
//
// Repoints the app at a different repository, branch, connection or build configuration. Queues NO build — changing where the code comes from and deciding to ship it are two decisions. The next deploy uses the new source.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/apps/{code}/source (the `AppSourceSet` operationId).
AppSourceSet(ctx context.Context, code string, body AppSourceSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppTagsSetWithBody Replace app tags
//
// Replaces the whole tag set. Tags group resources across projects: a app is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/apps/{code}/tags (the `AppTagsSet` operationId).
AppTagsSetWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AppTagsSet Replace app tags
//
// Replaces the whole tag set. Tags group resources across projects: a app is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/apps/{code}/tags (the `AppTagsSet` operationId).
AppTagsSet(ctx context.Context, code string, body AppTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthImpersonateWithBody Exchange a staff impersonation grant for a session
//
// Consumes a single-use grant minted in the admin panel and sets a customer session cookie carrying the staff member's identity. The grant dies on first use; expired, already-used and unknown grants are one refusal. The session is short-lived and every request from it is recorded against the customer, with the join back to the staff member in the audit log.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/impersonate (the `AuthImpersonate` operationId).
AuthImpersonateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthImpersonate Exchange a staff impersonation grant for a session
//
// Consumes a single-use grant minted in the admin panel and sets a customer session cookie carrying the staff member's identity. The grant dies on first use; expired, already-used and unknown grants are one refusal. The session is short-lived and every request from it is recorded against the customer, with the join back to the staff member in the audit log.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/impersonate (the `AuthImpersonate` operationId).
AuthImpersonate(ctx context.Context, body AuthImpersonateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthLoginWithBody Log in
//
// On success a session cookie is set. If the account has 2FA enabled the response is `mfa_required` with a short-lived challenge cookie instead — no session exists until POST /v1/auth/mfa succeeds. Repeated failures put the address into a growing backoff window (429); the window applies to unregistered addresses too, so it reveals nothing about which accounts exist.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/login (the `AuthLogin` operationId).
AuthLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthLogin Log in
//
// On success a session cookie is set. If the account has 2FA enabled the response is `mfa_required` with a short-lived challenge cookie instead — no session exists until POST /v1/auth/mfa succeeds. Repeated failures put the address into a growing backoff window (429); the window applies to unregistered addresses too, so it reveals nothing about which accounts exist.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/login (the `AuthLogin` operationId).
AuthLogin(ctx context.Context, body AuthLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthLogout Log out
//
// Corresponds with POST /v1/auth/logout (the `AuthLogout` operationId).
AuthLogout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthMfaVerifyWithBody Complete login with a second factor
//
// Consumes the challenge cookie from the login step. At most 5 attempts per challenge; the challenge expires after 10 minutes.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/mfa (the `AuthMfaVerify` operationId).
AuthMfaVerifyWithBody(ctx context.Context, params *AuthMfaVerifyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthMfaVerify Complete login with a second factor
//
// Consumes the challenge cookie from the login step. At most 5 attempts per challenge; the challenge expires after 10 minutes.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/mfa (the `AuthMfaVerify` operationId).
AuthMfaVerify(ctx context.Context, params *AuthMfaVerifyParams, body AuthMfaVerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthOauthProviders Configured social sign-in providers
//
// The panel renders one button per entry, so an unconfigured provider never shows a dead button.
//
// Corresponds with GET /v1/auth/oauth/providers (the `AuthOauthProviders` operationId).
AuthOauthProviders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthOauthCallback Social sign-in callback
//
// Provider redirect target. Always answers with a redirect into the panel — on success with a session (or 2FA challenge) cookie, on failure with an `oauth_error` query parameter.
//
// Corresponds with GET /v1/auth/oauth/{provider}/callback (the `AuthOauthCallback` operationId).
AuthOauthCallback(ctx context.Context, provider AuthOauthCallbackParamsProvider, params *AuthOauthCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthOauthStart Begin social sign-in
//
// Redirects to the provider. `mode=link` requires an authenticated session and attaches the provider to it.
//
// Corresponds with GET /v1/auth/oauth/{provider}/start (the `AuthOauthStart` operationId).
AuthOauthStart(ctx context.Context, provider AuthOauthStartParamsProvider, params *AuthOauthStartParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthPasswordResetWithBody Reset password
//
// Consumes the token, changes the password, and terminates all sessions.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/password-reset/confirm (the `AuthPasswordReset` operationId).
AuthPasswordResetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthPasswordReset Reset password
//
// Consumes the token, changes the password, and terminates all sessions.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/password-reset/confirm (the `AuthPasswordReset` operationId).
AuthPasswordReset(ctx context.Context, body AuthPasswordResetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthPasswordResetRequestWithBody Request password reset
//
// If the account exists a reset email is sent; the response is 204 in all cases (enumeration protection).
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/password-reset/request (the `AuthPasswordResetRequest` operationId).
AuthPasswordResetRequestWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthPasswordResetRequest Request password reset
//
// If the account exists a reset email is sent; the response is 204 in all cases (enumeration protection).
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/password-reset/request (the `AuthPasswordResetRequest` operationId).
AuthPasswordResetRequest(ctx context.Context, body AuthPasswordResetRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthPolicy Verification policy
//
// Which verification steps this deployment requires. Unauthenticated: a sign-up form has to know it before anyone has an account.
//
// Corresponds with GET /v1/auth/policy (the `AuthPolicy` operationId).
AuthPolicy(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthRegisterWithBody Register
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/register (the `AuthRegister` operationId).
AuthRegisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthRegister Register
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/register (the `AuthRegister` operationId).
AuthRegister(ctx context.Context, body AuthRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthSessionsList Active sessions
//
// Corresponds with GET /v1/auth/sessions (the `AuthSessionsList` operationId).
AuthSessionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthSessionRevoke Revoke session
//
// Corresponds with DELETE /v1/auth/sessions/{id} (the `AuthSessionRevoke` operationId).
AuthSessionRevoke(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthVerifyEmailWithBody Verify email
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/verify-email (the `AuthVerifyEmail` operationId).
AuthVerifyEmailWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthVerifyEmail Verify email
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/verify-email (the `AuthVerifyEmail` operationId).
AuthVerifyEmail(ctx context.Context, body AuthVerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthConfirmEmailChangeWithBody Confirm a sign-in address change
//
// Spends the one-time link. Every open session is closed, so the customer signs in again with the new address.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/verify-email-change (the `AuthConfirmEmailChange` operationId).
AuthConfirmEmailChangeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthConfirmEmailChange Confirm a sign-in address change
//
// Spends the one-time link. Every open session is closed, so the customer signs in again with the new address.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/verify-email-change (the `AuthConfirmEmailChange` operationId).
AuthConfirmEmailChange(ctx context.Context, body AuthConfirmEmailChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthVerifyEmailResendWithBody Resend verification email
//
// Always 204: unknown address, already-verified account and throttled sender are indistinguishable (enumeration protection). At most one mail per minute and 5 per day per account.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/auth/verify-email/resend (the `AuthVerifyEmailResend` operationId).
AuthVerifyEmailResendWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthVerifyEmailResend Resend verification email
//
// Always 204: unknown address, already-verified account and throttled sender are indistinguishable (enumeration protection). At most one mail per minute and 5 per day per account.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/auth/verify-email/resend (the `AuthVerifyEmailResend` operationId).
AuthVerifyEmailResend(ctx context.Context, body AuthVerifyEmailResendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerBackupListAll All restorable backups (create-from-backup picker & global backups page)
//
// Corresponds with GET /v1/backups (the `ServerBackupListAll` operationId).
ServerBackupListAll(ctx context.Context, params *ServerBackupListAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseOptionsList Managed database plans and engine versions
//
// Corresponds with GET /v1/database-options (the `DatabaseOptionsList` operationId).
DatabaseOptionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabasesList My managed databases
//
// Corresponds with GET /v1/databases (the `DatabasesList` operationId).
DatabasesList(ctx context.Context, params *DatabasesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseCreateWithBody Create a managed database
//
// Charges one month upfront (payment before provision). The unused period is refunded on early delete.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/databases (the `DatabaseCreate` operationId).
DatabaseCreateWithBody(ctx context.Context, params *DatabaseCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseCreate Create a managed database
//
// Charges one month upfront (payment before provision). The unused period is refunded on early delete.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/databases (the `DatabaseCreate` operationId).
DatabaseCreate(ctx context.Context, params *DatabaseCreateParams, body DatabaseCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseDelete Delete the managed database
//
// The unused part of the prepaid month is refunded to the wallet.
//
// Corresponds with DELETE /v1/databases/{databaseID} (the `DatabaseDelete` operationId).
DatabaseDelete(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseGet Managed database detail
//
// Corresponds with GET /v1/databases/{databaseID} (the `DatabaseGet` operationId).
DatabaseGet(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseBackupsList Backup history
//
// Corresponds with GET /v1/databases/{databaseID}/backups (the `DatabaseBackupsList` operationId).
DatabaseBackupsList(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseBackupCreate Take an on-demand full backup
//
// Corresponds with POST /v1/databases/{databaseID}/backups (the `DatabaseBackupCreate` operationId).
DatabaseBackupCreate(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseConnectionGet Connection credentials
//
// Reading credentials is recorded in the audit log.
//
// Corresponds with GET /v1/databases/{databaseID}/connection (the `DatabaseConnectionGet` operationId).
DatabaseConnectionGet(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseDbCreateWithBody Create a logical database
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/databases/{databaseID}/dbs (the `DatabaseDbCreate` operationId).
DatabaseDbCreateWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseDbCreate Create a logical database
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/databases/{databaseID}/dbs (the `DatabaseDbCreate` operationId).
DatabaseDbCreate(ctx context.Context, databaseID string, body DatabaseDbCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseProjectSetWithBody Move database to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/databases/{databaseID}/project (the `DatabaseProjectSet` operationId).
DatabaseProjectSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseProjectSet Move database to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/databases/{databaseID}/project (the `DatabaseProjectSet` operationId).
DatabaseProjectSet(ctx context.Context, databaseID string, body DatabaseProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabasePublicAccessSetWithBody Toggle public access
//
// Off by default. On admits ONLY the trusted-sources list, never the whole internet.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/databases/{databaseID}/public-access (the `DatabasePublicAccessSet` operationId).
DatabasePublicAccessSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabasePublicAccessSet Toggle public access
//
// Off by default. On admits ONLY the trusted-sources list, never the whole internet.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/databases/{databaseID}/public-access (the `DatabasePublicAccessSet` operationId).
DatabasePublicAccessSet(ctx context.Context, databaseID string, body DatabasePublicAccessSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseRestoreCreateWithBody Restore to a point in time
//
// Always creates a NEW database instance from this one's backups; the source is never touched. Charged like a create.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/databases/{databaseID}/restores (the `DatabaseRestoreCreate` operationId).
DatabaseRestoreCreateWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseRestoreCreate Restore to a point in time
//
// Always creates a NEW database instance from this one's backups; the source is never touched. Charged like a create.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/databases/{databaseID}/restores (the `DatabaseRestoreCreate` operationId).
DatabaseRestoreCreate(ctx context.Context, databaseID string, body DatabaseRestoreCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseTagsSetWithBody Replace database tags
//
// Replaces the whole tag set. Tags group resources across projects: a database is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/databases/{databaseID}/tags (the `DatabaseTagsSet` operationId).
DatabaseTagsSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseTagsSet Replace database tags
//
// Replaces the whole tag set. Tags group resources across projects: a database is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/databases/{databaseID}/tags (the `DatabaseTagsSet` operationId).
DatabaseTagsSet(ctx context.Context, databaseID string, body DatabaseTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseTrustedSourcesSetWithBody Set trusted sources
//
// Public CIDRs admitted while public access is on. Attached apps and the private network are admitted automatically.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/databases/{databaseID}/trusted-sources (the `DatabaseTrustedSourcesSet` operationId).
DatabaseTrustedSourcesSetWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseTrustedSourcesSet Set trusted sources
//
// Public CIDRs admitted while public access is on. Attached apps and the private network are admitted automatically.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/databases/{databaseID}/trusted-sources (the `DatabaseTrustedSourcesSet` operationId).
DatabaseTrustedSourcesSet(ctx context.Context, databaseID string, body DatabaseTrustedSourcesSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseUserCreateWithBody Create a database user
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/databases/{databaseID}/users (the `DatabaseUserCreate` operationId).
DatabaseUserCreateWithBody(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseUserCreate Create a database user
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/databases/{databaseID}/users (the `DatabaseUserCreate` operationId).
DatabaseUserCreate(ctx context.Context, databaseID string, body DatabaseUserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseUserDelete Delete a database user
//
// A role that owns objects fails the apply and surfaces as an error rather than silently dropping anything.
//
// Corresponds with DELETE /v1/databases/{databaseID}/users/{userID} (the `DatabaseUserDelete` operationId).
DatabaseUserDelete(ctx context.Context, databaseID string, userID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseUserPasswordReset Reset a database user's password
//
// Corresponds with POST /v1/databases/{databaseID}/users/{userID}/reset-password (the `DatabaseUserPasswordReset` operationId).
DatabaseUserPasswordReset(ctx context.Context, databaseID string, userID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseAlertsList List metric alarm rules
//
// Corresponds with GET /v1/databases/{databaseId}/alerts (the `DatabaseAlertsList` operationId).
DatabaseAlertsList(ctx context.Context, databaseId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseAlertSaveWithBody Create or update a metric alarm rule
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/databases/{databaseId}/alerts (the `DatabaseAlertSave` operationId).
DatabaseAlertSaveWithBody(ctx context.Context, databaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseAlertSave Create or update a metric alarm rule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/databases/{databaseId}/alerts (the `DatabaseAlertSave` operationId).
DatabaseAlertSave(ctx context.Context, databaseId string, body DatabaseAlertSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseAlertDelete Delete a metric alarm rule
//
// Corresponds with DELETE /v1/databases/{databaseId}/alerts/{metric} (the `DatabaseAlertDelete` operationId).
DatabaseAlertDelete(ctx context.Context, databaseId string, metric DatabaseAlertDeleteParamsMetric, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseMetricsList Sampled resource metrics
//
// Corresponds with GET /v1/databases/{databaseId}/metrics (the `DatabaseMetricsList` operationId).
DatabaseMetricsList(ctx context.Context, databaseId string, params *DatabaseMetricsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseResizeWithBody Upgrade the instance to a bigger plan
//
// Stops the hidden VM, applies the new shape and starts it again (brief downtime). The pro-rated price difference for the remaining prepaid period is charged upfront. Downgrades are refused.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/databases/{databaseId}/resize (the `DatabaseResize` operationId).
DatabaseResizeWithBody(ctx context.Context, databaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DatabaseResize Upgrade the instance to a bigger plan
//
// Stops the hidden VM, applies the new shape and starts it again (brief downtime). The pro-rated price difference for the remaining prepaid period is charged upfront. Downgrades are refused.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/databases/{databaseId}/resize (the `DatabaseResize` operationId).
DatabaseResize(ctx context.Context, databaseId string, body DatabaseResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsZonesList My DNS zones
//
// Corresponds with GET /v1/dns/zones (the `DnsZonesList` operationId).
DnsZonesList(ctx context.Context, params *DnsZonesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsZoneCreateWithBody Create DNS zone
//
// Creates the zone with system-managed SOA + NS records. The zone resolves once you point the domain's nameservers at the returned `nameservers`.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/dns/zones (the `DnsZoneCreate` operationId).
DnsZoneCreateWithBody(ctx context.Context, params *DnsZoneCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsZoneCreate Create DNS zone
//
// Creates the zone with system-managed SOA + NS records. The zone resolves once you point the domain's nameservers at the returned `nameservers`.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/dns/zones (the `DnsZoneCreate` operationId).
DnsZoneCreate(ctx context.Context, params *DnsZoneCreateParams, body DnsZoneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsZoneDelete Delete DNS zone
//
// Corresponds with DELETE /v1/dns/zones/{id} (the `DnsZoneDelete` operationId).
DnsZoneDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsZoneGet DNS zone with records
//
// Corresponds with GET /v1/dns/zones/{id} (the `DnsZoneGet` operationId).
DnsZoneGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsZoneProjectSetWithBody Move DNS zone to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/dns/zones/{id}/project (the `DnsZoneProjectSet` operationId).
DnsZoneProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsZoneProjectSet Move DNS zone to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/dns/zones/{id}/project (the `DnsZoneProjectSet` operationId).
DnsZoneProjectSet(ctx context.Context, id string, body DnsZoneProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsRecordCreateWithBody Add DNS record
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/dns/zones/{id}/records (the `DnsRecordCreate` operationId).
DnsRecordCreateWithBody(ctx context.Context, id string, params *DnsRecordCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsRecordCreate Add DNS record
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/dns/zones/{id}/records (the `DnsRecordCreate` operationId).
DnsRecordCreate(ctx context.Context, id string, params *DnsRecordCreateParams, body DnsRecordCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsRecordDelete Delete DNS record
//
// Corresponds with DELETE /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordDelete` operationId).
DnsRecordDelete(ctx context.Context, id string, recordId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsRecordUpdateWithBody Update DNS record
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordUpdate` operationId).
DnsRecordUpdateWithBody(ctx context.Context, id string, recordId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsRecordUpdate Update DNS record
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordUpdate` operationId).
DnsRecordUpdate(ctx context.Context, id string, recordId string, body DnsRecordUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsZoneTagsSetWithBody Replace DNS zone tags
//
// Replaces the whole tag set. Tags group resources across projects: a DNS zone is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/dns/zones/{id}/tags (the `DnsZoneTagsSet` operationId).
DnsZoneTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DnsZoneTagsSet Replace DNS zone tags
//
// Replaces the whole tag set. Tags group resources across projects: a DNS zone is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/dns/zones/{id}/tags (the `DnsZoneTagsSet` operationId).
DnsZoneTagsSet(ctx context.Context, id string, body DnsZoneTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainContactsList List registrant profiles
//
// Corresponds with GET /v1/domain-contacts (the `DomainContactsList` operationId).
DomainContactsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainContactCreateWithBody Create a registrant profile
//
// The details published in WHOIS for domains registered with this profile. The first profile in an organization becomes its default.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/domain-contacts (the `DomainContactCreate` operationId).
DomainContactCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainContactCreate Create a registrant profile
//
// The details published in WHOIS for domains registered with this profile. The first profile in an organization becomes its default.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/domain-contacts (the `DomainContactCreate` operationId).
DomainContactCreate(ctx context.Context, body DomainContactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainContactSuggest Draft a registrant profile from the account
//
// Prefill values for a new registrant profile, taken from the account name and its verified e-mail and phone. The address is deliberately not suggested: an invoice address is collected to raise a receipt, while this record is published by the registry. Nothing is stored and no profile is created; a field the platform cannot fill is returned empty.
//
// Corresponds with GET /v1/domain-contacts/suggested (the `DomainContactSuggest` operationId).
DomainContactSuggest(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainContactDelete Delete a registrant profile
//
// Only possible while no domain uses it: the registry is still publishing these details for any domain registered under them.
//
// Corresponds with DELETE /v1/domain-contacts/{id} (the `DomainContactDelete` operationId).
DomainContactDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainContactUpdateWithBody Update a registrant profile
//
// Domains already registered with this profile are updated at the registrar by a background job.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/domain-contacts/{id} (the `DomainContactUpdate` operationId).
DomainContactUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainContactUpdate Update a registrant profile
//
// Domains already registered with this profile are updated at the registrar by a background job.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/domain-contacts/{id} (the `DomainContactUpdate` operationId).
DomainContactUpdate(ctx context.Context, id string, body DomainContactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainTldsList Domain extension price list
//
// Sellable extensions with their yearly registration, renewal and transfer prices. A local read: it never calls a registrar, so it is safe to render on a marketing page.
//
// Corresponds with GET /v1/domain-tlds (the `DomainTldsList` operationId).
DomainTldsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainsList List domains
//
// Corresponds with GET /v1/domains (the `DomainsList` operationId).
DomainsList(ctx context.Context, params *DomainsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainRegisterWithBody Register a domain
//
// Charges the wallet and queues the registration. A registration cannot be undone once the registry confirms it, so there is no early-delete refund; an order the registry never honours is refunded in full.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/domains (the `DomainRegister` operationId).
DomainRegisterWithBody(ctx context.Context, params *DomainRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainRegister Register a domain
//
// Charges the wallet and queues the registration. A registration cannot be undone once the registry confirms it, so there is no early-delete refund; an order the registry never honours is refunded in full.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/domains (the `DomainRegister` operationId).
DomainRegister(ctx context.Context, params *DomainRegisterParams, body DomainRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainSearchWithBody Search domain availability
//
// Asks the registry whether a name is free, and suggests the same label on this deployment's other extensions. Advisory: availability is the registry's to state and the answer can change before an order. Authenticated and rate-limited per account, because it spends a call against the platform's registrar credential.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/domains/search (the `DomainSearch` operationId).
DomainSearchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainSearch Search domain availability
//
// Asks the registry whether a name is free, and suggests the same label on this deployment's other extensions. Advisory: availability is the registry's to state and the answer can change before an order. Authenticated and rate-limited per account, because it spends a call against the platform's registrar credential.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/domains/search (the `DomainSearch` operationId).
DomainSearch(ctx context.Context, body DomainSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainTransferWithBody Transfer a domain in
//
// Charges the wallet and submits an inbound transfer. The registry decides over the following days, and the losing registrar has five of them to respond; a transfer that is refused or never completes is refunded in full. A transfer adds exactly one year to the term, which is what the registry sells.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/domains/transfer (the `DomainTransfer` operationId).
DomainTransferWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainTransfer Transfer a domain in
//
// Charges the wallet and submits an inbound transfer. The registry decides over the following days, and the losing registrar has five of them to respond; a transfer that is refused or never completes is refunded in full. A transfer adds exactly one year to the term, which is what the registry sells.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/domains/transfer (the `DomainTransfer` operationId).
DomainTransfer(ctx context.Context, body DomainTransferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainGet Domain detail
//
// Corresponds with GET /v1/domains/{id} (the `DomainGet` operationId).
DomainGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainAutoRenewSetWithBody Turn automatic renewal on or off
//
// With it off nothing is charged and the domain lapses when it expires. Reminders are still sent.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/domains/{id}/auto-renew (the `DomainAutoRenewSet` operationId).
DomainAutoRenewSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainAutoRenewSet Turn automatic renewal on or off
//
// With it off nothing is charged and the domain lapses when it expires. Reminders are still sent.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/domains/{id}/auto-renew (the `DomainAutoRenewSet` operationId).
DomainAutoRenewSet(ctx context.Context, id string, body DomainAutoRenewSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainLockSetWithBody Set the registrar transfer lock
//
// With the lock on, the registry refuses a transfer nobody authorized. Turning it off is the first step of moving the domain elsewhere.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/domains/{id}/lock (the `DomainLockSet` operationId).
DomainLockSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainLockSet Set the registrar transfer lock
//
// With the lock on, the registry refuses a transfer nobody authorized. Turning it off is the first step of moving the domain elsewhere.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/domains/{id}/lock (the `DomainLockSet` operationId).
DomainLockSet(ctx context.Context, id string, body DomainLockSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainNameserversSetWithBody Set nameservers
//
// Records the delegation you want and pushes it to the registrar in the background. The response shows both what you asked for and what the registrar last confirmed.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/domains/{id}/nameservers (the `DomainNameserversSet` operationId).
DomainNameserversSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainNameserversSet Set nameservers
//
// Records the delegation you want and pushes it to the registrar in the background. The response shows both what you asked for and what the registrar last confirmed.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/domains/{id}/nameservers (the `DomainNameserversSet` operationId).
DomainNameserversSet(ctx context.Context, id string, body DomainNameserversSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainPrivacySetWithBody Set WHOIS privacy
//
// With privacy on, the registry publishes the privacy service's details instead of yours. Not offered by every extension.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/domains/{id}/privacy (the `DomainPrivacySet` operationId).
DomainPrivacySetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainPrivacySet Set WHOIS privacy
//
// With privacy on, the registry publishes the privacy service's details instead of yours. Not offered by every extension.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/domains/{id}/privacy (the `DomainPrivacySet` operationId).
DomainPrivacySet(ctx context.Context, id string, body DomainPrivacySetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainProjectSetWithBody Move domain to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/domains/{id}/project (the `DomainProjectSet` operationId).
DomainProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainProjectSet Move domain to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/domains/{id}/project (the `DomainProjectSet` operationId).
DomainProjectSet(ctx context.Context, id string, body DomainProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainRenewWithBody Renew a domain
//
// Charges the wallet and extends the registration. Automatic renewal does the same thing on your behalf 14 days before expiry.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/domains/{id}/renew (the `DomainRenew` operationId).
DomainRenewWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainRenew Renew a domain
//
// Charges the wallet and extends the registration. Automatic renewal does the same thing on your behalf 14 days before expiry.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/domains/{id}/renew (the `DomainRenew` operationId).
DomainRenew(ctx context.Context, id string, body DomainRenewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainTagsSetWithBody Replace domain tags
//
// Replaces the whole tag set. Tags group resources across projects: a domain is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/domains/{id}/tags (the `DomainTagsSet` operationId).
DomainTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DomainTagsSet Replace domain tags
//
// Replaces the whole tag set. Tags group resources across projects: a domain is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/domains/{id}/tags (the `DomainTagsSet` operationId).
DomainTagsSet(ctx context.Context, id string, body DomainTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountFeatures Which products are available to you
//
// Every product the platform can switch on or off, with whether it is available to you and how finished it is. A product that is off refuses new orders; anything you already have keeps working.
//
// Corresponds with GET /v1/features (the `AccountFeatures` operationId).
AccountFeatures(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// FirewallsList My firewalls
//
// Corresponds with GET /v1/firewalls (the `FirewallsList` operationId).
FirewallsList(ctx context.Context, params *FirewallsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// FirewallCreateWithBody Create firewall
//
// Created empty: attach it to a server and it enforces deny-all inbound (plus ICMP) until rules are added.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/firewalls (the `FirewallCreate` operationId).
FirewallCreateWithBody(ctx context.Context, params *FirewallCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// FirewallCreate Create firewall
//
// Created empty: attach it to a server and it enforces deny-all inbound (plus ICMP) until rules are added.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/firewalls (the `FirewallCreate` operationId).
FirewallCreate(ctx context.Context, params *FirewallCreateParams, body FirewallCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FirewallDelete Delete firewall
//
// Attached servers are detached and re-applied (back to all-open unless another firewall remains).
//
// Corresponds with DELETE /v1/firewalls/{id} (the `FirewallDelete` operationId).
FirewallDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FirewallGet Firewall details
//
// Corresponds with GET /v1/firewalls/{id} (the `FirewallGet` operationId).
FirewallGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FirewallUpdateWithBody Rename firewall
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/firewalls/{id} (the `FirewallUpdate` operationId).
FirewallUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// FirewallUpdate Rename firewall
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/firewalls/{id} (the `FirewallUpdate` operationId).
FirewallUpdate(ctx context.Context, id string, body FirewallUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FirewallRulesReplaceWithBody Replace firewall rules
//
// Full replace (PUT) — matches the desired-state application on the hypervisor. Attached servers are re-applied.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/firewalls/{id}/rules (the `FirewallRulesReplace` operationId).
FirewallRulesReplaceWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// FirewallRulesReplace Replace firewall rules
//
// Full replace (PUT) — matches the desired-state application on the hypervisor. Attached servers are re-applied.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/firewalls/{id}/rules (the `FirewallRulesReplace` operationId).
FirewallRulesReplace(ctx context.Context, id string, body FirewallRulesReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FirewallServerDetach Detach firewall from a server
//
// Corresponds with DELETE /v1/firewalls/{id}/servers/{serverId} (the `FirewallServerDetach` operationId).
FirewallServerDetach(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FirewallServerAttach Attach firewall to a server
//
// Corresponds with POST /v1/firewalls/{id}/servers/{serverId} (the `FirewallServerAttach` operationId).
FirewallServerAttach(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FloatingIpsList My floating IPs
//
// Corresponds with GET /v1/floating-ips (the `FloatingIpsList` operationId).
FloatingIpsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// FloatingIpCreateWithBody Create a floating IP
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/floating-ips (the `FloatingIpCreate` operationId).
FloatingIpCreateWithBody(ctx context.Context, params *FloatingIpCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// FloatingIpCreate Create a floating IP
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/floating-ips (the `FloatingIpCreate` operationId).
FloatingIpCreate(ctx context.Context, params *FloatingIpCreateParams, body FloatingIpCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FloatingIpDelete Delete the floating IP
//
// Refused while attached (FIP_ATTACHED): detach first. Billing stops when the floating IP is deleted. The address returns to the pool and can be assigned again, to another customer or to you.
//
// Corresponds with DELETE /v1/floating-ips/{floatingIpID} (the `FloatingIpDelete` operationId).
FloatingIpDelete(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FloatingIpGet Floating IP detail
//
// Corresponds with GET /v1/floating-ips/{floatingIpID} (the `FloatingIpGet` operationId).
FloatingIpGet(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FloatingIpAttachWithBody Attach (or move) the floating IP to a server
//
// Hot operation: no restart. The server must be in the floating IP's region (FIP_NODE_MISMATCH otherwise). While attached, the server's OUTBOUND traffic also leaves from the floating IP.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/floating-ips/{floatingIpID}/attach (the `FloatingIpAttach` operationId).
FloatingIpAttachWithBody(ctx context.Context, floatingIpID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// FloatingIpAttach Attach (or move) the floating IP to a server
//
// Hot operation: no restart. The server must be in the floating IP's region (FIP_NODE_MISMATCH otherwise). While attached, the server's OUTBOUND traffic also leaves from the floating IP.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/floating-ips/{floatingIpID}/attach (the `FloatingIpAttach` operationId).
FloatingIpAttach(ctx context.Context, floatingIpID string, body FloatingIpAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FloatingIpDetach Detach the floating IP
//
// Corresponds with POST /v1/floating-ips/{floatingIpID}/detach (the `FloatingIpDetach` operationId).
FloatingIpDetach(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FxRate Effective USD/TRY rate used when quoting top-ups
//
// Corresponds with GET /v1/fx (the `FxRate` operationId).
FxRate(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GitConnectionsList Connected git accounts
//
// Corresponds with GET /v1/git/connections (the `GitConnectionsList` operationId).
GitConnectionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GitConnectionDelete Disconnect a git account
//
// Stops us minting credentials for it. It does NOT uninstall the app on the forge — only the account owner can do that, from their own settings.
//
// Corresponds with DELETE /v1/git/connections/{id} (the `GitConnectionDelete` operationId).
GitConnectionDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GitRepositoriesList Repositories this connection can see
//
// Asked live rather than cached: the customer changes the selection on the forge's side and expects the next screen to agree.
//
// Corresponds with GET /v1/git/connections/{id}/repositories (the `GitRepositoriesList` operationId).
GitRepositoriesList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GitProvidersList Configured git forges
//
// Empty when the operator has registered no forge app; the panel then hides the connect button rather than showing a dead one.
//
// Corresponds with GET /v1/git/providers (the `GitProvidersList` operationId).
GitProvidersList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GitInstallCallback Forge authorization return
//
// Verifies that the person finishing the flow owns the account they claimed, and only then records the connection. Always answers with a redirect into the panel.
//
// Corresponds with GET /v1/git/{provider}/callback (the `GitInstallCallback` operationId).
GitInstallCallback(ctx context.Context, provider GitInstallCallbackParamsProvider, params *GitInstallCallbackParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GitInstallStart Begin connecting a git account
//
// Redirects to the forge's install screen. The organization the connection will belong to is fixed here, at the start, not read from the session on the way back.
//
// Corresponds with GET /v1/git/{provider}/install (the `GitInstallStart` operationId).
GitInstallStart(ctx context.Context, provider GitInstallStartParamsProvider, reqEditors ...RequestEditorFn) (*http.Response, error)
// GitInstallSetup Forge install return
//
// Where the forge sends the customer after installing. Records the claimed installation and forwards them to the forge's authorization screen, which is what turns the claim into proof.
//
// Corresponds with GET /v1/git/{provider}/setup (the `GitInstallSetup` operationId).
GitInstallSetup(ctx context.Context, provider GitInstallSetupParamsProvider, params *GitInstallSetupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImagesList Image catalog
//
// Corresponds with GET /v1/images (the `ImagesList` operationId).
ImagesList(ctx context.Context, params *ImagesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RdnsClear Remove reverse DNS from an address
//
// Corresponds with DELETE /v1/ip-addresses/{id}/rdns (the `RdnsClear` operationId).
RdnsClear(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RdnsSetWithBody Set reverse DNS for an address
//
// Publishes a PTR record. The hostname must already have an A/AAAA record pointing at this address (forward-confirmed reverse DNS); create that record first, then set the PTR.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/ip-addresses/{id}/rdns (the `RdnsSet` operationId).
RdnsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// RdnsSet Set reverse DNS for an address
//
// Publishes a PTR record. The hostname must already have an A/AAAA record pointing at this address (forward-confirmed reverse DNS); create that record first, then set the PTR.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/ip-addresses/{id}/rdns (the `RdnsSet` operationId).
RdnsSet(ctx context.Context, id string, body RdnsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// IsoList List custom ISOs
//
// Corresponds with GET /v1/isos (the `IsoList` operationId).
IsoList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// IsoCreateWithBody Create or import custom ISO
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/isos (the `IsoCreate` operationId).
IsoCreateWithBody(ctx context.Context, params *IsoCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// IsoCreate Create or import custom ISO
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/isos (the `IsoCreate` operationId).
IsoCreate(ctx context.Context, params *IsoCreateParams, body IsoCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// IsoDelete Delete custom ISO
//
// Corresponds with DELETE /v1/isos/{id} (the `IsoDelete` operationId).
IsoDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// IsoGet Get custom ISO details
//
// Corresponds with GET /v1/isos/{id} (the `IsoGet` operationId).
IsoGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AccountLimits Resource limits and current usage
//
// Every ceiling that applies to you, with what you have used against it. Reported at the level that binds first — your account or your organization, whichever is lower. A hint: create paths re-derive these under lock.
//
// Corresponds with GET /v1/limits (the `AccountLimits` operationId).
AccountLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancersList My load balancers
//
// Corresponds with GET /v1/load-balancers (the `LoadBalancersList` operationId).
LoadBalancersList(ctx context.Context, params *LoadBalancersListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerCreateWithBody Create a load balancer
//
// Charges one month upfront (payment before provision). The unused period is refunded on early delete.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/load-balancers (the `LoadBalancerCreate` operationId).
LoadBalancerCreateWithBody(ctx context.Context, params *LoadBalancerCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerCreate Create a load balancer
//
// Charges one month upfront (payment before provision). The unused period is refunded on early delete.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/load-balancers (the `LoadBalancerCreate` operationId).
LoadBalancerCreate(ctx context.Context, params *LoadBalancerCreateParams, body LoadBalancerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerDelete Delete the load balancer
//
// The unused part of the prepaid month is refunded to the wallet.
//
// Corresponds with DELETE /v1/load-balancers/{loadBalancerID} (the `LoadBalancerDelete` operationId).
LoadBalancerDelete(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerGet Load balancer detail
//
// Corresponds with GET /v1/load-balancers/{loadBalancerID} (the `LoadBalancerGet` operationId).
LoadBalancerGet(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerBackendsSetWithBody Set backend servers
//
// Full set (add/remove by sending the resulting list). Each server must be a member of the LB's private network.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/backends (the `LoadBalancerBackendsSet` operationId).
LoadBalancerBackendsSetWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerBackendsSet Set backend servers
//
// Full set (add/remove by sending the resulting list). Each server must be a member of the LB's private network.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/backends (the `LoadBalancerBackendsSet` operationId).
LoadBalancerBackendsSet(ctx context.Context, loadBalancerID string, body LoadBalancerBackendsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerProjectSetWithBody Move load balancer to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/load-balancers/{loadBalancerID}/project (the `LoadBalancerProjectSet` operationId).
LoadBalancerProjectSetWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerProjectSet Move load balancer to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/load-balancers/{loadBalancerID}/project (the `LoadBalancerProjectSet` operationId).
LoadBalancerProjectSet(ctx context.Context, loadBalancerID string, body LoadBalancerProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerRulesReplaceWithBody Replace forwarding rules
//
// Full replace; the new configuration is applied to the data plane asynchronously.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/rules (the `LoadBalancerRulesReplace` operationId).
LoadBalancerRulesReplaceWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerRulesReplace Replace forwarding rules
//
// Full replace; the new configuration is applied to the data plane asynchronously.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/rules (the `LoadBalancerRulesReplace` operationId).
LoadBalancerRulesReplace(ctx context.Context, loadBalancerID string, body LoadBalancerRulesReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerTagsSetWithBody Replace load balancer tags
//
// Replaces the whole tag set. Tags group resources across projects: a load balancer is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/tags (the `LoadBalancerTagsSet` operationId).
LoadBalancerTagsSetWithBody(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LoadBalancerTagsSet Replace load balancer tags
//
// Replaces the whole tag set. Tags group resources across projects: a load balancer is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/tags (the `LoadBalancerTagsSet` operationId).
LoadBalancerTagsSet(ctx context.Context, loadBalancerID string, body LoadBalancerTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// NetworksList My private networks
//
// Corresponds with GET /v1/networks (the `NetworksList` operationId).
NetworksList(ctx context.Context, params *NetworksListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// NetworkCreateWithBody Create private network
//
// The network starts in `creating` and becomes `active` once built on the hypervisor. Servers may already reference it — provisioning waits.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/networks (the `NetworkCreate` operationId).
NetworkCreateWithBody(ctx context.Context, params *NetworkCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// NetworkCreate Create private network
//
// The network starts in `creating` and becomes `active` once built on the hypervisor. Servers may already reference it — provisioning waits.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/networks (the `NetworkCreate` operationId).
NetworkCreate(ctx context.Context, params *NetworkCreateParams, body NetworkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// NetworkDelete Delete private network
//
// Refused (409) while servers are attached.
//
// Corresponds with DELETE /v1/networks/{id} (the `NetworkDelete` operationId).
NetworkDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// NetworkGet Private network details
//
// Corresponds with GET /v1/networks/{id} (the `NetworkGet` operationId).
NetworkGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// NetworkProjectSetWithBody Move private network to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/networks/{id}/project (the `NetworkProjectSet` operationId).
NetworkProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// NetworkProjectSet Move private network to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/networks/{id}/project (the `NetworkProjectSet` operationId).
NetworkProjectSet(ctx context.Context, id string, body NetworkProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// NetworkTagsSetWithBody Replace private network tags
//
// Replaces the whole tag set. Tags group resources across projects: a private network is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/networks/{id}/tags (the `NetworkTagsSet` operationId).
NetworkTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// NetworkTagsSet Replace private network tags
//
// Replaces the whole tag set. Tags group resources across projects: a private network is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/networks/{id}/tags (the `NetworkTagsSet` operationId).
NetworkTagsSet(ctx context.Context, id string, body NetworkTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// NotificationsList Notification feed
//
// Newest first, keyset-paginated on the descending id.
//
// Corresponds with GET /v1/notifications (the `NotificationsList` operationId).
NotificationsList(ctx context.Context, params *NotificationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// NotificationsMarkReadWithBody Mark notifications read
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/notifications/read (the `NotificationsMarkRead` operationId).
NotificationsMarkReadWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// NotificationsMarkRead Mark notifications read
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/notifications/read (the `NotificationsMarkRead` operationId).
NotificationsMarkRead(ctx context.Context, body NotificationsMarkReadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// NotificationDelete Dismiss a notification
//
// Corresponds with DELETE /v1/notifications/{id} (the `NotificationDelete` operationId).
NotificationDelete(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// OauthConsentGet An application is asking for access
//
// What the consent screen renders. The prompt belongs to one account; another account's id is a 404.
//
// Corresponds with GET /v1/oauth/authorization-requests/{id} (the `OauthConsentGet` operationId).
OauthConsentGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OauthConsentDecideWithBody Answer an application's request
//
// Approve with the scopes ticked and the organization chosen, or refuse. Either way the client is told.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/oauth/authorization-requests/{id}/decision (the `OauthConsentDecide` operationId).
OauthConsentDecideWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OauthConsentDecide Answer an application's request
//
// Approve with the scopes ticked and the organization chosen, or refuse. Either way the client is told.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/oauth/authorization-requests/{id}/decision (the `OauthConsentDecide` operationId).
OauthConsentDecide(ctx context.Context, id string, body OauthConsentDecideJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OnboardingOrganizationCreateWithBody Create the first organization
//
// Onboarding step one. Creates the organization, its wallet in the currency the country decides and the caller's owner membership, and makes it the session's active organization. 409 ORGANIZATION_EXISTS when the account already belongs to an organization.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/onboarding/organization (the `OnboardingOrganizationCreate` operationId).
OnboardingOrganizationCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OnboardingOrganizationCreate Create the first organization
//
// Onboarding step one. Creates the organization, its wallet in the currency the country decides and the caller's owner membership, and makes it the session's active organization. 409 ORGANIZATION_EXISTS when the account already belongs to an organization.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/onboarding/organization (the `OnboardingOrganizationCreate` operationId).
OnboardingOrganizationCreate(ctx context.Context, body OnboardingOrganizationCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationInvitationGet View invitation
//
// Corresponds with GET /v1/organization-invitations/{token} (the `OrganizationInvitationGet` operationId).
OrganizationInvitationGet(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationInvitationAccept Accept invitation
//
// Corresponds with POST /v1/organization-invitations/{token}/accept (the `OrganizationInvitationAccept` operationId).
OrganizationInvitationAccept(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationsList List organizations
//
// Corresponds with GET /v1/organizations (the `OrganizationsList` operationId).
OrganizationsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationsCreateWithBody Create organization
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/organizations (the `OrganizationsCreate` operationId).
OrganizationsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationsCreate Create organization
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/organizations (the `OrganizationsCreate` operationId).
OrganizationsCreate(ctx context.Context, body OrganizationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationsDelete Delete organization
//
// Corresponds with DELETE /v1/organizations/{id} (the `OrganizationsDelete` operationId).
OrganizationsDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationsGet Get organization
//
// Corresponds with GET /v1/organizations/{id} (the `OrganizationsGet` operationId).
OrganizationsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationsRenameWithBody Rename organization
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/organizations/{id} (the `OrganizationsRename` operationId).
OrganizationsRenameWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationsRename Rename organization
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/organizations/{id} (the `OrganizationsRename` operationId).
OrganizationsRename(ctx context.Context, id string, body OrganizationsRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationsActivate Activate organization for this session
//
// Corresponds with POST /v1/organizations/{id}/activate (the `OrganizationsActivate` operationId).
OrganizationsActivate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationInvitationsList List active invitations
//
// Corresponds with GET /v1/organizations/{id}/invitations (the `OrganizationInvitationsList` operationId).
OrganizationInvitationsList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationInvitationsCreateWithBody Invite organization member
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/organizations/{id}/invitations (the `OrganizationInvitationsCreate` operationId).
OrganizationInvitationsCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationInvitationsCreate Invite organization member
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/organizations/{id}/invitations (the `OrganizationInvitationsCreate` operationId).
OrganizationInvitationsCreate(ctx context.Context, id string, body OrganizationInvitationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationInvitationsRevoke Revoke invitation
//
// Corresponds with DELETE /v1/organizations/{id}/invitations/{invitation_id} (the `OrganizationInvitationsRevoke` operationId).
OrganizationInvitationsRevoke(ctx context.Context, id string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationsLeave Leave organization
//
// Corresponds with POST /v1/organizations/{id}/leave (the `OrganizationsLeave` operationId).
OrganizationsLeave(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationMembersList List organization members
//
// Corresponds with GET /v1/organizations/{id}/members (the `OrganizationMembersList` operationId).
OrganizationMembersList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationMembersRemove Remove organization member
//
// Corresponds with DELETE /v1/organizations/{id}/members/{user_id} (the `OrganizationMembersRemove` operationId).
OrganizationMembersRemove(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationMemberRoleUpdateWithBody Change member role
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/organizations/{id}/members/{user_id} (the `OrganizationMemberRoleUpdate` operationId).
OrganizationMemberRoleUpdateWithBody(ctx context.Context, id string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// OrganizationMemberRoleUpdate Change member role
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/organizations/{id}/members/{user_id} (the `OrganizationMemberRoleUpdate` operationId).
OrganizationMemberRoleUpdate(ctx context.Context, id string, userId string, body OrganizationMemberRoleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PaymentIntentsList Payment records
//
// Corresponds with GET /v1/payments/intents (the `PaymentIntentsList` operationId).
PaymentIntentsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PaymentTopupInitWithBody Start balance top-up
//
// Card: opens a PayTR iframe session. Bank transfer: generates a description code valid for 72 hours. Credit is applied after payment confirmation (webhook/matching).
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/payments/topup (the `PaymentTopupInit` operationId).
PaymentTopupInitWithBody(ctx context.Context, params *PaymentTopupInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// PaymentTopupInit Start balance top-up
//
// Card: opens a PayTR iframe session. Bank transfer: generates a description code valid for 72 hours. Credit is applied after payment confirmation (webhook/matching).
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/payments/topup (the `PaymentTopupInit` operationId).
PaymentTopupInit(ctx context.Context, params *PaymentTopupInitParams, body PaymentTopupInitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlanTypesList Plan types catalog
//
// Corresponds with GET /v1/plan-types (the `PlanTypesList` operationId).
PlanTypesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PlansList Plan catalog
//
// Corresponds with GET /v1/plans (the `PlansList` operationId).
PlansList(ctx context.Context, params *PlansListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectsList My projects
//
// Corresponds with GET /v1/projects (the `ProjectsList` operationId).
ProjectsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectCreateWithBody Create project
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/projects (the `ProjectCreate` operationId).
ProjectCreateWithBody(ctx context.Context, params *ProjectCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectCreate Create project
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/projects (the `ProjectCreate` operationId).
ProjectCreate(ctx context.Context, params *ProjectCreateParams, body ProjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectDelete Delete project
//
// Servers in the project are detached, never deleted.
//
// Corresponds with DELETE /v1/projects/{id} (the `ProjectDelete` operationId).
ProjectDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectGet Project
//
// Corresponds with GET /v1/projects/{id} (the `ProjectGet` operationId).
ProjectGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectUpdateWithBody Rename project
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/projects/{id} (the `ProjectUpdate` operationId).
ProjectUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProjectUpdate Rename project
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/projects/{id} (the `ProjectUpdate` operationId).
ProjectUpdate(ctx context.Context, id string, body ProjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RegionsList Region catalog
//
// Active placement regions. The physical host inside a region is always chosen by the system.
//
// Corresponds with GET /v1/regions (the `RegionsList` operationId).
RegionsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResourcePricesList GB-based resource prices (snapshots, volumes)
//
// Corresponds with GET /v1/resource-prices (the `ResourcePricesList` operationId).
ResourcePricesList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServersList My servers
//
// Paged. `total` counts the rows matching the filters; `summary` describes the whole organization and does not move as you page or search.
//
// Corresponds with GET /v1/servers (the `ServersList` operationId).
ServersList(ctx context.Context, params *ServersListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerCreateWithBody Create server
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers (the `ServerCreate` operationId).
ServerCreateWithBody(ctx context.Context, params *ServerCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerCreate Create server
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers (the `ServerCreate` operationId).
ServerCreate(ctx context.Context, params *ServerCreateParams, body ServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerDelete Delete server
//
// The server and its disks are permanently deleted. Its public IP returns to the pool and can be assigned again, to another customer or to you.
//
// Corresponds with DELETE /v1/servers/{id} (the `ServerDelete` operationId).
ServerDelete(ctx context.Context, id string, params *ServerDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerGet Server details
//
// Corresponds with GET /v1/servers/{id} (the `ServerGet` operationId).
ServerGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerRenameWithBody Rename server
//
// Changes the display name and the hypervisor VM name. The guest's hostname stays as set at first boot.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/servers/{id} (the `ServerRename` operationId).
ServerRenameWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerRename Rename server
//
// Changes the display name and the hypervisor VM name. The guest's hostname stays as set at first boot.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/servers/{id} (the `ServerRename` operationId).
ServerRename(ctx context.Context, id string, body ServerRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerActionCreateWithBody Power action (start/stop/reboot)
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers/{id}/actions (the `ServerActionCreate` operationId).
ServerActionCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerActionCreate Power action (start/stop/reboot)
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers/{id}/actions (the `ServerActionCreate` operationId).
ServerActionCreate(ctx context.Context, id string, body ServerActionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerMountISOWithBody Mount ISO to server
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers/{id}/actions/mount-iso (the `ServerMountISO` operationId).
ServerMountISOWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerMountISO Mount ISO to server
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers/{id}/actions/mount-iso (the `ServerMountISO` operationId).
ServerMountISO(ctx context.Context, id string, body ServerMountISOJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerUnmountISO Unmount ISO from server
//
// Corresponds with POST /v1/servers/{id}/actions/unmount-iso (the `ServerUnmountISO` operationId).
ServerUnmountISO(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerActionGet Power action status
//
// Resolves the id returned by a power action. `succeeded` and `failed` are terminal; `failed` carries an error_code. Poll with increasing intervals rather than tightly.
//
// Corresponds with GET /v1/servers/{id}/actions/{actionId} (the `ServerActionGet` operationId).
ServerActionGet(ctx context.Context, id string, actionId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerAlertsList List metric alarm rules
//
// Corresponds with GET /v1/servers/{id}/alerts (the `ServerAlertsList` operationId).
ServerAlertsList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerAlertSaveWithBody Create or update a metric alarm rule
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/servers/{id}/alerts (the `ServerAlertSave` operationId).
ServerAlertSaveWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerAlertSave Create or update a metric alarm rule
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/servers/{id}/alerts (the `ServerAlertSave` operationId).
ServerAlertSave(ctx context.Context, id string, body ServerAlertSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerAlertDelete Delete a metric alarm rule
//
// Corresponds with DELETE /v1/servers/{id}/alerts/{metric} (the `ServerAlertDelete` operationId).
ServerAlertDelete(ctx context.Context, id string, metric ServerAlertDeleteParamsMetric, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerAppRetry Retry a failed marketplace app install
//
// Only valid while app_state is 'failed' on a running server; 409 otherwise.
//
// Corresponds with POST /v1/servers/{id}/app/retry (the `ServerAppRetry` operationId).
ServerAppRetry(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerBackupSettingsGet Automatic-backup subscription state
//
// Corresponds with GET /v1/servers/{id}/backup-settings (the `ServerBackupSettingsGet` operationId).
ServerBackupSettingsGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerBackupSettingsUpdateWithBody Toggle automatic daily backups
//
// When on, a backup is taken daily (7 rolling) and the wallet is charged +20% of the plan price. Requires no attached volumes.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/servers/{id}/backup-settings (the `ServerBackupSettingsUpdate` operationId).
ServerBackupSettingsUpdateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerBackupSettingsUpdate Toggle automatic daily backups
//
// When on, a backup is taken daily (7 rolling) and the wallet is charged +20% of the plan price. Requires no attached volumes.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/servers/{id}/backup-settings (the `ServerBackupSettingsUpdate` operationId).
ServerBackupSettingsUpdate(ctx context.Context, id string, body ServerBackupSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerBackupList Server backups
//
// Corresponds with GET /v1/servers/{id}/backups (the `ServerBackupList` operationId).
ServerBackupList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerBackupCreateWithBody Take a backup now
//
// On-demand vzdump to backup storage. Billed per GB-hour of the archive size; max 5 manual backups per server.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers/{id}/backups (the `ServerBackupCreate` operationId).
ServerBackupCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerBackupCreate Take a backup now
//
// On-demand vzdump to backup storage. Billed per GB-hour of the archive size; max 5 manual backups per server.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers/{id}/backups (the `ServerBackupCreate` operationId).
ServerBackupCreate(ctx context.Context, id string, body ServerBackupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerBackupDelete Delete a backup
//
// Corresponds with DELETE /v1/servers/{id}/backups/{backupId} (the `ServerBackupDelete` operationId).
ServerBackupDelete(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerBackupRestore Restore a backup
//
// Whole-VM restore into the same server — the CURRENT disk state is lost. A running server is stopped and restarted. Blocked while extra volumes are attached.
//
// Corresponds with POST /v1/servers/{id}/backups/{backupId}/restore (the `ServerBackupRestore` operationId).
ServerBackupRestore(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerBillingGet What this server costs
//
// The plan charge, the resources attached to it and their current monthly rate, this month's traffic, and the lifetime totals taken from the ledger.
//
// Corresponds with GET /v1/servers/{id}/billing (the `ServerBillingGet` operationId).
ServerBillingGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerLedgerList Wallet movements charged to this server
//
// Paged, newest first. Only movements written against this server: the plan charge, resize differences, refunds and traffic overage. Charges for its snapshots, backups, volumes and floating IPs are billed against those resources and appear on the wallet page.
//
// Corresponds with GET /v1/servers/{id}/billing/ledger (the `ServerLedgerList` operationId).
ServerLedgerList(ctx context.Context, id string, params *ServerLedgerListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerConsoleCreate Open console session
//
// Corresponds with POST /v1/servers/{id}/console (the `ServerConsoleCreate` operationId).
ServerConsoleCreate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerDiskMetricsList Sampled disk performance
//
// Corresponds with GET /v1/servers/{id}/disk-metrics (the `ServerDiskMetricsList` operationId).
ServerDiskMetricsList(ctx context.Context, id string, params *ServerDiskMetricsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerEventsList Server event stream
//
// Corresponds with GET /v1/servers/{id}/events (the `ServerEventsList` operationId).
ServerEventsList(ctx context.Context, id string, params *ServerEventsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerFilesystemsList Guest-agent disk usage per mount
//
// Corresponds with GET /v1/servers/{id}/filesystems (the `ServerFilesystemsList` operationId).
ServerFilesystemsList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerMetricsList Sampled resource metrics
//
// Corresponds with GET /v1/servers/{id}/metrics (the `ServerMetricsList` operationId).
ServerMetricsList(ctx context.Context, id string, params *ServerMetricsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerNetworkDetach Leave the private network
//
// Removes the private NIC and releases the private IP. A running server is stopped and restarted.
//
// Corresponds with DELETE /v1/servers/{id}/network (the `ServerNetworkDetach` operationId).
ServerNetworkDetach(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerNetworkAttachWithBody Join a private network
//
// Assigns a private IP and adds the second NIC. A running server is stopped and restarted (no hotplug). One network per server.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers/{id}/network (the `ServerNetworkAttach` operationId).
ServerNetworkAttachWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerNetworkAttach Join a private network
//
// Assigns a private IP and adds the second NIC. A running server is stopped and restarted (no hotplug). One network per server.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers/{id}/network (the `ServerNetworkAttach` operationId).
ServerNetworkAttach(ctx context.Context, id string, body ServerNetworkAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerPasswordReset Reset root password
//
// Corresponds with POST /v1/servers/{id}/password-reset (the `ServerPasswordReset` operationId).
ServerPasswordReset(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerProjectSetWithBody Move server to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/servers/{id}/project (the `ServerProjectSet` operationId).
ServerProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerProjectSet Move server to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/servers/{id}/project (the `ServerProjectSet` operationId).
ServerProjectSet(ctx context.Context, id string, body ServerProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerRDNSList Reverse DNS for a server's addresses
//
// The server's fixed public address plus every floating IP attached to it. An entry with no `reverse_zone` cannot carry a PTR in this region.
//
// Corresponds with GET /v1/servers/{id}/rdns (the `ServerRDNSList` operationId).
ServerRDNSList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerRebuildWithBody Rebuild server (reinstall image)
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers/{id}/rebuild (the `ServerRebuild` operationId).
ServerRebuildWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerRebuild Rebuild server (reinstall image)
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers/{id}/rebuild (the `ServerRebuild` operationId).
ServerRebuild(ctx context.Context, id string, body ServerRebuildJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerRescueEnter Boot the server into rescue mode
//
// Mounts the platform's live rescue image and restarts the server from it; the disks are left untouched. The first rescue on a host downloads the image, so it can take a few minutes. Resize, rebuild and restore are refused while rescue is active.
//
// Corresponds with POST /v1/servers/{id}/rescue (the `ServerRescueEnter` operationId).
ServerRescueEnter(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerRescueExit Leave rescue mode
//
// Ejects the rescue image and restarts the server from its own disk.
//
// Corresponds with POST /v1/servers/{id}/rescue/exit (the `ServerRescueExit` operationId).
ServerRescueExit(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerResizeWithBody Change plan (upgrade)
//
// Honest offline resize: a RAM/CPU change restarts the server; disk only grows. In monthly mode the difference for the remaining period is charged upfront.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers/{id}/resize (the `ServerResize` operationId).
ServerResizeWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerResize Change plan (upgrade)
//
// Honest offline resize: a RAM/CPU change restarts the server; disk only grows. In monthly mode the difference for the remaining period is charged upfront.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers/{id}/resize (the `ServerResize` operationId).
ServerResize(ctx context.Context, id string, body ServerResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerSnapshotList Server snapshots
//
// Corresponds with GET /v1/servers/{id}/snapshots (the `ServerSnapshotList` operationId).
ServerSnapshotList(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerSnapshotCreateWithBody Take a snapshot
//
// Disk-only, crash-consistent. Billed per GB-hour at the disk size frozen at creation; max 5 per server.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/servers/{id}/snapshots (the `ServerSnapshotCreate` operationId).
ServerSnapshotCreateWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerSnapshotCreate Take a snapshot
//
// Disk-only, crash-consistent. Billed per GB-hour at the disk size frozen at creation; max 5 per server.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/servers/{id}/snapshots (the `ServerSnapshotCreate` operationId).
ServerSnapshotCreate(ctx context.Context, id string, body ServerSnapshotCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerSnapshotDelete Delete a snapshot
//
// Corresponds with DELETE /v1/servers/{id}/snapshots/{snapshotId} (the `ServerSnapshotDelete` operationId).
ServerSnapshotDelete(ctx context.Context, id string, snapshotId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerSnapshotRestore Restore a snapshot
//
// Rolls the disk back to the snapshot — the CURRENT disk state is lost. A running server is stopped and restarted.
//
// Corresponds with POST /v1/servers/{id}/snapshots/{snapshotId}/restore (the `ServerSnapshotRestore` operationId).
ServerSnapshotRestore(ctx context.Context, id string, snapshotId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerTagsSetWithBody Replace server tags
//
// Replaces the whole tag set. Tags group resources across projects: a server is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/servers/{id}/tags (the `ServerTagsSet` operationId).
ServerTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerTagsSet Replace server tags
//
// Replaces the whole tag set. Tags group resources across projects: a server is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/servers/{id}/tags (the `ServerTagsSet` operationId).
ServerTagsSet(ctx context.Context, id string, body ServerTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ServerSnapshotListAll All restorable snapshots (global snapshots page)
//
// Corresponds with GET /v1/snapshots (the `ServerSnapshotListAll` operationId).
ServerSnapshotListAll(ctx context.Context, params *ServerSnapshotListAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SshKeysList My SSH keys
//
// Corresponds with GET /v1/ssh-keys (the `SshKeysList` operationId).
SshKeysList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// SshKeyCreateWithBody Add SSH key
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/ssh-keys (the `SshKeyCreate` operationId).
SshKeyCreateWithBody(ctx context.Context, params *SshKeyCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SshKeyCreate Add SSH key
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/ssh-keys (the `SshKeyCreate` operationId).
SshKeyCreate(ctx context.Context, params *SshKeyCreateParams, body SshKeyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SshKeyDelete Delete SSH key
//
// Existing servers are unaffected (the key is embedded at provision time).
//
// Corresponds with DELETE /v1/ssh-keys/{id} (the `SshKeyDelete` operationId).
SshKeyDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SshKeyGet SSH key
//
// Corresponds with GET /v1/ssh-keys/{id} (the `SshKeyGet` operationId).
SshKeyGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TagsList Tags in use
//
// Every tag this organization has used, with how many resources carry it. Tags are created by using them: there is no endpoint that makes one, and one stops existing when the last resource drops it.
//
// Corresponds with GET /v1/tags (the `TagsList` operationId).
TagsList(ctx context.Context, params *TagsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TicketsList List support tickets
//
// Corresponds with GET /v1/tickets (the `TicketsList` operationId).
TicketsList(ctx context.Context, params *TicketsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// TicketCreateWithBody Open a support ticket
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/tickets (the `TicketCreate` operationId).
TicketCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TicketCreate Open a support ticket
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/tickets (the `TicketCreate` operationId).
TicketCreate(ctx context.Context, body TicketCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TicketGet Ticket detail with its conversation
//
// Staff-only internal notes are filtered out in the query, not in the response mapping.
//
// Corresponds with GET /v1/tickets/{code} (the `TicketGet` operationId).
TicketGet(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TicketAttachmentDownload Download a ticket attachment
//
// Returns the raw bytes. Images are served inline so the panel can render them; everything else downloads.
//
// Corresponds with GET /v1/tickets/{code}/attachments/{id} (the `TicketAttachmentDownload` operationId).
TicketAttachmentDownload(ctx context.Context, code string, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// TicketClose Close a ticket
//
// Corresponds with POST /v1/tickets/{code}/close (the `TicketClose` operationId).
TicketClose(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
// TicketReplyWithBody Reply to a ticket
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/tickets/{code}/messages (the `TicketReply` operationId).
TicketReplyWithBody(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// TicketReply Reply to a ticket
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/tickets/{code}/messages (the `TicketReply` operationId).
TicketReply(ctx context.Context, code string, body TicketReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TicketReopen Reopen a ticket (within 7 days)
//
// Corresponds with POST /v1/tickets/{code}/reopen (the `TicketReopen` operationId).
TicketReopen(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeList Volumes
//
// Corresponds with GET /v1/volumes (the `VolumeList` operationId).
VolumeList(ctx context.Context, params *VolumeListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeCreateWithBody Create a volume
//
// Billed per GB-hour at provisioned size from creation to deletion, regardless of attach state. Size band, count and total capacity are operator policy with per-account and per-organization overrides — read GET /v1/volumes/limits rather than assuming. Max 5 attached per server. With fs_type + automount the volume arrives formatted and mounted; without them it is a raw block device.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/volumes (the `VolumeCreate` operationId).
VolumeCreateWithBody(ctx context.Context, params *VolumeCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeCreate Create a volume
//
// Billed per GB-hour at provisioned size from creation to deletion, regardless of attach state. Size band, count and total capacity are operator policy with per-account and per-organization overrides — read GET /v1/volumes/limits rather than assuming. Max 5 attached per server. With fs_type + automount the volume arrives formatted and mounted; without them it is a raw block device.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/volumes (the `VolumeCreate` operationId).
VolumeCreate(ctx context.Context, params *VolumeCreateParams, body VolumeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeLimits Volume limits and remaining allowance
//
// The size band and what is left of the count and capacity quotas, narrowed to whichever of the account and organization ceilings binds first. A hint: the create path re-derives these under lock, so a concurrent create can still refuse a size this reported.
//
// Corresponds with GET /v1/volumes/limits (the `VolumeLimits` operationId).
VolumeLimits(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeDelete Delete a volume
//
// Detached volumes only — detach first. The disk and its data are destroyed.
//
// Corresponds with DELETE /v1/volumes/{id} (the `VolumeDelete` operationId).
VolumeDelete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeGet Volume detail
//
// Corresponds with GET /v1/volumes/{id} (the `VolumeGet` operationId).
VolumeGet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeAttachWithBody Attach a volume
//
// Hotplug — works on a running server. Blocked while the server has snapshots (409). With automount the volume is mounted in the guest and pinned in fstab; a volume that carries no filesystem yet cannot be automounted, because attaching never formats.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/volumes/{id}/attach (the `VolumeAttach` operationId).
VolumeAttachWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeAttach Attach a volume
//
// Hotplug — works on a running server. Blocked while the server has snapshots (409). With automount the volume is mounted in the guest and pinned in fstab; a volume that carries no filesystem yet cannot be automounted, because attaching never formats.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/volumes/{id}/attach (the `VolumeAttach` operationId).
VolumeAttach(ctx context.Context, id string, body VolumeAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeDetach Detach a volume
//
// Hot-detach — unmount inside the guest first; the data stays on the volume.
//
// Corresponds with POST /v1/volumes/{id}/detach (the `VolumeDetach` operationId).
VolumeDetach(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeProjectSetWithBody Move volume to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /v1/volumes/{id}/project (the `VolumeProjectSet` operationId).
VolumeProjectSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeProjectSet Move volume to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /v1/volumes/{id}/project (the `VolumeProjectSet` operationId).
VolumeProjectSet(ctx context.Context, id string, body VolumeProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeResizeWithBody Grow a volume
//
// Grow only, online (works while attached). Enlarge the filesystem inside the guest afterwards.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/volumes/{id}/resize (the `VolumeResize` operationId).
VolumeResizeWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeResize Grow a volume
//
// Grow only, online (works while attached). Enlarge the filesystem inside the guest afterwards.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/volumes/{id}/resize (the `VolumeResize` operationId).
VolumeResize(ctx context.Context, id string, body VolumeResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeTagsSetWithBody Replace volume tags
//
// Replaces the whole tag set. Tags group resources across projects: a volume is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /v1/volumes/{id}/tags (the `VolumeTagsSet` operationId).
VolumeTagsSetWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// VolumeTagsSet Replace volume tags
//
// Replaces the whole tag set. Tags group resources across projects: a volume is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /v1/volumes/{id}/tags (the `VolumeTagsSet` operationId).
VolumeTagsSet(ctx context.Context, id string, body VolumeTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletGet Wallet status
//
// Corresponds with GET /v1/wallet (the `WalletGet` operationId).
WalletGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletLedgerList Wallet ledger entries
//
// Paged, newest first. `total` counts what the filter matched; `summary` describes the whole wallet.
//
// Corresponds with GET /v1/wallet/ledger (the `WalletLedgerList` operationId).
WalletLedgerList(ctx context.Context, params *WalletLedgerListParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletLedgerDaily Daily wallet movement totals
//
// In/out totals per day over the requested window, for the wallet chart.
//
// Corresponds with GET /v1/wallet/ledger/daily (the `WalletLedgerDaily` operationId).
WalletLedgerDaily(ctx context.Context, params *WalletLedgerDailyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletPromoRedemptions Promo codes this organization has redeemed
//
// Corresponds with GET /v1/wallet/promo (the `WalletPromoRedemptions` operationId).
WalletPromoRedemptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletPromoRedeemWithBody Redeem a promo code
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /v1/wallet/promo (the `WalletPromoRedeem` operationId).
WalletPromoRedeemWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// WalletPromoRedeem Redeem a promo code
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /v1/wallet/promo (the `WalletPromoRedeem` operationId).
WalletPromoRedeem(ctx context.Context, body WalletPromoRedeemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) AccountBillingProfileGetWithResponse ¶
func (c *ClientWithResponses) AccountBillingProfileGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountBillingProfileGetResponse, error)
AccountBillingProfileGetWithResponse Invoice details
404 when nothing has been saved yet — the panel treats that as 'not filled in', not as an error.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account/billing-profile (the `AccountBillingProfileGet` operationId).
func (*ClientWithResponses) AccountBillingProfileSaveWithBodyWithResponse ¶
func (c *ClientWithResponses) AccountBillingProfileSaveWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountBillingProfileSaveResponse, error)
AccountBillingProfileSaveWithBodyWithResponse Save invoice details
Required before the first top-up. Editing later does NOT change already-issued invoices — each payment carries its own frozen copy.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/account/billing-profile (the `AccountBillingProfileSave` operationId).
func (*ClientWithResponses) AccountBillingProfileSaveWithResponse ¶
func (c *ClientWithResponses) AccountBillingProfileSaveWithResponse(ctx context.Context, body AccountBillingProfileSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountBillingProfileSaveResponse, error)
AccountBillingProfileSaveWithResponse Save invoice details
Required before the first top-up. Editing later does NOT change already-issued invoices — each payment carries its own frozen copy.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/account/billing-profile (the `AccountBillingProfileSave` operationId).
func (*ClientWithResponses) AccountChangePasswordWithBodyWithResponse ¶
func (c *ClientWithResponses) AccountChangePasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountChangePasswordResponse, error)
AccountChangePasswordWithBodyWithResponse Change password
Verifies the current password, writes the new one, and terminates all sessions except the current one.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/password (the `AccountChangePassword` operationId).
func (*ClientWithResponses) AccountChangePasswordWithResponse ¶
func (c *ClientWithResponses) AccountChangePasswordWithResponse(ctx context.Context, body AccountChangePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountChangePasswordResponse, error)
AccountChangePasswordWithResponse Change password
Verifies the current password, writes the new one, and terminates all sessions except the current one.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/password (the `AccountChangePassword` operationId).
func (*ClientWithResponses) AccountDeletionCancelWithResponse ¶
func (c *ClientWithResponses) AccountDeletionCancelWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountDeletionCancelResponse, error)
AccountDeletionCancelWithResponse Cancel a scheduled deletion
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/account/deletion (the `AccountDeletionCancel` operationId).
func (*ClientWithResponses) AccountDeletionGetWithResponse ¶
func (c *ClientWithResponses) AccountDeletionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountDeletionGetResponse, error)
AccountDeletionGetWithResponse Whether the account can be closed, and whether it is closing
Rendered before the button is offered, so the customer sees what to clear rather than a refusal after the fact.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account/deletion (the `AccountDeletionGet` operationId).
func (*ClientWithResponses) AccountDeletionRequestWithBodyWithResponse ¶
func (c *ClientWithResponses) AccountDeletionRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountDeletionRequestResponse, error)
AccountDeletionRequestWithBodyWithResponse Ask for the account to be deleted
Schedules erasure 30 days out and mails the account. Sign-in stays open the whole time so the request can be cancelled; what stops is creating anything new.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/deletion (the `AccountDeletionRequest` operationId).
func (*ClientWithResponses) AccountDeletionRequestWithResponse ¶
func (c *ClientWithResponses) AccountDeletionRequestWithResponse(ctx context.Context, body AccountDeletionRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountDeletionRequestResponse, error)
AccountDeletionRequestWithResponse Ask for the account to be deleted
Schedules erasure 30 days out and mails the account. Sign-in stays open the whole time so the request can be cancelled; what stops is creating anything new.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/deletion (the `AccountDeletionRequest` operationId).
func (*ClientWithResponses) AccountEmailChangeStartWithBodyWithResponse ¶
func (c *ClientWithResponses) AccountEmailChangeStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountEmailChangeStartResponse, error)
AccountEmailChangeStartWithBodyWithResponse Start changing the sign-in address
Sends a confirmation link to the NEW address and a security notice to the current one. Nothing changes until the link is opened; confirming closes every open session.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/email (the `AccountEmailChangeStart` operationId).
func (*ClientWithResponses) AccountEmailChangeStartWithResponse ¶
func (c *ClientWithResponses) AccountEmailChangeStartWithResponse(ctx context.Context, body AccountEmailChangeStartJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountEmailChangeStartResponse, error)
AccountEmailChangeStartWithResponse Start changing the sign-in address
Sends a confirmation link to the NEW address and a security notice to the current one. Nothing changes until the link is opened; confirming closes every open session.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/email (the `AccountEmailChangeStart` operationId).
func (*ClientWithResponses) AccountExportWithResponse ¶
func (c *ClientWithResponses) AccountExportWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountExportResponse, error)
AccountExportWithResponse Download a copy of the data held about this account
Account, linked sign-in methods, SSH key fingerprints, organizations, billing profiles, payments, resources and support tickets. Server contents, the audit log and credentials are deliberately not included; the response says so in its own `note`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account/export (the `AccountExport` operationId).
func (*ClientWithResponses) AccountFeaturesWithResponse ¶
func (c *ClientWithResponses) AccountFeaturesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountFeaturesResponse, error)
AccountFeaturesWithResponse Which products are available to you
Every product the platform can switch on or off, with whether it is available to you and how finished it is. A product that is off refuses new orders; anything you already have keeps working.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/features (the `AccountFeatures` operationId).
func (*ClientWithResponses) AccountGetWithResponse ¶
func (c *ClientWithResponses) AccountGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountGetResponse, error)
AccountGetWithResponse Current authenticated user
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account (the `AccountGet` operationId).
func (*ClientWithResponses) AccountIdentitiesListWithResponse ¶
func (c *ClientWithResponses) AccountIdentitiesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountIdentitiesListResponse, error)
AccountIdentitiesListWithResponse Linked social accounts
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account/identities (the `AccountIdentitiesList` operationId).
func (*ClientWithResponses) AccountIdentityUnlinkWithResponse ¶
func (c *ClientWithResponses) AccountIdentityUnlinkWithResponse(ctx context.Context, provider AccountIdentityUnlinkParamsProvider, reqEditors ...RequestEditorFn) (*AccountIdentityUnlinkResponse, error)
AccountIdentityUnlinkWithResponse Unlink a social account
Refused when it would remove the only way into the account (no password and no other provider).
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/account/identities/{provider} (the `AccountIdentityUnlink` operationId).
func (*ClientWithResponses) AccountLimitsWithResponse ¶
func (c *ClientWithResponses) AccountLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountLimitsResponse, error)
AccountLimitsWithResponse Resource limits and current usage
Every ceiling that applies to you, with what you have used against it. Reported at the level that binds first — your account or your organization, whichever is lower. A hint: create paths re-derive these under lock.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/limits (the `AccountLimits` operationId).
func (*ClientWithResponses) AccountOnboardingCompleteWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) AccountOnboardingCompleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountOnboardingCompleteResponse, error)
AccountOnboardingCompleteWithResponse Complete onboarding
Onboarding step two, after the invoice details are saved. Refused with 409 ORGANIZATION_REQUIRED before the account belongs to an organization, and with 409 BILLING_PROFILE_REQUIRED while the organization the caller owns has no invoice details. Repeating it is harmless: the first completion time is kept.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/onboarding (the `AccountOnboardingComplete` operationId).
func (*ClientWithResponses) AccountPhoneDeleteWithResponse ¶
func (c *ClientWithResponses) AccountPhoneDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountPhoneDeleteResponse, error)
AccountPhoneDeleteWithResponse Remove the verified phone
Clears the number and releases it, so its next owner can verify it on their own account. If phone verification is required, the account returns to unverified.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/account/phone (the `AccountPhoneDelete` operationId).
func (*ClientWithResponses) AccountPhoneGetWithResponse ¶
func (c *ClientWithResponses) AccountPhoneGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountPhoneGetResponse, error)
AccountPhoneGetWithResponse Phone verification status
The account's verified number, and any number still waiting on a code.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account/phone (the `AccountPhoneGet` operationId).
func (*ClientWithResponses) AccountPhoneResendWithResponse ¶
func (c *ClientWithResponses) AccountPhoneResendWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountPhoneResendResponse, error)
AccountPhoneResendWithResponse Resend the phone verification code
Re-issues a code for the number already waiting. Takes no number, so a reload cannot resend to a different one than the page shows. Same rate limits as the first send.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/phone/resend (the `AccountPhoneResend` operationId).
func (*ClientWithResponses) AccountPhoneStartWithBodyWithResponse ¶
func (c *ClientWithResponses) AccountPhoneStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountPhoneStartResponse, error)
AccountPhoneStartWithBodyWithResponse Send a phone verification code
Validates the number, resolves its SMS provider and texts a 6-digit code valid for 5 minutes. Rate limited per account, per number and per deployment.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/phone (the `AccountPhoneStart` operationId).
func (*ClientWithResponses) AccountPhoneStartWithResponse ¶
func (c *ClientWithResponses) AccountPhoneStartWithResponse(ctx context.Context, body AccountPhoneStartJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountPhoneStartResponse, error)
AccountPhoneStartWithResponse Send a phone verification code
Validates the number, resolves its SMS provider and texts a 6-digit code valid for 5 minutes. Rate limited per account, per number and per deployment.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/phone (the `AccountPhoneStart` operationId).
func (*ClientWithResponses) AccountPhoneVerifyWithBodyWithResponse ¶
func (c *ClientWithResponses) AccountPhoneVerifyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountPhoneVerifyResponse, error)
AccountPhoneVerifyWithBodyWithResponse Verify the phone code
Consumes the code and writes the number onto the account. Five wrong attempts retire the challenge, correct code included.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/phone/verify (the `AccountPhoneVerify` operationId).
func (*ClientWithResponses) AccountPhoneVerifyWithResponse ¶
func (c *ClientWithResponses) AccountPhoneVerifyWithResponse(ctx context.Context, body AccountPhoneVerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountPhoneVerifyResponse, error)
AccountPhoneVerifyWithResponse Verify the phone code
Consumes the code and writes the number onto the account. Five wrong attempts retire the challenge, correct code included.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/phone/verify (the `AccountPhoneVerify` operationId).
func (*ClientWithResponses) AccountSupportAccessWithResponse ¶
func (c *ClientWithResponses) AccountSupportAccessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountSupportAccessResponse, error)
AccountSupportAccessWithResponse When the support team opened this account
One row per staff-opened session, newest first.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account/support-access (the `AccountSupportAccess` operationId).
func (*ClientWithResponses) AccountTotpConfirmWithBodyWithResponse ¶
func (c *ClientWithResponses) AccountTotpConfirmWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountTotpConfirmResponse, error)
AccountTotpConfirmWithBodyWithResponse Confirm and enable two-factor
Returns the recovery codes. They are displayed once and cannot be retrieved later — only regenerated.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/totp/confirm (the `AccountTotpConfirm` operationId).
func (*ClientWithResponses) AccountTotpConfirmWithResponse ¶
func (c *ClientWithResponses) AccountTotpConfirmWithResponse(ctx context.Context, body AccountTotpConfirmJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountTotpConfirmResponse, error)
AccountTotpConfirmWithResponse Confirm and enable two-factor
Returns the recovery codes. They are displayed once and cannot be retrieved later — only regenerated.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/totp/confirm (the `AccountTotpConfirm` operationId).
func (*ClientWithResponses) AccountTotpDisableWithBodyWithResponse ¶
func (c *ClientWithResponses) AccountTotpDisableWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountTotpDisableResponse, error)
AccountTotpDisableWithBodyWithResponse Disable two-factor
Requires a current authenticator or recovery code — a session alone is not enough to remove the factor that protects it.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/totp/disable (the `AccountTotpDisable` operationId).
func (*ClientWithResponses) AccountTotpDisableWithResponse ¶
func (c *ClientWithResponses) AccountTotpDisableWithResponse(ctx context.Context, body AccountTotpDisableJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountTotpDisableResponse, error)
AccountTotpDisableWithResponse Disable two-factor
Requires a current authenticator or recovery code — a session alone is not enough to remove the factor that protects it.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/totp/disable (the `AccountTotpDisable` operationId).
func (*ClientWithResponses) AccountTotpRecoveryCodesWithBodyWithResponse ¶
func (c *ClientWithResponses) AccountTotpRecoveryCodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountTotpRecoveryCodesResponse, error)
AccountTotpRecoveryCodesWithBodyWithResponse Regenerate recovery codes
Invalidates every outstanding recovery code and issues a new set.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/totp/recovery-codes (the `AccountTotpRecoveryCodes` operationId).
func (*ClientWithResponses) AccountTotpRecoveryCodesWithResponse ¶
func (c *ClientWithResponses) AccountTotpRecoveryCodesWithResponse(ctx context.Context, body AccountTotpRecoveryCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountTotpRecoveryCodesResponse, error)
AccountTotpRecoveryCodesWithResponse Regenerate recovery codes
Invalidates every outstanding recovery code and issues a new set.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/totp/recovery-codes (the `AccountTotpRecoveryCodes` operationId).
func (*ClientWithResponses) AccountTotpSetupWithBodyWithResponse ¶
func (c *ClientWithResponses) AccountTotpSetupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountTotpSetupResponse, error)
AccountTotpSetupWithBodyWithResponse Begin two-factor setup
Generates a secret and stores it disabled. 2FA only becomes active once /v1/account/totp/confirm accepts a code from the authenticator. Accounts with a password must re-confirm it here.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/totp/setup (the `AccountTotpSetup` operationId).
func (*ClientWithResponses) AccountTotpSetupWithResponse ¶
func (c *ClientWithResponses) AccountTotpSetupWithResponse(ctx context.Context, body AccountTotpSetupJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountTotpSetupResponse, error)
AccountTotpSetupWithResponse Begin two-factor setup
Generates a secret and stores it disabled. 2FA only becomes active once /v1/account/totp/confirm accepts a code from the authenticator. Accounts with a password must re-confirm it here.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/totp/setup (the `AccountTotpSetup` operationId).
func (*ClientWithResponses) AccountTotpStatusWithResponse ¶
func (c *ClientWithResponses) AccountTotpStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountTotpStatusResponse, error)
AccountTotpStatusWithResponse Two-factor status
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account/totp (the `AccountTotpStatus` operationId).
func (*ClientWithResponses) AccountUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) AccountUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountUpdateResponse, error)
AccountUpdateWithBodyWithResponse Update account preferences
The panel language, the display name and where the customer is (timezone, country); send only what changes. The full user object is returned so the client can refresh its cache in one round trip.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/account (the `AccountUpdate` operationId).
func (*ClientWithResponses) AccountUpdateWithResponse ¶
func (c *ClientWithResponses) AccountUpdateWithResponse(ctx context.Context, body AccountUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountUpdateResponse, error)
AccountUpdateWithResponse Update account preferences
The panel language, the display name and where the customer is (timezone, country); send only what changes. The full user object is returned so the client can refresh its cache in one round trip.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/account (the `AccountUpdate` operationId).
func (*ClientWithResponses) AnnouncementBannerDismissWithResponse ¶
func (c *ClientWithResponses) AnnouncementBannerDismissWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AnnouncementBannerDismissResponse, error)
AnnouncementBannerDismissWithResponse Dismiss announcement banner
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/announcements/{id}/dismiss-banner (the `AnnouncementBannerDismiss` operationId).
func (*ClientWithResponses) AnnouncementBannerGetWithResponse ¶
func (c *ClientWithResponses) AnnouncementBannerGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AnnouncementBannerGetResponse, error)
AnnouncementBannerGetWithResponse Highest priority active banner
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/announcements/banner (the `AnnouncementBannerGet` operationId).
func (*ClientWithResponses) AnnouncementsGetWithResponse ¶
func (c *ClientWithResponses) AnnouncementsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AnnouncementsGetResponse, error)
AnnouncementsGetWithResponse Announcement detail and mark read
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/announcements/{id} (the `AnnouncementsGet` operationId).
func (*ClientWithResponses) AnnouncementsListWithResponse ¶
func (c *ClientWithResponses) AnnouncementsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AnnouncementsListResponse, error)
AnnouncementsListWithResponse My announcements
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/announcements (the `AnnouncementsList` operationId).
func (*ClientWithResponses) ApiTokenCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ApiTokenCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiTokenCreateResponse, error)
ApiTokenCreateWithBodyWithResponse Create an API token
The token acts as you, in your active organization, limited to the scopes you pick. The secret is shown once.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/api-tokens (the `ApiTokenCreate` operationId).
func (*ClientWithResponses) ApiTokenCreateWithResponse ¶
func (c *ClientWithResponses) ApiTokenCreateWithResponse(ctx context.Context, body ApiTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApiTokenCreateResponse, error)
ApiTokenCreateWithResponse Create an API token
The token acts as you, in your active organization, limited to the scopes you pick. The secret is shown once.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/account/api-tokens (the `ApiTokenCreate` operationId).
func (*ClientWithResponses) ApiTokenRevokeWithResponse ¶
func (c *ClientWithResponses) ApiTokenRevokeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ApiTokenRevokeResponse, error)
ApiTokenRevokeWithResponse Revoke an API token
Takes effect on the next request; there is no cached copy anywhere.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/account/api-tokens/{id} (the `ApiTokenRevoke` operationId).
func (*ClientWithResponses) ApiTokensListWithResponse ¶
func (c *ClientWithResponses) ApiTokensListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ApiTokensListResponse, error)
ApiTokensListWithResponse My API tokens
The secret itself is shown once, at creation, and is not retrievable afterwards.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account/api-tokens (the `ApiTokensList` operationId).
func (*ClientWithResponses) AppActionWithBodyWithResponse ¶
func (c *ClientWithResponses) AppActionWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppActionResponse, error)
AppActionWithBodyWithResponse Start, stop or restart an app
Writes the desired state and returns immediately. The node's agent converges within a second; poll the app to see `observed_state` follow. `restart` is rolling: the replacement starts beside the incumbent and traffic moves only once it answers.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/action (the `AppAction` operationId).
func (*ClientWithResponses) AppActionWithResponse ¶
func (c *ClientWithResponses) AppActionWithResponse(ctx context.Context, code string, body AppActionJSONRequestBody, reqEditors ...RequestEditorFn) (*AppActionResponse, error)
AppActionWithResponse Start, stop or restart an app
Writes the desired state and returns immediately. The node's agent converges within a second; poll the app to see `observed_state` follow. `restart` is rolling: the replacement starts beside the incumbent and traffic moves only once it answers.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/action (the `AppAction` operationId).
func (*ClientWithResponses) AppAttachmentCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) AppAttachmentCreateWithBodyWithResponse(ctx context.Context, appCode string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppAttachmentCreateResponse, error)
AppAttachmentCreateWithBodyWithResponse Attach a managed database
Creates a dedicated database user for the app and injects the connection variables into its environment. The app restarts with the new variables.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{appCode}/attachments (the `AppAttachmentCreate` operationId).
func (*ClientWithResponses) AppAttachmentCreateWithResponse ¶
func (c *ClientWithResponses) AppAttachmentCreateWithResponse(ctx context.Context, appCode string, body AppAttachmentCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AppAttachmentCreateResponse, error)
AppAttachmentCreateWithResponse Attach a managed database
Creates a dedicated database user for the app and injects the connection variables into its environment. The app restarts with the new variables.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{appCode}/attachments (the `AppAttachmentCreate` operationId).
func (*ClientWithResponses) AppAttachmentDeleteWithResponse ¶
func (c *ClientWithResponses) AppAttachmentDeleteWithResponse(ctx context.Context, appCode string, attachmentID string, reqEditors ...RequestEditorFn) (*AppAttachmentDeleteResponse, error)
AppAttachmentDeleteWithResponse Detach a managed database
Removes the injected variables (the app restarts) and drops the app's database user. The data is untouched.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/apps/{appCode}/attachments/{attachmentID} (the `AppAttachmentDelete` operationId).
func (*ClientWithResponses) AppAttachmentVerifyWithResponse ¶
func (c *ClientWithResponses) AppAttachmentVerifyWithResponse(ctx context.Context, appCode string, attachmentID string, reqEditors ...RequestEditorFn) (*AppAttachmentVerifyResponse, error)
AppAttachmentVerifyWithResponse Re-check an attachment's connectivity
Queues a TCP connect to the endpoint the app's injected URL names, run from the app's own network on its node. The result appears as probe_state on the attachment.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{appCode}/attachments/{attachmentID}/verify (the `AppAttachmentVerify` operationId).
func (*ClientWithResponses) AppAttachmentsListWithResponse ¶
func (c *ClientWithResponses) AppAttachmentsListWithResponse(ctx context.Context, appCode string, reqEditors ...RequestEditorFn) (*AppAttachmentsListResponse, error)
AppAttachmentsListWithResponse Databases attached to the app
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps/{appCode}/attachments (the `AppAttachmentsList` operationId).
func (*ClientWithResponses) AppAutoDeploySetWithBodyWithResponse ¶
func (c *ClientWithResponses) AppAutoDeploySetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppAutoDeploySetResponse, error)
AppAutoDeploySetWithBodyWithResponse Deploy on every push
When on, a push to the app's branch queues a build by itself. Off by default: connecting a repository is not the same as asking for every commit to reach production. Requires an app created from a repository.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/apps/{code}/auto-deploy (the `AppAutoDeploySet` operationId).
func (*ClientWithResponses) AppAutoDeploySetWithResponse ¶
func (c *ClientWithResponses) AppAutoDeploySetWithResponse(ctx context.Context, code string, body AppAutoDeploySetJSONRequestBody, reqEditors ...RequestEditorFn) (*AppAutoDeploySetResponse, error)
AppAutoDeploySetWithResponse Deploy on every push
When on, a push to the app's branch queues a build by itself. Off by default: connecting a repository is not the same as asking for every commit to reach production. Requires an app created from a repository.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/apps/{code}/auto-deploy (the `AppAutoDeploySet` operationId).
func (*ClientWithResponses) AppBuildCancelWithResponse ¶
func (c *ClientWithResponses) AppBuildCancelWithResponse(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*AppBuildCancelResponse, error)
AppBuildCancelWithResponse Cancel a build
Stops a queued build immediately; a running build is asked to stop and reports `canceled` once the node confirms. With one build at a time per app, this is how a bad deploy stops blocking the next one instead of holding it for the full build timeout.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/builds/{id}/cancel (the `AppBuildCancel` operationId).
func (*ClientWithResponses) AppBuildCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) AppBuildCreateWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppBuildCreateResponse, error)
AppBuildCreateWithBodyWithResponse Build from a repository
Queues a build with the app's own build configuration and build-phase variables. The node's agent fetches the source, builds it with BuildKit, pushes the image to the region's registry and — on success — points the app at it, which rolls the container forward on the next cycle. One build at a time per app. The deploy scope builds the app's own repository, at its stored ref or another one; building a different repository answers 403 (ORGANIZATION_ROLE_FORBIDDEN or TOKEN_SCOPE_FORBIDDEN) unless the caller could change the app's source. To change the repository, subdirectory or Dockerfile path for good, use PUT /v1/apps/{code}/source first.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/builds (the `AppBuildCreate` operationId).
func (*ClientWithResponses) AppBuildCreateWithResponse ¶
func (c *ClientWithResponses) AppBuildCreateWithResponse(ctx context.Context, code string, body AppBuildCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AppBuildCreateResponse, error)
AppBuildCreateWithResponse Build from a repository
Queues a build with the app's own build configuration and build-phase variables. The node's agent fetches the source, builds it with BuildKit, pushes the image to the region's registry and — on success — points the app at it, which rolls the container forward on the next cycle. One build at a time per app. The deploy scope builds the app's own repository, at its stored ref or another one; building a different repository answers 403 (ORGANIZATION_ROLE_FORBIDDEN or TOKEN_SCOPE_FORBIDDEN) unless the caller could change the app's source. To change the repository, subdirectory or Dockerfile path for good, use PUT /v1/apps/{code}/source first.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/builds (the `AppBuildCreate` operationId).
func (*ClientWithResponses) AppBuildGetWithResponse ¶
func (c *ClientWithResponses) AppBuildGetWithResponse(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*AppBuildGetResponse, error)
AppBuildGetWithResponse Build detail with log
The log survives the build: it is stored with the row, not streamed and forgotten.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps/{code}/builds/{id} (the `AppBuildGet` operationId).
func (*ClientWithResponses) AppBuildsListWithResponse ¶
func (c *ClientWithResponses) AppBuildsListWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppBuildsListResponse, error)
AppBuildsListWithResponse Build history
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps/{code}/builds (the `AppBuildsList` operationId).
func (*ClientWithResponses) AppCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) AppCreateWithBodyWithResponse(ctx context.Context, params *AppCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppCreateResponse, error)
AppCreateWithBodyWithResponse Create app
Places the app on a node in the chosen region, charges the first month and starts it. Placement and payment happen in the same transaction, so a create either has a machine and a paid month or fails with NO_CAPACITY / INSUFFICIENT_BALANCE — it is never queued and never half-done.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps (the `AppCreate` operationId).
func (*ClientWithResponses) AppCreateWithResponse ¶
func (c *ClientWithResponses) AppCreateWithResponse(ctx context.Context, params *AppCreateParams, body AppCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AppCreateResponse, error)
AppCreateWithResponse Create app
Places the app on a node in the chosen region, charges the first month and starts it. Placement and payment happen in the same transaction, so a create either has a machine and a paid month or fails with NO_CAPACITY / INSUFFICIENT_BALANCE — it is never queued and never half-done.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps (the `AppCreate` operationId).
func (*ClientWithResponses) AppDeleteWithResponse ¶
func (c *ClientWithResponses) AppDeleteWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppDeleteResponse, error)
AppDeleteWithResponse Delete app
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/apps/{code} (the `AppDelete` operationId).
func (*ClientWithResponses) AppDetectBuildWithResponse ¶
func (c *ClientWithResponses) AppDetectBuildWithResponse(ctx context.Context, params *AppDetectBuildParams, reqEditors ...RequestEditorFn) (*AppDetectBuildResponse, error)
AppDetectBuildWithResponse Guess how a repository is built
Reads the listing at the build directory and at most one manifest, and suggests a builder for the create form. A suggestion only: nothing is written and every field stays editable.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps/detect (the `AppDetectBuild` operationId).
func (*ClientWithResponses) AppDomainAddWithBodyWithResponse ¶
func (c *ClientWithResponses) AppDomainAddWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppDomainAddResponse, error)
AppDomainAddWithBodyWithResponse Attach a custom domain
Records the claim and returns the DNS records to create. Nothing is routed until `appDomainVerify` finds the TXT record, which is what stops one customer from claiming another's hostname. An unverified claim reserves the hostname for seven days (`claim_expires_at`); after that another organization's claim releases it. A claim on a deleted app is released with the app.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/domains (the `AppDomainAdd` operationId).
func (*ClientWithResponses) AppDomainAddWithResponse ¶
func (c *ClientWithResponses) AppDomainAddWithResponse(ctx context.Context, code string, body AppDomainAddJSONRequestBody, reqEditors ...RequestEditorFn) (*AppDomainAddResponse, error)
AppDomainAddWithResponse Attach a custom domain
Records the claim and returns the DNS records to create. Nothing is routed until `appDomainVerify` finds the TXT record, which is what stops one customer from claiming another's hostname. An unverified claim reserves the hostname for seven days (`claim_expires_at`); after that another organization's claim releases it. A claim on a deleted app is released with the app.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/domains (the `AppDomainAdd` operationId).
func (*ClientWithResponses) AppDomainDeleteWithResponse ¶
func (c *ClientWithResponses) AppDomainDeleteWithResponse(ctx context.Context, code string, domainID string, reqEditors ...RequestEditorFn) (*AppDomainDeleteResponse, error)
AppDomainDeleteWithResponse Detach a custom domain
Stops serving the hostname. Point its DNS somewhere else too: a record still aimed here after this call is what subdomain takeover attempts look for.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/apps/{code}/domains/{domainID} (the `AppDomainDelete` operationId).
func (*ClientWithResponses) AppDomainVerifyWithResponse ¶
func (c *ClientWithResponses) AppDomainVerifyWithResponse(ctx context.Context, code string, domainID string, reqEditors ...RequestEditorFn) (*AppDomainVerifyResponse, error)
AppDomainVerifyWithResponse Check the ownership record
Reads the TXT record from the hostname's own nameservers, not from a public resolver, so a record added seconds ago is seen immediately. On success the edge starts serving the hostname within about a second.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/domains/{domainID}/verify (the `AppDomainVerify` operationId).
func (*ClientWithResponses) AppDomainsListWithResponse ¶
func (c *ClientWithResponses) AppDomainsListWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppDomainsListResponse, error)
AppDomainsListWithResponse Custom domains of an app
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps/{code}/domains (the `AppDomainsList` operationId).
func (*ClientWithResponses) AppEnvGetWithResponse ¶
func (c *ClientWithResponses) AppEnvGetWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppEnvGetResponse, error)
AppEnvGetWithResponse Environment variables
Returns the decrypted values. The read is written to the audit log, so treat it as a deliberate action rather than something to poll.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps/{code}/env (the `AppEnvGet` operationId).
func (*ClientWithResponses) AppEnvSetWithBodyWithResponse ¶
func (c *ClientWithResponses) AppEnvSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppEnvSetResponse, error)
AppEnvSetWithBodyWithResponse Replace environment variables
Stores the values encrypted. Run-phase changes recreate the container on the next agent cycle, about a second later, with no separate apply step. Build-phase changes reach nothing running: they decide what the NEXT build is given.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/apps/{code}/env (the `AppEnvSet` operationId).
func (*ClientWithResponses) AppEnvSetWithResponse ¶
func (c *ClientWithResponses) AppEnvSetWithResponse(ctx context.Context, code string, body AppEnvSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AppEnvSetResponse, error)
AppEnvSetWithResponse Replace environment variables
Stores the values encrypted. Run-phase changes recreate the container on the next agent cycle, about a second later, with no separate apply step. Build-phase changes reach nothing running: they decide what the NEXT build is given.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/apps/{code}/env (the `AppEnvSet` operationId).
func (*ClientWithResponses) AppEventsListWithResponse ¶
func (c *ClientWithResponses) AppEventsListWithResponse(ctx context.Context, code string, params *AppEventsListParams, reqEditors ...RequestEditorFn) (*AppEventsListResponse, error)
AppEventsListWithResponse App activity feed
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps/{code}/events (the `AppEventsList` operationId).
func (*ClientWithResponses) AppExecStartWithBodyWithResponse ¶
func (c *ClientWithResponses) AppExecStartWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppExecStartResponse, error)
AppExecStartWithBodyWithResponse Open a shell or follow the logs
Mints a single-use token for an interactive session. The browser dials /v1/apps/exec/ws offering [exec.v1, <token>]; the node's agent attaches from its side, normally within a second. Opening and closing are both recorded in the audit log.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/exec (the `AppExecStart` operationId).
func (*ClientWithResponses) AppExecStartWithResponse ¶
func (c *ClientWithResponses) AppExecStartWithResponse(ctx context.Context, code string, body AppExecStartJSONRequestBody, reqEditors ...RequestEditorFn) (*AppExecStartResponse, error)
AppExecStartWithResponse Open a shell or follow the logs
Mints a single-use token for an interactive session. The browser dials /v1/apps/exec/ws offering [exec.v1, <token>]; the node's agent attaches from its side, normally within a second. Opening and closing are both recorded in the audit log.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/exec (the `AppExecStart` operationId).
func (*ClientWithResponses) AppGetWithResponse ¶
func (c *ClientWithResponses) AppGetWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppGetResponse, error)
AppGetWithResponse App detail
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps/{code} (the `AppGet` operationId).
func (*ClientWithResponses) AppLogsGetWithResponse ¶
func (c *ClientWithResponses) AppLogsGetWithResponse(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*AppLogsGetResponse, error)
AppLogsGetWithResponse Read the answer to a log request
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps/{code}/logs/{id} (the `AppLogsGet` operationId).
func (*ClientWithResponses) AppLogsRequestWithBodyWithResponse ¶
func (c *ClientWithResponses) AppLogsRequestWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppLogsRequestResponse, error)
AppLogsRequestWithBodyWithResponse Ask for the app's recent output
Queues a request for the tail of the running container's log. The node answers on its next cycle, normally within a second; poll the returned id. Reading application output is recorded in the audit log.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/logs (the `AppLogsRequest` operationId).
func (*ClientWithResponses) AppLogsRequestWithResponse ¶
func (c *ClientWithResponses) AppLogsRequestWithResponse(ctx context.Context, code string, body AppLogsRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*AppLogsRequestResponse, error)
AppLogsRequestWithResponse Ask for the app's recent output
Queues a request for the tail of the running container's log. The node answers on its next cycle, normally within a second; poll the returned id. Reading application output is recorded in the audit log.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/logs (the `AppLogsRequest` operationId).
func (*ClientWithResponses) AppMetricsWithResponse ¶
func (c *ClientWithResponses) AppMetricsWithResponse(ctx context.Context, code string, params *AppMetricsParams, reqEditors ...RequestEditorFn) (*AppMetricsResponse, error)
AppMetricsWithResponse Resource usage (CPU, memory, network)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps/{code}/metrics (the `AppMetrics` operationId).
func (*ClientWithResponses) AppPlansListWithResponse ¶
func (c *ClientWithResponses) AppPlansListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppPlansListResponse, error)
AppPlansListWithResponse App plans
The container plans an app can be created on, with the monthly price already converted to the asking organization's currency. A separate catalog from /v1/plans on purpose: a container has no disk or bandwidth tier, and a server plan is not something an app can run on.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/app-plans (the `AppPlansList` operationId).
func (*ClientWithResponses) AppPresetsListWithResponse ¶
func (c *ClientWithResponses) AppPresetsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppPresetsListResponse, error)
AppPresetsListWithResponse Build presets
The stacks the platform can write a Dockerfile for, so a repository that carries none can still be deployed. Choosing one is the `preset` builder; the default builder still expects a Dockerfile in the repository.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/app-presets (the `AppPresetsList` operationId).
func (*ClientWithResponses) AppProjectSetWithBodyWithResponse ¶
func (c *ClientWithResponses) AppProjectSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppProjectSetResponse, error)
AppProjectSetWithBodyWithResponse Move app to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/apps/{code}/project (the `AppProjectSet` operationId).
func (*ClientWithResponses) AppProjectSetWithResponse ¶
func (c *ClientWithResponses) AppProjectSetWithResponse(ctx context.Context, code string, body AppProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AppProjectSetResponse, error)
AppProjectSetWithResponse Move app to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/apps/{code}/project (the `AppProjectSet` operationId).
func (*ClientWithResponses) AppReleasesListWithResponse ¶
func (c *ClientWithResponses) AppReleasesListWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppReleasesListResponse, error)
AppReleasesListWithResponse Release history
What this app has served, newest first, with the commit each version came from where there was one.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps/{code}/releases (the `AppReleasesList` operationId).
func (*ClientWithResponses) AppResizeWithBodyWithResponse ¶
func (c *ClientWithResponses) AppResizeWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppResizeResponse, error)
AppResizeWithBodyWithResponse Resize an app
Moves the app to another plan and returns immediately; the container is replaced with the new limits through the rolling cutover. An upgrade is charged upfront for the days left in the prepaid month; a downgrade takes effect at the next renewal. Same-node only: NO_CAPACITY when the node cannot fit the growth.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/resize (the `AppResize` operationId).
func (*ClientWithResponses) AppResizeWithResponse ¶
func (c *ClientWithResponses) AppResizeWithResponse(ctx context.Context, code string, body AppResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*AppResizeResponse, error)
AppResizeWithResponse Resize an app
Moves the app to another plan and returns immediately; the container is replaced with the new limits through the rolling cutover. An upgrade is charged upfront for the days left in the prepaid month; a downgrade takes effect at the next renewal. Same-node only: NO_CAPACITY when the node cannot fit the growth.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/resize (the `AppResize` operationId).
func (*ClientWithResponses) AppRollbackWithBodyWithResponse ¶
func (c *ClientWithResponses) AppRollbackWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppRollbackResponse, error)
AppRollbackWithBodyWithResponse Roll back to a previous release
Points the app at the image an earlier release ran. Nothing is rebuilt, so recovery takes as long as a container start; the current version keeps serving until the restored one answers. The rollback is itself a new release, so the history stays append-only and the number the customer is on always moves forward.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/rollback (the `AppRollback` operationId).
func (*ClientWithResponses) AppRollbackWithResponse ¶
func (c *ClientWithResponses) AppRollbackWithResponse(ctx context.Context, code string, body AppRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*AppRollbackResponse, error)
AppRollbackWithResponse Roll back to a previous release
Points the app at the image an earlier release ran. Nothing is rebuilt, so recovery takes as long as a container start; the current version keeps serving until the restored one answers. The rollback is itself a new release, so the history stays append-only and the number the customer is on always moves forward.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/rollback (the `AppRollback` operationId).
func (*ClientWithResponses) AppScaleWithBodyWithResponse ¶
func (c *ClientWithResponses) AppScaleWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppScaleResponse, error)
AppScaleWithBodyWithResponse Set the replica range
Sets how many containers may run. The platform picks the number inside the range from CPU load; setting the minimum equal to the maximum pins it. Capacity is reserved for the MAXIMUM, so a range whose ceiling does not fit the node answers NO_CAPACITY. Same-node only.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/scale (the `AppScale` operationId).
func (*ClientWithResponses) AppScaleWithResponse ¶
func (c *ClientWithResponses) AppScaleWithResponse(ctx context.Context, code string, body AppScaleJSONRequestBody, reqEditors ...RequestEditorFn) (*AppScaleResponse, error)
AppScaleWithResponse Set the replica range
Sets how many containers may run. The platform picks the number inside the range from CPU load; setting the minimum equal to the maximum pins it. Capacity is reserved for the MAXIMUM, so a range whose ceiling does not fit the node answers NO_CAPACITY. Same-node only.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/apps/{code}/scale (the `AppScale` operationId).
func (*ClientWithResponses) AppSourceSetWithBodyWithResponse ¶
func (c *ClientWithResponses) AppSourceSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppSourceSetResponse, error)
AppSourceSetWithBodyWithResponse Change the app's repository
Repoints the app at a different repository, branch, connection or build configuration. Queues NO build — changing where the code comes from and deciding to ship it are two decisions. The next deploy uses the new source.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/apps/{code}/source (the `AppSourceSet` operationId).
func (*ClientWithResponses) AppSourceSetWithResponse ¶
func (c *ClientWithResponses) AppSourceSetWithResponse(ctx context.Context, code string, body AppSourceSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AppSourceSetResponse, error)
AppSourceSetWithResponse Change the app's repository
Repoints the app at a different repository, branch, connection or build configuration. Queues NO build — changing where the code comes from and deciding to ship it are two decisions. The next deploy uses the new source.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/apps/{code}/source (the `AppSourceSet` operationId).
func (*ClientWithResponses) AppTagsSetWithBodyWithResponse ¶
func (c *ClientWithResponses) AppTagsSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppTagsSetResponse, error)
AppTagsSetWithBodyWithResponse Replace app tags
Replaces the whole tag set. Tags group resources across projects: a app is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/apps/{code}/tags (the `AppTagsSet` operationId).
func (*ClientWithResponses) AppTagsSetWithResponse ¶
func (c *ClientWithResponses) AppTagsSetWithResponse(ctx context.Context, code string, body AppTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AppTagsSetResponse, error)
AppTagsSetWithResponse Replace app tags
Replaces the whole tag set. Tags group resources across projects: a app is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/apps/{code}/tags (the `AppTagsSet` operationId).
func (*ClientWithResponses) AppUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) AppUpdateWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppUpdateResponse, error)
AppUpdateWithBodyWithResponse Change app settings
Sends the whole editable set. A port or start-command change produces a new container; the running one keeps serving until the replacement answers. Changing the start command needs the organization admin or owner role, because it runs with the app's environment; a member sends it back unchanged. Memory and CPU are not here — those are a capacity reservation and change through a resize.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/apps/{code}/settings (the `AppUpdate` operationId).
func (*ClientWithResponses) AppUpdateWithResponse ¶
func (c *ClientWithResponses) AppUpdateWithResponse(ctx context.Context, code string, body AppUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AppUpdateResponse, error)
AppUpdateWithResponse Change app settings
Sends the whole editable set. A port or start-command change produces a new container; the running one keeps serving until the replacement answers. Changing the start command needs the organization admin or owner role, because it runs with the app's environment; a member sends it back unchanged. Memory and CPU are not here — those are a capacity reservation and change through a resize.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/apps/{code}/settings (the `AppUpdate` operationId).
func (*ClientWithResponses) AppsListWithResponse ¶
func (c *ClientWithResponses) AppsListWithResponse(ctx context.Context, params *AppsListParams, reqEditors ...RequestEditorFn) (*AppsListResponse, error)
AppsListWithResponse My apps
Paged. `summary` describes the whole organization and does not move as you page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/apps (the `AppsList` operationId).
func (*ClientWithResponses) AuthConfirmEmailChangeWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthConfirmEmailChangeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthConfirmEmailChangeResponse, error)
AuthConfirmEmailChangeWithBodyWithResponse Confirm a sign-in address change
Spends the one-time link. Every open session is closed, so the customer signs in again with the new address.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/verify-email-change (the `AuthConfirmEmailChange` operationId).
func (*ClientWithResponses) AuthConfirmEmailChangeWithResponse ¶
func (c *ClientWithResponses) AuthConfirmEmailChangeWithResponse(ctx context.Context, body AuthConfirmEmailChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthConfirmEmailChangeResponse, error)
AuthConfirmEmailChangeWithResponse Confirm a sign-in address change
Spends the one-time link. Every open session is closed, so the customer signs in again with the new address.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/verify-email-change (the `AuthConfirmEmailChange` operationId).
func (*ClientWithResponses) AuthImpersonateWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthImpersonateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthImpersonateResponse, error)
AuthImpersonateWithBodyWithResponse Exchange a staff impersonation grant for a session
Consumes a single-use grant minted in the admin panel and sets a customer session cookie carrying the staff member's identity. The grant dies on first use; expired, already-used and unknown grants are one refusal. The session is short-lived and every request from it is recorded against the customer, with the join back to the staff member in the audit log.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/impersonate (the `AuthImpersonate` operationId).
func (*ClientWithResponses) AuthImpersonateWithResponse ¶
func (c *ClientWithResponses) AuthImpersonateWithResponse(ctx context.Context, body AuthImpersonateJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthImpersonateResponse, error)
AuthImpersonateWithResponse Exchange a staff impersonation grant for a session
Consumes a single-use grant minted in the admin panel and sets a customer session cookie carrying the staff member's identity. The grant dies on first use; expired, already-used and unknown grants are one refusal. The session is short-lived and every request from it is recorded against the customer, with the join back to the staff member in the audit log.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/impersonate (the `AuthImpersonate` operationId).
func (*ClientWithResponses) AuthLoginWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthLoginResponse, error)
AuthLoginWithBodyWithResponse Log in
On success a session cookie is set. If the account has 2FA enabled the response is `mfa_required` with a short-lived challenge cookie instead — no session exists until POST /v1/auth/mfa succeeds. Repeated failures put the address into a growing backoff window (429); the window applies to unregistered addresses too, so it reveals nothing about which accounts exist.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/login (the `AuthLogin` operationId).
func (*ClientWithResponses) AuthLoginWithResponse ¶
func (c *ClientWithResponses) AuthLoginWithResponse(ctx context.Context, body AuthLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthLoginResponse, error)
AuthLoginWithResponse Log in
On success a session cookie is set. If the account has 2FA enabled the response is `mfa_required` with a short-lived challenge cookie instead — no session exists until POST /v1/auth/mfa succeeds. Repeated failures put the address into a growing backoff window (429); the window applies to unregistered addresses too, so it reveals nothing about which accounts exist.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/login (the `AuthLogin` operationId).
func (*ClientWithResponses) AuthLogoutWithResponse ¶
func (c *ClientWithResponses) AuthLogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthLogoutResponse, error)
AuthLogoutWithResponse Log out
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/logout (the `AuthLogout` operationId).
func (*ClientWithResponses) AuthMfaVerifyWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthMfaVerifyWithBodyWithResponse(ctx context.Context, params *AuthMfaVerifyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthMfaVerifyResponse, error)
AuthMfaVerifyWithBodyWithResponse Complete login with a second factor
Consumes the challenge cookie from the login step. At most 5 attempts per challenge; the challenge expires after 10 minutes.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/mfa (the `AuthMfaVerify` operationId).
func (*ClientWithResponses) AuthMfaVerifyWithResponse ¶
func (c *ClientWithResponses) AuthMfaVerifyWithResponse(ctx context.Context, params *AuthMfaVerifyParams, body AuthMfaVerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthMfaVerifyResponse, error)
AuthMfaVerifyWithResponse Complete login with a second factor
Consumes the challenge cookie from the login step. At most 5 attempts per challenge; the challenge expires after 10 minutes.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/mfa (the `AuthMfaVerify` operationId).
func (*ClientWithResponses) AuthOauthCallbackWithResponse ¶
func (c *ClientWithResponses) AuthOauthCallbackWithResponse(ctx context.Context, provider AuthOauthCallbackParamsProvider, params *AuthOauthCallbackParams, reqEditors ...RequestEditorFn) (*AuthOauthCallbackResponse, error)
AuthOauthCallbackWithResponse Social sign-in callback
Provider redirect target. Always answers with a redirect into the panel — on success with a session (or 2FA challenge) cookie, on failure with an `oauth_error` query parameter.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/auth/oauth/{provider}/callback (the `AuthOauthCallback` operationId).
func (*ClientWithResponses) AuthOauthProvidersWithResponse ¶
func (c *ClientWithResponses) AuthOauthProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthOauthProvidersResponse, error)
AuthOauthProvidersWithResponse Configured social sign-in providers
The panel renders one button per entry, so an unconfigured provider never shows a dead button.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/auth/oauth/providers (the `AuthOauthProviders` operationId).
func (*ClientWithResponses) AuthOauthStartWithResponse ¶
func (c *ClientWithResponses) AuthOauthStartWithResponse(ctx context.Context, provider AuthOauthStartParamsProvider, params *AuthOauthStartParams, reqEditors ...RequestEditorFn) (*AuthOauthStartResponse, error)
AuthOauthStartWithResponse Begin social sign-in
Redirects to the provider. `mode=link` requires an authenticated session and attaches the provider to it.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/auth/oauth/{provider}/start (the `AuthOauthStart` operationId).
func (*ClientWithResponses) AuthPasswordResetRequestWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthPasswordResetRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthPasswordResetRequestResponse, error)
AuthPasswordResetRequestWithBodyWithResponse Request password reset
If the account exists a reset email is sent; the response is 204 in all cases (enumeration protection).
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/password-reset/request (the `AuthPasswordResetRequest` operationId).
func (*ClientWithResponses) AuthPasswordResetRequestWithResponse ¶
func (c *ClientWithResponses) AuthPasswordResetRequestWithResponse(ctx context.Context, body AuthPasswordResetRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthPasswordResetRequestResponse, error)
AuthPasswordResetRequestWithResponse Request password reset
If the account exists a reset email is sent; the response is 204 in all cases (enumeration protection).
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/password-reset/request (the `AuthPasswordResetRequest` operationId).
func (*ClientWithResponses) AuthPasswordResetWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthPasswordResetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthPasswordResetResponse, error)
AuthPasswordResetWithBodyWithResponse Reset password
Consumes the token, changes the password, and terminates all sessions.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/password-reset/confirm (the `AuthPasswordReset` operationId).
func (*ClientWithResponses) AuthPasswordResetWithResponse ¶
func (c *ClientWithResponses) AuthPasswordResetWithResponse(ctx context.Context, body AuthPasswordResetJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthPasswordResetResponse, error)
AuthPasswordResetWithResponse Reset password
Consumes the token, changes the password, and terminates all sessions.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/password-reset/confirm (the `AuthPasswordReset` operationId).
func (*ClientWithResponses) AuthPolicyWithResponse ¶
func (c *ClientWithResponses) AuthPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthPolicyResponse, error)
AuthPolicyWithResponse Verification policy
Which verification steps this deployment requires. Unauthenticated: a sign-up form has to know it before anyone has an account.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/auth/policy (the `AuthPolicy` operationId).
func (*ClientWithResponses) AuthRegisterWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthRegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthRegisterResponse, error)
AuthRegisterWithBodyWithResponse Register
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/register (the `AuthRegister` operationId).
func (*ClientWithResponses) AuthRegisterWithResponse ¶
func (c *ClientWithResponses) AuthRegisterWithResponse(ctx context.Context, body AuthRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthRegisterResponse, error)
AuthRegisterWithResponse Register
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/register (the `AuthRegister` operationId).
func (*ClientWithResponses) AuthSessionRevokeWithResponse ¶
func (c *ClientWithResponses) AuthSessionRevokeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AuthSessionRevokeResponse, error)
AuthSessionRevokeWithResponse Revoke session
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/auth/sessions/{id} (the `AuthSessionRevoke` operationId).
func (*ClientWithResponses) AuthSessionsListWithResponse ¶
func (c *ClientWithResponses) AuthSessionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthSessionsListResponse, error)
AuthSessionsListWithResponse Active sessions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/auth/sessions (the `AuthSessionsList` operationId).
func (*ClientWithResponses) AuthVerifyEmailResendWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthVerifyEmailResendWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthVerifyEmailResendResponse, error)
AuthVerifyEmailResendWithBodyWithResponse Resend verification email
Always 204: unknown address, already-verified account and throttled sender are indistinguishable (enumeration protection). At most one mail per minute and 5 per day per account.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/verify-email/resend (the `AuthVerifyEmailResend` operationId).
func (*ClientWithResponses) AuthVerifyEmailResendWithResponse ¶
func (c *ClientWithResponses) AuthVerifyEmailResendWithResponse(ctx context.Context, body AuthVerifyEmailResendJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthVerifyEmailResendResponse, error)
AuthVerifyEmailResendWithResponse Resend verification email
Always 204: unknown address, already-verified account and throttled sender are indistinguishable (enumeration protection). At most one mail per minute and 5 per day per account.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/verify-email/resend (the `AuthVerifyEmailResend` operationId).
func (*ClientWithResponses) AuthVerifyEmailWithBodyWithResponse ¶
func (c *ClientWithResponses) AuthVerifyEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthVerifyEmailResponse, error)
AuthVerifyEmailWithBodyWithResponse Verify email
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/verify-email (the `AuthVerifyEmail` operationId).
func (*ClientWithResponses) AuthVerifyEmailWithResponse ¶
func (c *ClientWithResponses) AuthVerifyEmailWithResponse(ctx context.Context, body AuthVerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthVerifyEmailResponse, error)
AuthVerifyEmailWithResponse Verify email
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/auth/verify-email (the `AuthVerifyEmail` operationId).
func (*ClientWithResponses) ConnectedAppRevokeWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) ConnectedAppRevokeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ConnectedAppRevokeResponse, error)
ConnectedAppRevokeWithResponse Disconnect an application
The consent is withdrawn and the token it holds stops working immediately, not at its own expiry.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/account/connected-apps/{id} (the `ConnectedAppRevoke` operationId).
func (*ClientWithResponses) ConnectedAppsListWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) ConnectedAppsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ConnectedAppsListResponse, error)
ConnectedAppsListWithResponse Applications connected to my account
Every application that holds a live authorization, what it may do, and when it last used it.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/account/connected-apps (the `ConnectedAppsList` operationId).
func (*ClientWithResponses) DatabaseAlertDeleteWithResponse ¶
func (c *ClientWithResponses) DatabaseAlertDeleteWithResponse(ctx context.Context, databaseId string, metric DatabaseAlertDeleteParamsMetric, reqEditors ...RequestEditorFn) (*DatabaseAlertDeleteResponse, error)
DatabaseAlertDeleteWithResponse Delete a metric alarm rule
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/databases/{databaseId}/alerts/{metric} (the `DatabaseAlertDelete` operationId).
func (*ClientWithResponses) DatabaseAlertSaveWithBodyWithResponse ¶
func (c *ClientWithResponses) DatabaseAlertSaveWithBodyWithResponse(ctx context.Context, databaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseAlertSaveResponse, error)
DatabaseAlertSaveWithBodyWithResponse Create or update a metric alarm rule
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/databases/{databaseId}/alerts (the `DatabaseAlertSave` operationId).
func (*ClientWithResponses) DatabaseAlertSaveWithResponse ¶
func (c *ClientWithResponses) DatabaseAlertSaveWithResponse(ctx context.Context, databaseId string, body DatabaseAlertSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseAlertSaveResponse, error)
DatabaseAlertSaveWithResponse Create or update a metric alarm rule
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/databases/{databaseId}/alerts (the `DatabaseAlertSave` operationId).
func (*ClientWithResponses) DatabaseAlertsListWithResponse ¶
func (c *ClientWithResponses) DatabaseAlertsListWithResponse(ctx context.Context, databaseId string, reqEditors ...RequestEditorFn) (*DatabaseAlertsListResponse, error)
DatabaseAlertsListWithResponse List metric alarm rules
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/databases/{databaseId}/alerts (the `DatabaseAlertsList` operationId).
func (*ClientWithResponses) DatabaseBackupCreateWithResponse ¶
func (c *ClientWithResponses) DatabaseBackupCreateWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseBackupCreateResponse, error)
DatabaseBackupCreateWithResponse Take an on-demand full backup
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases/{databaseID}/backups (the `DatabaseBackupCreate` operationId).
func (*ClientWithResponses) DatabaseBackupsListWithResponse ¶
func (c *ClientWithResponses) DatabaseBackupsListWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseBackupsListResponse, error)
DatabaseBackupsListWithResponse Backup history
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/databases/{databaseID}/backups (the `DatabaseBackupsList` operationId).
func (*ClientWithResponses) DatabaseConnectionGetWithResponse ¶
func (c *ClientWithResponses) DatabaseConnectionGetWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseConnectionGetResponse, error)
DatabaseConnectionGetWithResponse Connection credentials
Reading credentials is recorded in the audit log.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/databases/{databaseID}/connection (the `DatabaseConnectionGet` operationId).
func (*ClientWithResponses) DatabaseCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) DatabaseCreateWithBodyWithResponse(ctx context.Context, params *DatabaseCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseCreateResponse, error)
DatabaseCreateWithBodyWithResponse Create a managed database
Charges one month upfront (payment before provision). The unused period is refunded on early delete.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases (the `DatabaseCreate` operationId).
func (*ClientWithResponses) DatabaseCreateWithResponse ¶
func (c *ClientWithResponses) DatabaseCreateWithResponse(ctx context.Context, params *DatabaseCreateParams, body DatabaseCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseCreateResponse, error)
DatabaseCreateWithResponse Create a managed database
Charges one month upfront (payment before provision). The unused period is refunded on early delete.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases (the `DatabaseCreate` operationId).
func (*ClientWithResponses) DatabaseDbCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) DatabaseDbCreateWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseDbCreateResponse, error)
DatabaseDbCreateWithBodyWithResponse Create a logical database
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases/{databaseID}/dbs (the `DatabaseDbCreate` operationId).
func (*ClientWithResponses) DatabaseDbCreateWithResponse ¶
func (c *ClientWithResponses) DatabaseDbCreateWithResponse(ctx context.Context, databaseID string, body DatabaseDbCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseDbCreateResponse, error)
DatabaseDbCreateWithResponse Create a logical database
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases/{databaseID}/dbs (the `DatabaseDbCreate` operationId).
func (*ClientWithResponses) DatabaseDeleteWithResponse ¶
func (c *ClientWithResponses) DatabaseDeleteWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseDeleteResponse, error)
DatabaseDeleteWithResponse Delete the managed database
The unused part of the prepaid month is refunded to the wallet.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/databases/{databaseID} (the `DatabaseDelete` operationId).
func (*ClientWithResponses) DatabaseGetWithResponse ¶
func (c *ClientWithResponses) DatabaseGetWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseGetResponse, error)
DatabaseGetWithResponse Managed database detail
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/databases/{databaseID} (the `DatabaseGet` operationId).
func (*ClientWithResponses) DatabaseMetricsListWithResponse ¶
func (c *ClientWithResponses) DatabaseMetricsListWithResponse(ctx context.Context, databaseId string, params *DatabaseMetricsListParams, reqEditors ...RequestEditorFn) (*DatabaseMetricsListResponse, error)
DatabaseMetricsListWithResponse Sampled resource metrics
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/databases/{databaseId}/metrics (the `DatabaseMetricsList` operationId).
func (*ClientWithResponses) DatabaseOptionsListWithResponse ¶
func (c *ClientWithResponses) DatabaseOptionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DatabaseOptionsListResponse, error)
DatabaseOptionsListWithResponse Managed database plans and engine versions
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/database-options (the `DatabaseOptionsList` operationId).
func (*ClientWithResponses) DatabaseProjectSetWithBodyWithResponse ¶
func (c *ClientWithResponses) DatabaseProjectSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseProjectSetResponse, error)
DatabaseProjectSetWithBodyWithResponse Move database to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/databases/{databaseID}/project (the `DatabaseProjectSet` operationId).
func (*ClientWithResponses) DatabaseProjectSetWithResponse ¶
func (c *ClientWithResponses) DatabaseProjectSetWithResponse(ctx context.Context, databaseID string, body DatabaseProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseProjectSetResponse, error)
DatabaseProjectSetWithResponse Move database to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/databases/{databaseID}/project (the `DatabaseProjectSet` operationId).
func (*ClientWithResponses) DatabasePublicAccessSetWithBodyWithResponse ¶
func (c *ClientWithResponses) DatabasePublicAccessSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabasePublicAccessSetResponse, error)
DatabasePublicAccessSetWithBodyWithResponse Toggle public access
Off by default. On admits ONLY the trusted-sources list, never the whole internet.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/databases/{databaseID}/public-access (the `DatabasePublicAccessSet` operationId).
func (*ClientWithResponses) DatabasePublicAccessSetWithResponse ¶
func (c *ClientWithResponses) DatabasePublicAccessSetWithResponse(ctx context.Context, databaseID string, body DatabasePublicAccessSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabasePublicAccessSetResponse, error)
DatabasePublicAccessSetWithResponse Toggle public access
Off by default. On admits ONLY the trusted-sources list, never the whole internet.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/databases/{databaseID}/public-access (the `DatabasePublicAccessSet` operationId).
func (*ClientWithResponses) DatabaseResizeWithBodyWithResponse ¶
func (c *ClientWithResponses) DatabaseResizeWithBodyWithResponse(ctx context.Context, databaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseResizeResponse, error)
DatabaseResizeWithBodyWithResponse Upgrade the instance to a bigger plan
Stops the hidden VM, applies the new shape and starts it again (brief downtime). The pro-rated price difference for the remaining prepaid period is charged upfront. Downgrades are refused.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases/{databaseId}/resize (the `DatabaseResize` operationId).
func (*ClientWithResponses) DatabaseResizeWithResponse ¶
func (c *ClientWithResponses) DatabaseResizeWithResponse(ctx context.Context, databaseId string, body DatabaseResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseResizeResponse, error)
DatabaseResizeWithResponse Upgrade the instance to a bigger plan
Stops the hidden VM, applies the new shape and starts it again (brief downtime). The pro-rated price difference for the remaining prepaid period is charged upfront. Downgrades are refused.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases/{databaseId}/resize (the `DatabaseResize` operationId).
func (*ClientWithResponses) DatabaseRestoreCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) DatabaseRestoreCreateWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseRestoreCreateResponse, error)
DatabaseRestoreCreateWithBodyWithResponse Restore to a point in time
Always creates a NEW database instance from this one's backups; the source is never touched. Charged like a create.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases/{databaseID}/restores (the `DatabaseRestoreCreate` operationId).
func (*ClientWithResponses) DatabaseRestoreCreateWithResponse ¶
func (c *ClientWithResponses) DatabaseRestoreCreateWithResponse(ctx context.Context, databaseID string, body DatabaseRestoreCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseRestoreCreateResponse, error)
DatabaseRestoreCreateWithResponse Restore to a point in time
Always creates a NEW database instance from this one's backups; the source is never touched. Charged like a create.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases/{databaseID}/restores (the `DatabaseRestoreCreate` operationId).
func (*ClientWithResponses) DatabaseTagsSetWithBodyWithResponse ¶
func (c *ClientWithResponses) DatabaseTagsSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseTagsSetResponse, error)
DatabaseTagsSetWithBodyWithResponse Replace database tags
Replaces the whole tag set. Tags group resources across projects: a database is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/databases/{databaseID}/tags (the `DatabaseTagsSet` operationId).
func (*ClientWithResponses) DatabaseTagsSetWithResponse ¶
func (c *ClientWithResponses) DatabaseTagsSetWithResponse(ctx context.Context, databaseID string, body DatabaseTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseTagsSetResponse, error)
DatabaseTagsSetWithResponse Replace database tags
Replaces the whole tag set. Tags group resources across projects: a database is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/databases/{databaseID}/tags (the `DatabaseTagsSet` operationId).
func (*ClientWithResponses) DatabaseTrustedSourcesSetWithBodyWithResponse ¶
func (c *ClientWithResponses) DatabaseTrustedSourcesSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseTrustedSourcesSetResponse, error)
DatabaseTrustedSourcesSetWithBodyWithResponse Set trusted sources
Public CIDRs admitted while public access is on. Attached apps and the private network are admitted automatically.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/databases/{databaseID}/trusted-sources (the `DatabaseTrustedSourcesSet` operationId).
func (*ClientWithResponses) DatabaseTrustedSourcesSetWithResponse ¶
func (c *ClientWithResponses) DatabaseTrustedSourcesSetWithResponse(ctx context.Context, databaseID string, body DatabaseTrustedSourcesSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseTrustedSourcesSetResponse, error)
DatabaseTrustedSourcesSetWithResponse Set trusted sources
Public CIDRs admitted while public access is on. Attached apps and the private network are admitted automatically.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/databases/{databaseID}/trusted-sources (the `DatabaseTrustedSourcesSet` operationId).
func (*ClientWithResponses) DatabaseUserCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) DatabaseUserCreateWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseUserCreateResponse, error)
DatabaseUserCreateWithBodyWithResponse Create a database user
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases/{databaseID}/users (the `DatabaseUserCreate` operationId).
func (*ClientWithResponses) DatabaseUserCreateWithResponse ¶
func (c *ClientWithResponses) DatabaseUserCreateWithResponse(ctx context.Context, databaseID string, body DatabaseUserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseUserCreateResponse, error)
DatabaseUserCreateWithResponse Create a database user
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases/{databaseID}/users (the `DatabaseUserCreate` operationId).
func (*ClientWithResponses) DatabaseUserDeleteWithResponse ¶
func (c *ClientWithResponses) DatabaseUserDeleteWithResponse(ctx context.Context, databaseID string, userID string, reqEditors ...RequestEditorFn) (*DatabaseUserDeleteResponse, error)
DatabaseUserDeleteWithResponse Delete a database user
A role that owns objects fails the apply and surfaces as an error rather than silently dropping anything.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/databases/{databaseID}/users/{userID} (the `DatabaseUserDelete` operationId).
func (*ClientWithResponses) DatabaseUserPasswordResetWithResponse ¶
func (c *ClientWithResponses) DatabaseUserPasswordResetWithResponse(ctx context.Context, databaseID string, userID string, reqEditors ...RequestEditorFn) (*DatabaseUserPasswordResetResponse, error)
DatabaseUserPasswordResetWithResponse Reset a database user's password
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/databases/{databaseID}/users/{userID}/reset-password (the `DatabaseUserPasswordReset` operationId).
func (*ClientWithResponses) DatabasesListWithResponse ¶
func (c *ClientWithResponses) DatabasesListWithResponse(ctx context.Context, params *DatabasesListParams, reqEditors ...RequestEditorFn) (*DatabasesListResponse, error)
DatabasesListWithResponse My managed databases
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/databases (the `DatabasesList` operationId).
func (*ClientWithResponses) DnsRecordCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) DnsRecordCreateWithBodyWithResponse(ctx context.Context, id string, params *DnsRecordCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DnsRecordCreateResponse, error)
DnsRecordCreateWithBodyWithResponse Add DNS record
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/dns/zones/{id}/records (the `DnsRecordCreate` operationId).
func (*ClientWithResponses) DnsRecordCreateWithResponse ¶
func (c *ClientWithResponses) DnsRecordCreateWithResponse(ctx context.Context, id string, params *DnsRecordCreateParams, body DnsRecordCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DnsRecordCreateResponse, error)
DnsRecordCreateWithResponse Add DNS record
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/dns/zones/{id}/records (the `DnsRecordCreate` operationId).
func (*ClientWithResponses) DnsRecordDeleteWithResponse ¶
func (c *ClientWithResponses) DnsRecordDeleteWithResponse(ctx context.Context, id string, recordId string, reqEditors ...RequestEditorFn) (*DnsRecordDeleteResponse, error)
DnsRecordDeleteWithResponse Delete DNS record
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordDelete` operationId).
func (*ClientWithResponses) DnsRecordUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) DnsRecordUpdateWithBodyWithResponse(ctx context.Context, id string, recordId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DnsRecordUpdateResponse, error)
DnsRecordUpdateWithBodyWithResponse Update DNS record
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordUpdate` operationId).
func (*ClientWithResponses) DnsRecordUpdateWithResponse ¶
func (c *ClientWithResponses) DnsRecordUpdateWithResponse(ctx context.Context, id string, recordId string, body DnsRecordUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DnsRecordUpdateResponse, error)
DnsRecordUpdateWithResponse Update DNS record
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordUpdate` operationId).
func (*ClientWithResponses) DnsZoneCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) DnsZoneCreateWithBodyWithResponse(ctx context.Context, params *DnsZoneCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DnsZoneCreateResponse, error)
DnsZoneCreateWithBodyWithResponse Create DNS zone
Creates the zone with system-managed SOA + NS records. The zone resolves once you point the domain's nameservers at the returned `nameservers`.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/dns/zones (the `DnsZoneCreate` operationId).
func (*ClientWithResponses) DnsZoneCreateWithResponse ¶
func (c *ClientWithResponses) DnsZoneCreateWithResponse(ctx context.Context, params *DnsZoneCreateParams, body DnsZoneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DnsZoneCreateResponse, error)
DnsZoneCreateWithResponse Create DNS zone
Creates the zone with system-managed SOA + NS records. The zone resolves once you point the domain's nameservers at the returned `nameservers`.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/dns/zones (the `DnsZoneCreate` operationId).
func (*ClientWithResponses) DnsZoneDeleteWithResponse ¶
func (c *ClientWithResponses) DnsZoneDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DnsZoneDeleteResponse, error)
DnsZoneDeleteWithResponse Delete DNS zone
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/dns/zones/{id} (the `DnsZoneDelete` operationId).
func (*ClientWithResponses) DnsZoneGetWithResponse ¶
func (c *ClientWithResponses) DnsZoneGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DnsZoneGetResponse, error)
DnsZoneGetWithResponse DNS zone with records
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/dns/zones/{id} (the `DnsZoneGet` operationId).
func (*ClientWithResponses) DnsZoneProjectSetWithBodyWithResponse ¶
func (c *ClientWithResponses) DnsZoneProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DnsZoneProjectSetResponse, error)
DnsZoneProjectSetWithBodyWithResponse Move DNS zone to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/dns/zones/{id}/project (the `DnsZoneProjectSet` operationId).
func (*ClientWithResponses) DnsZoneProjectSetWithResponse ¶
func (c *ClientWithResponses) DnsZoneProjectSetWithResponse(ctx context.Context, id string, body DnsZoneProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DnsZoneProjectSetResponse, error)
DnsZoneProjectSetWithResponse Move DNS zone to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/dns/zones/{id}/project (the `DnsZoneProjectSet` operationId).
func (*ClientWithResponses) DnsZoneTagsSetWithBodyWithResponse ¶
func (c *ClientWithResponses) DnsZoneTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DnsZoneTagsSetResponse, error)
DnsZoneTagsSetWithBodyWithResponse Replace DNS zone tags
Replaces the whole tag set. Tags group resources across projects: a DNS zone is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/dns/zones/{id}/tags (the `DnsZoneTagsSet` operationId).
func (*ClientWithResponses) DnsZoneTagsSetWithResponse ¶
func (c *ClientWithResponses) DnsZoneTagsSetWithResponse(ctx context.Context, id string, body DnsZoneTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DnsZoneTagsSetResponse, error)
DnsZoneTagsSetWithResponse Replace DNS zone tags
Replaces the whole tag set. Tags group resources across projects: a DNS zone is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/dns/zones/{id}/tags (the `DnsZoneTagsSet` operationId).
func (*ClientWithResponses) DnsZonesListWithResponse ¶
func (c *ClientWithResponses) DnsZonesListWithResponse(ctx context.Context, params *DnsZonesListParams, reqEditors ...RequestEditorFn) (*DnsZonesListResponse, error)
DnsZonesListWithResponse My DNS zones
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/dns/zones (the `DnsZonesList` operationId).
func (*ClientWithResponses) DomainAutoRenewSetWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainAutoRenewSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainAutoRenewSetResponse, error)
DomainAutoRenewSetWithBodyWithResponse Turn automatic renewal on or off
With it off nothing is charged and the domain lapses when it expires. Reminders are still sent.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domains/{id}/auto-renew (the `DomainAutoRenewSet` operationId).
func (*ClientWithResponses) DomainAutoRenewSetWithResponse ¶
func (c *ClientWithResponses) DomainAutoRenewSetWithResponse(ctx context.Context, id string, body DomainAutoRenewSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainAutoRenewSetResponse, error)
DomainAutoRenewSetWithResponse Turn automatic renewal on or off
With it off nothing is charged and the domain lapses when it expires. Reminders are still sent.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domains/{id}/auto-renew (the `DomainAutoRenewSet` operationId).
func (*ClientWithResponses) DomainContactCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainContactCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainContactCreateResponse, error)
DomainContactCreateWithBodyWithResponse Create a registrant profile
The details published in WHOIS for domains registered with this profile. The first profile in an organization becomes its default.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/domain-contacts (the `DomainContactCreate` operationId).
func (*ClientWithResponses) DomainContactCreateWithResponse ¶
func (c *ClientWithResponses) DomainContactCreateWithResponse(ctx context.Context, body DomainContactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainContactCreateResponse, error)
DomainContactCreateWithResponse Create a registrant profile
The details published in WHOIS for domains registered with this profile. The first profile in an organization becomes its default.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/domain-contacts (the `DomainContactCreate` operationId).
func (*ClientWithResponses) DomainContactDeleteWithResponse ¶
func (c *ClientWithResponses) DomainContactDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DomainContactDeleteResponse, error)
DomainContactDeleteWithResponse Delete a registrant profile
Only possible while no domain uses it: the registry is still publishing these details for any domain registered under them.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/domain-contacts/{id} (the `DomainContactDelete` operationId).
func (*ClientWithResponses) DomainContactSuggestWithResponse ¶
func (c *ClientWithResponses) DomainContactSuggestWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DomainContactSuggestResponse, error)
DomainContactSuggestWithResponse Draft a registrant profile from the account
Prefill values for a new registrant profile, taken from the account name and its verified e-mail and phone. The address is deliberately not suggested: an invoice address is collected to raise a receipt, while this record is published by the registry. Nothing is stored and no profile is created; a field the platform cannot fill is returned empty.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/domain-contacts/suggested (the `DomainContactSuggest` operationId).
func (*ClientWithResponses) DomainContactUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainContactUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainContactUpdateResponse, error)
DomainContactUpdateWithBodyWithResponse Update a registrant profile
Domains already registered with this profile are updated at the registrar by a background job.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domain-contacts/{id} (the `DomainContactUpdate` operationId).
func (*ClientWithResponses) DomainContactUpdateWithResponse ¶
func (c *ClientWithResponses) DomainContactUpdateWithResponse(ctx context.Context, id string, body DomainContactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainContactUpdateResponse, error)
DomainContactUpdateWithResponse Update a registrant profile
Domains already registered with this profile are updated at the registrar by a background job.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domain-contacts/{id} (the `DomainContactUpdate` operationId).
func (*ClientWithResponses) DomainContactsListWithResponse ¶
func (c *ClientWithResponses) DomainContactsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DomainContactsListResponse, error)
DomainContactsListWithResponse List registrant profiles
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/domain-contacts (the `DomainContactsList` operationId).
func (*ClientWithResponses) DomainGetWithResponse ¶
func (c *ClientWithResponses) DomainGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DomainGetResponse, error)
DomainGetWithResponse Domain detail
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/domains/{id} (the `DomainGet` operationId).
func (*ClientWithResponses) DomainLockSetWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainLockSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainLockSetResponse, error)
DomainLockSetWithBodyWithResponse Set the registrar transfer lock
With the lock on, the registry refuses a transfer nobody authorized. Turning it off is the first step of moving the domain elsewhere.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domains/{id}/lock (the `DomainLockSet` operationId).
func (*ClientWithResponses) DomainLockSetWithResponse ¶
func (c *ClientWithResponses) DomainLockSetWithResponse(ctx context.Context, id string, body DomainLockSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainLockSetResponse, error)
DomainLockSetWithResponse Set the registrar transfer lock
With the lock on, the registry refuses a transfer nobody authorized. Turning it off is the first step of moving the domain elsewhere.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domains/{id}/lock (the `DomainLockSet` operationId).
func (*ClientWithResponses) DomainNameserversSetWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainNameserversSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainNameserversSetResponse, error)
DomainNameserversSetWithBodyWithResponse Set nameservers
Records the delegation you want and pushes it to the registrar in the background. The response shows both what you asked for and what the registrar last confirmed.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domains/{id}/nameservers (the `DomainNameserversSet` operationId).
func (*ClientWithResponses) DomainNameserversSetWithResponse ¶
func (c *ClientWithResponses) DomainNameserversSetWithResponse(ctx context.Context, id string, body DomainNameserversSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainNameserversSetResponse, error)
DomainNameserversSetWithResponse Set nameservers
Records the delegation you want and pushes it to the registrar in the background. The response shows both what you asked for and what the registrar last confirmed.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domains/{id}/nameservers (the `DomainNameserversSet` operationId).
func (*ClientWithResponses) DomainPrivacySetWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainPrivacySetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainPrivacySetResponse, error)
DomainPrivacySetWithBodyWithResponse Set WHOIS privacy
With privacy on, the registry publishes the privacy service's details instead of yours. Not offered by every extension.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domains/{id}/privacy (the `DomainPrivacySet` operationId).
func (*ClientWithResponses) DomainPrivacySetWithResponse ¶
func (c *ClientWithResponses) DomainPrivacySetWithResponse(ctx context.Context, id string, body DomainPrivacySetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainPrivacySetResponse, error)
DomainPrivacySetWithResponse Set WHOIS privacy
With privacy on, the registry publishes the privacy service's details instead of yours. Not offered by every extension.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domains/{id}/privacy (the `DomainPrivacySet` operationId).
func (*ClientWithResponses) DomainProjectSetWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainProjectSetResponse, error)
DomainProjectSetWithBodyWithResponse Move domain to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/domains/{id}/project (the `DomainProjectSet` operationId).
func (*ClientWithResponses) DomainProjectSetWithResponse ¶
func (c *ClientWithResponses) DomainProjectSetWithResponse(ctx context.Context, id string, body DomainProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainProjectSetResponse, error)
DomainProjectSetWithResponse Move domain to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/domains/{id}/project (the `DomainProjectSet` operationId).
func (*ClientWithResponses) DomainRegisterWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainRegisterWithBodyWithResponse(ctx context.Context, params *DomainRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainRegisterResponse, error)
DomainRegisterWithBodyWithResponse Register a domain
Charges the wallet and queues the registration. A registration cannot be undone once the registry confirms it, so there is no early-delete refund; an order the registry never honours is refunded in full.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/domains (the `DomainRegister` operationId).
func (*ClientWithResponses) DomainRegisterWithResponse ¶
func (c *ClientWithResponses) DomainRegisterWithResponse(ctx context.Context, params *DomainRegisterParams, body DomainRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainRegisterResponse, error)
DomainRegisterWithResponse Register a domain
Charges the wallet and queues the registration. A registration cannot be undone once the registry confirms it, so there is no early-delete refund; an order the registry never honours is refunded in full.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/domains (the `DomainRegister` operationId).
func (*ClientWithResponses) DomainRenewWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainRenewWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainRenewResponse, error)
DomainRenewWithBodyWithResponse Renew a domain
Charges the wallet and extends the registration. Automatic renewal does the same thing on your behalf 14 days before expiry.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/domains/{id}/renew (the `DomainRenew` operationId).
func (*ClientWithResponses) DomainRenewWithResponse ¶
func (c *ClientWithResponses) DomainRenewWithResponse(ctx context.Context, id string, body DomainRenewJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainRenewResponse, error)
DomainRenewWithResponse Renew a domain
Charges the wallet and extends the registration. Automatic renewal does the same thing on your behalf 14 days before expiry.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/domains/{id}/renew (the `DomainRenew` operationId).
func (*ClientWithResponses) DomainSearchWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainSearchResponse, error)
DomainSearchWithBodyWithResponse Search domain availability
Asks the registry whether a name is free, and suggests the same label on this deployment's other extensions. Advisory: availability is the registry's to state and the answer can change before an order. Authenticated and rate-limited per account, because it spends a call against the platform's registrar credential.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/domains/search (the `DomainSearch` operationId).
func (*ClientWithResponses) DomainSearchWithResponse ¶
func (c *ClientWithResponses) DomainSearchWithResponse(ctx context.Context, body DomainSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainSearchResponse, error)
DomainSearchWithResponse Search domain availability
Asks the registry whether a name is free, and suggests the same label on this deployment's other extensions. Advisory: availability is the registry's to state and the answer can change before an order. Authenticated and rate-limited per account, because it spends a call against the platform's registrar credential.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/domains/search (the `DomainSearch` operationId).
func (*ClientWithResponses) DomainTagsSetWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainTagsSetResponse, error)
DomainTagsSetWithBodyWithResponse Replace domain tags
Replaces the whole tag set. Tags group resources across projects: a domain is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domains/{id}/tags (the `DomainTagsSet` operationId).
func (*ClientWithResponses) DomainTagsSetWithResponse ¶
func (c *ClientWithResponses) DomainTagsSetWithResponse(ctx context.Context, id string, body DomainTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainTagsSetResponse, error)
DomainTagsSetWithResponse Replace domain tags
Replaces the whole tag set. Tags group resources across projects: a domain is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/domains/{id}/tags (the `DomainTagsSet` operationId).
func (*ClientWithResponses) DomainTldsListWithResponse ¶
func (c *ClientWithResponses) DomainTldsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DomainTldsListResponse, error)
DomainTldsListWithResponse Domain extension price list
Sellable extensions with their yearly registration, renewal and transfer prices. A local read: it never calls a registrar, so it is safe to render on a marketing page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/domain-tlds (the `DomainTldsList` operationId).
func (*ClientWithResponses) DomainTransferWithBodyWithResponse ¶
func (c *ClientWithResponses) DomainTransferWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainTransferResponse, error)
DomainTransferWithBodyWithResponse Transfer a domain in
Charges the wallet and submits an inbound transfer. The registry decides over the following days, and the losing registrar has five of them to respond; a transfer that is refused or never completes is refunded in full. A transfer adds exactly one year to the term, which is what the registry sells.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/domains/transfer (the `DomainTransfer` operationId).
func (*ClientWithResponses) DomainTransferWithResponse ¶
func (c *ClientWithResponses) DomainTransferWithResponse(ctx context.Context, body DomainTransferJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainTransferResponse, error)
DomainTransferWithResponse Transfer a domain in
Charges the wallet and submits an inbound transfer. The registry decides over the following days, and the losing registrar has five of them to respond; a transfer that is refused or never completes is refunded in full. A transfer adds exactly one year to the term, which is what the registry sells.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/domains/transfer (the `DomainTransfer` operationId).
func (*ClientWithResponses) DomainsListWithResponse ¶
func (c *ClientWithResponses) DomainsListWithResponse(ctx context.Context, params *DomainsListParams, reqEditors ...RequestEditorFn) (*DomainsListResponse, error)
DomainsListWithResponse List domains
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/domains (the `DomainsList` operationId).
func (*ClientWithResponses) FirewallCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) FirewallCreateWithBodyWithResponse(ctx context.Context, params *FirewallCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FirewallCreateResponse, error)
FirewallCreateWithBodyWithResponse Create firewall
Created empty: attach it to a server and it enforces deny-all inbound (plus ICMP) until rules are added.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/firewalls (the `FirewallCreate` operationId).
func (*ClientWithResponses) FirewallCreateWithResponse ¶
func (c *ClientWithResponses) FirewallCreateWithResponse(ctx context.Context, params *FirewallCreateParams, body FirewallCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*FirewallCreateResponse, error)
FirewallCreateWithResponse Create firewall
Created empty: attach it to a server and it enforces deny-all inbound (plus ICMP) until rules are added.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/firewalls (the `FirewallCreate` operationId).
func (*ClientWithResponses) FirewallDeleteWithResponse ¶
func (c *ClientWithResponses) FirewallDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FirewallDeleteResponse, error)
FirewallDeleteWithResponse Delete firewall
Attached servers are detached and re-applied (back to all-open unless another firewall remains).
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/firewalls/{id} (the `FirewallDelete` operationId).
func (*ClientWithResponses) FirewallGetWithResponse ¶
func (c *ClientWithResponses) FirewallGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FirewallGetResponse, error)
FirewallGetWithResponse Firewall details
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/firewalls/{id} (the `FirewallGet` operationId).
func (*ClientWithResponses) FirewallRulesReplaceWithBodyWithResponse ¶
func (c *ClientWithResponses) FirewallRulesReplaceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FirewallRulesReplaceResponse, error)
FirewallRulesReplaceWithBodyWithResponse Replace firewall rules
Full replace (PUT) — matches the desired-state application on the hypervisor. Attached servers are re-applied.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/firewalls/{id}/rules (the `FirewallRulesReplace` operationId).
func (*ClientWithResponses) FirewallRulesReplaceWithResponse ¶
func (c *ClientWithResponses) FirewallRulesReplaceWithResponse(ctx context.Context, id string, body FirewallRulesReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*FirewallRulesReplaceResponse, error)
FirewallRulesReplaceWithResponse Replace firewall rules
Full replace (PUT) — matches the desired-state application on the hypervisor. Attached servers are re-applied.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/firewalls/{id}/rules (the `FirewallRulesReplace` operationId).
func (*ClientWithResponses) FirewallServerAttachWithResponse ¶
func (c *ClientWithResponses) FirewallServerAttachWithResponse(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*FirewallServerAttachResponse, error)
FirewallServerAttachWithResponse Attach firewall to a server
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/firewalls/{id}/servers/{serverId} (the `FirewallServerAttach` operationId).
func (*ClientWithResponses) FirewallServerDetachWithResponse ¶
func (c *ClientWithResponses) FirewallServerDetachWithResponse(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*FirewallServerDetachResponse, error)
FirewallServerDetachWithResponse Detach firewall from a server
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/firewalls/{id}/servers/{serverId} (the `FirewallServerDetach` operationId).
func (*ClientWithResponses) FirewallUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) FirewallUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FirewallUpdateResponse, error)
FirewallUpdateWithBodyWithResponse Rename firewall
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/firewalls/{id} (the `FirewallUpdate` operationId).
func (*ClientWithResponses) FirewallUpdateWithResponse ¶
func (c *ClientWithResponses) FirewallUpdateWithResponse(ctx context.Context, id string, body FirewallUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*FirewallUpdateResponse, error)
FirewallUpdateWithResponse Rename firewall
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/firewalls/{id} (the `FirewallUpdate` operationId).
func (*ClientWithResponses) FirewallsListWithResponse ¶
func (c *ClientWithResponses) FirewallsListWithResponse(ctx context.Context, params *FirewallsListParams, reqEditors ...RequestEditorFn) (*FirewallsListResponse, error)
FirewallsListWithResponse My firewalls
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/firewalls (the `FirewallsList` operationId).
func (*ClientWithResponses) FloatingIpAttachWithBodyWithResponse ¶
func (c *ClientWithResponses) FloatingIpAttachWithBodyWithResponse(ctx context.Context, floatingIpID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FloatingIpAttachResponse, error)
FloatingIpAttachWithBodyWithResponse Attach (or move) the floating IP to a server
Hot operation: no restart. The server must be in the floating IP's region (FIP_NODE_MISMATCH otherwise). While attached, the server's OUTBOUND traffic also leaves from the floating IP.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/floating-ips/{floatingIpID}/attach (the `FloatingIpAttach` operationId).
func (*ClientWithResponses) FloatingIpAttachWithResponse ¶
func (c *ClientWithResponses) FloatingIpAttachWithResponse(ctx context.Context, floatingIpID string, body FloatingIpAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*FloatingIpAttachResponse, error)
FloatingIpAttachWithResponse Attach (or move) the floating IP to a server
Hot operation: no restart. The server must be in the floating IP's region (FIP_NODE_MISMATCH otherwise). While attached, the server's OUTBOUND traffic also leaves from the floating IP.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/floating-ips/{floatingIpID}/attach (the `FloatingIpAttach` operationId).
func (*ClientWithResponses) FloatingIpCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) FloatingIpCreateWithBodyWithResponse(ctx context.Context, params *FloatingIpCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FloatingIpCreateResponse, error)
FloatingIpCreateWithBodyWithResponse Create a floating IP
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/floating-ips (the `FloatingIpCreate` operationId).
func (*ClientWithResponses) FloatingIpCreateWithResponse ¶
func (c *ClientWithResponses) FloatingIpCreateWithResponse(ctx context.Context, params *FloatingIpCreateParams, body FloatingIpCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*FloatingIpCreateResponse, error)
FloatingIpCreateWithResponse Create a floating IP
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/floating-ips (the `FloatingIpCreate` operationId).
func (*ClientWithResponses) FloatingIpDeleteWithResponse ¶
func (c *ClientWithResponses) FloatingIpDeleteWithResponse(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*FloatingIpDeleteResponse, error)
FloatingIpDeleteWithResponse Delete the floating IP
Refused while attached (FIP_ATTACHED): detach first. Billing stops when the floating IP is deleted. The address returns to the pool and can be assigned again, to another customer or to you.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/floating-ips/{floatingIpID} (the `FloatingIpDelete` operationId).
func (*ClientWithResponses) FloatingIpDetachWithResponse ¶
func (c *ClientWithResponses) FloatingIpDetachWithResponse(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*FloatingIpDetachResponse, error)
FloatingIpDetachWithResponse Detach the floating IP
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/floating-ips/{floatingIpID}/detach (the `FloatingIpDetach` operationId).
func (*ClientWithResponses) FloatingIpGetWithResponse ¶
func (c *ClientWithResponses) FloatingIpGetWithResponse(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*FloatingIpGetResponse, error)
FloatingIpGetWithResponse Floating IP detail
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/floating-ips/{floatingIpID} (the `FloatingIpGet` operationId).
func (*ClientWithResponses) FloatingIpsListWithResponse ¶
func (c *ClientWithResponses) FloatingIpsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FloatingIpsListResponse, error)
FloatingIpsListWithResponse My floating IPs
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/floating-ips (the `FloatingIpsList` operationId).
func (*ClientWithResponses) FxRateWithResponse ¶
func (c *ClientWithResponses) FxRateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FxRateResponse, error)
FxRateWithResponse Effective USD/TRY rate used when quoting top-ups
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/fx (the `FxRate` operationId).
func (*ClientWithResponses) GitConnectionDeleteWithResponse ¶
func (c *ClientWithResponses) GitConnectionDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GitConnectionDeleteResponse, error)
GitConnectionDeleteWithResponse Disconnect a git account
Stops us minting credentials for it. It does NOT uninstall the app on the forge — only the account owner can do that, from their own settings.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/git/connections/{id} (the `GitConnectionDelete` operationId).
func (*ClientWithResponses) GitConnectionsListWithResponse ¶
func (c *ClientWithResponses) GitConnectionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GitConnectionsListResponse, error)
GitConnectionsListWithResponse Connected git accounts
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/git/connections (the `GitConnectionsList` operationId).
func (*ClientWithResponses) GitInstallCallbackWithResponse ¶
func (c *ClientWithResponses) GitInstallCallbackWithResponse(ctx context.Context, provider GitInstallCallbackParamsProvider, params *GitInstallCallbackParams, reqEditors ...RequestEditorFn) (*GitInstallCallbackResponse, error)
GitInstallCallbackWithResponse Forge authorization return
Verifies that the person finishing the flow owns the account they claimed, and only then records the connection. Always answers with a redirect into the panel.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/git/{provider}/callback (the `GitInstallCallback` operationId).
func (*ClientWithResponses) GitInstallSetupWithResponse ¶
func (c *ClientWithResponses) GitInstallSetupWithResponse(ctx context.Context, provider GitInstallSetupParamsProvider, params *GitInstallSetupParams, reqEditors ...RequestEditorFn) (*GitInstallSetupResponse, error)
GitInstallSetupWithResponse Forge install return
Where the forge sends the customer after installing. Records the claimed installation and forwards them to the forge's authorization screen, which is what turns the claim into proof.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/git/{provider}/setup (the `GitInstallSetup` operationId).
func (*ClientWithResponses) GitInstallStartWithResponse ¶
func (c *ClientWithResponses) GitInstallStartWithResponse(ctx context.Context, provider GitInstallStartParamsProvider, reqEditors ...RequestEditorFn) (*GitInstallStartResponse, error)
GitInstallStartWithResponse Begin connecting a git account
Redirects to the forge's install screen. The organization the connection will belong to is fixed here, at the start, not read from the session on the way back.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/git/{provider}/install (the `GitInstallStart` operationId).
func (*ClientWithResponses) GitProvidersListWithResponse ¶
func (c *ClientWithResponses) GitProvidersListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GitProvidersListResponse, error)
GitProvidersListWithResponse Configured git forges
Empty when the operator has registered no forge app; the panel then hides the connect button rather than showing a dead one.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/git/providers (the `GitProvidersList` operationId).
func (*ClientWithResponses) GitRepositoriesListWithResponse ¶
func (c *ClientWithResponses) GitRepositoriesListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GitRepositoriesListResponse, error)
GitRepositoriesListWithResponse Repositories this connection can see
Asked live rather than cached: the customer changes the selection on the forge's side and expects the next screen to agree.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/git/connections/{id}/repositories (the `GitRepositoriesList` operationId).
func (*ClientWithResponses) ImagesListWithResponse ¶
func (c *ClientWithResponses) ImagesListWithResponse(ctx context.Context, params *ImagesListParams, reqEditors ...RequestEditorFn) (*ImagesListResponse, error)
ImagesListWithResponse Image catalog
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/images (the `ImagesList` operationId).
func (*ClientWithResponses) IsoCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) IsoCreateWithBodyWithResponse(ctx context.Context, params *IsoCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IsoCreateResponse, error)
IsoCreateWithBodyWithResponse Create or import custom ISO
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/isos (the `IsoCreate` operationId).
func (*ClientWithResponses) IsoCreateWithResponse ¶
func (c *ClientWithResponses) IsoCreateWithResponse(ctx context.Context, params *IsoCreateParams, body IsoCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IsoCreateResponse, error)
IsoCreateWithResponse Create or import custom ISO
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/isos (the `IsoCreate` operationId).
func (*ClientWithResponses) IsoDeleteWithResponse ¶
func (c *ClientWithResponses) IsoDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IsoDeleteResponse, error)
IsoDeleteWithResponse Delete custom ISO
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/isos/{id} (the `IsoDelete` operationId).
func (*ClientWithResponses) IsoGetWithResponse ¶
func (c *ClientWithResponses) IsoGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IsoGetResponse, error)
IsoGetWithResponse Get custom ISO details
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/isos/{id} (the `IsoGet` operationId).
func (*ClientWithResponses) IsoListWithResponse ¶
func (c *ClientWithResponses) IsoListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IsoListResponse, error)
IsoListWithResponse List custom ISOs
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/isos (the `IsoList` operationId).
func (*ClientWithResponses) LoadBalancerBackendsSetWithBodyWithResponse ¶
func (c *ClientWithResponses) LoadBalancerBackendsSetWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoadBalancerBackendsSetResponse, error)
LoadBalancerBackendsSetWithBodyWithResponse Set backend servers
Full set (add/remove by sending the resulting list). Each server must be a member of the LB's private network.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/backends (the `LoadBalancerBackendsSet` operationId).
func (*ClientWithResponses) LoadBalancerBackendsSetWithResponse ¶
func (c *ClientWithResponses) LoadBalancerBackendsSetWithResponse(ctx context.Context, loadBalancerID string, body LoadBalancerBackendsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*LoadBalancerBackendsSetResponse, error)
LoadBalancerBackendsSetWithResponse Set backend servers
Full set (add/remove by sending the resulting list). Each server must be a member of the LB's private network.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/backends (the `LoadBalancerBackendsSet` operationId).
func (*ClientWithResponses) LoadBalancerCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) LoadBalancerCreateWithBodyWithResponse(ctx context.Context, params *LoadBalancerCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoadBalancerCreateResponse, error)
LoadBalancerCreateWithBodyWithResponse Create a load balancer
Charges one month upfront (payment before provision). The unused period is refunded on early delete.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/load-balancers (the `LoadBalancerCreate` operationId).
func (*ClientWithResponses) LoadBalancerCreateWithResponse ¶
func (c *ClientWithResponses) LoadBalancerCreateWithResponse(ctx context.Context, params *LoadBalancerCreateParams, body LoadBalancerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*LoadBalancerCreateResponse, error)
LoadBalancerCreateWithResponse Create a load balancer
Charges one month upfront (payment before provision). The unused period is refunded on early delete.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/load-balancers (the `LoadBalancerCreate` operationId).
func (*ClientWithResponses) LoadBalancerDeleteWithResponse ¶
func (c *ClientWithResponses) LoadBalancerDeleteWithResponse(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*LoadBalancerDeleteResponse, error)
LoadBalancerDeleteWithResponse Delete the load balancer
The unused part of the prepaid month is refunded to the wallet.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/load-balancers/{loadBalancerID} (the `LoadBalancerDelete` operationId).
func (*ClientWithResponses) LoadBalancerGetWithResponse ¶
func (c *ClientWithResponses) LoadBalancerGetWithResponse(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*LoadBalancerGetResponse, error)
LoadBalancerGetWithResponse Load balancer detail
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/load-balancers/{loadBalancerID} (the `LoadBalancerGet` operationId).
func (*ClientWithResponses) LoadBalancerProjectSetWithBodyWithResponse ¶
func (c *ClientWithResponses) LoadBalancerProjectSetWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoadBalancerProjectSetResponse, error)
LoadBalancerProjectSetWithBodyWithResponse Move load balancer to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/load-balancers/{loadBalancerID}/project (the `LoadBalancerProjectSet` operationId).
func (*ClientWithResponses) LoadBalancerProjectSetWithResponse ¶
func (c *ClientWithResponses) LoadBalancerProjectSetWithResponse(ctx context.Context, loadBalancerID string, body LoadBalancerProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*LoadBalancerProjectSetResponse, error)
LoadBalancerProjectSetWithResponse Move load balancer to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/load-balancers/{loadBalancerID}/project (the `LoadBalancerProjectSet` operationId).
func (*ClientWithResponses) LoadBalancerRulesReplaceWithBodyWithResponse ¶
func (c *ClientWithResponses) LoadBalancerRulesReplaceWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoadBalancerRulesReplaceResponse, error)
LoadBalancerRulesReplaceWithBodyWithResponse Replace forwarding rules
Full replace; the new configuration is applied to the data plane asynchronously.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/rules (the `LoadBalancerRulesReplace` operationId).
func (*ClientWithResponses) LoadBalancerRulesReplaceWithResponse ¶
func (c *ClientWithResponses) LoadBalancerRulesReplaceWithResponse(ctx context.Context, loadBalancerID string, body LoadBalancerRulesReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*LoadBalancerRulesReplaceResponse, error)
LoadBalancerRulesReplaceWithResponse Replace forwarding rules
Full replace; the new configuration is applied to the data plane asynchronously.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/rules (the `LoadBalancerRulesReplace` operationId).
func (*ClientWithResponses) LoadBalancerTagsSetWithBodyWithResponse ¶
func (c *ClientWithResponses) LoadBalancerTagsSetWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoadBalancerTagsSetResponse, error)
LoadBalancerTagsSetWithBodyWithResponse Replace load balancer tags
Replaces the whole tag set. Tags group resources across projects: a load balancer is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/tags (the `LoadBalancerTagsSet` operationId).
func (*ClientWithResponses) LoadBalancerTagsSetWithResponse ¶
func (c *ClientWithResponses) LoadBalancerTagsSetWithResponse(ctx context.Context, loadBalancerID string, body LoadBalancerTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*LoadBalancerTagsSetResponse, error)
LoadBalancerTagsSetWithResponse Replace load balancer tags
Replaces the whole tag set. Tags group resources across projects: a load balancer is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/load-balancers/{loadBalancerID}/tags (the `LoadBalancerTagsSet` operationId).
func (*ClientWithResponses) LoadBalancersListWithResponse ¶
func (c *ClientWithResponses) LoadBalancersListWithResponse(ctx context.Context, params *LoadBalancersListParams, reqEditors ...RequestEditorFn) (*LoadBalancersListResponse, error)
LoadBalancersListWithResponse My load balancers
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/load-balancers (the `LoadBalancersList` operationId).
func (*ClientWithResponses) NetworkCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) NetworkCreateWithBodyWithResponse(ctx context.Context, params *NetworkCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworkCreateResponse, error)
NetworkCreateWithBodyWithResponse Create private network
The network starts in `creating` and becomes `active` once built on the hypervisor. Servers may already reference it — provisioning waits.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/networks (the `NetworkCreate` operationId).
func (*ClientWithResponses) NetworkCreateWithResponse ¶
func (c *ClientWithResponses) NetworkCreateWithResponse(ctx context.Context, params *NetworkCreateParams, body NetworkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworkCreateResponse, error)
NetworkCreateWithResponse Create private network
The network starts in `creating` and becomes `active` once built on the hypervisor. Servers may already reference it — provisioning waits.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/networks (the `NetworkCreate` operationId).
func (*ClientWithResponses) NetworkDeleteWithResponse ¶
func (c *ClientWithResponses) NetworkDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*NetworkDeleteResponse, error)
NetworkDeleteWithResponse Delete private network
Refused (409) while servers are attached.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/networks/{id} (the `NetworkDelete` operationId).
func (*ClientWithResponses) NetworkGetWithResponse ¶
func (c *ClientWithResponses) NetworkGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*NetworkGetResponse, error)
NetworkGetWithResponse Private network details
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/networks/{id} (the `NetworkGet` operationId).
func (*ClientWithResponses) NetworkProjectSetWithBodyWithResponse ¶
func (c *ClientWithResponses) NetworkProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworkProjectSetResponse, error)
NetworkProjectSetWithBodyWithResponse Move private network to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/networks/{id}/project (the `NetworkProjectSet` operationId).
func (*ClientWithResponses) NetworkProjectSetWithResponse ¶
func (c *ClientWithResponses) NetworkProjectSetWithResponse(ctx context.Context, id string, body NetworkProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworkProjectSetResponse, error)
NetworkProjectSetWithResponse Move private network to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/networks/{id}/project (the `NetworkProjectSet` operationId).
func (*ClientWithResponses) NetworkTagsSetWithBodyWithResponse ¶
func (c *ClientWithResponses) NetworkTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworkTagsSetResponse, error)
NetworkTagsSetWithBodyWithResponse Replace private network tags
Replaces the whole tag set. Tags group resources across projects: a private network is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/networks/{id}/tags (the `NetworkTagsSet` operationId).
func (*ClientWithResponses) NetworkTagsSetWithResponse ¶
func (c *ClientWithResponses) NetworkTagsSetWithResponse(ctx context.Context, id string, body NetworkTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworkTagsSetResponse, error)
NetworkTagsSetWithResponse Replace private network tags
Replaces the whole tag set. Tags group resources across projects: a private network is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/networks/{id}/tags (the `NetworkTagsSet` operationId).
func (*ClientWithResponses) NetworksListWithResponse ¶
func (c *ClientWithResponses) NetworksListWithResponse(ctx context.Context, params *NetworksListParams, reqEditors ...RequestEditorFn) (*NetworksListResponse, error)
NetworksListWithResponse My private networks
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/networks (the `NetworksList` operationId).
func (*ClientWithResponses) NotificationDeleteWithResponse ¶
func (c *ClientWithResponses) NotificationDeleteWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*NotificationDeleteResponse, error)
NotificationDeleteWithResponse Dismiss a notification
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/notifications/{id} (the `NotificationDelete` operationId).
func (*ClientWithResponses) NotificationsListWithResponse ¶
func (c *ClientWithResponses) NotificationsListWithResponse(ctx context.Context, params *NotificationsListParams, reqEditors ...RequestEditorFn) (*NotificationsListResponse, error)
NotificationsListWithResponse Notification feed
Newest first, keyset-paginated on the descending id.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/notifications (the `NotificationsList` operationId).
func (*ClientWithResponses) NotificationsMarkReadWithBodyWithResponse ¶
func (c *ClientWithResponses) NotificationsMarkReadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NotificationsMarkReadResponse, error)
NotificationsMarkReadWithBodyWithResponse Mark notifications read
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/notifications/read (the `NotificationsMarkRead` operationId).
func (*ClientWithResponses) NotificationsMarkReadWithResponse ¶
func (c *ClientWithResponses) NotificationsMarkReadWithResponse(ctx context.Context, body NotificationsMarkReadJSONRequestBody, reqEditors ...RequestEditorFn) (*NotificationsMarkReadResponse, error)
NotificationsMarkReadWithResponse Mark notifications read
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/notifications/read (the `NotificationsMarkRead` operationId).
func (*ClientWithResponses) OauthConsentDecideWithBodyWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) OauthConsentDecideWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OauthConsentDecideResponse, error)
OauthConsentDecideWithBodyWithResponse Answer an application's request
Approve with the scopes ticked and the organization chosen, or refuse. Either way the client is told.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/oauth/authorization-requests/{id}/decision (the `OauthConsentDecide` operationId).
func (*ClientWithResponses) OauthConsentDecideWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) OauthConsentDecideWithResponse(ctx context.Context, id string, body OauthConsentDecideJSONRequestBody, reqEditors ...RequestEditorFn) (*OauthConsentDecideResponse, error)
OauthConsentDecideWithResponse Answer an application's request
Approve with the scopes ticked and the organization chosen, or refuse. Either way the client is told.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/oauth/authorization-requests/{id}/decision (the `OauthConsentDecide` operationId).
func (*ClientWithResponses) OauthConsentGetWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) OauthConsentGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OauthConsentGetResponse, error)
OauthConsentGetWithResponse An application is asking for access
What the consent screen renders. The prompt belongs to one account; another account's id is a 404.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/oauth/authorization-requests/{id} (the `OauthConsentGet` operationId).
func (*ClientWithResponses) OnboardingOrganizationCreateWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) OnboardingOrganizationCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OnboardingOrganizationCreateResponse, error)
OnboardingOrganizationCreateWithBodyWithResponse Create the first organization
Onboarding step one. Creates the organization, its wallet in the currency the country decides and the caller's owner membership, and makes it the session's active organization. 409 ORGANIZATION_EXISTS when the account already belongs to an organization.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/onboarding/organization (the `OnboardingOrganizationCreate` operationId).
func (*ClientWithResponses) OnboardingOrganizationCreateWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) OnboardingOrganizationCreateWithResponse(ctx context.Context, body OnboardingOrganizationCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*OnboardingOrganizationCreateResponse, error)
OnboardingOrganizationCreateWithResponse Create the first organization
Onboarding step one. Creates the organization, its wallet in the currency the country decides and the caller's owner membership, and makes it the session's active organization. 409 ORGANIZATION_EXISTS when the account already belongs to an organization.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/onboarding/organization (the `OnboardingOrganizationCreate` operationId).
func (*ClientWithResponses) OrganizationInvitationAcceptWithResponse ¶
func (c *ClientWithResponses) OrganizationInvitationAcceptWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*OrganizationInvitationAcceptResponse, error)
OrganizationInvitationAcceptWithResponse Accept invitation
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/organization-invitations/{token}/accept (the `OrganizationInvitationAccept` operationId).
func (*ClientWithResponses) OrganizationInvitationGetWithResponse ¶
func (c *ClientWithResponses) OrganizationInvitationGetWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*OrganizationInvitationGetResponse, error)
OrganizationInvitationGetWithResponse View invitation
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/organization-invitations/{token} (the `OrganizationInvitationGet` operationId).
func (*ClientWithResponses) OrganizationInvitationsCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) OrganizationInvitationsCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OrganizationInvitationsCreateResponse, error)
OrganizationInvitationsCreateWithBodyWithResponse Invite organization member
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/organizations/{id}/invitations (the `OrganizationInvitationsCreate` operationId).
func (*ClientWithResponses) OrganizationInvitationsCreateWithResponse ¶
func (c *ClientWithResponses) OrganizationInvitationsCreateWithResponse(ctx context.Context, id string, body OrganizationInvitationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*OrganizationInvitationsCreateResponse, error)
OrganizationInvitationsCreateWithResponse Invite organization member
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/organizations/{id}/invitations (the `OrganizationInvitationsCreate` operationId).
func (*ClientWithResponses) OrganizationInvitationsListWithResponse ¶
func (c *ClientWithResponses) OrganizationInvitationsListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationInvitationsListResponse, error)
OrganizationInvitationsListWithResponse List active invitations
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/organizations/{id}/invitations (the `OrganizationInvitationsList` operationId).
func (*ClientWithResponses) OrganizationInvitationsRevokeWithResponse ¶
func (c *ClientWithResponses) OrganizationInvitationsRevokeWithResponse(ctx context.Context, id string, invitationId string, reqEditors ...RequestEditorFn) (*OrganizationInvitationsRevokeResponse, error)
OrganizationInvitationsRevokeWithResponse Revoke invitation
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/organizations/{id}/invitations/{invitation_id} (the `OrganizationInvitationsRevoke` operationId).
func (*ClientWithResponses) OrganizationMemberRoleUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) OrganizationMemberRoleUpdateWithBodyWithResponse(ctx context.Context, id string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OrganizationMemberRoleUpdateResponse, error)
OrganizationMemberRoleUpdateWithBodyWithResponse Change member role
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/organizations/{id}/members/{user_id} (the `OrganizationMemberRoleUpdate` operationId).
func (*ClientWithResponses) OrganizationMemberRoleUpdateWithResponse ¶
func (c *ClientWithResponses) OrganizationMemberRoleUpdateWithResponse(ctx context.Context, id string, userId string, body OrganizationMemberRoleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*OrganizationMemberRoleUpdateResponse, error)
OrganizationMemberRoleUpdateWithResponse Change member role
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/organizations/{id}/members/{user_id} (the `OrganizationMemberRoleUpdate` operationId).
func (*ClientWithResponses) OrganizationMembersListWithResponse ¶
func (c *ClientWithResponses) OrganizationMembersListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationMembersListResponse, error)
OrganizationMembersListWithResponse List organization members
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/organizations/{id}/members (the `OrganizationMembersList` operationId).
func (*ClientWithResponses) OrganizationMembersRemoveWithResponse ¶
func (c *ClientWithResponses) OrganizationMembersRemoveWithResponse(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*OrganizationMembersRemoveResponse, error)
OrganizationMembersRemoveWithResponse Remove organization member
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/organizations/{id}/members/{user_id} (the `OrganizationMembersRemove` operationId).
func (*ClientWithResponses) OrganizationsActivateWithResponse ¶
func (c *ClientWithResponses) OrganizationsActivateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsActivateResponse, error)
OrganizationsActivateWithResponse Activate organization for this session
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/organizations/{id}/activate (the `OrganizationsActivate` operationId).
func (*ClientWithResponses) OrganizationsCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) OrganizationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OrganizationsCreateResponse, error)
OrganizationsCreateWithBodyWithResponse Create organization
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/organizations (the `OrganizationsCreate` operationId).
func (*ClientWithResponses) OrganizationsCreateWithResponse ¶
func (c *ClientWithResponses) OrganizationsCreateWithResponse(ctx context.Context, body OrganizationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*OrganizationsCreateResponse, error)
OrganizationsCreateWithResponse Create organization
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/organizations (the `OrganizationsCreate` operationId).
func (*ClientWithResponses) OrganizationsDeleteWithResponse ¶
func (c *ClientWithResponses) OrganizationsDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsDeleteResponse, error)
OrganizationsDeleteWithResponse Delete organization
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/organizations/{id} (the `OrganizationsDelete` operationId).
func (*ClientWithResponses) OrganizationsGetWithResponse ¶
func (c *ClientWithResponses) OrganizationsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsGetResponse, error)
OrganizationsGetWithResponse Get organization
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/organizations/{id} (the `OrganizationsGet` operationId).
func (*ClientWithResponses) OrganizationsLeaveWithResponse ¶
func (c *ClientWithResponses) OrganizationsLeaveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsLeaveResponse, error)
OrganizationsLeaveWithResponse Leave organization
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/organizations/{id}/leave (the `OrganizationsLeave` operationId).
func (*ClientWithResponses) OrganizationsListWithResponse ¶
func (c *ClientWithResponses) OrganizationsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OrganizationsListResponse, error)
OrganizationsListWithResponse List organizations
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/organizations (the `OrganizationsList` operationId).
func (*ClientWithResponses) OrganizationsRenameWithBodyWithResponse ¶
func (c *ClientWithResponses) OrganizationsRenameWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OrganizationsRenameResponse, error)
OrganizationsRenameWithBodyWithResponse Rename organization
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/organizations/{id} (the `OrganizationsRename` operationId).
func (*ClientWithResponses) OrganizationsRenameWithResponse ¶
func (c *ClientWithResponses) OrganizationsRenameWithResponse(ctx context.Context, id string, body OrganizationsRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*OrganizationsRenameResponse, error)
OrganizationsRenameWithResponse Rename organization
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/organizations/{id} (the `OrganizationsRename` operationId).
func (*ClientWithResponses) PaymentIntentsListWithResponse ¶
func (c *ClientWithResponses) PaymentIntentsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PaymentIntentsListResponse, error)
PaymentIntentsListWithResponse Payment records
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/payments/intents (the `PaymentIntentsList` operationId).
func (*ClientWithResponses) PaymentTopupInitWithBodyWithResponse ¶
func (c *ClientWithResponses) PaymentTopupInitWithBodyWithResponse(ctx context.Context, params *PaymentTopupInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PaymentTopupInitResponse, error)
PaymentTopupInitWithBodyWithResponse Start balance top-up
Card: opens a PayTR iframe session. Bank transfer: generates a description code valid for 72 hours. Credit is applied after payment confirmation (webhook/matching).
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/payments/topup (the `PaymentTopupInit` operationId).
func (*ClientWithResponses) PaymentTopupInitWithResponse ¶
func (c *ClientWithResponses) PaymentTopupInitWithResponse(ctx context.Context, params *PaymentTopupInitParams, body PaymentTopupInitJSONRequestBody, reqEditors ...RequestEditorFn) (*PaymentTopupInitResponse, error)
PaymentTopupInitWithResponse Start balance top-up
Card: opens a PayTR iframe session. Bank transfer: generates a description code valid for 72 hours. Credit is applied after payment confirmation (webhook/matching).
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/payments/topup (the `PaymentTopupInit` operationId).
func (*ClientWithResponses) PlanTypesListWithResponse ¶
func (c *ClientWithResponses) PlanTypesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlanTypesListResponse, error)
PlanTypesListWithResponse Plan types catalog
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/plan-types (the `PlanTypesList` operationId).
func (*ClientWithResponses) PlansListWithResponse ¶
func (c *ClientWithResponses) PlansListWithResponse(ctx context.Context, params *PlansListParams, reqEditors ...RequestEditorFn) (*PlansListResponse, error)
PlansListWithResponse Plan catalog
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/plans (the `PlansList` operationId).
func (*ClientWithResponses) ProjectCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectCreateWithBodyWithResponse(ctx context.Context, params *ProjectCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectCreateResponse, error)
ProjectCreateWithBodyWithResponse Create project
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects (the `ProjectCreate` operationId).
func (*ClientWithResponses) ProjectCreateWithResponse ¶
func (c *ClientWithResponses) ProjectCreateWithResponse(ctx context.Context, params *ProjectCreateParams, body ProjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectCreateResponse, error)
ProjectCreateWithResponse Create project
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/projects (the `ProjectCreate` operationId).
func (*ClientWithResponses) ProjectDeleteWithResponse ¶
func (c *ClientWithResponses) ProjectDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ProjectDeleteResponse, error)
ProjectDeleteWithResponse Delete project
Servers in the project are detached, never deleted.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/projects/{id} (the `ProjectDelete` operationId).
func (*ClientWithResponses) ProjectGetWithResponse ¶
func (c *ClientWithResponses) ProjectGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ProjectGetResponse, error)
ProjectGetWithResponse Project
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects/{id} (the `ProjectGet` operationId).
func (*ClientWithResponses) ProjectUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) ProjectUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectUpdateResponse, error)
ProjectUpdateWithBodyWithResponse Rename project
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{id} (the `ProjectUpdate` operationId).
func (*ClientWithResponses) ProjectUpdateWithResponse ¶
func (c *ClientWithResponses) ProjectUpdateWithResponse(ctx context.Context, id string, body ProjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectUpdateResponse, error)
ProjectUpdateWithResponse Rename project
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/projects/{id} (the `ProjectUpdate` operationId).
func (*ClientWithResponses) ProjectsListWithResponse ¶
func (c *ClientWithResponses) ProjectsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProjectsListResponse, error)
ProjectsListWithResponse My projects
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/projects (the `ProjectsList` operationId).
func (*ClientWithResponses) RdnsClearWithResponse ¶
func (c *ClientWithResponses) RdnsClearWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RdnsClearResponse, error)
RdnsClearWithResponse Remove reverse DNS from an address
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/ip-addresses/{id}/rdns (the `RdnsClear` operationId).
func (*ClientWithResponses) RdnsSetWithBodyWithResponse ¶
func (c *ClientWithResponses) RdnsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RdnsSetResponse, error)
RdnsSetWithBodyWithResponse Set reverse DNS for an address
Publishes a PTR record. The hostname must already have an A/AAAA record pointing at this address (forward-confirmed reverse DNS); create that record first, then set the PTR.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/ip-addresses/{id}/rdns (the `RdnsSet` operationId).
func (*ClientWithResponses) RdnsSetWithResponse ¶
func (c *ClientWithResponses) RdnsSetWithResponse(ctx context.Context, id string, body RdnsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*RdnsSetResponse, error)
RdnsSetWithResponse Set reverse DNS for an address
Publishes a PTR record. The hostname must already have an A/AAAA record pointing at this address (forward-confirmed reverse DNS); create that record first, then set the PTR.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/ip-addresses/{id}/rdns (the `RdnsSet` operationId).
func (*ClientWithResponses) RegionsListWithResponse ¶
func (c *ClientWithResponses) RegionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RegionsListResponse, error)
RegionsListWithResponse Region catalog
Active placement regions. The physical host inside a region is always chosen by the system.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/regions (the `RegionsList` operationId).
func (*ClientWithResponses) ResourcePricesListWithResponse ¶
func (c *ClientWithResponses) ResourcePricesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResourcePricesListResponse, error)
ResourcePricesListWithResponse GB-based resource prices (snapshots, volumes)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/resource-prices (the `ResourcePricesList` operationId).
func (*ClientWithResponses) ServerActionCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerActionCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerActionCreateResponse, error)
ServerActionCreateWithBodyWithResponse Power action (start/stop/reboot)
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/actions (the `ServerActionCreate` operationId).
func (*ClientWithResponses) ServerActionCreateWithResponse ¶
func (c *ClientWithResponses) ServerActionCreateWithResponse(ctx context.Context, id string, body ServerActionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerActionCreateResponse, error)
ServerActionCreateWithResponse Power action (start/stop/reboot)
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/actions (the `ServerActionCreate` operationId).
func (*ClientWithResponses) ServerActionGetWithResponse ¶
func (c *ClientWithResponses) ServerActionGetWithResponse(ctx context.Context, id string, actionId string, reqEditors ...RequestEditorFn) (*ServerActionGetResponse, error)
ServerActionGetWithResponse Power action status
Resolves the id returned by a power action. `succeeded` and `failed` are terminal; `failed` carries an error_code. Poll with increasing intervals rather than tightly.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/actions/{actionId} (the `ServerActionGet` operationId).
func (*ClientWithResponses) ServerAlertDeleteWithResponse ¶
func (c *ClientWithResponses) ServerAlertDeleteWithResponse(ctx context.Context, id string, metric ServerAlertDeleteParamsMetric, reqEditors ...RequestEditorFn) (*ServerAlertDeleteResponse, error)
ServerAlertDeleteWithResponse Delete a metric alarm rule
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/servers/{id}/alerts/{metric} (the `ServerAlertDelete` operationId).
func (*ClientWithResponses) ServerAlertSaveWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerAlertSaveWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerAlertSaveResponse, error)
ServerAlertSaveWithBodyWithResponse Create or update a metric alarm rule
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/servers/{id}/alerts (the `ServerAlertSave` operationId).
func (*ClientWithResponses) ServerAlertSaveWithResponse ¶
func (c *ClientWithResponses) ServerAlertSaveWithResponse(ctx context.Context, id string, body ServerAlertSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerAlertSaveResponse, error)
ServerAlertSaveWithResponse Create or update a metric alarm rule
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/servers/{id}/alerts (the `ServerAlertSave` operationId).
func (*ClientWithResponses) ServerAlertsListWithResponse ¶
func (c *ClientWithResponses) ServerAlertsListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerAlertsListResponse, error)
ServerAlertsListWithResponse List metric alarm rules
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/alerts (the `ServerAlertsList` operationId).
func (*ClientWithResponses) ServerAppRetryWithResponse ¶
func (c *ClientWithResponses) ServerAppRetryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerAppRetryResponse, error)
ServerAppRetryWithResponse Retry a failed marketplace app install
Only valid while app_state is 'failed' on a running server; 409 otherwise.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/app/retry (the `ServerAppRetry` operationId).
func (*ClientWithResponses) ServerBackupCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerBackupCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerBackupCreateResponse, error)
ServerBackupCreateWithBodyWithResponse Take a backup now
On-demand vzdump to backup storage. Billed per GB-hour of the archive size; max 5 manual backups per server.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/backups (the `ServerBackupCreate` operationId).
func (*ClientWithResponses) ServerBackupCreateWithResponse ¶
func (c *ClientWithResponses) ServerBackupCreateWithResponse(ctx context.Context, id string, body ServerBackupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerBackupCreateResponse, error)
ServerBackupCreateWithResponse Take a backup now
On-demand vzdump to backup storage. Billed per GB-hour of the archive size; max 5 manual backups per server.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/backups (the `ServerBackupCreate` operationId).
func (*ClientWithResponses) ServerBackupDeleteWithResponse ¶
func (c *ClientWithResponses) ServerBackupDeleteWithResponse(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*ServerBackupDeleteResponse, error)
ServerBackupDeleteWithResponse Delete a backup
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/servers/{id}/backups/{backupId} (the `ServerBackupDelete` operationId).
func (*ClientWithResponses) ServerBackupListAllWithResponse ¶
func (c *ClientWithResponses) ServerBackupListAllWithResponse(ctx context.Context, params *ServerBackupListAllParams, reqEditors ...RequestEditorFn) (*ServerBackupListAllResponse, error)
ServerBackupListAllWithResponse All restorable backups (create-from-backup picker & global backups page)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/backups (the `ServerBackupListAll` operationId).
func (*ClientWithResponses) ServerBackupListWithResponse ¶
func (c *ClientWithResponses) ServerBackupListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerBackupListResponse, error)
ServerBackupListWithResponse Server backups
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/backups (the `ServerBackupList` operationId).
func (*ClientWithResponses) ServerBackupRestoreWithResponse ¶
func (c *ClientWithResponses) ServerBackupRestoreWithResponse(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*ServerBackupRestoreResponse, error)
ServerBackupRestoreWithResponse Restore a backup
Whole-VM restore into the same server — the CURRENT disk state is lost. A running server is stopped and restarted. Blocked while extra volumes are attached.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/backups/{backupId}/restore (the `ServerBackupRestore` operationId).
func (*ClientWithResponses) ServerBackupSettingsGetWithResponse ¶
func (c *ClientWithResponses) ServerBackupSettingsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerBackupSettingsGetResponse, error)
ServerBackupSettingsGetWithResponse Automatic-backup subscription state
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/backup-settings (the `ServerBackupSettingsGet` operationId).
func (*ClientWithResponses) ServerBackupSettingsUpdateWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerBackupSettingsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerBackupSettingsUpdateResponse, error)
ServerBackupSettingsUpdateWithBodyWithResponse Toggle automatic daily backups
When on, a backup is taken daily (7 rolling) and the wallet is charged +20% of the plan price. Requires no attached volumes.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/servers/{id}/backup-settings (the `ServerBackupSettingsUpdate` operationId).
func (*ClientWithResponses) ServerBackupSettingsUpdateWithResponse ¶
func (c *ClientWithResponses) ServerBackupSettingsUpdateWithResponse(ctx context.Context, id string, body ServerBackupSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerBackupSettingsUpdateResponse, error)
ServerBackupSettingsUpdateWithResponse Toggle automatic daily backups
When on, a backup is taken daily (7 rolling) and the wallet is charged +20% of the plan price. Requires no attached volumes.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/servers/{id}/backup-settings (the `ServerBackupSettingsUpdate` operationId).
func (*ClientWithResponses) ServerBillingGetWithResponse ¶
func (c *ClientWithResponses) ServerBillingGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerBillingGetResponse, error)
ServerBillingGetWithResponse What this server costs
The plan charge, the resources attached to it and their current monthly rate, this month's traffic, and the lifetime totals taken from the ledger.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/billing (the `ServerBillingGet` operationId).
func (*ClientWithResponses) ServerConsoleCreateWithResponse ¶
func (c *ClientWithResponses) ServerConsoleCreateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerConsoleCreateResponse, error)
ServerConsoleCreateWithResponse Open console session
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/console (the `ServerConsoleCreate` operationId).
func (*ClientWithResponses) ServerCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerCreateWithBodyWithResponse(ctx context.Context, params *ServerCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerCreateResponse, error)
ServerCreateWithBodyWithResponse Create server
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers (the `ServerCreate` operationId).
func (*ClientWithResponses) ServerCreateWithResponse ¶
func (c *ClientWithResponses) ServerCreateWithResponse(ctx context.Context, params *ServerCreateParams, body ServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerCreateResponse, error)
ServerCreateWithResponse Create server
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers (the `ServerCreate` operationId).
func (*ClientWithResponses) ServerDeleteWithResponse ¶
func (c *ClientWithResponses) ServerDeleteWithResponse(ctx context.Context, id string, params *ServerDeleteParams, reqEditors ...RequestEditorFn) (*ServerDeleteResponse, error)
ServerDeleteWithResponse Delete server
The server and its disks are permanently deleted. Its public IP returns to the pool and can be assigned again, to another customer or to you.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/servers/{id} (the `ServerDelete` operationId).
func (*ClientWithResponses) ServerDiskMetricsListWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) ServerDiskMetricsListWithResponse(ctx context.Context, id string, params *ServerDiskMetricsListParams, reqEditors ...RequestEditorFn) (*ServerDiskMetricsListResponse, error)
ServerDiskMetricsListWithResponse Sampled disk performance
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/disk-metrics (the `ServerDiskMetricsList` operationId).
func (*ClientWithResponses) ServerEventsListWithResponse ¶
func (c *ClientWithResponses) ServerEventsListWithResponse(ctx context.Context, id string, params *ServerEventsListParams, reqEditors ...RequestEditorFn) (*ServerEventsListResponse, error)
ServerEventsListWithResponse Server event stream
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/events (the `ServerEventsList` operationId).
func (*ClientWithResponses) ServerFilesystemsListWithResponse ¶
func (c *ClientWithResponses) ServerFilesystemsListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerFilesystemsListResponse, error)
ServerFilesystemsListWithResponse Guest-agent disk usage per mount
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/filesystems (the `ServerFilesystemsList` operationId).
func (*ClientWithResponses) ServerGetWithResponse ¶
func (c *ClientWithResponses) ServerGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerGetResponse, error)
ServerGetWithResponse Server details
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id} (the `ServerGet` operationId).
func (*ClientWithResponses) ServerLedgerListWithResponse ¶
func (c *ClientWithResponses) ServerLedgerListWithResponse(ctx context.Context, id string, params *ServerLedgerListParams, reqEditors ...RequestEditorFn) (*ServerLedgerListResponse, error)
ServerLedgerListWithResponse Wallet movements charged to this server
Paged, newest first. Only movements written against this server: the plan charge, resize differences, refunds and traffic overage. Charges for its snapshots, backups, volumes and floating IPs are billed against those resources and appear on the wallet page.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/billing/ledger (the `ServerLedgerList` operationId).
func (*ClientWithResponses) ServerMetricsListWithResponse ¶
func (c *ClientWithResponses) ServerMetricsListWithResponse(ctx context.Context, id string, params *ServerMetricsListParams, reqEditors ...RequestEditorFn) (*ServerMetricsListResponse, error)
ServerMetricsListWithResponse Sampled resource metrics
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/metrics (the `ServerMetricsList` operationId).
func (*ClientWithResponses) ServerMountISOWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerMountISOWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerMountISOResponse, error)
ServerMountISOWithBodyWithResponse Mount ISO to server
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/actions/mount-iso (the `ServerMountISO` operationId).
func (*ClientWithResponses) ServerMountISOWithResponse ¶
func (c *ClientWithResponses) ServerMountISOWithResponse(ctx context.Context, id string, body ServerMountISOJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerMountISOResponse, error)
ServerMountISOWithResponse Mount ISO to server
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/actions/mount-iso (the `ServerMountISO` operationId).
func (*ClientWithResponses) ServerNetworkAttachWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerNetworkAttachWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerNetworkAttachResponse, error)
ServerNetworkAttachWithBodyWithResponse Join a private network
Assigns a private IP and adds the second NIC. A running server is stopped and restarted (no hotplug). One network per server.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/network (the `ServerNetworkAttach` operationId).
func (*ClientWithResponses) ServerNetworkAttachWithResponse ¶
func (c *ClientWithResponses) ServerNetworkAttachWithResponse(ctx context.Context, id string, body ServerNetworkAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerNetworkAttachResponse, error)
ServerNetworkAttachWithResponse Join a private network
Assigns a private IP and adds the second NIC. A running server is stopped and restarted (no hotplug). One network per server.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/network (the `ServerNetworkAttach` operationId).
func (*ClientWithResponses) ServerNetworkDetachWithResponse ¶
func (c *ClientWithResponses) ServerNetworkDetachWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerNetworkDetachResponse, error)
ServerNetworkDetachWithResponse Leave the private network
Removes the private NIC and releases the private IP. A running server is stopped and restarted.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/servers/{id}/network (the `ServerNetworkDetach` operationId).
func (*ClientWithResponses) ServerPasswordResetWithResponse ¶
func (c *ClientWithResponses) ServerPasswordResetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerPasswordResetResponse, error)
ServerPasswordResetWithResponse Reset root password
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/password-reset (the `ServerPasswordReset` operationId).
func (*ClientWithResponses) ServerProjectSetWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerProjectSetResponse, error)
ServerProjectSetWithBodyWithResponse Move server to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/servers/{id}/project (the `ServerProjectSet` operationId).
func (*ClientWithResponses) ServerProjectSetWithResponse ¶
func (c *ClientWithResponses) ServerProjectSetWithResponse(ctx context.Context, id string, body ServerProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerProjectSetResponse, error)
ServerProjectSetWithResponse Move server to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/servers/{id}/project (the `ServerProjectSet` operationId).
func (*ClientWithResponses) ServerRDNSListWithResponse ¶
func (c *ClientWithResponses) ServerRDNSListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerRDNSListResponse, error)
ServerRDNSListWithResponse Reverse DNS for a server's addresses
The server's fixed public address plus every floating IP attached to it. An entry with no `reverse_zone` cannot carry a PTR in this region.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/rdns (the `ServerRDNSList` operationId).
func (*ClientWithResponses) ServerRebuildWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerRebuildWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerRebuildResponse, error)
ServerRebuildWithBodyWithResponse Rebuild server (reinstall image)
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/rebuild (the `ServerRebuild` operationId).
func (*ClientWithResponses) ServerRebuildWithResponse ¶
func (c *ClientWithResponses) ServerRebuildWithResponse(ctx context.Context, id string, body ServerRebuildJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerRebuildResponse, error)
ServerRebuildWithResponse Rebuild server (reinstall image)
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/rebuild (the `ServerRebuild` operationId).
func (*ClientWithResponses) ServerRenameWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerRenameWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerRenameResponse, error)
ServerRenameWithBodyWithResponse Rename server
Changes the display name and the hypervisor VM name. The guest's hostname stays as set at first boot.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/servers/{id} (the `ServerRename` operationId).
func (*ClientWithResponses) ServerRenameWithResponse ¶
func (c *ClientWithResponses) ServerRenameWithResponse(ctx context.Context, id string, body ServerRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerRenameResponse, error)
ServerRenameWithResponse Rename server
Changes the display name and the hypervisor VM name. The guest's hostname stays as set at first boot.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/servers/{id} (the `ServerRename` operationId).
func (*ClientWithResponses) ServerRescueEnterWithResponse ¶
func (c *ClientWithResponses) ServerRescueEnterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerRescueEnterResponse, error)
ServerRescueEnterWithResponse Boot the server into rescue mode
Mounts the platform's live rescue image and restarts the server from it; the disks are left untouched. The first rescue on a host downloads the image, so it can take a few minutes. Resize, rebuild and restore are refused while rescue is active.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/rescue (the `ServerRescueEnter` operationId).
func (*ClientWithResponses) ServerRescueExitWithResponse ¶
func (c *ClientWithResponses) ServerRescueExitWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerRescueExitResponse, error)
ServerRescueExitWithResponse Leave rescue mode
Ejects the rescue image and restarts the server from its own disk.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/rescue/exit (the `ServerRescueExit` operationId).
func (*ClientWithResponses) ServerResizeWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerResizeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerResizeResponse, error)
ServerResizeWithBodyWithResponse Change plan (upgrade)
Honest offline resize: a RAM/CPU change restarts the server; disk only grows. In monthly mode the difference for the remaining period is charged upfront.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/resize (the `ServerResize` operationId).
func (*ClientWithResponses) ServerResizeWithResponse ¶
func (c *ClientWithResponses) ServerResizeWithResponse(ctx context.Context, id string, body ServerResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerResizeResponse, error)
ServerResizeWithResponse Change plan (upgrade)
Honest offline resize: a RAM/CPU change restarts the server; disk only grows. In monthly mode the difference for the remaining period is charged upfront.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/resize (the `ServerResize` operationId).
func (*ClientWithResponses) ServerSnapshotCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerSnapshotCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerSnapshotCreateResponse, error)
ServerSnapshotCreateWithBodyWithResponse Take a snapshot
Disk-only, crash-consistent. Billed per GB-hour at the disk size frozen at creation; max 5 per server.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/snapshots (the `ServerSnapshotCreate` operationId).
func (*ClientWithResponses) ServerSnapshotCreateWithResponse ¶
func (c *ClientWithResponses) ServerSnapshotCreateWithResponse(ctx context.Context, id string, body ServerSnapshotCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerSnapshotCreateResponse, error)
ServerSnapshotCreateWithResponse Take a snapshot
Disk-only, crash-consistent. Billed per GB-hour at the disk size frozen at creation; max 5 per server.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/snapshots (the `ServerSnapshotCreate` operationId).
func (*ClientWithResponses) ServerSnapshotDeleteWithResponse ¶
func (c *ClientWithResponses) ServerSnapshotDeleteWithResponse(ctx context.Context, id string, snapshotId string, reqEditors ...RequestEditorFn) (*ServerSnapshotDeleteResponse, error)
ServerSnapshotDeleteWithResponse Delete a snapshot
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/servers/{id}/snapshots/{snapshotId} (the `ServerSnapshotDelete` operationId).
func (*ClientWithResponses) ServerSnapshotListAllWithResponse ¶
func (c *ClientWithResponses) ServerSnapshotListAllWithResponse(ctx context.Context, params *ServerSnapshotListAllParams, reqEditors ...RequestEditorFn) (*ServerSnapshotListAllResponse, error)
ServerSnapshotListAllWithResponse All restorable snapshots (global snapshots page)
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/snapshots (the `ServerSnapshotListAll` operationId).
func (*ClientWithResponses) ServerSnapshotListWithResponse ¶
func (c *ClientWithResponses) ServerSnapshotListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerSnapshotListResponse, error)
ServerSnapshotListWithResponse Server snapshots
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers/{id}/snapshots (the `ServerSnapshotList` operationId).
func (*ClientWithResponses) ServerSnapshotRestoreWithResponse ¶
func (c *ClientWithResponses) ServerSnapshotRestoreWithResponse(ctx context.Context, id string, snapshotId string, reqEditors ...RequestEditorFn) (*ServerSnapshotRestoreResponse, error)
ServerSnapshotRestoreWithResponse Restore a snapshot
Rolls the disk back to the snapshot — the CURRENT disk state is lost. A running server is stopped and restarted.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/snapshots/{snapshotId}/restore (the `ServerSnapshotRestore` operationId).
func (*ClientWithResponses) ServerTagsSetWithBodyWithResponse ¶
func (c *ClientWithResponses) ServerTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerTagsSetResponse, error)
ServerTagsSetWithBodyWithResponse Replace server tags
Replaces the whole tag set. Tags group resources across projects: a server is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/servers/{id}/tags (the `ServerTagsSet` operationId).
func (*ClientWithResponses) ServerTagsSetWithResponse ¶
func (c *ClientWithResponses) ServerTagsSetWithResponse(ctx context.Context, id string, body ServerTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerTagsSetResponse, error)
ServerTagsSetWithResponse Replace server tags
Replaces the whole tag set. Tags group resources across projects: a server is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/servers/{id}/tags (the `ServerTagsSet` operationId).
func (*ClientWithResponses) ServerUnmountISOWithResponse ¶
func (c *ClientWithResponses) ServerUnmountISOWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerUnmountISOResponse, error)
ServerUnmountISOWithResponse Unmount ISO from server
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/servers/{id}/actions/unmount-iso (the `ServerUnmountISO` operationId).
func (*ClientWithResponses) ServersListWithResponse ¶
func (c *ClientWithResponses) ServersListWithResponse(ctx context.Context, params *ServersListParams, reqEditors ...RequestEditorFn) (*ServersListResponse, error)
ServersListWithResponse My servers
Paged. `total` counts the rows matching the filters; `summary` describes the whole organization and does not move as you page or search.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/servers (the `ServersList` operationId).
func (*ClientWithResponses) SshKeyCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) SshKeyCreateWithBodyWithResponse(ctx context.Context, params *SshKeyCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SshKeyCreateResponse, error)
SshKeyCreateWithBodyWithResponse Add SSH key
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ssh-keys (the `SshKeyCreate` operationId).
func (*ClientWithResponses) SshKeyCreateWithResponse ¶
func (c *ClientWithResponses) SshKeyCreateWithResponse(ctx context.Context, params *SshKeyCreateParams, body SshKeyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SshKeyCreateResponse, error)
SshKeyCreateWithResponse Add SSH key
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/ssh-keys (the `SshKeyCreate` operationId).
func (*ClientWithResponses) SshKeyDeleteWithResponse ¶
func (c *ClientWithResponses) SshKeyDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SshKeyDeleteResponse, error)
SshKeyDeleteWithResponse Delete SSH key
Existing servers are unaffected (the key is embedded at provision time).
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/ssh-keys/{id} (the `SshKeyDelete` operationId).
func (*ClientWithResponses) SshKeyGetWithResponse ¶
func (c *ClientWithResponses) SshKeyGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SshKeyGetResponse, error)
SshKeyGetWithResponse SSH key
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/ssh-keys/{id} (the `SshKeyGet` operationId).
func (*ClientWithResponses) SshKeysListWithResponse ¶
func (c *ClientWithResponses) SshKeysListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SshKeysListResponse, error)
SshKeysListWithResponse My SSH keys
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/ssh-keys (the `SshKeysList` operationId).
func (*ClientWithResponses) TagsListWithResponse ¶
func (c *ClientWithResponses) TagsListWithResponse(ctx context.Context, params *TagsListParams, reqEditors ...RequestEditorFn) (*TagsListResponse, error)
TagsListWithResponse Tags in use
Every tag this organization has used, with how many resources carry it. Tags are created by using them: there is no endpoint that makes one, and one stops existing when the last resource drops it.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/tags (the `TagsList` operationId).
func (*ClientWithResponses) TicketAttachmentDownloadWithResponse ¶
func (c *ClientWithResponses) TicketAttachmentDownloadWithResponse(ctx context.Context, code string, id int64, reqEditors ...RequestEditorFn) (*TicketAttachmentDownloadResponse, error)
TicketAttachmentDownloadWithResponse Download a ticket attachment
Returns the raw bytes. Images are served inline so the panel can render them; everything else downloads.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/tickets/{code}/attachments/{id} (the `TicketAttachmentDownload` operationId).
func (*ClientWithResponses) TicketCloseWithResponse ¶
func (c *ClientWithResponses) TicketCloseWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*TicketCloseResponse, error)
TicketCloseWithResponse Close a ticket
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/tickets/{code}/close (the `TicketClose` operationId).
func (*ClientWithResponses) TicketCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) TicketCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TicketCreateResponse, error)
TicketCreateWithBodyWithResponse Open a support ticket
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/tickets (the `TicketCreate` operationId).
func (*ClientWithResponses) TicketCreateWithResponse ¶
func (c *ClientWithResponses) TicketCreateWithResponse(ctx context.Context, body TicketCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TicketCreateResponse, error)
TicketCreateWithResponse Open a support ticket
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/tickets (the `TicketCreate` operationId).
func (*ClientWithResponses) TicketGetWithResponse ¶
func (c *ClientWithResponses) TicketGetWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*TicketGetResponse, error)
TicketGetWithResponse Ticket detail with its conversation
Staff-only internal notes are filtered out in the query, not in the response mapping.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/tickets/{code} (the `TicketGet` operationId).
func (*ClientWithResponses) TicketReopenWithResponse ¶
func (c *ClientWithResponses) TicketReopenWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*TicketReopenResponse, error)
TicketReopenWithResponse Reopen a ticket (within 7 days)
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/tickets/{code}/reopen (the `TicketReopen` operationId).
func (*ClientWithResponses) TicketReplyWithBodyWithResponse ¶
func (c *ClientWithResponses) TicketReplyWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TicketReplyResponse, error)
TicketReplyWithBodyWithResponse Reply to a ticket
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/tickets/{code}/messages (the `TicketReply` operationId).
func (*ClientWithResponses) TicketReplyWithResponse ¶
func (c *ClientWithResponses) TicketReplyWithResponse(ctx context.Context, code string, body TicketReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*TicketReplyResponse, error)
TicketReplyWithResponse Reply to a ticket
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/tickets/{code}/messages (the `TicketReply` operationId).
func (*ClientWithResponses) TicketsListWithResponse ¶
func (c *ClientWithResponses) TicketsListWithResponse(ctx context.Context, params *TicketsListParams, reqEditors ...RequestEditorFn) (*TicketsListResponse, error)
TicketsListWithResponse List support tickets
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/tickets (the `TicketsList` operationId).
func (*ClientWithResponses) VolumeAttachWithBodyWithResponse ¶
func (c *ClientWithResponses) VolumeAttachWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VolumeAttachResponse, error)
VolumeAttachWithBodyWithResponse Attach a volume
Hotplug — works on a running server. Blocked while the server has snapshots (409). With automount the volume is mounted in the guest and pinned in fstab; a volume that carries no filesystem yet cannot be automounted, because attaching never formats.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/volumes/{id}/attach (the `VolumeAttach` operationId).
func (*ClientWithResponses) VolumeAttachWithResponse ¶
func (c *ClientWithResponses) VolumeAttachWithResponse(ctx context.Context, id string, body VolumeAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*VolumeAttachResponse, error)
VolumeAttachWithResponse Attach a volume
Hotplug — works on a running server. Blocked while the server has snapshots (409). With automount the volume is mounted in the guest and pinned in fstab; a volume that carries no filesystem yet cannot be automounted, because attaching never formats.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/volumes/{id}/attach (the `VolumeAttach` operationId).
func (*ClientWithResponses) VolumeCreateWithBodyWithResponse ¶
func (c *ClientWithResponses) VolumeCreateWithBodyWithResponse(ctx context.Context, params *VolumeCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VolumeCreateResponse, error)
VolumeCreateWithBodyWithResponse Create a volume
Billed per GB-hour at provisioned size from creation to deletion, regardless of attach state. Size band, count and total capacity are operator policy with per-account and per-organization overrides — read GET /v1/volumes/limits rather than assuming. Max 5 attached per server. With fs_type + automount the volume arrives formatted and mounted; without them it is a raw block device.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/volumes (the `VolumeCreate` operationId).
func (*ClientWithResponses) VolumeCreateWithResponse ¶
func (c *ClientWithResponses) VolumeCreateWithResponse(ctx context.Context, params *VolumeCreateParams, body VolumeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VolumeCreateResponse, error)
VolumeCreateWithResponse Create a volume
Billed per GB-hour at provisioned size from creation to deletion, regardless of attach state. Size band, count and total capacity are operator policy with per-account and per-organization overrides — read GET /v1/volumes/limits rather than assuming. Max 5 attached per server. With fs_type + automount the volume arrives formatted and mounted; without them it is a raw block device.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/volumes (the `VolumeCreate` operationId).
func (*ClientWithResponses) VolumeDeleteWithResponse ¶
func (c *ClientWithResponses) VolumeDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VolumeDeleteResponse, error)
VolumeDeleteWithResponse Delete a volume
Detached volumes only — detach first. The disk and its data are destroyed.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /v1/volumes/{id} (the `VolumeDelete` operationId).
func (*ClientWithResponses) VolumeDetachWithResponse ¶
func (c *ClientWithResponses) VolumeDetachWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VolumeDetachResponse, error)
VolumeDetachWithResponse Detach a volume
Hot-detach — unmount inside the guest first; the data stays on the volume.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/volumes/{id}/detach (the `VolumeDetach` operationId).
func (*ClientWithResponses) VolumeGetWithResponse ¶
func (c *ClientWithResponses) VolumeGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VolumeGetResponse, error)
VolumeGetWithResponse Volume detail
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/volumes/{id} (the `VolumeGet` operationId).
func (*ClientWithResponses) VolumeLimitsWithResponse ¶
func (c *ClientWithResponses) VolumeLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VolumeLimitsResponse, error)
VolumeLimitsWithResponse Volume limits and remaining allowance
The size band and what is left of the count and capacity quotas, narrowed to whichever of the account and organization ceilings binds first. A hint: the create path re-derives these under lock, so a concurrent create can still refuse a size this reported.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/volumes/limits (the `VolumeLimits` operationId).
func (*ClientWithResponses) VolumeListWithResponse ¶
func (c *ClientWithResponses) VolumeListWithResponse(ctx context.Context, params *VolumeListParams, reqEditors ...RequestEditorFn) (*VolumeListResponse, error)
VolumeListWithResponse Volumes
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/volumes (the `VolumeList` operationId).
func (*ClientWithResponses) VolumeProjectSetWithBodyWithResponse ¶
func (c *ClientWithResponses) VolumeProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VolumeProjectSetResponse, error)
VolumeProjectSetWithBodyWithResponse Move volume to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/volumes/{id}/project (the `VolumeProjectSet` operationId).
func (*ClientWithResponses) VolumeProjectSetWithResponse ¶
func (c *ClientWithResponses) VolumeProjectSetWithResponse(ctx context.Context, id string, body VolumeProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*VolumeProjectSetResponse, error)
VolumeProjectSetWithResponse Move volume to a project
A resource belongs to at most one project. Omit project_id to detach it from all of them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /v1/volumes/{id}/project (the `VolumeProjectSet` operationId).
func (*ClientWithResponses) VolumeResizeWithBodyWithResponse ¶
func (c *ClientWithResponses) VolumeResizeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VolumeResizeResponse, error)
VolumeResizeWithBodyWithResponse Grow a volume
Grow only, online (works while attached). Enlarge the filesystem inside the guest afterwards.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/volumes/{id}/resize (the `VolumeResize` operationId).
func (*ClientWithResponses) VolumeResizeWithResponse ¶
func (c *ClientWithResponses) VolumeResizeWithResponse(ctx context.Context, id string, body VolumeResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*VolumeResizeResponse, error)
VolumeResizeWithResponse Grow a volume
Grow only, online (works while attached). Enlarge the filesystem inside the guest afterwards.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/volumes/{id}/resize (the `VolumeResize` operationId).
func (*ClientWithResponses) VolumeTagsSetWithBodyWithResponse ¶
func (c *ClientWithResponses) VolumeTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VolumeTagsSetResponse, error)
VolumeTagsSetWithBodyWithResponse Replace volume tags
Replaces the whole tag set. Tags group resources across projects: a volume is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/volumes/{id}/tags (the `VolumeTagsSet` operationId).
func (*ClientWithResponses) VolumeTagsSetWithResponse ¶
func (c *ClientWithResponses) VolumeTagsSetWithResponse(ctx context.Context, id string, body VolumeTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*VolumeTagsSetResponse, error)
VolumeTagsSetWithResponse Replace volume tags
Replaces the whole tag set. Tags group resources across projects: a volume is in at most one project but may wear many tags, and every list endpoint can filter on them.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /v1/volumes/{id}/tags (the `VolumeTagsSet` operationId).
func (*ClientWithResponses) WalletGetWithResponse ¶
func (c *ClientWithResponses) WalletGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WalletGetResponse, error)
WalletGetWithResponse Wallet status
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/wallet (the `WalletGet` operationId).
func (*ClientWithResponses) WalletLedgerDailyWithResponse ¶
func (c *ClientWithResponses) WalletLedgerDailyWithResponse(ctx context.Context, params *WalletLedgerDailyParams, reqEditors ...RequestEditorFn) (*WalletLedgerDailyResponse, error)
WalletLedgerDailyWithResponse Daily wallet movement totals
In/out totals per day over the requested window, for the wallet chart.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/wallet/ledger/daily (the `WalletLedgerDaily` operationId).
func (*ClientWithResponses) WalletLedgerListWithResponse ¶
func (c *ClientWithResponses) WalletLedgerListWithResponse(ctx context.Context, params *WalletLedgerListParams, reqEditors ...RequestEditorFn) (*WalletLedgerListResponse, error)
WalletLedgerListWithResponse Wallet ledger entries
Paged, newest first. `total` counts what the filter matched; `summary` describes the whole wallet.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/wallet/ledger (the `WalletLedgerList` operationId).
func (*ClientWithResponses) WalletPromoRedeemWithBodyWithResponse ¶
func (c *ClientWithResponses) WalletPromoRedeemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WalletPromoRedeemResponse, error)
WalletPromoRedeemWithBodyWithResponse Redeem a promo code
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/wallet/promo (the `WalletPromoRedeem` operationId).
func (*ClientWithResponses) WalletPromoRedeemWithResponse ¶
func (c *ClientWithResponses) WalletPromoRedeemWithResponse(ctx context.Context, body WalletPromoRedeemJSONRequestBody, reqEditors ...RequestEditorFn) (*WalletPromoRedeemResponse, error)
WalletPromoRedeemWithResponse Redeem a promo code
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /v1/wallet/promo (the `WalletPromoRedeem` operationId).
func (*ClientWithResponses) WalletPromoRedemptionsWithResponse ¶
func (c *ClientWithResponses) WalletPromoRedemptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WalletPromoRedemptionsResponse, error)
WalletPromoRedemptionsWithResponse Promo codes this organization has redeemed
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v1/wallet/promo (the `WalletPromoRedemptions` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// AccountGetWithResponse Current authenticated user
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account (the `AccountGet` operationId).
AccountGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountGetResponse, error)
// AccountUpdateWithBodyWithResponse Update account preferences
//
// The panel language, the display name and where the customer is (timezone, country); send only what changes. The full user object is returned so the client can refresh its cache in one round trip.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/account (the `AccountUpdate` operationId).
AccountUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountUpdateResponse, error)
// AccountUpdateWithResponse Update account preferences
//
// The panel language, the display name and where the customer is (timezone, country); send only what changes. The full user object is returned so the client can refresh its cache in one round trip.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/account (the `AccountUpdate` operationId).
AccountUpdateWithResponse(ctx context.Context, body AccountUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountUpdateResponse, error)
// ApiTokensListWithResponse My API tokens
//
// The secret itself is shown once, at creation, and is not retrievable afterwards.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account/api-tokens (the `ApiTokensList` operationId).
ApiTokensListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ApiTokensListResponse, error)
// ApiTokenCreateWithBodyWithResponse Create an API token
//
// The token acts as you, in your active organization, limited to the scopes you pick. The secret is shown once.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/api-tokens (the `ApiTokenCreate` operationId).
ApiTokenCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiTokenCreateResponse, error)
// ApiTokenCreateWithResponse Create an API token
//
// The token acts as you, in your active organization, limited to the scopes you pick. The secret is shown once.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/api-tokens (the `ApiTokenCreate` operationId).
ApiTokenCreateWithResponse(ctx context.Context, body ApiTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApiTokenCreateResponse, error)
// ApiTokenRevokeWithResponse Revoke an API token
//
// Takes effect on the next request; there is no cached copy anywhere.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/account/api-tokens/{id} (the `ApiTokenRevoke` operationId).
ApiTokenRevokeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ApiTokenRevokeResponse, error)
// AccountBillingProfileGetWithResponse Invoice details
//
// 404 when nothing has been saved yet — the panel treats that as 'not filled in', not as an error.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account/billing-profile (the `AccountBillingProfileGet` operationId).
AccountBillingProfileGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountBillingProfileGetResponse, error)
// AccountBillingProfileSaveWithBodyWithResponse Save invoice details
//
// Required before the first top-up. Editing later does NOT change already-issued invoices — each payment carries its own frozen copy.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/account/billing-profile (the `AccountBillingProfileSave` operationId).
AccountBillingProfileSaveWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountBillingProfileSaveResponse, error)
// AccountBillingProfileSaveWithResponse Save invoice details
//
// Required before the first top-up. Editing later does NOT change already-issued invoices — each payment carries its own frozen copy.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/account/billing-profile (the `AccountBillingProfileSave` operationId).
AccountBillingProfileSaveWithResponse(ctx context.Context, body AccountBillingProfileSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountBillingProfileSaveResponse, error)
// ConnectedAppsListWithResponse Applications connected to my account
//
// Every application that holds a live authorization, what it may do, and when it last used it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account/connected-apps (the `ConnectedAppsList` operationId).
ConnectedAppsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ConnectedAppsListResponse, error)
// ConnectedAppRevokeWithResponse Disconnect an application
//
// The consent is withdrawn and the token it holds stops working immediately, not at its own expiry.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/account/connected-apps/{id} (the `ConnectedAppRevoke` operationId).
ConnectedAppRevokeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ConnectedAppRevokeResponse, error)
// AccountDeletionCancelWithResponse Cancel a scheduled deletion
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/account/deletion (the `AccountDeletionCancel` operationId).
AccountDeletionCancelWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountDeletionCancelResponse, error)
// AccountDeletionGetWithResponse Whether the account can be closed, and whether it is closing
//
// Rendered before the button is offered, so the customer sees what to clear rather than a refusal after the fact.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account/deletion (the `AccountDeletionGet` operationId).
AccountDeletionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountDeletionGetResponse, error)
// AccountDeletionRequestWithBodyWithResponse Ask for the account to be deleted
//
// Schedules erasure 30 days out and mails the account. Sign-in stays open the whole time so the request can be cancelled; what stops is creating anything new.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/deletion (the `AccountDeletionRequest` operationId).
AccountDeletionRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountDeletionRequestResponse, error)
// AccountDeletionRequestWithResponse Ask for the account to be deleted
//
// Schedules erasure 30 days out and mails the account. Sign-in stays open the whole time so the request can be cancelled; what stops is creating anything new.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/deletion (the `AccountDeletionRequest` operationId).
AccountDeletionRequestWithResponse(ctx context.Context, body AccountDeletionRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountDeletionRequestResponse, error)
// AccountEmailChangeStartWithBodyWithResponse Start changing the sign-in address
//
// Sends a confirmation link to the NEW address and a security notice to the current one. Nothing changes until the link is opened; confirming closes every open session.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/email (the `AccountEmailChangeStart` operationId).
AccountEmailChangeStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountEmailChangeStartResponse, error)
// AccountEmailChangeStartWithResponse Start changing the sign-in address
//
// Sends a confirmation link to the NEW address and a security notice to the current one. Nothing changes until the link is opened; confirming closes every open session.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/email (the `AccountEmailChangeStart` operationId).
AccountEmailChangeStartWithResponse(ctx context.Context, body AccountEmailChangeStartJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountEmailChangeStartResponse, error)
// AccountExportWithResponse Download a copy of the data held about this account
//
// Account, linked sign-in methods, SSH key fingerprints, organizations, billing profiles, payments, resources and support tickets. Server contents, the audit log and credentials are deliberately not included; the response says so in its own `note`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account/export (the `AccountExport` operationId).
AccountExportWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountExportResponse, error)
// AccountIdentitiesListWithResponse Linked social accounts
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account/identities (the `AccountIdentitiesList` operationId).
AccountIdentitiesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountIdentitiesListResponse, error)
// AccountIdentityUnlinkWithResponse Unlink a social account
//
// Refused when it would remove the only way into the account (no password and no other provider).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/account/identities/{provider} (the `AccountIdentityUnlink` operationId).
AccountIdentityUnlinkWithResponse(ctx context.Context, provider AccountIdentityUnlinkParamsProvider, reqEditors ...RequestEditorFn) (*AccountIdentityUnlinkResponse, error)
// AccountOnboardingCompleteWithResponse Complete onboarding
//
// Onboarding step two, after the invoice details are saved. Refused with 409 ORGANIZATION_REQUIRED before the account belongs to an organization, and with 409 BILLING_PROFILE_REQUIRED while the organization the caller owns has no invoice details. Repeating it is harmless: the first completion time is kept.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/onboarding (the `AccountOnboardingComplete` operationId).
AccountOnboardingCompleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountOnboardingCompleteResponse, error)
// AccountChangePasswordWithBodyWithResponse Change password
//
// Verifies the current password, writes the new one, and terminates all sessions except the current one.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/password (the `AccountChangePassword` operationId).
AccountChangePasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountChangePasswordResponse, error)
// AccountChangePasswordWithResponse Change password
//
// Verifies the current password, writes the new one, and terminates all sessions except the current one.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/password (the `AccountChangePassword` operationId).
AccountChangePasswordWithResponse(ctx context.Context, body AccountChangePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountChangePasswordResponse, error)
// AccountPhoneDeleteWithResponse Remove the verified phone
//
// Clears the number and releases it, so its next owner can verify it on their own account. If phone verification is required, the account returns to unverified.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/account/phone (the `AccountPhoneDelete` operationId).
AccountPhoneDeleteWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountPhoneDeleteResponse, error)
// AccountPhoneGetWithResponse Phone verification status
//
// The account's verified number, and any number still waiting on a code.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account/phone (the `AccountPhoneGet` operationId).
AccountPhoneGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountPhoneGetResponse, error)
// AccountPhoneStartWithBodyWithResponse Send a phone verification code
//
// Validates the number, resolves its SMS provider and texts a 6-digit code valid for 5 minutes. Rate limited per account, per number and per deployment.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/phone (the `AccountPhoneStart` operationId).
AccountPhoneStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountPhoneStartResponse, error)
// AccountPhoneStartWithResponse Send a phone verification code
//
// Validates the number, resolves its SMS provider and texts a 6-digit code valid for 5 minutes. Rate limited per account, per number and per deployment.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/phone (the `AccountPhoneStart` operationId).
AccountPhoneStartWithResponse(ctx context.Context, body AccountPhoneStartJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountPhoneStartResponse, error)
// AccountPhoneResendWithResponse Resend the phone verification code
//
// Re-issues a code for the number already waiting. Takes no number, so a reload cannot resend to a different one than the page shows. Same rate limits as the first send.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/phone/resend (the `AccountPhoneResend` operationId).
AccountPhoneResendWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountPhoneResendResponse, error)
// AccountPhoneVerifyWithBodyWithResponse Verify the phone code
//
// Consumes the code and writes the number onto the account. Five wrong attempts retire the challenge, correct code included.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/phone/verify (the `AccountPhoneVerify` operationId).
AccountPhoneVerifyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountPhoneVerifyResponse, error)
// AccountPhoneVerifyWithResponse Verify the phone code
//
// Consumes the code and writes the number onto the account. Five wrong attempts retire the challenge, correct code included.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/phone/verify (the `AccountPhoneVerify` operationId).
AccountPhoneVerifyWithResponse(ctx context.Context, body AccountPhoneVerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountPhoneVerifyResponse, error)
// AccountSupportAccessWithResponse When the support team opened this account
//
// One row per staff-opened session, newest first.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account/support-access (the `AccountSupportAccess` operationId).
AccountSupportAccessWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountSupportAccessResponse, error)
// AccountTotpStatusWithResponse Two-factor status
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/account/totp (the `AccountTotpStatus` operationId).
AccountTotpStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountTotpStatusResponse, error)
// AccountTotpConfirmWithBodyWithResponse Confirm and enable two-factor
//
// Returns the recovery codes. They are displayed once and cannot be retrieved later — only regenerated.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/totp/confirm (the `AccountTotpConfirm` operationId).
AccountTotpConfirmWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountTotpConfirmResponse, error)
// AccountTotpConfirmWithResponse Confirm and enable two-factor
//
// Returns the recovery codes. They are displayed once and cannot be retrieved later — only regenerated.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/totp/confirm (the `AccountTotpConfirm` operationId).
AccountTotpConfirmWithResponse(ctx context.Context, body AccountTotpConfirmJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountTotpConfirmResponse, error)
// AccountTotpDisableWithBodyWithResponse Disable two-factor
//
// Requires a current authenticator or recovery code — a session alone is not enough to remove the factor that protects it.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/totp/disable (the `AccountTotpDisable` operationId).
AccountTotpDisableWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountTotpDisableResponse, error)
// AccountTotpDisableWithResponse Disable two-factor
//
// Requires a current authenticator or recovery code — a session alone is not enough to remove the factor that protects it.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/totp/disable (the `AccountTotpDisable` operationId).
AccountTotpDisableWithResponse(ctx context.Context, body AccountTotpDisableJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountTotpDisableResponse, error)
// AccountTotpRecoveryCodesWithBodyWithResponse Regenerate recovery codes
//
// Invalidates every outstanding recovery code and issues a new set.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/totp/recovery-codes (the `AccountTotpRecoveryCodes` operationId).
AccountTotpRecoveryCodesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountTotpRecoveryCodesResponse, error)
// AccountTotpRecoveryCodesWithResponse Regenerate recovery codes
//
// Invalidates every outstanding recovery code and issues a new set.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/totp/recovery-codes (the `AccountTotpRecoveryCodes` operationId).
AccountTotpRecoveryCodesWithResponse(ctx context.Context, body AccountTotpRecoveryCodesJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountTotpRecoveryCodesResponse, error)
// AccountTotpSetupWithBodyWithResponse Begin two-factor setup
//
// Generates a secret and stores it disabled. 2FA only becomes active once /v1/account/totp/confirm accepts a code from the authenticator. Accounts with a password must re-confirm it here.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/totp/setup (the `AccountTotpSetup` operationId).
AccountTotpSetupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AccountTotpSetupResponse, error)
// AccountTotpSetupWithResponse Begin two-factor setup
//
// Generates a secret and stores it disabled. 2FA only becomes active once /v1/account/totp/confirm accepts a code from the authenticator. Accounts with a password must re-confirm it here.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/account/totp/setup (the `AccountTotpSetup` operationId).
AccountTotpSetupWithResponse(ctx context.Context, body AccountTotpSetupJSONRequestBody, reqEditors ...RequestEditorFn) (*AccountTotpSetupResponse, error)
// AnnouncementsListWithResponse My announcements
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/announcements (the `AnnouncementsList` operationId).
AnnouncementsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AnnouncementsListResponse, error)
// AnnouncementBannerGetWithResponse Highest priority active banner
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/announcements/banner (the `AnnouncementBannerGet` operationId).
AnnouncementBannerGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AnnouncementBannerGetResponse, error)
// AnnouncementsGetWithResponse Announcement detail and mark read
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/announcements/{id} (the `AnnouncementsGet` operationId).
AnnouncementsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AnnouncementsGetResponse, error)
// AnnouncementBannerDismissWithResponse Dismiss announcement banner
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/announcements/{id}/dismiss-banner (the `AnnouncementBannerDismiss` operationId).
AnnouncementBannerDismissWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AnnouncementBannerDismissResponse, error)
// AppPlansListWithResponse App plans
//
// The container plans an app can be created on, with the monthly price already converted to the asking organization's currency. A separate catalog from /v1/plans on purpose: a container has no disk or bandwidth tier, and a server plan is not something an app can run on.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/app-plans (the `AppPlansList` operationId).
AppPlansListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppPlansListResponse, error)
// AppPresetsListWithResponse Build presets
//
// The stacks the platform can write a Dockerfile for, so a repository that carries none can still be deployed. Choosing one is the `preset` builder; the default builder still expects a Dockerfile in the repository.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/app-presets (the `AppPresetsList` operationId).
AppPresetsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AppPresetsListResponse, error)
// AppsListWithResponse My apps
//
// Paged. `summary` describes the whole organization and does not move as you page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps (the `AppsList` operationId).
AppsListWithResponse(ctx context.Context, params *AppsListParams, reqEditors ...RequestEditorFn) (*AppsListResponse, error)
// AppCreateWithBodyWithResponse Create app
//
// Places the app on a node in the chosen region, charges the first month and starts it. Placement and payment happen in the same transaction, so a create either has a machine and a paid month or fails with NO_CAPACITY / INSUFFICIENT_BALANCE — it is never queued and never half-done.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps (the `AppCreate` operationId).
AppCreateWithBodyWithResponse(ctx context.Context, params *AppCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppCreateResponse, error)
// AppCreateWithResponse Create app
//
// Places the app on a node in the chosen region, charges the first month and starts it. Placement and payment happen in the same transaction, so a create either has a machine and a paid month or fails with NO_CAPACITY / INSUFFICIENT_BALANCE — it is never queued and never half-done.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps (the `AppCreate` operationId).
AppCreateWithResponse(ctx context.Context, params *AppCreateParams, body AppCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AppCreateResponse, error)
// AppDetectBuildWithResponse Guess how a repository is built
//
// Reads the listing at the build directory and at most one manifest, and suggests a builder for the create form. A suggestion only: nothing is written and every field stays editable.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps/detect (the `AppDetectBuild` operationId).
AppDetectBuildWithResponse(ctx context.Context, params *AppDetectBuildParams, reqEditors ...RequestEditorFn) (*AppDetectBuildResponse, error)
// AppAttachmentsListWithResponse Databases attached to the app
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps/{appCode}/attachments (the `AppAttachmentsList` operationId).
AppAttachmentsListWithResponse(ctx context.Context, appCode string, reqEditors ...RequestEditorFn) (*AppAttachmentsListResponse, error)
// AppAttachmentCreateWithBodyWithResponse Attach a managed database
//
// Creates a dedicated database user for the app and injects the connection variables into its environment. The app restarts with the new variables.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{appCode}/attachments (the `AppAttachmentCreate` operationId).
AppAttachmentCreateWithBodyWithResponse(ctx context.Context, appCode string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppAttachmentCreateResponse, error)
// AppAttachmentCreateWithResponse Attach a managed database
//
// Creates a dedicated database user for the app and injects the connection variables into its environment. The app restarts with the new variables.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{appCode}/attachments (the `AppAttachmentCreate` operationId).
AppAttachmentCreateWithResponse(ctx context.Context, appCode string, body AppAttachmentCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AppAttachmentCreateResponse, error)
// AppAttachmentDeleteWithResponse Detach a managed database
//
// Removes the injected variables (the app restarts) and drops the app's database user. The data is untouched.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/apps/{appCode}/attachments/{attachmentID} (the `AppAttachmentDelete` operationId).
AppAttachmentDeleteWithResponse(ctx context.Context, appCode string, attachmentID string, reqEditors ...RequestEditorFn) (*AppAttachmentDeleteResponse, error)
// AppAttachmentVerifyWithResponse Re-check an attachment's connectivity
//
// Queues a TCP connect to the endpoint the app's injected URL names, run from the app's own network on its node. The result appears as probe_state on the attachment.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{appCode}/attachments/{attachmentID}/verify (the `AppAttachmentVerify` operationId).
AppAttachmentVerifyWithResponse(ctx context.Context, appCode string, attachmentID string, reqEditors ...RequestEditorFn) (*AppAttachmentVerifyResponse, error)
// AppDeleteWithResponse Delete app
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/apps/{code} (the `AppDelete` operationId).
AppDeleteWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppDeleteResponse, error)
// AppGetWithResponse App detail
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps/{code} (the `AppGet` operationId).
AppGetWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppGetResponse, error)
// AppActionWithBodyWithResponse Start, stop or restart an app
//
// Writes the desired state and returns immediately. The node's agent converges within a second; poll the app to see `observed_state` follow. `restart` is rolling: the replacement starts beside the incumbent and traffic moves only once it answers.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/action (the `AppAction` operationId).
AppActionWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppActionResponse, error)
// AppActionWithResponse Start, stop or restart an app
//
// Writes the desired state and returns immediately. The node's agent converges within a second; poll the app to see `observed_state` follow. `restart` is rolling: the replacement starts beside the incumbent and traffic moves only once it answers.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/action (the `AppAction` operationId).
AppActionWithResponse(ctx context.Context, code string, body AppActionJSONRequestBody, reqEditors ...RequestEditorFn) (*AppActionResponse, error)
// AppAutoDeploySetWithBodyWithResponse Deploy on every push
//
// When on, a push to the app's branch queues a build by itself. Off by default: connecting a repository is not the same as asking for every commit to reach production. Requires an app created from a repository.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/apps/{code}/auto-deploy (the `AppAutoDeploySet` operationId).
AppAutoDeploySetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppAutoDeploySetResponse, error)
// AppAutoDeploySetWithResponse Deploy on every push
//
// When on, a push to the app's branch queues a build by itself. Off by default: connecting a repository is not the same as asking for every commit to reach production. Requires an app created from a repository.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/apps/{code}/auto-deploy (the `AppAutoDeploySet` operationId).
AppAutoDeploySetWithResponse(ctx context.Context, code string, body AppAutoDeploySetJSONRequestBody, reqEditors ...RequestEditorFn) (*AppAutoDeploySetResponse, error)
// AppBuildsListWithResponse Build history
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps/{code}/builds (the `AppBuildsList` operationId).
AppBuildsListWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppBuildsListResponse, error)
// AppBuildCreateWithBodyWithResponse Build from a repository
//
// Queues a build with the app's own build configuration and build-phase variables. The node's agent fetches the source, builds it with BuildKit, pushes the image to the region's registry and — on success — points the app at it, which rolls the container forward on the next cycle. One build at a time per app. The deploy scope builds the app's own repository, at its stored ref or another one; building a different repository answers 403 (ORGANIZATION_ROLE_FORBIDDEN or TOKEN_SCOPE_FORBIDDEN) unless the caller could change the app's source. To change the repository, subdirectory or Dockerfile path for good, use PUT /v1/apps/{code}/source first.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/builds (the `AppBuildCreate` operationId).
AppBuildCreateWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppBuildCreateResponse, error)
// AppBuildCreateWithResponse Build from a repository
//
// Queues a build with the app's own build configuration and build-phase variables. The node's agent fetches the source, builds it with BuildKit, pushes the image to the region's registry and — on success — points the app at it, which rolls the container forward on the next cycle. One build at a time per app. The deploy scope builds the app's own repository, at its stored ref or another one; building a different repository answers 403 (ORGANIZATION_ROLE_FORBIDDEN or TOKEN_SCOPE_FORBIDDEN) unless the caller could change the app's source. To change the repository, subdirectory or Dockerfile path for good, use PUT /v1/apps/{code}/source first.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/builds (the `AppBuildCreate` operationId).
AppBuildCreateWithResponse(ctx context.Context, code string, body AppBuildCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AppBuildCreateResponse, error)
// AppBuildGetWithResponse Build detail with log
//
// The log survives the build: it is stored with the row, not streamed and forgotten.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps/{code}/builds/{id} (the `AppBuildGet` operationId).
AppBuildGetWithResponse(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*AppBuildGetResponse, error)
// AppBuildCancelWithResponse Cancel a build
//
// Stops a queued build immediately; a running build is asked to stop and reports `canceled` once the node confirms. With one build at a time per app, this is how a bad deploy stops blocking the next one instead of holding it for the full build timeout.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/builds/{id}/cancel (the `AppBuildCancel` operationId).
AppBuildCancelWithResponse(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*AppBuildCancelResponse, error)
// AppDomainsListWithResponse Custom domains of an app
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps/{code}/domains (the `AppDomainsList` operationId).
AppDomainsListWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppDomainsListResponse, error)
// AppDomainAddWithBodyWithResponse Attach a custom domain
//
// Records the claim and returns the DNS records to create. Nothing is routed until `appDomainVerify` finds the TXT record, which is what stops one customer from claiming another's hostname. An unverified claim reserves the hostname for seven days (`claim_expires_at`); after that another organization's claim releases it. A claim on a deleted app is released with the app.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/domains (the `AppDomainAdd` operationId).
AppDomainAddWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppDomainAddResponse, error)
// AppDomainAddWithResponse Attach a custom domain
//
// Records the claim and returns the DNS records to create. Nothing is routed until `appDomainVerify` finds the TXT record, which is what stops one customer from claiming another's hostname. An unverified claim reserves the hostname for seven days (`claim_expires_at`); after that another organization's claim releases it. A claim on a deleted app is released with the app.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/domains (the `AppDomainAdd` operationId).
AppDomainAddWithResponse(ctx context.Context, code string, body AppDomainAddJSONRequestBody, reqEditors ...RequestEditorFn) (*AppDomainAddResponse, error)
// AppDomainDeleteWithResponse Detach a custom domain
//
// Stops serving the hostname. Point its DNS somewhere else too: a record still aimed here after this call is what subdomain takeover attempts look for.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/apps/{code}/domains/{domainID} (the `AppDomainDelete` operationId).
AppDomainDeleteWithResponse(ctx context.Context, code string, domainID string, reqEditors ...RequestEditorFn) (*AppDomainDeleteResponse, error)
// AppDomainVerifyWithResponse Check the ownership record
//
// Reads the TXT record from the hostname's own nameservers, not from a public resolver, so a record added seconds ago is seen immediately. On success the edge starts serving the hostname within about a second.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/domains/{domainID}/verify (the `AppDomainVerify` operationId).
AppDomainVerifyWithResponse(ctx context.Context, code string, domainID string, reqEditors ...RequestEditorFn) (*AppDomainVerifyResponse, error)
// AppEnvGetWithResponse Environment variables
//
// Returns the decrypted values. The read is written to the audit log, so treat it as a deliberate action rather than something to poll.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps/{code}/env (the `AppEnvGet` operationId).
AppEnvGetWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppEnvGetResponse, error)
// AppEnvSetWithBodyWithResponse Replace environment variables
//
// Stores the values encrypted. Run-phase changes recreate the container on the next agent cycle, about a second later, with no separate apply step. Build-phase changes reach nothing running: they decide what the NEXT build is given.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/apps/{code}/env (the `AppEnvSet` operationId).
AppEnvSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppEnvSetResponse, error)
// AppEnvSetWithResponse Replace environment variables
//
// Stores the values encrypted. Run-phase changes recreate the container on the next agent cycle, about a second later, with no separate apply step. Build-phase changes reach nothing running: they decide what the NEXT build is given.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/apps/{code}/env (the `AppEnvSet` operationId).
AppEnvSetWithResponse(ctx context.Context, code string, body AppEnvSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AppEnvSetResponse, error)
// AppEventsListWithResponse App activity feed
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps/{code}/events (the `AppEventsList` operationId).
AppEventsListWithResponse(ctx context.Context, code string, params *AppEventsListParams, reqEditors ...RequestEditorFn) (*AppEventsListResponse, error)
// AppExecStartWithBodyWithResponse Open a shell or follow the logs
//
// Mints a single-use token for an interactive session. The browser dials /v1/apps/exec/ws offering [exec.v1, <token>]; the node's agent attaches from its side, normally within a second. Opening and closing are both recorded in the audit log.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/exec (the `AppExecStart` operationId).
AppExecStartWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppExecStartResponse, error)
// AppExecStartWithResponse Open a shell or follow the logs
//
// Mints a single-use token for an interactive session. The browser dials /v1/apps/exec/ws offering [exec.v1, <token>]; the node's agent attaches from its side, normally within a second. Opening and closing are both recorded in the audit log.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/exec (the `AppExecStart` operationId).
AppExecStartWithResponse(ctx context.Context, code string, body AppExecStartJSONRequestBody, reqEditors ...RequestEditorFn) (*AppExecStartResponse, error)
// AppLogsRequestWithBodyWithResponse Ask for the app's recent output
//
// Queues a request for the tail of the running container's log. The node answers on its next cycle, normally within a second; poll the returned id. Reading application output is recorded in the audit log.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/logs (the `AppLogsRequest` operationId).
AppLogsRequestWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppLogsRequestResponse, error)
// AppLogsRequestWithResponse Ask for the app's recent output
//
// Queues a request for the tail of the running container's log. The node answers on its next cycle, normally within a second; poll the returned id. Reading application output is recorded in the audit log.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/logs (the `AppLogsRequest` operationId).
AppLogsRequestWithResponse(ctx context.Context, code string, body AppLogsRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*AppLogsRequestResponse, error)
// AppLogsGetWithResponse Read the answer to a log request
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps/{code}/logs/{id} (the `AppLogsGet` operationId).
AppLogsGetWithResponse(ctx context.Context, code string, id string, reqEditors ...RequestEditorFn) (*AppLogsGetResponse, error)
// AppMetricsWithResponse Resource usage (CPU, memory, network)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps/{code}/metrics (the `AppMetrics` operationId).
AppMetricsWithResponse(ctx context.Context, code string, params *AppMetricsParams, reqEditors ...RequestEditorFn) (*AppMetricsResponse, error)
// AppProjectSetWithBodyWithResponse Move app to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/apps/{code}/project (the `AppProjectSet` operationId).
AppProjectSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppProjectSetResponse, error)
// AppProjectSetWithResponse Move app to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/apps/{code}/project (the `AppProjectSet` operationId).
AppProjectSetWithResponse(ctx context.Context, code string, body AppProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AppProjectSetResponse, error)
// AppReleasesListWithResponse Release history
//
// What this app has served, newest first, with the commit each version came from where there was one.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/apps/{code}/releases (the `AppReleasesList` operationId).
AppReleasesListWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*AppReleasesListResponse, error)
// AppResizeWithBodyWithResponse Resize an app
//
// Moves the app to another plan and returns immediately; the container is replaced with the new limits through the rolling cutover. An upgrade is charged upfront for the days left in the prepaid month; a downgrade takes effect at the next renewal. Same-node only: NO_CAPACITY when the node cannot fit the growth.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/resize (the `AppResize` operationId).
AppResizeWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppResizeResponse, error)
// AppResizeWithResponse Resize an app
//
// Moves the app to another plan and returns immediately; the container is replaced with the new limits through the rolling cutover. An upgrade is charged upfront for the days left in the prepaid month; a downgrade takes effect at the next renewal. Same-node only: NO_CAPACITY when the node cannot fit the growth.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/resize (the `AppResize` operationId).
AppResizeWithResponse(ctx context.Context, code string, body AppResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*AppResizeResponse, error)
// AppRollbackWithBodyWithResponse Roll back to a previous release
//
// Points the app at the image an earlier release ran. Nothing is rebuilt, so recovery takes as long as a container start; the current version keeps serving until the restored one answers. The rollback is itself a new release, so the history stays append-only and the number the customer is on always moves forward.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/rollback (the `AppRollback` operationId).
AppRollbackWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppRollbackResponse, error)
// AppRollbackWithResponse Roll back to a previous release
//
// Points the app at the image an earlier release ran. Nothing is rebuilt, so recovery takes as long as a container start; the current version keeps serving until the restored one answers. The rollback is itself a new release, so the history stays append-only and the number the customer is on always moves forward.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/rollback (the `AppRollback` operationId).
AppRollbackWithResponse(ctx context.Context, code string, body AppRollbackJSONRequestBody, reqEditors ...RequestEditorFn) (*AppRollbackResponse, error)
// AppScaleWithBodyWithResponse Set the replica range
//
// Sets how many containers may run. The platform picks the number inside the range from CPU load; setting the minimum equal to the maximum pins it. Capacity is reserved for the MAXIMUM, so a range whose ceiling does not fit the node answers NO_CAPACITY. Same-node only.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/scale (the `AppScale` operationId).
AppScaleWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppScaleResponse, error)
// AppScaleWithResponse Set the replica range
//
// Sets how many containers may run. The platform picks the number inside the range from CPU load; setting the minimum equal to the maximum pins it. Capacity is reserved for the MAXIMUM, so a range whose ceiling does not fit the node answers NO_CAPACITY. Same-node only.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/apps/{code}/scale (the `AppScale` operationId).
AppScaleWithResponse(ctx context.Context, code string, body AppScaleJSONRequestBody, reqEditors ...RequestEditorFn) (*AppScaleResponse, error)
// AppUpdateWithBodyWithResponse Change app settings
//
// Sends the whole editable set. A port or start-command change produces a new container; the running one keeps serving until the replacement answers. Changing the start command needs the organization admin or owner role, because it runs with the app's environment; a member sends it back unchanged. Memory and CPU are not here — those are a capacity reservation and change through a resize.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/apps/{code}/settings (the `AppUpdate` operationId).
AppUpdateWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppUpdateResponse, error)
// AppUpdateWithResponse Change app settings
//
// Sends the whole editable set. A port or start-command change produces a new container; the running one keeps serving until the replacement answers. Changing the start command needs the organization admin or owner role, because it runs with the app's environment; a member sends it back unchanged. Memory and CPU are not here — those are a capacity reservation and change through a resize.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/apps/{code}/settings (the `AppUpdate` operationId).
AppUpdateWithResponse(ctx context.Context, code string, body AppUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AppUpdateResponse, error)
// AppSourceSetWithBodyWithResponse Change the app's repository
//
// Repoints the app at a different repository, branch, connection or build configuration. Queues NO build — changing where the code comes from and deciding to ship it are two decisions. The next deploy uses the new source.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/apps/{code}/source (the `AppSourceSet` operationId).
AppSourceSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppSourceSetResponse, error)
// AppSourceSetWithResponse Change the app's repository
//
// Repoints the app at a different repository, branch, connection or build configuration. Queues NO build — changing where the code comes from and deciding to ship it are two decisions. The next deploy uses the new source.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/apps/{code}/source (the `AppSourceSet` operationId).
AppSourceSetWithResponse(ctx context.Context, code string, body AppSourceSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AppSourceSetResponse, error)
// AppTagsSetWithBodyWithResponse Replace app tags
//
// Replaces the whole tag set. Tags group resources across projects: a app is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/apps/{code}/tags (the `AppTagsSet` operationId).
AppTagsSetWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppTagsSetResponse, error)
// AppTagsSetWithResponse Replace app tags
//
// Replaces the whole tag set. Tags group resources across projects: a app is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/apps/{code}/tags (the `AppTagsSet` operationId).
AppTagsSetWithResponse(ctx context.Context, code string, body AppTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*AppTagsSetResponse, error)
// AuthImpersonateWithBodyWithResponse Exchange a staff impersonation grant for a session
//
// Consumes a single-use grant minted in the admin panel and sets a customer session cookie carrying the staff member's identity. The grant dies on first use; expired, already-used and unknown grants are one refusal. The session is short-lived and every request from it is recorded against the customer, with the join back to the staff member in the audit log.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/impersonate (the `AuthImpersonate` operationId).
AuthImpersonateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthImpersonateResponse, error)
// AuthImpersonateWithResponse Exchange a staff impersonation grant for a session
//
// Consumes a single-use grant minted in the admin panel and sets a customer session cookie carrying the staff member's identity. The grant dies on first use; expired, already-used and unknown grants are one refusal. The session is short-lived and every request from it is recorded against the customer, with the join back to the staff member in the audit log.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/impersonate (the `AuthImpersonate` operationId).
AuthImpersonateWithResponse(ctx context.Context, body AuthImpersonateJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthImpersonateResponse, error)
// AuthLoginWithBodyWithResponse Log in
//
// On success a session cookie is set. If the account has 2FA enabled the response is `mfa_required` with a short-lived challenge cookie instead — no session exists until POST /v1/auth/mfa succeeds. Repeated failures put the address into a growing backoff window (429); the window applies to unregistered addresses too, so it reveals nothing about which accounts exist.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/login (the `AuthLogin` operationId).
AuthLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthLoginResponse, error)
// AuthLoginWithResponse Log in
//
// On success a session cookie is set. If the account has 2FA enabled the response is `mfa_required` with a short-lived challenge cookie instead — no session exists until POST /v1/auth/mfa succeeds. Repeated failures put the address into a growing backoff window (429); the window applies to unregistered addresses too, so it reveals nothing about which accounts exist.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/login (the `AuthLogin` operationId).
AuthLoginWithResponse(ctx context.Context, body AuthLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthLoginResponse, error)
// AuthLogoutWithResponse Log out
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/logout (the `AuthLogout` operationId).
AuthLogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthLogoutResponse, error)
// AuthMfaVerifyWithBodyWithResponse Complete login with a second factor
//
// Consumes the challenge cookie from the login step. At most 5 attempts per challenge; the challenge expires after 10 minutes.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/mfa (the `AuthMfaVerify` operationId).
AuthMfaVerifyWithBodyWithResponse(ctx context.Context, params *AuthMfaVerifyParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthMfaVerifyResponse, error)
// AuthMfaVerifyWithResponse Complete login with a second factor
//
// Consumes the challenge cookie from the login step. At most 5 attempts per challenge; the challenge expires after 10 minutes.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/mfa (the `AuthMfaVerify` operationId).
AuthMfaVerifyWithResponse(ctx context.Context, params *AuthMfaVerifyParams, body AuthMfaVerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthMfaVerifyResponse, error)
// AuthOauthProvidersWithResponse Configured social sign-in providers
//
// The panel renders one button per entry, so an unconfigured provider never shows a dead button.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/auth/oauth/providers (the `AuthOauthProviders` operationId).
AuthOauthProvidersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthOauthProvidersResponse, error)
// AuthOauthCallbackWithResponse Social sign-in callback
//
// Provider redirect target. Always answers with a redirect into the panel — on success with a session (or 2FA challenge) cookie, on failure with an `oauth_error` query parameter.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/auth/oauth/{provider}/callback (the `AuthOauthCallback` operationId).
AuthOauthCallbackWithResponse(ctx context.Context, provider AuthOauthCallbackParamsProvider, params *AuthOauthCallbackParams, reqEditors ...RequestEditorFn) (*AuthOauthCallbackResponse, error)
// AuthOauthStartWithResponse Begin social sign-in
//
// Redirects to the provider. `mode=link` requires an authenticated session and attaches the provider to it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/auth/oauth/{provider}/start (the `AuthOauthStart` operationId).
AuthOauthStartWithResponse(ctx context.Context, provider AuthOauthStartParamsProvider, params *AuthOauthStartParams, reqEditors ...RequestEditorFn) (*AuthOauthStartResponse, error)
// AuthPasswordResetWithBodyWithResponse Reset password
//
// Consumes the token, changes the password, and terminates all sessions.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/password-reset/confirm (the `AuthPasswordReset` operationId).
AuthPasswordResetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthPasswordResetResponse, error)
// AuthPasswordResetWithResponse Reset password
//
// Consumes the token, changes the password, and terminates all sessions.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/password-reset/confirm (the `AuthPasswordReset` operationId).
AuthPasswordResetWithResponse(ctx context.Context, body AuthPasswordResetJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthPasswordResetResponse, error)
// AuthPasswordResetRequestWithBodyWithResponse Request password reset
//
// If the account exists a reset email is sent; the response is 204 in all cases (enumeration protection).
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/password-reset/request (the `AuthPasswordResetRequest` operationId).
AuthPasswordResetRequestWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthPasswordResetRequestResponse, error)
// AuthPasswordResetRequestWithResponse Request password reset
//
// If the account exists a reset email is sent; the response is 204 in all cases (enumeration protection).
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/password-reset/request (the `AuthPasswordResetRequest` operationId).
AuthPasswordResetRequestWithResponse(ctx context.Context, body AuthPasswordResetRequestJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthPasswordResetRequestResponse, error)
// AuthPolicyWithResponse Verification policy
//
// Which verification steps this deployment requires. Unauthenticated: a sign-up form has to know it before anyone has an account.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/auth/policy (the `AuthPolicy` operationId).
AuthPolicyWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthPolicyResponse, error)
// AuthRegisterWithBodyWithResponse Register
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/register (the `AuthRegister` operationId).
AuthRegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthRegisterResponse, error)
// AuthRegisterWithResponse Register
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/register (the `AuthRegister` operationId).
AuthRegisterWithResponse(ctx context.Context, body AuthRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthRegisterResponse, error)
// AuthSessionsListWithResponse Active sessions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/auth/sessions (the `AuthSessionsList` operationId).
AuthSessionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AuthSessionsListResponse, error)
// AuthSessionRevokeWithResponse Revoke session
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/auth/sessions/{id} (the `AuthSessionRevoke` operationId).
AuthSessionRevokeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*AuthSessionRevokeResponse, error)
// AuthVerifyEmailWithBodyWithResponse Verify email
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/verify-email (the `AuthVerifyEmail` operationId).
AuthVerifyEmailWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthVerifyEmailResponse, error)
// AuthVerifyEmailWithResponse Verify email
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/verify-email (the `AuthVerifyEmail` operationId).
AuthVerifyEmailWithResponse(ctx context.Context, body AuthVerifyEmailJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthVerifyEmailResponse, error)
// AuthConfirmEmailChangeWithBodyWithResponse Confirm a sign-in address change
//
// Spends the one-time link. Every open session is closed, so the customer signs in again with the new address.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/verify-email-change (the `AuthConfirmEmailChange` operationId).
AuthConfirmEmailChangeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthConfirmEmailChangeResponse, error)
// AuthConfirmEmailChangeWithResponse Confirm a sign-in address change
//
// Spends the one-time link. Every open session is closed, so the customer signs in again with the new address.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/verify-email-change (the `AuthConfirmEmailChange` operationId).
AuthConfirmEmailChangeWithResponse(ctx context.Context, body AuthConfirmEmailChangeJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthConfirmEmailChangeResponse, error)
// AuthVerifyEmailResendWithBodyWithResponse Resend verification email
//
// Always 204: unknown address, already-verified account and throttled sender are indistinguishable (enumeration protection). At most one mail per minute and 5 per day per account.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/verify-email/resend (the `AuthVerifyEmailResend` operationId).
AuthVerifyEmailResendWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AuthVerifyEmailResendResponse, error)
// AuthVerifyEmailResendWithResponse Resend verification email
//
// Always 204: unknown address, already-verified account and throttled sender are indistinguishable (enumeration protection). At most one mail per minute and 5 per day per account.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/auth/verify-email/resend (the `AuthVerifyEmailResend` operationId).
AuthVerifyEmailResendWithResponse(ctx context.Context, body AuthVerifyEmailResendJSONRequestBody, reqEditors ...RequestEditorFn) (*AuthVerifyEmailResendResponse, error)
// ServerBackupListAllWithResponse All restorable backups (create-from-backup picker & global backups page)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/backups (the `ServerBackupListAll` operationId).
ServerBackupListAllWithResponse(ctx context.Context, params *ServerBackupListAllParams, reqEditors ...RequestEditorFn) (*ServerBackupListAllResponse, error)
// DatabaseOptionsListWithResponse Managed database plans and engine versions
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/database-options (the `DatabaseOptionsList` operationId).
DatabaseOptionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DatabaseOptionsListResponse, error)
// DatabasesListWithResponse My managed databases
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/databases (the `DatabasesList` operationId).
DatabasesListWithResponse(ctx context.Context, params *DatabasesListParams, reqEditors ...RequestEditorFn) (*DatabasesListResponse, error)
// DatabaseCreateWithBodyWithResponse Create a managed database
//
// Charges one month upfront (payment before provision). The unused period is refunded on early delete.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases (the `DatabaseCreate` operationId).
DatabaseCreateWithBodyWithResponse(ctx context.Context, params *DatabaseCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseCreateResponse, error)
// DatabaseCreateWithResponse Create a managed database
//
// Charges one month upfront (payment before provision). The unused period is refunded on early delete.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases (the `DatabaseCreate` operationId).
DatabaseCreateWithResponse(ctx context.Context, params *DatabaseCreateParams, body DatabaseCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseCreateResponse, error)
// DatabaseDeleteWithResponse Delete the managed database
//
// The unused part of the prepaid month is refunded to the wallet.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/databases/{databaseID} (the `DatabaseDelete` operationId).
DatabaseDeleteWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseDeleteResponse, error)
// DatabaseGetWithResponse Managed database detail
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/databases/{databaseID} (the `DatabaseGet` operationId).
DatabaseGetWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseGetResponse, error)
// DatabaseBackupsListWithResponse Backup history
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/databases/{databaseID}/backups (the `DatabaseBackupsList` operationId).
DatabaseBackupsListWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseBackupsListResponse, error)
// DatabaseBackupCreateWithResponse Take an on-demand full backup
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases/{databaseID}/backups (the `DatabaseBackupCreate` operationId).
DatabaseBackupCreateWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseBackupCreateResponse, error)
// DatabaseConnectionGetWithResponse Connection credentials
//
// Reading credentials is recorded in the audit log.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/databases/{databaseID}/connection (the `DatabaseConnectionGet` operationId).
DatabaseConnectionGetWithResponse(ctx context.Context, databaseID string, reqEditors ...RequestEditorFn) (*DatabaseConnectionGetResponse, error)
// DatabaseDbCreateWithBodyWithResponse Create a logical database
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases/{databaseID}/dbs (the `DatabaseDbCreate` operationId).
DatabaseDbCreateWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseDbCreateResponse, error)
// DatabaseDbCreateWithResponse Create a logical database
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases/{databaseID}/dbs (the `DatabaseDbCreate` operationId).
DatabaseDbCreateWithResponse(ctx context.Context, databaseID string, body DatabaseDbCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseDbCreateResponse, error)
// DatabaseProjectSetWithBodyWithResponse Move database to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/databases/{databaseID}/project (the `DatabaseProjectSet` operationId).
DatabaseProjectSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseProjectSetResponse, error)
// DatabaseProjectSetWithResponse Move database to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/databases/{databaseID}/project (the `DatabaseProjectSet` operationId).
DatabaseProjectSetWithResponse(ctx context.Context, databaseID string, body DatabaseProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseProjectSetResponse, error)
// DatabasePublicAccessSetWithBodyWithResponse Toggle public access
//
// Off by default. On admits ONLY the trusted-sources list, never the whole internet.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/databases/{databaseID}/public-access (the `DatabasePublicAccessSet` operationId).
DatabasePublicAccessSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabasePublicAccessSetResponse, error)
// DatabasePublicAccessSetWithResponse Toggle public access
//
// Off by default. On admits ONLY the trusted-sources list, never the whole internet.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/databases/{databaseID}/public-access (the `DatabasePublicAccessSet` operationId).
DatabasePublicAccessSetWithResponse(ctx context.Context, databaseID string, body DatabasePublicAccessSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabasePublicAccessSetResponse, error)
// DatabaseRestoreCreateWithBodyWithResponse Restore to a point in time
//
// Always creates a NEW database instance from this one's backups; the source is never touched. Charged like a create.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases/{databaseID}/restores (the `DatabaseRestoreCreate` operationId).
DatabaseRestoreCreateWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseRestoreCreateResponse, error)
// DatabaseRestoreCreateWithResponse Restore to a point in time
//
// Always creates a NEW database instance from this one's backups; the source is never touched. Charged like a create.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases/{databaseID}/restores (the `DatabaseRestoreCreate` operationId).
DatabaseRestoreCreateWithResponse(ctx context.Context, databaseID string, body DatabaseRestoreCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseRestoreCreateResponse, error)
// DatabaseTagsSetWithBodyWithResponse Replace database tags
//
// Replaces the whole tag set. Tags group resources across projects: a database is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/databases/{databaseID}/tags (the `DatabaseTagsSet` operationId).
DatabaseTagsSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseTagsSetResponse, error)
// DatabaseTagsSetWithResponse Replace database tags
//
// Replaces the whole tag set. Tags group resources across projects: a database is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/databases/{databaseID}/tags (the `DatabaseTagsSet` operationId).
DatabaseTagsSetWithResponse(ctx context.Context, databaseID string, body DatabaseTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseTagsSetResponse, error)
// DatabaseTrustedSourcesSetWithBodyWithResponse Set trusted sources
//
// Public CIDRs admitted while public access is on. Attached apps and the private network are admitted automatically.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/databases/{databaseID}/trusted-sources (the `DatabaseTrustedSourcesSet` operationId).
DatabaseTrustedSourcesSetWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseTrustedSourcesSetResponse, error)
// DatabaseTrustedSourcesSetWithResponse Set trusted sources
//
// Public CIDRs admitted while public access is on. Attached apps and the private network are admitted automatically.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/databases/{databaseID}/trusted-sources (the `DatabaseTrustedSourcesSet` operationId).
DatabaseTrustedSourcesSetWithResponse(ctx context.Context, databaseID string, body DatabaseTrustedSourcesSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseTrustedSourcesSetResponse, error)
// DatabaseUserCreateWithBodyWithResponse Create a database user
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases/{databaseID}/users (the `DatabaseUserCreate` operationId).
DatabaseUserCreateWithBodyWithResponse(ctx context.Context, databaseID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseUserCreateResponse, error)
// DatabaseUserCreateWithResponse Create a database user
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases/{databaseID}/users (the `DatabaseUserCreate` operationId).
DatabaseUserCreateWithResponse(ctx context.Context, databaseID string, body DatabaseUserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseUserCreateResponse, error)
// DatabaseUserDeleteWithResponse Delete a database user
//
// A role that owns objects fails the apply and surfaces as an error rather than silently dropping anything.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/databases/{databaseID}/users/{userID} (the `DatabaseUserDelete` operationId).
DatabaseUserDeleteWithResponse(ctx context.Context, databaseID string, userID string, reqEditors ...RequestEditorFn) (*DatabaseUserDeleteResponse, error)
// DatabaseUserPasswordResetWithResponse Reset a database user's password
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases/{databaseID}/users/{userID}/reset-password (the `DatabaseUserPasswordReset` operationId).
DatabaseUserPasswordResetWithResponse(ctx context.Context, databaseID string, userID string, reqEditors ...RequestEditorFn) (*DatabaseUserPasswordResetResponse, error)
// DatabaseAlertsListWithResponse List metric alarm rules
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/databases/{databaseId}/alerts (the `DatabaseAlertsList` operationId).
DatabaseAlertsListWithResponse(ctx context.Context, databaseId string, reqEditors ...RequestEditorFn) (*DatabaseAlertsListResponse, error)
// DatabaseAlertSaveWithBodyWithResponse Create or update a metric alarm rule
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/databases/{databaseId}/alerts (the `DatabaseAlertSave` operationId).
DatabaseAlertSaveWithBodyWithResponse(ctx context.Context, databaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseAlertSaveResponse, error)
// DatabaseAlertSaveWithResponse Create or update a metric alarm rule
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/databases/{databaseId}/alerts (the `DatabaseAlertSave` operationId).
DatabaseAlertSaveWithResponse(ctx context.Context, databaseId string, body DatabaseAlertSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseAlertSaveResponse, error)
// DatabaseAlertDeleteWithResponse Delete a metric alarm rule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/databases/{databaseId}/alerts/{metric} (the `DatabaseAlertDelete` operationId).
DatabaseAlertDeleteWithResponse(ctx context.Context, databaseId string, metric DatabaseAlertDeleteParamsMetric, reqEditors ...RequestEditorFn) (*DatabaseAlertDeleteResponse, error)
// DatabaseMetricsListWithResponse Sampled resource metrics
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/databases/{databaseId}/metrics (the `DatabaseMetricsList` operationId).
DatabaseMetricsListWithResponse(ctx context.Context, databaseId string, params *DatabaseMetricsListParams, reqEditors ...RequestEditorFn) (*DatabaseMetricsListResponse, error)
// DatabaseResizeWithBodyWithResponse Upgrade the instance to a bigger plan
//
// Stops the hidden VM, applies the new shape and starts it again (brief downtime). The pro-rated price difference for the remaining prepaid period is charged upfront. Downgrades are refused.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases/{databaseId}/resize (the `DatabaseResize` operationId).
DatabaseResizeWithBodyWithResponse(ctx context.Context, databaseId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseResizeResponse, error)
// DatabaseResizeWithResponse Upgrade the instance to a bigger plan
//
// Stops the hidden VM, applies the new shape and starts it again (brief downtime). The pro-rated price difference for the remaining prepaid period is charged upfront. Downgrades are refused.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/databases/{databaseId}/resize (the `DatabaseResize` operationId).
DatabaseResizeWithResponse(ctx context.Context, databaseId string, body DatabaseResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseResizeResponse, error)
// DnsZonesListWithResponse My DNS zones
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/dns/zones (the `DnsZonesList` operationId).
DnsZonesListWithResponse(ctx context.Context, params *DnsZonesListParams, reqEditors ...RequestEditorFn) (*DnsZonesListResponse, error)
// DnsZoneCreateWithBodyWithResponse Create DNS zone
//
// Creates the zone with system-managed SOA + NS records. The zone resolves once you point the domain's nameservers at the returned `nameservers`.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/dns/zones (the `DnsZoneCreate` operationId).
DnsZoneCreateWithBodyWithResponse(ctx context.Context, params *DnsZoneCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DnsZoneCreateResponse, error)
// DnsZoneCreateWithResponse Create DNS zone
//
// Creates the zone with system-managed SOA + NS records. The zone resolves once you point the domain's nameservers at the returned `nameservers`.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/dns/zones (the `DnsZoneCreate` operationId).
DnsZoneCreateWithResponse(ctx context.Context, params *DnsZoneCreateParams, body DnsZoneCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DnsZoneCreateResponse, error)
// DnsZoneDeleteWithResponse Delete DNS zone
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/dns/zones/{id} (the `DnsZoneDelete` operationId).
DnsZoneDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DnsZoneDeleteResponse, error)
// DnsZoneGetWithResponse DNS zone with records
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/dns/zones/{id} (the `DnsZoneGet` operationId).
DnsZoneGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DnsZoneGetResponse, error)
// DnsZoneProjectSetWithBodyWithResponse Move DNS zone to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/dns/zones/{id}/project (the `DnsZoneProjectSet` operationId).
DnsZoneProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DnsZoneProjectSetResponse, error)
// DnsZoneProjectSetWithResponse Move DNS zone to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/dns/zones/{id}/project (the `DnsZoneProjectSet` operationId).
DnsZoneProjectSetWithResponse(ctx context.Context, id string, body DnsZoneProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DnsZoneProjectSetResponse, error)
// DnsRecordCreateWithBodyWithResponse Add DNS record
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/dns/zones/{id}/records (the `DnsRecordCreate` operationId).
DnsRecordCreateWithBodyWithResponse(ctx context.Context, id string, params *DnsRecordCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DnsRecordCreateResponse, error)
// DnsRecordCreateWithResponse Add DNS record
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/dns/zones/{id}/records (the `DnsRecordCreate` operationId).
DnsRecordCreateWithResponse(ctx context.Context, id string, params *DnsRecordCreateParams, body DnsRecordCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DnsRecordCreateResponse, error)
// DnsRecordDeleteWithResponse Delete DNS record
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordDelete` operationId).
DnsRecordDeleteWithResponse(ctx context.Context, id string, recordId string, reqEditors ...RequestEditorFn) (*DnsRecordDeleteResponse, error)
// DnsRecordUpdateWithBodyWithResponse Update DNS record
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordUpdate` operationId).
DnsRecordUpdateWithBodyWithResponse(ctx context.Context, id string, recordId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DnsRecordUpdateResponse, error)
// DnsRecordUpdateWithResponse Update DNS record
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/dns/zones/{id}/records/{recordId} (the `DnsRecordUpdate` operationId).
DnsRecordUpdateWithResponse(ctx context.Context, id string, recordId string, body DnsRecordUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DnsRecordUpdateResponse, error)
// DnsZoneTagsSetWithBodyWithResponse Replace DNS zone tags
//
// Replaces the whole tag set. Tags group resources across projects: a DNS zone is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/dns/zones/{id}/tags (the `DnsZoneTagsSet` operationId).
DnsZoneTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DnsZoneTagsSetResponse, error)
// DnsZoneTagsSetWithResponse Replace DNS zone tags
//
// Replaces the whole tag set. Tags group resources across projects: a DNS zone is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/dns/zones/{id}/tags (the `DnsZoneTagsSet` operationId).
DnsZoneTagsSetWithResponse(ctx context.Context, id string, body DnsZoneTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DnsZoneTagsSetResponse, error)
// DomainContactsListWithResponse List registrant profiles
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/domain-contacts (the `DomainContactsList` operationId).
DomainContactsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DomainContactsListResponse, error)
// DomainContactCreateWithBodyWithResponse Create a registrant profile
//
// The details published in WHOIS for domains registered with this profile. The first profile in an organization becomes its default.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/domain-contacts (the `DomainContactCreate` operationId).
DomainContactCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainContactCreateResponse, error)
// DomainContactCreateWithResponse Create a registrant profile
//
// The details published in WHOIS for domains registered with this profile. The first profile in an organization becomes its default.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/domain-contacts (the `DomainContactCreate` operationId).
DomainContactCreateWithResponse(ctx context.Context, body DomainContactCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainContactCreateResponse, error)
// DomainContactSuggestWithResponse Draft a registrant profile from the account
//
// Prefill values for a new registrant profile, taken from the account name and its verified e-mail and phone. The address is deliberately not suggested: an invoice address is collected to raise a receipt, while this record is published by the registry. Nothing is stored and no profile is created; a field the platform cannot fill is returned empty.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/domain-contacts/suggested (the `DomainContactSuggest` operationId).
DomainContactSuggestWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DomainContactSuggestResponse, error)
// DomainContactDeleteWithResponse Delete a registrant profile
//
// Only possible while no domain uses it: the registry is still publishing these details for any domain registered under them.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/domain-contacts/{id} (the `DomainContactDelete` operationId).
DomainContactDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DomainContactDeleteResponse, error)
// DomainContactUpdateWithBodyWithResponse Update a registrant profile
//
// Domains already registered with this profile are updated at the registrar by a background job.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domain-contacts/{id} (the `DomainContactUpdate` operationId).
DomainContactUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainContactUpdateResponse, error)
// DomainContactUpdateWithResponse Update a registrant profile
//
// Domains already registered with this profile are updated at the registrar by a background job.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domain-contacts/{id} (the `DomainContactUpdate` operationId).
DomainContactUpdateWithResponse(ctx context.Context, id string, body DomainContactUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainContactUpdateResponse, error)
// DomainTldsListWithResponse Domain extension price list
//
// Sellable extensions with their yearly registration, renewal and transfer prices. A local read: it never calls a registrar, so it is safe to render on a marketing page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/domain-tlds (the `DomainTldsList` operationId).
DomainTldsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DomainTldsListResponse, error)
// DomainsListWithResponse List domains
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/domains (the `DomainsList` operationId).
DomainsListWithResponse(ctx context.Context, params *DomainsListParams, reqEditors ...RequestEditorFn) (*DomainsListResponse, error)
// DomainRegisterWithBodyWithResponse Register a domain
//
// Charges the wallet and queues the registration. A registration cannot be undone once the registry confirms it, so there is no early-delete refund; an order the registry never honours is refunded in full.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/domains (the `DomainRegister` operationId).
DomainRegisterWithBodyWithResponse(ctx context.Context, params *DomainRegisterParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainRegisterResponse, error)
// DomainRegisterWithResponse Register a domain
//
// Charges the wallet and queues the registration. A registration cannot be undone once the registry confirms it, so there is no early-delete refund; an order the registry never honours is refunded in full.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/domains (the `DomainRegister` operationId).
DomainRegisterWithResponse(ctx context.Context, params *DomainRegisterParams, body DomainRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainRegisterResponse, error)
// DomainSearchWithBodyWithResponse Search domain availability
//
// Asks the registry whether a name is free, and suggests the same label on this deployment's other extensions. Advisory: availability is the registry's to state and the answer can change before an order. Authenticated and rate-limited per account, because it spends a call against the platform's registrar credential.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/domains/search (the `DomainSearch` operationId).
DomainSearchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainSearchResponse, error)
// DomainSearchWithResponse Search domain availability
//
// Asks the registry whether a name is free, and suggests the same label on this deployment's other extensions. Advisory: availability is the registry's to state and the answer can change before an order. Authenticated and rate-limited per account, because it spends a call against the platform's registrar credential.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/domains/search (the `DomainSearch` operationId).
DomainSearchWithResponse(ctx context.Context, body DomainSearchJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainSearchResponse, error)
// DomainTransferWithBodyWithResponse Transfer a domain in
//
// Charges the wallet and submits an inbound transfer. The registry decides over the following days, and the losing registrar has five of them to respond; a transfer that is refused or never completes is refunded in full. A transfer adds exactly one year to the term, which is what the registry sells.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/domains/transfer (the `DomainTransfer` operationId).
DomainTransferWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainTransferResponse, error)
// DomainTransferWithResponse Transfer a domain in
//
// Charges the wallet and submits an inbound transfer. The registry decides over the following days, and the losing registrar has five of them to respond; a transfer that is refused or never completes is refunded in full. A transfer adds exactly one year to the term, which is what the registry sells.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/domains/transfer (the `DomainTransfer` operationId).
DomainTransferWithResponse(ctx context.Context, body DomainTransferJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainTransferResponse, error)
// DomainGetWithResponse Domain detail
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/domains/{id} (the `DomainGet` operationId).
DomainGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DomainGetResponse, error)
// DomainAutoRenewSetWithBodyWithResponse Turn automatic renewal on or off
//
// With it off nothing is charged and the domain lapses when it expires. Reminders are still sent.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domains/{id}/auto-renew (the `DomainAutoRenewSet` operationId).
DomainAutoRenewSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainAutoRenewSetResponse, error)
// DomainAutoRenewSetWithResponse Turn automatic renewal on or off
//
// With it off nothing is charged and the domain lapses when it expires. Reminders are still sent.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domains/{id}/auto-renew (the `DomainAutoRenewSet` operationId).
DomainAutoRenewSetWithResponse(ctx context.Context, id string, body DomainAutoRenewSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainAutoRenewSetResponse, error)
// DomainLockSetWithBodyWithResponse Set the registrar transfer lock
//
// With the lock on, the registry refuses a transfer nobody authorized. Turning it off is the first step of moving the domain elsewhere.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domains/{id}/lock (the `DomainLockSet` operationId).
DomainLockSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainLockSetResponse, error)
// DomainLockSetWithResponse Set the registrar transfer lock
//
// With the lock on, the registry refuses a transfer nobody authorized. Turning it off is the first step of moving the domain elsewhere.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domains/{id}/lock (the `DomainLockSet` operationId).
DomainLockSetWithResponse(ctx context.Context, id string, body DomainLockSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainLockSetResponse, error)
// DomainNameserversSetWithBodyWithResponse Set nameservers
//
// Records the delegation you want and pushes it to the registrar in the background. The response shows both what you asked for and what the registrar last confirmed.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domains/{id}/nameservers (the `DomainNameserversSet` operationId).
DomainNameserversSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainNameserversSetResponse, error)
// DomainNameserversSetWithResponse Set nameservers
//
// Records the delegation you want and pushes it to the registrar in the background. The response shows both what you asked for and what the registrar last confirmed.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domains/{id}/nameservers (the `DomainNameserversSet` operationId).
DomainNameserversSetWithResponse(ctx context.Context, id string, body DomainNameserversSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainNameserversSetResponse, error)
// DomainPrivacySetWithBodyWithResponse Set WHOIS privacy
//
// With privacy on, the registry publishes the privacy service's details instead of yours. Not offered by every extension.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domains/{id}/privacy (the `DomainPrivacySet` operationId).
DomainPrivacySetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainPrivacySetResponse, error)
// DomainPrivacySetWithResponse Set WHOIS privacy
//
// With privacy on, the registry publishes the privacy service's details instead of yours. Not offered by every extension.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domains/{id}/privacy (the `DomainPrivacySet` operationId).
DomainPrivacySetWithResponse(ctx context.Context, id string, body DomainPrivacySetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainPrivacySetResponse, error)
// DomainProjectSetWithBodyWithResponse Move domain to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/domains/{id}/project (the `DomainProjectSet` operationId).
DomainProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainProjectSetResponse, error)
// DomainProjectSetWithResponse Move domain to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/domains/{id}/project (the `DomainProjectSet` operationId).
DomainProjectSetWithResponse(ctx context.Context, id string, body DomainProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainProjectSetResponse, error)
// DomainRenewWithBodyWithResponse Renew a domain
//
// Charges the wallet and extends the registration. Automatic renewal does the same thing on your behalf 14 days before expiry.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/domains/{id}/renew (the `DomainRenew` operationId).
DomainRenewWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainRenewResponse, error)
// DomainRenewWithResponse Renew a domain
//
// Charges the wallet and extends the registration. Automatic renewal does the same thing on your behalf 14 days before expiry.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/domains/{id}/renew (the `DomainRenew` operationId).
DomainRenewWithResponse(ctx context.Context, id string, body DomainRenewJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainRenewResponse, error)
// DomainTagsSetWithBodyWithResponse Replace domain tags
//
// Replaces the whole tag set. Tags group resources across projects: a domain is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domains/{id}/tags (the `DomainTagsSet` operationId).
DomainTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DomainTagsSetResponse, error)
// DomainTagsSetWithResponse Replace domain tags
//
// Replaces the whole tag set. Tags group resources across projects: a domain is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/domains/{id}/tags (the `DomainTagsSet` operationId).
DomainTagsSetWithResponse(ctx context.Context, id string, body DomainTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*DomainTagsSetResponse, error)
// AccountFeaturesWithResponse Which products are available to you
//
// Every product the platform can switch on or off, with whether it is available to you and how finished it is. A product that is off refuses new orders; anything you already have keeps working.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/features (the `AccountFeatures` operationId).
AccountFeaturesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountFeaturesResponse, error)
// FirewallsListWithResponse My firewalls
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/firewalls (the `FirewallsList` operationId).
FirewallsListWithResponse(ctx context.Context, params *FirewallsListParams, reqEditors ...RequestEditorFn) (*FirewallsListResponse, error)
// FirewallCreateWithBodyWithResponse Create firewall
//
// Created empty: attach it to a server and it enforces deny-all inbound (plus ICMP) until rules are added.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/firewalls (the `FirewallCreate` operationId).
FirewallCreateWithBodyWithResponse(ctx context.Context, params *FirewallCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FirewallCreateResponse, error)
// FirewallCreateWithResponse Create firewall
//
// Created empty: attach it to a server and it enforces deny-all inbound (plus ICMP) until rules are added.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/firewalls (the `FirewallCreate` operationId).
FirewallCreateWithResponse(ctx context.Context, params *FirewallCreateParams, body FirewallCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*FirewallCreateResponse, error)
// FirewallDeleteWithResponse Delete firewall
//
// Attached servers are detached and re-applied (back to all-open unless another firewall remains).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/firewalls/{id} (the `FirewallDelete` operationId).
FirewallDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FirewallDeleteResponse, error)
// FirewallGetWithResponse Firewall details
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/firewalls/{id} (the `FirewallGet` operationId).
FirewallGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FirewallGetResponse, error)
// FirewallUpdateWithBodyWithResponse Rename firewall
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/firewalls/{id} (the `FirewallUpdate` operationId).
FirewallUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FirewallUpdateResponse, error)
// FirewallUpdateWithResponse Rename firewall
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/firewalls/{id} (the `FirewallUpdate` operationId).
FirewallUpdateWithResponse(ctx context.Context, id string, body FirewallUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*FirewallUpdateResponse, error)
// FirewallRulesReplaceWithBodyWithResponse Replace firewall rules
//
// Full replace (PUT) — matches the desired-state application on the hypervisor. Attached servers are re-applied.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/firewalls/{id}/rules (the `FirewallRulesReplace` operationId).
FirewallRulesReplaceWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FirewallRulesReplaceResponse, error)
// FirewallRulesReplaceWithResponse Replace firewall rules
//
// Full replace (PUT) — matches the desired-state application on the hypervisor. Attached servers are re-applied.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/firewalls/{id}/rules (the `FirewallRulesReplace` operationId).
FirewallRulesReplaceWithResponse(ctx context.Context, id string, body FirewallRulesReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*FirewallRulesReplaceResponse, error)
// FirewallServerDetachWithResponse Detach firewall from a server
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/firewalls/{id}/servers/{serverId} (the `FirewallServerDetach` operationId).
FirewallServerDetachWithResponse(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*FirewallServerDetachResponse, error)
// FirewallServerAttachWithResponse Attach firewall to a server
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/firewalls/{id}/servers/{serverId} (the `FirewallServerAttach` operationId).
FirewallServerAttachWithResponse(ctx context.Context, id string, serverId string, reqEditors ...RequestEditorFn) (*FirewallServerAttachResponse, error)
// FloatingIpsListWithResponse My floating IPs
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/floating-ips (the `FloatingIpsList` operationId).
FloatingIpsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FloatingIpsListResponse, error)
// FloatingIpCreateWithBodyWithResponse Create a floating IP
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/floating-ips (the `FloatingIpCreate` operationId).
FloatingIpCreateWithBodyWithResponse(ctx context.Context, params *FloatingIpCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FloatingIpCreateResponse, error)
// FloatingIpCreateWithResponse Create a floating IP
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/floating-ips (the `FloatingIpCreate` operationId).
FloatingIpCreateWithResponse(ctx context.Context, params *FloatingIpCreateParams, body FloatingIpCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*FloatingIpCreateResponse, error)
// FloatingIpDeleteWithResponse Delete the floating IP
//
// Refused while attached (FIP_ATTACHED): detach first. Billing stops when the floating IP is deleted. The address returns to the pool and can be assigned again, to another customer or to you.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/floating-ips/{floatingIpID} (the `FloatingIpDelete` operationId).
FloatingIpDeleteWithResponse(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*FloatingIpDeleteResponse, error)
// FloatingIpGetWithResponse Floating IP detail
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/floating-ips/{floatingIpID} (the `FloatingIpGet` operationId).
FloatingIpGetWithResponse(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*FloatingIpGetResponse, error)
// FloatingIpAttachWithBodyWithResponse Attach (or move) the floating IP to a server
//
// Hot operation: no restart. The server must be in the floating IP's region (FIP_NODE_MISMATCH otherwise). While attached, the server's OUTBOUND traffic also leaves from the floating IP.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/floating-ips/{floatingIpID}/attach (the `FloatingIpAttach` operationId).
FloatingIpAttachWithBodyWithResponse(ctx context.Context, floatingIpID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FloatingIpAttachResponse, error)
// FloatingIpAttachWithResponse Attach (or move) the floating IP to a server
//
// Hot operation: no restart. The server must be in the floating IP's region (FIP_NODE_MISMATCH otherwise). While attached, the server's OUTBOUND traffic also leaves from the floating IP.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/floating-ips/{floatingIpID}/attach (the `FloatingIpAttach` operationId).
FloatingIpAttachWithResponse(ctx context.Context, floatingIpID string, body FloatingIpAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*FloatingIpAttachResponse, error)
// FloatingIpDetachWithResponse Detach the floating IP
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/floating-ips/{floatingIpID}/detach (the `FloatingIpDetach` operationId).
FloatingIpDetachWithResponse(ctx context.Context, floatingIpID string, reqEditors ...RequestEditorFn) (*FloatingIpDetachResponse, error)
// FxRateWithResponse Effective USD/TRY rate used when quoting top-ups
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/fx (the `FxRate` operationId).
FxRateWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*FxRateResponse, error)
// GitConnectionsListWithResponse Connected git accounts
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/git/connections (the `GitConnectionsList` operationId).
GitConnectionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GitConnectionsListResponse, error)
// GitConnectionDeleteWithResponse Disconnect a git account
//
// Stops us minting credentials for it. It does NOT uninstall the app on the forge — only the account owner can do that, from their own settings.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/git/connections/{id} (the `GitConnectionDelete` operationId).
GitConnectionDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GitConnectionDeleteResponse, error)
// GitRepositoriesListWithResponse Repositories this connection can see
//
// Asked live rather than cached: the customer changes the selection on the forge's side and expects the next screen to agree.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/git/connections/{id}/repositories (the `GitRepositoriesList` operationId).
GitRepositoriesListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GitRepositoriesListResponse, error)
// GitProvidersListWithResponse Configured git forges
//
// Empty when the operator has registered no forge app; the panel then hides the connect button rather than showing a dead one.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/git/providers (the `GitProvidersList` operationId).
GitProvidersListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GitProvidersListResponse, error)
// GitInstallCallbackWithResponse Forge authorization return
//
// Verifies that the person finishing the flow owns the account they claimed, and only then records the connection. Always answers with a redirect into the panel.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/git/{provider}/callback (the `GitInstallCallback` operationId).
GitInstallCallbackWithResponse(ctx context.Context, provider GitInstallCallbackParamsProvider, params *GitInstallCallbackParams, reqEditors ...RequestEditorFn) (*GitInstallCallbackResponse, error)
// GitInstallStartWithResponse Begin connecting a git account
//
// Redirects to the forge's install screen. The organization the connection will belong to is fixed here, at the start, not read from the session on the way back.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/git/{provider}/install (the `GitInstallStart` operationId).
GitInstallStartWithResponse(ctx context.Context, provider GitInstallStartParamsProvider, reqEditors ...RequestEditorFn) (*GitInstallStartResponse, error)
// GitInstallSetupWithResponse Forge install return
//
// Where the forge sends the customer after installing. Records the claimed installation and forwards them to the forge's authorization screen, which is what turns the claim into proof.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/git/{provider}/setup (the `GitInstallSetup` operationId).
GitInstallSetupWithResponse(ctx context.Context, provider GitInstallSetupParamsProvider, params *GitInstallSetupParams, reqEditors ...RequestEditorFn) (*GitInstallSetupResponse, error)
// ImagesListWithResponse Image catalog
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/images (the `ImagesList` operationId).
ImagesListWithResponse(ctx context.Context, params *ImagesListParams, reqEditors ...RequestEditorFn) (*ImagesListResponse, error)
// RdnsClearWithResponse Remove reverse DNS from an address
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/ip-addresses/{id}/rdns (the `RdnsClear` operationId).
RdnsClearWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RdnsClearResponse, error)
// RdnsSetWithBodyWithResponse Set reverse DNS for an address
//
// Publishes a PTR record. The hostname must already have an A/AAAA record pointing at this address (forward-confirmed reverse DNS); create that record first, then set the PTR.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/ip-addresses/{id}/rdns (the `RdnsSet` operationId).
RdnsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RdnsSetResponse, error)
// RdnsSetWithResponse Set reverse DNS for an address
//
// Publishes a PTR record. The hostname must already have an A/AAAA record pointing at this address (forward-confirmed reverse DNS); create that record first, then set the PTR.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/ip-addresses/{id}/rdns (the `RdnsSet` operationId).
RdnsSetWithResponse(ctx context.Context, id string, body RdnsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*RdnsSetResponse, error)
// IsoListWithResponse List custom ISOs
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/isos (the `IsoList` operationId).
IsoListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*IsoListResponse, error)
// IsoCreateWithBodyWithResponse Create or import custom ISO
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/isos (the `IsoCreate` operationId).
IsoCreateWithBodyWithResponse(ctx context.Context, params *IsoCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*IsoCreateResponse, error)
// IsoCreateWithResponse Create or import custom ISO
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/isos (the `IsoCreate` operationId).
IsoCreateWithResponse(ctx context.Context, params *IsoCreateParams, body IsoCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*IsoCreateResponse, error)
// IsoDeleteWithResponse Delete custom ISO
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/isos/{id} (the `IsoDelete` operationId).
IsoDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IsoDeleteResponse, error)
// IsoGetWithResponse Get custom ISO details
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/isos/{id} (the `IsoGet` operationId).
IsoGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*IsoGetResponse, error)
// AccountLimitsWithResponse Resource limits and current usage
//
// Every ceiling that applies to you, with what you have used against it. Reported at the level that binds first — your account or your organization, whichever is lower. A hint: create paths re-derive these under lock.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/limits (the `AccountLimits` operationId).
AccountLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*AccountLimitsResponse, error)
// LoadBalancersListWithResponse My load balancers
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/load-balancers (the `LoadBalancersList` operationId).
LoadBalancersListWithResponse(ctx context.Context, params *LoadBalancersListParams, reqEditors ...RequestEditorFn) (*LoadBalancersListResponse, error)
// LoadBalancerCreateWithBodyWithResponse Create a load balancer
//
// Charges one month upfront (payment before provision). The unused period is refunded on early delete.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/load-balancers (the `LoadBalancerCreate` operationId).
LoadBalancerCreateWithBodyWithResponse(ctx context.Context, params *LoadBalancerCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoadBalancerCreateResponse, error)
// LoadBalancerCreateWithResponse Create a load balancer
//
// Charges one month upfront (payment before provision). The unused period is refunded on early delete.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/load-balancers (the `LoadBalancerCreate` operationId).
LoadBalancerCreateWithResponse(ctx context.Context, params *LoadBalancerCreateParams, body LoadBalancerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*LoadBalancerCreateResponse, error)
// LoadBalancerDeleteWithResponse Delete the load balancer
//
// The unused part of the prepaid month is refunded to the wallet.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/load-balancers/{loadBalancerID} (the `LoadBalancerDelete` operationId).
LoadBalancerDeleteWithResponse(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*LoadBalancerDeleteResponse, error)
// LoadBalancerGetWithResponse Load balancer detail
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/load-balancers/{loadBalancerID} (the `LoadBalancerGet` operationId).
LoadBalancerGetWithResponse(ctx context.Context, loadBalancerID string, reqEditors ...RequestEditorFn) (*LoadBalancerGetResponse, error)
// LoadBalancerBackendsSetWithBodyWithResponse Set backend servers
//
// Full set (add/remove by sending the resulting list). Each server must be a member of the LB's private network.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/backends (the `LoadBalancerBackendsSet` operationId).
LoadBalancerBackendsSetWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoadBalancerBackendsSetResponse, error)
// LoadBalancerBackendsSetWithResponse Set backend servers
//
// Full set (add/remove by sending the resulting list). Each server must be a member of the LB's private network.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/backends (the `LoadBalancerBackendsSet` operationId).
LoadBalancerBackendsSetWithResponse(ctx context.Context, loadBalancerID string, body LoadBalancerBackendsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*LoadBalancerBackendsSetResponse, error)
// LoadBalancerProjectSetWithBodyWithResponse Move load balancer to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/load-balancers/{loadBalancerID}/project (the `LoadBalancerProjectSet` operationId).
LoadBalancerProjectSetWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoadBalancerProjectSetResponse, error)
// LoadBalancerProjectSetWithResponse Move load balancer to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/load-balancers/{loadBalancerID}/project (the `LoadBalancerProjectSet` operationId).
LoadBalancerProjectSetWithResponse(ctx context.Context, loadBalancerID string, body LoadBalancerProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*LoadBalancerProjectSetResponse, error)
// LoadBalancerRulesReplaceWithBodyWithResponse Replace forwarding rules
//
// Full replace; the new configuration is applied to the data plane asynchronously.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/rules (the `LoadBalancerRulesReplace` operationId).
LoadBalancerRulesReplaceWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoadBalancerRulesReplaceResponse, error)
// LoadBalancerRulesReplaceWithResponse Replace forwarding rules
//
// Full replace; the new configuration is applied to the data plane asynchronously.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/rules (the `LoadBalancerRulesReplace` operationId).
LoadBalancerRulesReplaceWithResponse(ctx context.Context, loadBalancerID string, body LoadBalancerRulesReplaceJSONRequestBody, reqEditors ...RequestEditorFn) (*LoadBalancerRulesReplaceResponse, error)
// LoadBalancerTagsSetWithBodyWithResponse Replace load balancer tags
//
// Replaces the whole tag set. Tags group resources across projects: a load balancer is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/tags (the `LoadBalancerTagsSet` operationId).
LoadBalancerTagsSetWithBodyWithResponse(ctx context.Context, loadBalancerID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoadBalancerTagsSetResponse, error)
// LoadBalancerTagsSetWithResponse Replace load balancer tags
//
// Replaces the whole tag set. Tags group resources across projects: a load balancer is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/load-balancers/{loadBalancerID}/tags (the `LoadBalancerTagsSet` operationId).
LoadBalancerTagsSetWithResponse(ctx context.Context, loadBalancerID string, body LoadBalancerTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*LoadBalancerTagsSetResponse, error)
// NetworksListWithResponse My private networks
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/networks (the `NetworksList` operationId).
NetworksListWithResponse(ctx context.Context, params *NetworksListParams, reqEditors ...RequestEditorFn) (*NetworksListResponse, error)
// NetworkCreateWithBodyWithResponse Create private network
//
// The network starts in `creating` and becomes `active` once built on the hypervisor. Servers may already reference it — provisioning waits.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/networks (the `NetworkCreate` operationId).
NetworkCreateWithBodyWithResponse(ctx context.Context, params *NetworkCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworkCreateResponse, error)
// NetworkCreateWithResponse Create private network
//
// The network starts in `creating` and becomes `active` once built on the hypervisor. Servers may already reference it — provisioning waits.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/networks (the `NetworkCreate` operationId).
NetworkCreateWithResponse(ctx context.Context, params *NetworkCreateParams, body NetworkCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworkCreateResponse, error)
// NetworkDeleteWithResponse Delete private network
//
// Refused (409) while servers are attached.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/networks/{id} (the `NetworkDelete` operationId).
NetworkDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*NetworkDeleteResponse, error)
// NetworkGetWithResponse Private network details
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/networks/{id} (the `NetworkGet` operationId).
NetworkGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*NetworkGetResponse, error)
// NetworkProjectSetWithBodyWithResponse Move private network to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/networks/{id}/project (the `NetworkProjectSet` operationId).
NetworkProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworkProjectSetResponse, error)
// NetworkProjectSetWithResponse Move private network to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/networks/{id}/project (the `NetworkProjectSet` operationId).
NetworkProjectSetWithResponse(ctx context.Context, id string, body NetworkProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworkProjectSetResponse, error)
// NetworkTagsSetWithBodyWithResponse Replace private network tags
//
// Replaces the whole tag set. Tags group resources across projects: a private network is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/networks/{id}/tags (the `NetworkTagsSet` operationId).
NetworkTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NetworkTagsSetResponse, error)
// NetworkTagsSetWithResponse Replace private network tags
//
// Replaces the whole tag set. Tags group resources across projects: a private network is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/networks/{id}/tags (the `NetworkTagsSet` operationId).
NetworkTagsSetWithResponse(ctx context.Context, id string, body NetworkTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*NetworkTagsSetResponse, error)
// NotificationsListWithResponse Notification feed
//
// Newest first, keyset-paginated on the descending id.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/notifications (the `NotificationsList` operationId).
NotificationsListWithResponse(ctx context.Context, params *NotificationsListParams, reqEditors ...RequestEditorFn) (*NotificationsListResponse, error)
// NotificationsMarkReadWithBodyWithResponse Mark notifications read
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/notifications/read (the `NotificationsMarkRead` operationId).
NotificationsMarkReadWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NotificationsMarkReadResponse, error)
// NotificationsMarkReadWithResponse Mark notifications read
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/notifications/read (the `NotificationsMarkRead` operationId).
NotificationsMarkReadWithResponse(ctx context.Context, body NotificationsMarkReadJSONRequestBody, reqEditors ...RequestEditorFn) (*NotificationsMarkReadResponse, error)
// NotificationDeleteWithResponse Dismiss a notification
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/notifications/{id} (the `NotificationDelete` operationId).
NotificationDeleteWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*NotificationDeleteResponse, error)
// OauthConsentGetWithResponse An application is asking for access
//
// What the consent screen renders. The prompt belongs to one account; another account's id is a 404.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/oauth/authorization-requests/{id} (the `OauthConsentGet` operationId).
OauthConsentGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OauthConsentGetResponse, error)
// OauthConsentDecideWithBodyWithResponse Answer an application's request
//
// Approve with the scopes ticked and the organization chosen, or refuse. Either way the client is told.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/oauth/authorization-requests/{id}/decision (the `OauthConsentDecide` operationId).
OauthConsentDecideWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OauthConsentDecideResponse, error)
// OauthConsentDecideWithResponse Answer an application's request
//
// Approve with the scopes ticked and the organization chosen, or refuse. Either way the client is told.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/oauth/authorization-requests/{id}/decision (the `OauthConsentDecide` operationId).
OauthConsentDecideWithResponse(ctx context.Context, id string, body OauthConsentDecideJSONRequestBody, reqEditors ...RequestEditorFn) (*OauthConsentDecideResponse, error)
// OnboardingOrganizationCreateWithBodyWithResponse Create the first organization
//
// Onboarding step one. Creates the organization, its wallet in the currency the country decides and the caller's owner membership, and makes it the session's active organization. 409 ORGANIZATION_EXISTS when the account already belongs to an organization.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/onboarding/organization (the `OnboardingOrganizationCreate` operationId).
OnboardingOrganizationCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OnboardingOrganizationCreateResponse, error)
// OnboardingOrganizationCreateWithResponse Create the first organization
//
// Onboarding step one. Creates the organization, its wallet in the currency the country decides and the caller's owner membership, and makes it the session's active organization. 409 ORGANIZATION_EXISTS when the account already belongs to an organization.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/onboarding/organization (the `OnboardingOrganizationCreate` operationId).
OnboardingOrganizationCreateWithResponse(ctx context.Context, body OnboardingOrganizationCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*OnboardingOrganizationCreateResponse, error)
// OrganizationInvitationGetWithResponse View invitation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/organization-invitations/{token} (the `OrganizationInvitationGet` operationId).
OrganizationInvitationGetWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*OrganizationInvitationGetResponse, error)
// OrganizationInvitationAcceptWithResponse Accept invitation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/organization-invitations/{token}/accept (the `OrganizationInvitationAccept` operationId).
OrganizationInvitationAcceptWithResponse(ctx context.Context, token string, reqEditors ...RequestEditorFn) (*OrganizationInvitationAcceptResponse, error)
// OrganizationsListWithResponse List organizations
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/organizations (the `OrganizationsList` operationId).
OrganizationsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OrganizationsListResponse, error)
// OrganizationsCreateWithBodyWithResponse Create organization
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/organizations (the `OrganizationsCreate` operationId).
OrganizationsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OrganizationsCreateResponse, error)
// OrganizationsCreateWithResponse Create organization
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/organizations (the `OrganizationsCreate` operationId).
OrganizationsCreateWithResponse(ctx context.Context, body OrganizationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*OrganizationsCreateResponse, error)
// OrganizationsDeleteWithResponse Delete organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/organizations/{id} (the `OrganizationsDelete` operationId).
OrganizationsDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsDeleteResponse, error)
// OrganizationsGetWithResponse Get organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/organizations/{id} (the `OrganizationsGet` operationId).
OrganizationsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsGetResponse, error)
// OrganizationsRenameWithBodyWithResponse Rename organization
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/organizations/{id} (the `OrganizationsRename` operationId).
OrganizationsRenameWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OrganizationsRenameResponse, error)
// OrganizationsRenameWithResponse Rename organization
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/organizations/{id} (the `OrganizationsRename` operationId).
OrganizationsRenameWithResponse(ctx context.Context, id string, body OrganizationsRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*OrganizationsRenameResponse, error)
// OrganizationsActivateWithResponse Activate organization for this session
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/organizations/{id}/activate (the `OrganizationsActivate` operationId).
OrganizationsActivateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsActivateResponse, error)
// OrganizationInvitationsListWithResponse List active invitations
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/organizations/{id}/invitations (the `OrganizationInvitationsList` operationId).
OrganizationInvitationsListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationInvitationsListResponse, error)
// OrganizationInvitationsCreateWithBodyWithResponse Invite organization member
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/organizations/{id}/invitations (the `OrganizationInvitationsCreate` operationId).
OrganizationInvitationsCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OrganizationInvitationsCreateResponse, error)
// OrganizationInvitationsCreateWithResponse Invite organization member
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/organizations/{id}/invitations (the `OrganizationInvitationsCreate` operationId).
OrganizationInvitationsCreateWithResponse(ctx context.Context, id string, body OrganizationInvitationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*OrganizationInvitationsCreateResponse, error)
// OrganizationInvitationsRevokeWithResponse Revoke invitation
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/organizations/{id}/invitations/{invitation_id} (the `OrganizationInvitationsRevoke` operationId).
OrganizationInvitationsRevokeWithResponse(ctx context.Context, id string, invitationId string, reqEditors ...RequestEditorFn) (*OrganizationInvitationsRevokeResponse, error)
// OrganizationsLeaveWithResponse Leave organization
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/organizations/{id}/leave (the `OrganizationsLeave` operationId).
OrganizationsLeaveWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationsLeaveResponse, error)
// OrganizationMembersListWithResponse List organization members
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/organizations/{id}/members (the `OrganizationMembersList` operationId).
OrganizationMembersListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*OrganizationMembersListResponse, error)
// OrganizationMembersRemoveWithResponse Remove organization member
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/organizations/{id}/members/{user_id} (the `OrganizationMembersRemove` operationId).
OrganizationMembersRemoveWithResponse(ctx context.Context, id string, userId string, reqEditors ...RequestEditorFn) (*OrganizationMembersRemoveResponse, error)
// OrganizationMemberRoleUpdateWithBodyWithResponse Change member role
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/organizations/{id}/members/{user_id} (the `OrganizationMemberRoleUpdate` operationId).
OrganizationMemberRoleUpdateWithBodyWithResponse(ctx context.Context, id string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OrganizationMemberRoleUpdateResponse, error)
// OrganizationMemberRoleUpdateWithResponse Change member role
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/organizations/{id}/members/{user_id} (the `OrganizationMemberRoleUpdate` operationId).
OrganizationMemberRoleUpdateWithResponse(ctx context.Context, id string, userId string, body OrganizationMemberRoleUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*OrganizationMemberRoleUpdateResponse, error)
// PaymentIntentsListWithResponse Payment records
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/payments/intents (the `PaymentIntentsList` operationId).
PaymentIntentsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PaymentIntentsListResponse, error)
// PaymentTopupInitWithBodyWithResponse Start balance top-up
//
// Card: opens a PayTR iframe session. Bank transfer: generates a description code valid for 72 hours. Credit is applied after payment confirmation (webhook/matching).
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/payments/topup (the `PaymentTopupInit` operationId).
PaymentTopupInitWithBodyWithResponse(ctx context.Context, params *PaymentTopupInitParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PaymentTopupInitResponse, error)
// PaymentTopupInitWithResponse Start balance top-up
//
// Card: opens a PayTR iframe session. Bank transfer: generates a description code valid for 72 hours. Credit is applied after payment confirmation (webhook/matching).
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/payments/topup (the `PaymentTopupInit` operationId).
PaymentTopupInitWithResponse(ctx context.Context, params *PaymentTopupInitParams, body PaymentTopupInitJSONRequestBody, reqEditors ...RequestEditorFn) (*PaymentTopupInitResponse, error)
// PlanTypesListWithResponse Plan types catalog
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/plan-types (the `PlanTypesList` operationId).
PlanTypesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PlanTypesListResponse, error)
// PlansListWithResponse Plan catalog
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/plans (the `PlansList` operationId).
PlansListWithResponse(ctx context.Context, params *PlansListParams, reqEditors ...RequestEditorFn) (*PlansListResponse, error)
// ProjectsListWithResponse My projects
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects (the `ProjectsList` operationId).
ProjectsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProjectsListResponse, error)
// ProjectCreateWithBodyWithResponse Create project
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects (the `ProjectCreate` operationId).
ProjectCreateWithBodyWithResponse(ctx context.Context, params *ProjectCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectCreateResponse, error)
// ProjectCreateWithResponse Create project
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/projects (the `ProjectCreate` operationId).
ProjectCreateWithResponse(ctx context.Context, params *ProjectCreateParams, body ProjectCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectCreateResponse, error)
// ProjectDeleteWithResponse Delete project
//
// Servers in the project are detached, never deleted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/projects/{id} (the `ProjectDelete` operationId).
ProjectDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ProjectDeleteResponse, error)
// ProjectGetWithResponse Project
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/projects/{id} (the `ProjectGet` operationId).
ProjectGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ProjectGetResponse, error)
// ProjectUpdateWithBodyWithResponse Rename project
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{id} (the `ProjectUpdate` operationId).
ProjectUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectUpdateResponse, error)
// ProjectUpdateWithResponse Rename project
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/projects/{id} (the `ProjectUpdate` operationId).
ProjectUpdateWithResponse(ctx context.Context, id string, body ProjectUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectUpdateResponse, error)
// RegionsListWithResponse Region catalog
//
// Active placement regions. The physical host inside a region is always chosen by the system.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/regions (the `RegionsList` operationId).
RegionsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RegionsListResponse, error)
// ResourcePricesListWithResponse GB-based resource prices (snapshots, volumes)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/resource-prices (the `ResourcePricesList` operationId).
ResourcePricesListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResourcePricesListResponse, error)
// ServersListWithResponse My servers
//
// Paged. `total` counts the rows matching the filters; `summary` describes the whole organization and does not move as you page or search.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers (the `ServersList` operationId).
ServersListWithResponse(ctx context.Context, params *ServersListParams, reqEditors ...RequestEditorFn) (*ServersListResponse, error)
// ServerCreateWithBodyWithResponse Create server
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers (the `ServerCreate` operationId).
ServerCreateWithBodyWithResponse(ctx context.Context, params *ServerCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerCreateResponse, error)
// ServerCreateWithResponse Create server
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers (the `ServerCreate` operationId).
ServerCreateWithResponse(ctx context.Context, params *ServerCreateParams, body ServerCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerCreateResponse, error)
// ServerDeleteWithResponse Delete server
//
// The server and its disks are permanently deleted. Its public IP returns to the pool and can be assigned again, to another customer or to you.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/servers/{id} (the `ServerDelete` operationId).
ServerDeleteWithResponse(ctx context.Context, id string, params *ServerDeleteParams, reqEditors ...RequestEditorFn) (*ServerDeleteResponse, error)
// ServerGetWithResponse Server details
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id} (the `ServerGet` operationId).
ServerGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerGetResponse, error)
// ServerRenameWithBodyWithResponse Rename server
//
// Changes the display name and the hypervisor VM name. The guest's hostname stays as set at first boot.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/servers/{id} (the `ServerRename` operationId).
ServerRenameWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerRenameResponse, error)
// ServerRenameWithResponse Rename server
//
// Changes the display name and the hypervisor VM name. The guest's hostname stays as set at first boot.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/servers/{id} (the `ServerRename` operationId).
ServerRenameWithResponse(ctx context.Context, id string, body ServerRenameJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerRenameResponse, error)
// ServerActionCreateWithBodyWithResponse Power action (start/stop/reboot)
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/actions (the `ServerActionCreate` operationId).
ServerActionCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerActionCreateResponse, error)
// ServerActionCreateWithResponse Power action (start/stop/reboot)
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/actions (the `ServerActionCreate` operationId).
ServerActionCreateWithResponse(ctx context.Context, id string, body ServerActionCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerActionCreateResponse, error)
// ServerMountISOWithBodyWithResponse Mount ISO to server
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/actions/mount-iso (the `ServerMountISO` operationId).
ServerMountISOWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerMountISOResponse, error)
// ServerMountISOWithResponse Mount ISO to server
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/actions/mount-iso (the `ServerMountISO` operationId).
ServerMountISOWithResponse(ctx context.Context, id string, body ServerMountISOJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerMountISOResponse, error)
// ServerUnmountISOWithResponse Unmount ISO from server
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/actions/unmount-iso (the `ServerUnmountISO` operationId).
ServerUnmountISOWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerUnmountISOResponse, error)
// ServerActionGetWithResponse Power action status
//
// Resolves the id returned by a power action. `succeeded` and `failed` are terminal; `failed` carries an error_code. Poll with increasing intervals rather than tightly.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/actions/{actionId} (the `ServerActionGet` operationId).
ServerActionGetWithResponse(ctx context.Context, id string, actionId string, reqEditors ...RequestEditorFn) (*ServerActionGetResponse, error)
// ServerAlertsListWithResponse List metric alarm rules
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/alerts (the `ServerAlertsList` operationId).
ServerAlertsListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerAlertsListResponse, error)
// ServerAlertSaveWithBodyWithResponse Create or update a metric alarm rule
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/servers/{id}/alerts (the `ServerAlertSave` operationId).
ServerAlertSaveWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerAlertSaveResponse, error)
// ServerAlertSaveWithResponse Create or update a metric alarm rule
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/servers/{id}/alerts (the `ServerAlertSave` operationId).
ServerAlertSaveWithResponse(ctx context.Context, id string, body ServerAlertSaveJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerAlertSaveResponse, error)
// ServerAlertDeleteWithResponse Delete a metric alarm rule
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/servers/{id}/alerts/{metric} (the `ServerAlertDelete` operationId).
ServerAlertDeleteWithResponse(ctx context.Context, id string, metric ServerAlertDeleteParamsMetric, reqEditors ...RequestEditorFn) (*ServerAlertDeleteResponse, error)
// ServerAppRetryWithResponse Retry a failed marketplace app install
//
// Only valid while app_state is 'failed' on a running server; 409 otherwise.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/app/retry (the `ServerAppRetry` operationId).
ServerAppRetryWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerAppRetryResponse, error)
// ServerBackupSettingsGetWithResponse Automatic-backup subscription state
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/backup-settings (the `ServerBackupSettingsGet` operationId).
ServerBackupSettingsGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerBackupSettingsGetResponse, error)
// ServerBackupSettingsUpdateWithBodyWithResponse Toggle automatic daily backups
//
// When on, a backup is taken daily (7 rolling) and the wallet is charged +20% of the plan price. Requires no attached volumes.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/servers/{id}/backup-settings (the `ServerBackupSettingsUpdate` operationId).
ServerBackupSettingsUpdateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerBackupSettingsUpdateResponse, error)
// ServerBackupSettingsUpdateWithResponse Toggle automatic daily backups
//
// When on, a backup is taken daily (7 rolling) and the wallet is charged +20% of the plan price. Requires no attached volumes.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/servers/{id}/backup-settings (the `ServerBackupSettingsUpdate` operationId).
ServerBackupSettingsUpdateWithResponse(ctx context.Context, id string, body ServerBackupSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerBackupSettingsUpdateResponse, error)
// ServerBackupListWithResponse Server backups
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/backups (the `ServerBackupList` operationId).
ServerBackupListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerBackupListResponse, error)
// ServerBackupCreateWithBodyWithResponse Take a backup now
//
// On-demand vzdump to backup storage. Billed per GB-hour of the archive size; max 5 manual backups per server.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/backups (the `ServerBackupCreate` operationId).
ServerBackupCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerBackupCreateResponse, error)
// ServerBackupCreateWithResponse Take a backup now
//
// On-demand vzdump to backup storage. Billed per GB-hour of the archive size; max 5 manual backups per server.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/backups (the `ServerBackupCreate` operationId).
ServerBackupCreateWithResponse(ctx context.Context, id string, body ServerBackupCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerBackupCreateResponse, error)
// ServerBackupDeleteWithResponse Delete a backup
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/servers/{id}/backups/{backupId} (the `ServerBackupDelete` operationId).
ServerBackupDeleteWithResponse(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*ServerBackupDeleteResponse, error)
// ServerBackupRestoreWithResponse Restore a backup
//
// Whole-VM restore into the same server — the CURRENT disk state is lost. A running server is stopped and restarted. Blocked while extra volumes are attached.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/backups/{backupId}/restore (the `ServerBackupRestore` operationId).
ServerBackupRestoreWithResponse(ctx context.Context, id string, backupId string, reqEditors ...RequestEditorFn) (*ServerBackupRestoreResponse, error)
// ServerBillingGetWithResponse What this server costs
//
// The plan charge, the resources attached to it and their current monthly rate, this month's traffic, and the lifetime totals taken from the ledger.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/billing (the `ServerBillingGet` operationId).
ServerBillingGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerBillingGetResponse, error)
// ServerLedgerListWithResponse Wallet movements charged to this server
//
// Paged, newest first. Only movements written against this server: the plan charge, resize differences, refunds and traffic overage. Charges for its snapshots, backups, volumes and floating IPs are billed against those resources and appear on the wallet page.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/billing/ledger (the `ServerLedgerList` operationId).
ServerLedgerListWithResponse(ctx context.Context, id string, params *ServerLedgerListParams, reqEditors ...RequestEditorFn) (*ServerLedgerListResponse, error)
// ServerConsoleCreateWithResponse Open console session
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/console (the `ServerConsoleCreate` operationId).
ServerConsoleCreateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerConsoleCreateResponse, error)
// ServerDiskMetricsListWithResponse Sampled disk performance
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/disk-metrics (the `ServerDiskMetricsList` operationId).
ServerDiskMetricsListWithResponse(ctx context.Context, id string, params *ServerDiskMetricsListParams, reqEditors ...RequestEditorFn) (*ServerDiskMetricsListResponse, error)
// ServerEventsListWithResponse Server event stream
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/events (the `ServerEventsList` operationId).
ServerEventsListWithResponse(ctx context.Context, id string, params *ServerEventsListParams, reqEditors ...RequestEditorFn) (*ServerEventsListResponse, error)
// ServerFilesystemsListWithResponse Guest-agent disk usage per mount
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/filesystems (the `ServerFilesystemsList` operationId).
ServerFilesystemsListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerFilesystemsListResponse, error)
// ServerMetricsListWithResponse Sampled resource metrics
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/metrics (the `ServerMetricsList` operationId).
ServerMetricsListWithResponse(ctx context.Context, id string, params *ServerMetricsListParams, reqEditors ...RequestEditorFn) (*ServerMetricsListResponse, error)
// ServerNetworkDetachWithResponse Leave the private network
//
// Removes the private NIC and releases the private IP. A running server is stopped and restarted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/servers/{id}/network (the `ServerNetworkDetach` operationId).
ServerNetworkDetachWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerNetworkDetachResponse, error)
// ServerNetworkAttachWithBodyWithResponse Join a private network
//
// Assigns a private IP and adds the second NIC. A running server is stopped and restarted (no hotplug). One network per server.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/network (the `ServerNetworkAttach` operationId).
ServerNetworkAttachWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerNetworkAttachResponse, error)
// ServerNetworkAttachWithResponse Join a private network
//
// Assigns a private IP and adds the second NIC. A running server is stopped and restarted (no hotplug). One network per server.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/network (the `ServerNetworkAttach` operationId).
ServerNetworkAttachWithResponse(ctx context.Context, id string, body ServerNetworkAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerNetworkAttachResponse, error)
// ServerPasswordResetWithResponse Reset root password
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/password-reset (the `ServerPasswordReset` operationId).
ServerPasswordResetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerPasswordResetResponse, error)
// ServerProjectSetWithBodyWithResponse Move server to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/servers/{id}/project (the `ServerProjectSet` operationId).
ServerProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerProjectSetResponse, error)
// ServerProjectSetWithResponse Move server to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/servers/{id}/project (the `ServerProjectSet` operationId).
ServerProjectSetWithResponse(ctx context.Context, id string, body ServerProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerProjectSetResponse, error)
// ServerRDNSListWithResponse Reverse DNS for a server's addresses
//
// The server's fixed public address plus every floating IP attached to it. An entry with no `reverse_zone` cannot carry a PTR in this region.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/rdns (the `ServerRDNSList` operationId).
ServerRDNSListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerRDNSListResponse, error)
// ServerRebuildWithBodyWithResponse Rebuild server (reinstall image)
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/rebuild (the `ServerRebuild` operationId).
ServerRebuildWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerRebuildResponse, error)
// ServerRebuildWithResponse Rebuild server (reinstall image)
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/rebuild (the `ServerRebuild` operationId).
ServerRebuildWithResponse(ctx context.Context, id string, body ServerRebuildJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerRebuildResponse, error)
// ServerRescueEnterWithResponse Boot the server into rescue mode
//
// Mounts the platform's live rescue image and restarts the server from it; the disks are left untouched. The first rescue on a host downloads the image, so it can take a few minutes. Resize, rebuild and restore are refused while rescue is active.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/rescue (the `ServerRescueEnter` operationId).
ServerRescueEnterWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerRescueEnterResponse, error)
// ServerRescueExitWithResponse Leave rescue mode
//
// Ejects the rescue image and restarts the server from its own disk.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/rescue/exit (the `ServerRescueExit` operationId).
ServerRescueExitWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerRescueExitResponse, error)
// ServerResizeWithBodyWithResponse Change plan (upgrade)
//
// Honest offline resize: a RAM/CPU change restarts the server; disk only grows. In monthly mode the difference for the remaining period is charged upfront.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/resize (the `ServerResize` operationId).
ServerResizeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerResizeResponse, error)
// ServerResizeWithResponse Change plan (upgrade)
//
// Honest offline resize: a RAM/CPU change restarts the server; disk only grows. In monthly mode the difference for the remaining period is charged upfront.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/resize (the `ServerResize` operationId).
ServerResizeWithResponse(ctx context.Context, id string, body ServerResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerResizeResponse, error)
// ServerSnapshotListWithResponse Server snapshots
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/servers/{id}/snapshots (the `ServerSnapshotList` operationId).
ServerSnapshotListWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ServerSnapshotListResponse, error)
// ServerSnapshotCreateWithBodyWithResponse Take a snapshot
//
// Disk-only, crash-consistent. Billed per GB-hour at the disk size frozen at creation; max 5 per server.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/snapshots (the `ServerSnapshotCreate` operationId).
ServerSnapshotCreateWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerSnapshotCreateResponse, error)
// ServerSnapshotCreateWithResponse Take a snapshot
//
// Disk-only, crash-consistent. Billed per GB-hour at the disk size frozen at creation; max 5 per server.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/snapshots (the `ServerSnapshotCreate` operationId).
ServerSnapshotCreateWithResponse(ctx context.Context, id string, body ServerSnapshotCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerSnapshotCreateResponse, error)
// ServerSnapshotDeleteWithResponse Delete a snapshot
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/servers/{id}/snapshots/{snapshotId} (the `ServerSnapshotDelete` operationId).
ServerSnapshotDeleteWithResponse(ctx context.Context, id string, snapshotId string, reqEditors ...RequestEditorFn) (*ServerSnapshotDeleteResponse, error)
// ServerSnapshotRestoreWithResponse Restore a snapshot
//
// Rolls the disk back to the snapshot — the CURRENT disk state is lost. A running server is stopped and restarted.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/servers/{id}/snapshots/{snapshotId}/restore (the `ServerSnapshotRestore` operationId).
ServerSnapshotRestoreWithResponse(ctx context.Context, id string, snapshotId string, reqEditors ...RequestEditorFn) (*ServerSnapshotRestoreResponse, error)
// ServerTagsSetWithBodyWithResponse Replace server tags
//
// Replaces the whole tag set. Tags group resources across projects: a server is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/servers/{id}/tags (the `ServerTagsSet` operationId).
ServerTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ServerTagsSetResponse, error)
// ServerTagsSetWithResponse Replace server tags
//
// Replaces the whole tag set. Tags group resources across projects: a server is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/servers/{id}/tags (the `ServerTagsSet` operationId).
ServerTagsSetWithResponse(ctx context.Context, id string, body ServerTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*ServerTagsSetResponse, error)
// ServerSnapshotListAllWithResponse All restorable snapshots (global snapshots page)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/snapshots (the `ServerSnapshotListAll` operationId).
ServerSnapshotListAllWithResponse(ctx context.Context, params *ServerSnapshotListAllParams, reqEditors ...RequestEditorFn) (*ServerSnapshotListAllResponse, error)
// SshKeysListWithResponse My SSH keys
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/ssh-keys (the `SshKeysList` operationId).
SshKeysListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*SshKeysListResponse, error)
// SshKeyCreateWithBodyWithResponse Add SSH key
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ssh-keys (the `SshKeyCreate` operationId).
SshKeyCreateWithBodyWithResponse(ctx context.Context, params *SshKeyCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SshKeyCreateResponse, error)
// SshKeyCreateWithResponse Add SSH key
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/ssh-keys (the `SshKeyCreate` operationId).
SshKeyCreateWithResponse(ctx context.Context, params *SshKeyCreateParams, body SshKeyCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SshKeyCreateResponse, error)
// SshKeyDeleteWithResponse Delete SSH key
//
// Existing servers are unaffected (the key is embedded at provision time).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/ssh-keys/{id} (the `SshKeyDelete` operationId).
SshKeyDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SshKeyDeleteResponse, error)
// SshKeyGetWithResponse SSH key
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/ssh-keys/{id} (the `SshKeyGet` operationId).
SshKeyGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*SshKeyGetResponse, error)
// TagsListWithResponse Tags in use
//
// Every tag this organization has used, with how many resources carry it. Tags are created by using them: there is no endpoint that makes one, and one stops existing when the last resource drops it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/tags (the `TagsList` operationId).
TagsListWithResponse(ctx context.Context, params *TagsListParams, reqEditors ...RequestEditorFn) (*TagsListResponse, error)
// TicketsListWithResponse List support tickets
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/tickets (the `TicketsList` operationId).
TicketsListWithResponse(ctx context.Context, params *TicketsListParams, reqEditors ...RequestEditorFn) (*TicketsListResponse, error)
// TicketCreateWithBodyWithResponse Open a support ticket
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/tickets (the `TicketCreate` operationId).
TicketCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TicketCreateResponse, error)
// TicketCreateWithResponse Open a support ticket
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/tickets (the `TicketCreate` operationId).
TicketCreateWithResponse(ctx context.Context, body TicketCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TicketCreateResponse, error)
// TicketGetWithResponse Ticket detail with its conversation
//
// Staff-only internal notes are filtered out in the query, not in the response mapping.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/tickets/{code} (the `TicketGet` operationId).
TicketGetWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*TicketGetResponse, error)
// TicketAttachmentDownloadWithResponse Download a ticket attachment
//
// Returns the raw bytes. Images are served inline so the panel can render them; everything else downloads.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/tickets/{code}/attachments/{id} (the `TicketAttachmentDownload` operationId).
TicketAttachmentDownloadWithResponse(ctx context.Context, code string, id int64, reqEditors ...RequestEditorFn) (*TicketAttachmentDownloadResponse, error)
// TicketCloseWithResponse Close a ticket
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/tickets/{code}/close (the `TicketClose` operationId).
TicketCloseWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*TicketCloseResponse, error)
// TicketReplyWithBodyWithResponse Reply to a ticket
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/tickets/{code}/messages (the `TicketReply` operationId).
TicketReplyWithBodyWithResponse(ctx context.Context, code string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TicketReplyResponse, error)
// TicketReplyWithResponse Reply to a ticket
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/tickets/{code}/messages (the `TicketReply` operationId).
TicketReplyWithResponse(ctx context.Context, code string, body TicketReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*TicketReplyResponse, error)
// TicketReopenWithResponse Reopen a ticket (within 7 days)
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/tickets/{code}/reopen (the `TicketReopen` operationId).
TicketReopenWithResponse(ctx context.Context, code string, reqEditors ...RequestEditorFn) (*TicketReopenResponse, error)
// VolumeListWithResponse Volumes
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/volumes (the `VolumeList` operationId).
VolumeListWithResponse(ctx context.Context, params *VolumeListParams, reqEditors ...RequestEditorFn) (*VolumeListResponse, error)
// VolumeCreateWithBodyWithResponse Create a volume
//
// Billed per GB-hour at provisioned size from creation to deletion, regardless of attach state. Size band, count and total capacity are operator policy with per-account and per-organization overrides — read GET /v1/volumes/limits rather than assuming. Max 5 attached per server. With fs_type + automount the volume arrives formatted and mounted; without them it is a raw block device.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/volumes (the `VolumeCreate` operationId).
VolumeCreateWithBodyWithResponse(ctx context.Context, params *VolumeCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VolumeCreateResponse, error)
// VolumeCreateWithResponse Create a volume
//
// Billed per GB-hour at provisioned size from creation to deletion, regardless of attach state. Size band, count and total capacity are operator policy with per-account and per-organization overrides — read GET /v1/volumes/limits rather than assuming. Max 5 attached per server. With fs_type + automount the volume arrives formatted and mounted; without them it is a raw block device.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/volumes (the `VolumeCreate` operationId).
VolumeCreateWithResponse(ctx context.Context, params *VolumeCreateParams, body VolumeCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*VolumeCreateResponse, error)
// VolumeLimitsWithResponse Volume limits and remaining allowance
//
// The size band and what is left of the count and capacity quotas, narrowed to whichever of the account and organization ceilings binds first. A hint: the create path re-derives these under lock, so a concurrent create can still refuse a size this reported.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/volumes/limits (the `VolumeLimits` operationId).
VolumeLimitsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*VolumeLimitsResponse, error)
// VolumeDeleteWithResponse Delete a volume
//
// Detached volumes only — detach first. The disk and its data are destroyed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /v1/volumes/{id} (the `VolumeDelete` operationId).
VolumeDeleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VolumeDeleteResponse, error)
// VolumeGetWithResponse Volume detail
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/volumes/{id} (the `VolumeGet` operationId).
VolumeGetWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VolumeGetResponse, error)
// VolumeAttachWithBodyWithResponse Attach a volume
//
// Hotplug — works on a running server. Blocked while the server has snapshots (409). With automount the volume is mounted in the guest and pinned in fstab; a volume that carries no filesystem yet cannot be automounted, because attaching never formats.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/volumes/{id}/attach (the `VolumeAttach` operationId).
VolumeAttachWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VolumeAttachResponse, error)
// VolumeAttachWithResponse Attach a volume
//
// Hotplug — works on a running server. Blocked while the server has snapshots (409). With automount the volume is mounted in the guest and pinned in fstab; a volume that carries no filesystem yet cannot be automounted, because attaching never formats.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/volumes/{id}/attach (the `VolumeAttach` operationId).
VolumeAttachWithResponse(ctx context.Context, id string, body VolumeAttachJSONRequestBody, reqEditors ...RequestEditorFn) (*VolumeAttachResponse, error)
// VolumeDetachWithResponse Detach a volume
//
// Hot-detach — unmount inside the guest first; the data stays on the volume.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/volumes/{id}/detach (the `VolumeDetach` operationId).
VolumeDetachWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*VolumeDetachResponse, error)
// VolumeProjectSetWithBodyWithResponse Move volume to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/volumes/{id}/project (the `VolumeProjectSet` operationId).
VolumeProjectSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VolumeProjectSetResponse, error)
// VolumeProjectSetWithResponse Move volume to a project
//
// A resource belongs to at most one project. Omit project_id to detach it from all of them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /v1/volumes/{id}/project (the `VolumeProjectSet` operationId).
VolumeProjectSetWithResponse(ctx context.Context, id string, body VolumeProjectSetJSONRequestBody, reqEditors ...RequestEditorFn) (*VolumeProjectSetResponse, error)
// VolumeResizeWithBodyWithResponse Grow a volume
//
// Grow only, online (works while attached). Enlarge the filesystem inside the guest afterwards.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/volumes/{id}/resize (the `VolumeResize` operationId).
VolumeResizeWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VolumeResizeResponse, error)
// VolumeResizeWithResponse Grow a volume
//
// Grow only, online (works while attached). Enlarge the filesystem inside the guest afterwards.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/volumes/{id}/resize (the `VolumeResize` operationId).
VolumeResizeWithResponse(ctx context.Context, id string, body VolumeResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*VolumeResizeResponse, error)
// VolumeTagsSetWithBodyWithResponse Replace volume tags
//
// Replaces the whole tag set. Tags group resources across projects: a volume is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/volumes/{id}/tags (the `VolumeTagsSet` operationId).
VolumeTagsSetWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VolumeTagsSetResponse, error)
// VolumeTagsSetWithResponse Replace volume tags
//
// Replaces the whole tag set. Tags group resources across projects: a volume is in at most one project but may wear many tags, and every list endpoint can filter on them.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /v1/volumes/{id}/tags (the `VolumeTagsSet` operationId).
VolumeTagsSetWithResponse(ctx context.Context, id string, body VolumeTagsSetJSONRequestBody, reqEditors ...RequestEditorFn) (*VolumeTagsSetResponse, error)
// WalletGetWithResponse Wallet status
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/wallet (the `WalletGet` operationId).
WalletGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WalletGetResponse, error)
// WalletLedgerListWithResponse Wallet ledger entries
//
// Paged, newest first. `total` counts what the filter matched; `summary` describes the whole wallet.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/wallet/ledger (the `WalletLedgerList` operationId).
WalletLedgerListWithResponse(ctx context.Context, params *WalletLedgerListParams, reqEditors ...RequestEditorFn) (*WalletLedgerListResponse, error)
// WalletLedgerDailyWithResponse Daily wallet movement totals
//
// In/out totals per day over the requested window, for the wallet chart.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/wallet/ledger/daily (the `WalletLedgerDaily` operationId).
WalletLedgerDailyWithResponse(ctx context.Context, params *WalletLedgerDailyParams, reqEditors ...RequestEditorFn) (*WalletLedgerDailyResponse, error)
// WalletPromoRedemptionsWithResponse Promo codes this organization has redeemed
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v1/wallet/promo (the `WalletPromoRedemptions` operationId).
WalletPromoRedemptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*WalletPromoRedemptionsResponse, error)
// WalletPromoRedeemWithBodyWithResponse Redeem a promo code
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/wallet/promo (the `WalletPromoRedeem` operationId).
WalletPromoRedeemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WalletPromoRedeemResponse, error)
// WalletPromoRedeemWithResponse Redeem a promo code
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /v1/wallet/promo (the `WalletPromoRedeem` operationId).
WalletPromoRedeemWithResponse(ctx context.Context, body WalletPromoRedeemJSONRequestBody, reqEditors ...RequestEditorFn) (*WalletPromoRedeemResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CodeInputBody ¶
type CodeInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/CodeInputBody.json
Schema *string `json:"$schema,omitempty"`
Code string `json:"code"`
}
CodeInputBody defines model for CodeInputBody.
type ConnectedAppRevokeResponse ¶ added in v0.2.0
type ConnectedAppRevokeResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseConnectedAppRevokeResponse ¶ added in v0.2.0
func ParseConnectedAppRevokeResponse(rsp *http.Response) (*ConnectedAppRevokeResponse, error)
ParseConnectedAppRevokeResponse parses an HTTP response from a ConnectedAppRevokeWithResponse call
func (ConnectedAppRevokeResponse) ContentType ¶ added in v0.2.0
func (r ConnectedAppRevokeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectedAppRevokeResponse) GetApplicationproblemJSONDefault ¶ added in v0.2.0
func (r ConnectedAppRevokeResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ConnectedAppRevokeResponse) GetBody ¶ added in v0.2.0
func (r ConnectedAppRevokeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectedAppRevokeResponse) Status ¶ added in v0.2.0
func (r ConnectedAppRevokeResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectedAppRevokeResponse) StatusCode ¶ added in v0.2.0
func (r ConnectedAppRevokeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectedAppsListResponse ¶ added in v0.2.0
type ConnectedAppsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GrantsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseConnectedAppsListResponse ¶ added in v0.2.0
func ParseConnectedAppsListResponse(rsp *http.Response) (*ConnectedAppsListResponse, error)
ParseConnectedAppsListResponse parses an HTTP response from a ConnectedAppsListWithResponse call
func (ConnectedAppsListResponse) ContentType ¶ added in v0.2.0
func (r ConnectedAppsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ConnectedAppsListResponse) GetApplicationproblemJSONDefault ¶ added in v0.2.0
func (r ConnectedAppsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ConnectedAppsListResponse) GetBody ¶ added in v0.2.0
func (r ConnectedAppsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ConnectedAppsListResponse) GetJSON200 ¶ added in v0.2.0
func (r ConnectedAppsListResponse) GetJSON200() *GrantsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ConnectedAppsListResponse) Status ¶ added in v0.2.0
func (r ConnectedAppsListResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectedAppsListResponse) StatusCode ¶ added in v0.2.0
func (r ConnectedAppsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConsentBody ¶ added in v0.2.0
type ConsentBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ConsentBody.json
Schema *string `json:"$schema,omitempty"`
Client ClientBody `json:"client"`
ExpiresAt time.Time `json:"expires_at"`
Organizations *[]OrganizationBody `json:"organizations"`
RequestId string `json:"request_id"`
Resource *string `json:"resource,omitempty"`
Scopes *[]string `json:"scopes"`
}
ConsentBody defines model for ConsentBody.
type ConsoleOutputBody ¶
type ConsoleOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ConsoleOutputBody.json
Schema *string `json:"$schema,omitempty"`
// ExpiresAt Token is single-use; connect before this moment
ExpiresAt time.Time `json:"expires_at"`
// Subprotocol First entry of the Sec-WebSocket-Protocol list
Subprotocol string `json:"subprotocol"`
// Token Single-use token; send it as the SECOND entry of the Sec-WebSocket-Protocol list
Token string `json:"token"`
// WsPath Websocket path on the same origin
WsPath string `json:"ws_path"`
}
ConsoleOutputBody defines model for ConsoleOutputBody.
type Cookie ¶
type Cookie struct {
Domain string `json:"Domain"`
Expires time.Time `json:"Expires"`
HttpOnly bool `json:"HttpOnly"`
MaxAge int64 `json:"MaxAge"`
Name string `json:"Name"`
Partitioned bool `json:"Partitioned"`
Path string `json:"Path"`
Quoted bool `json:"Quoted"`
Raw string `json:"Raw"`
RawExpires string `json:"RawExpires"`
SameSite int64 `json:"SameSite"`
Secure bool `json:"Secure"`
Unparsed *[]string `json:"Unparsed"`
Value string `json:"Value"`
}
Cookie defines model for Cookie.
type CreateInputBody ¶
type CreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/CreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// FirewallId Optional firewall attached from birth (rules enforced before first boot)
FirewallId *string `json:"firewall_id,omitempty"`
// Image Image slug (e.g. ubuntu-24-04). Omit only when source_backup_id is set; still required with iso_id (the disk is prepared from this image, the ISO is attached as a CD-ROM)
Image *string `json:"image,omitempty"`
// IsoId Optional custom ISO to attach at creation; the first boot starts from the ISO
IsoId *string `json:"iso_id,omitempty"`
// Name Hostname format: lowercase letters, digits, hyphens
Name string `json:"name"`
// NetworkId Optional private network to join (assigned a private IP at create)
NetworkId *string `json:"network_id,omitempty"`
// Plan Plan slug (e.g. s1)
Plan string `json:"plan"`
// ProjectId Optional project to place the server in
ProjectId *string `json:"project_id,omitempty"`
// Region Region slug (e.g. ist); empty = default region. The physical host is chosen by the system
Region *string `json:"region,omitempty"`
// SourceBackupId Create from this backup archive instead of an image; the server is pinned to the backup's node and keeps its credentials/data
SourceBackupId *string `json:"source_backup_id,omitempty"`
// SshKeyIds Selection from registered SSH keys
SshKeyIds *[]string `json:"ssh_key_ids,omitempty"`
// Tags Tags to give the resource at birth. Lowercased, deduplicated and sorted before storage.
Tags *[]string `json:"tags,omitempty"`
// UserData Cloud-init document applied verbatim on first boot (#cloud-config, shell script, #include or MIME multipart). OS images only — not accepted with app images, backups or a birth ISO. Readable from inside the guest by any process: never put secrets in it
UserData *string `json:"user_data,omitempty"`
}
CreateInputBody defines model for CreateInputBody.
type CreateOutputBody ¶
type CreateOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/CreateOutputBody.json
Schema *string `json:"$schema,omitempty"`
Server ServerBody `json:"server"`
}
CreateOutputBody defines model for CreateOutputBody.
type CustomerFeaturesOutputBody ¶
type CustomerFeaturesOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/CustomerFeaturesOutputBody.json
Schema *string `json:"$schema,omitempty"`
Features *[]FeatureBody `json:"features"`
}
CustomerFeaturesOutputBody defines model for CustomerFeaturesOutputBody.
type CustomerQuotaBody ¶
type CustomerQuotaBody struct {
Key string `json:"key"`
Label string `json:"label"`
// Limit The binding ceiling: the narrower of the account and organization values
Limit int64 `json:"limit"`
Remaining int64 `json:"remaining"`
Unit string `json:"unit"`
Used int64 `json:"used"`
}
CustomerQuotaBody defines model for CustomerQuotaBody.
type CustomerQuotaOutputBody ¶
type CustomerQuotaOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/CustomerQuotaOutputBody.json
Schema *string `json:"$schema,omitempty"`
Quotas *[]CustomerQuotaBody `json:"quotas"`
}
CustomerQuotaOutputBody defines model for CustomerQuotaOutputBody.
type DatabaseAlertDeleteParamsMetric ¶
type DatabaseAlertDeleteParamsMetric string
DatabaseAlertDeleteParamsMetric defines parameters for DatabaseAlertDelete.
const ( DatabaseAlertDeleteParamsMetricCpu DatabaseAlertDeleteParamsMetric = "cpu" DatabaseAlertDeleteParamsMetricDisk DatabaseAlertDeleteParamsMetric = "disk" DatabaseAlertDeleteParamsMetricMemory DatabaseAlertDeleteParamsMetric = "memory" DatabaseAlertDeleteParamsMetricNetOut DatabaseAlertDeleteParamsMetric = "net_out" DatabaseAlertDeleteParamsMetricTraffic DatabaseAlertDeleteParamsMetric = "traffic" )
Defines values for DatabaseAlertDeleteParamsMetric.
func (DatabaseAlertDeleteParamsMetric) Valid ¶
func (e DatabaseAlertDeleteParamsMetric) Valid() bool
Valid indicates whether the value is a known member of the DatabaseAlertDeleteParamsMetric enum.
type DatabaseAlertDeleteResponse ¶
type DatabaseAlertDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseAlertDeleteResponse ¶
func ParseDatabaseAlertDeleteResponse(rsp *http.Response) (*DatabaseAlertDeleteResponse, error)
ParseDatabaseAlertDeleteResponse parses an HTTP response from a DatabaseAlertDeleteWithResponse call
func (DatabaseAlertDeleteResponse) ContentType ¶
func (r DatabaseAlertDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseAlertDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseAlertDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseAlertDeleteResponse) GetBody ¶
func (r DatabaseAlertDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseAlertDeleteResponse) Status ¶
func (r DatabaseAlertDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseAlertDeleteResponse) StatusCode ¶
func (r DatabaseAlertDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseAlertSaveJSONRequestBody ¶
type DatabaseAlertSaveJSONRequestBody = DbAlertSaveInputBody
DatabaseAlertSaveJSONRequestBody defines body for DatabaseAlertSave for application/json ContentType.
type DatabaseAlertSaveResponse ¶
type DatabaseAlertSaveResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AlertBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseAlertSaveResponse ¶
func ParseDatabaseAlertSaveResponse(rsp *http.Response) (*DatabaseAlertSaveResponse, error)
ParseDatabaseAlertSaveResponse parses an HTTP response from a DatabaseAlertSaveWithResponse call
func (DatabaseAlertSaveResponse) ContentType ¶
func (r DatabaseAlertSaveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseAlertSaveResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseAlertSaveResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseAlertSaveResponse) GetBody ¶
func (r DatabaseAlertSaveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseAlertSaveResponse) GetJSON200 ¶
func (r DatabaseAlertSaveResponse) GetJSON200() *AlertBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DatabaseAlertSaveResponse) Status ¶
func (r DatabaseAlertSaveResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseAlertSaveResponse) StatusCode ¶
func (r DatabaseAlertSaveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseAlertsListResponse ¶
type DatabaseAlertsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DbAlertsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseAlertsListResponse ¶
func ParseDatabaseAlertsListResponse(rsp *http.Response) (*DatabaseAlertsListResponse, error)
ParseDatabaseAlertsListResponse parses an HTTP response from a DatabaseAlertsListWithResponse call
func (DatabaseAlertsListResponse) ContentType ¶
func (r DatabaseAlertsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseAlertsListResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseAlertsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseAlertsListResponse) GetBody ¶
func (r DatabaseAlertsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseAlertsListResponse) GetJSON200 ¶
func (r DatabaseAlertsListResponse) GetJSON200() *DbAlertsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DatabaseAlertsListResponse) Status ¶
func (r DatabaseAlertsListResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseAlertsListResponse) StatusCode ¶
func (r DatabaseAlertsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseBackupBody ¶
type DatabaseBackupBody struct {
Error *string `json:"error,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
Id string `json:"id"`
Kind DatabaseBackupBodyKind `json:"kind"`
StartedAt time.Time `json:"started_at"`
State DatabaseBackupBodyState `json:"state"`
}
DatabaseBackupBody defines model for DatabaseBackupBody.
type DatabaseBackupBodyKind ¶
type DatabaseBackupBodyKind string
DatabaseBackupBodyKind defines model for DatabaseBackupBody.Kind.
const ( DatabaseBackupBodyKindDiff DatabaseBackupBodyKind = "diff" DatabaseBackupBodyKindFull DatabaseBackupBodyKind = "full" )
Defines values for DatabaseBackupBodyKind.
func (DatabaseBackupBodyKind) Valid ¶
func (e DatabaseBackupBodyKind) Valid() bool
Valid indicates whether the value is a known member of the DatabaseBackupBodyKind enum.
type DatabaseBackupBodyState ¶
type DatabaseBackupBodyState string
DatabaseBackupBodyState defines model for DatabaseBackupBody.State.
const ( DatabaseBackupBodyStateDone DatabaseBackupBodyState = "done" DatabaseBackupBodyStateFailed DatabaseBackupBodyState = "failed" DatabaseBackupBodyStateRunning DatabaseBackupBodyState = "running" )
Defines values for DatabaseBackupBodyState.
func (DatabaseBackupBodyState) Valid ¶
func (e DatabaseBackupBodyState) Valid() bool
Valid indicates whether the value is a known member of the DatabaseBackupBodyState enum.
type DatabaseBackupCreateResponse ¶
type DatabaseBackupCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseBackupCreateResponse ¶
func ParseDatabaseBackupCreateResponse(rsp *http.Response) (*DatabaseBackupCreateResponse, error)
ParseDatabaseBackupCreateResponse parses an HTTP response from a DatabaseBackupCreateWithResponse call
func (DatabaseBackupCreateResponse) ContentType ¶
func (r DatabaseBackupCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseBackupCreateResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseBackupCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseBackupCreateResponse) GetBody ¶
func (r DatabaseBackupCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseBackupCreateResponse) Status ¶
func (r DatabaseBackupCreateResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseBackupCreateResponse) StatusCode ¶
func (r DatabaseBackupCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseBackupsListOutputBody ¶
type DatabaseBackupsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseBackupsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Backups *[]DatabaseBackupBody `json:"backups"`
}
DatabaseBackupsListOutputBody defines model for DatabaseBackupsListOutputBody.
type DatabaseBackupsListResponse ¶
type DatabaseBackupsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatabaseBackupsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseBackupsListResponse ¶
func ParseDatabaseBackupsListResponse(rsp *http.Response) (*DatabaseBackupsListResponse, error)
ParseDatabaseBackupsListResponse parses an HTTP response from a DatabaseBackupsListWithResponse call
func (DatabaseBackupsListResponse) ContentType ¶
func (r DatabaseBackupsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseBackupsListResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseBackupsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseBackupsListResponse) GetBody ¶
func (r DatabaseBackupsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseBackupsListResponse) GetJSON200 ¶
func (r DatabaseBackupsListResponse) GetJSON200() *DatabaseBackupsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DatabaseBackupsListResponse) Status ¶
func (r DatabaseBackupsListResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseBackupsListResponse) StatusCode ¶
func (r DatabaseBackupsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseBody ¶
type DatabaseBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseBody.json
Schema *string `json:"$schema,omitempty"`
// Code Customer-facing identity and the DNS label
Code string `json:"code"`
CreatedAt time.Time `json:"created_at"`
// EarliestRestorableAt Oldest instant a point-in-time restore can target; absent before the first backup
EarliestRestorableAt *time.Time `json:"earliest_restorable_at,omitempty"`
Engine DatabaseBodyEngine `json:"engine"`
// EngineVersion Pinned major; never auto-upgraded
EngineVersion string `json:"engine_version"`
ErrorCode *string `json:"error_code,omitempty"`
Id string `json:"id"`
// Ip Public IP of the instance
Ip *string `json:"ip,omitempty"`
Name string `json:"name"`
// NetworkId Optional private network the instance answers on
NetworkId *string `json:"network_id,omitempty"`
PaidThrough *time.Time `json:"paid_through,omitempty"`
// PendingApply True while an edit is not yet live on the appliance
PendingApply bool `json:"pending_apply"`
PlanSlug *string `json:"plan_slug,omitempty"`
// ProjectId Project the instance belongs to (organizational)
ProjectId *string `json:"project_id,omitempty"`
// PublicAccess False = only the private network and attached apps can reach it
PublicAccess bool `json:"public_access"`
// RegionName Display name in the language asked for with Accept-Language (tr, en, de, es). A request without the header, or with none of those languages, gets English. A missing translation falls back to English (for any language but tr), then to the base name.
RegionName *string `json:"region_name,omitempty"`
RegionSlug *string `json:"region_slug,omitempty"`
// State SETTLED on active, stopped_dunning, suspended, deleted or either error_* state; provisioning, resizing and deleting are in flight. A create settles on active.
State DatabaseBodyState `json:"state"`
// Tags Tags this resource carries. Set them with PUT .../tags.
Tags *[]string `json:"tags"`
}
DatabaseBody defines model for DatabaseBody.
type DatabaseBodyEngine ¶
type DatabaseBodyEngine string
DatabaseBodyEngine defines model for DatabaseBody.Engine.
const ( DatabaseBodyEngineMysql DatabaseBodyEngine = "mysql" DatabaseBodyEnginePostgresql DatabaseBodyEngine = "postgresql" )
Defines values for DatabaseBodyEngine.
func (DatabaseBodyEngine) Valid ¶
func (e DatabaseBodyEngine) Valid() bool
Valid indicates whether the value is a known member of the DatabaseBodyEngine enum.
type DatabaseBodyState ¶
type DatabaseBodyState string
DatabaseBodyState SETTLED on active, stopped_dunning, suspended, deleted or either error_* state; provisioning, resizing and deleting are in flight. A create settles on active.
const ( DatabaseBodyStateActive DatabaseBodyState = "active" DatabaseBodyStateDeleted DatabaseBodyState = "deleted" DatabaseBodyStateDeleting DatabaseBodyState = "deleting" DatabaseBodyStateErrorDelete DatabaseBodyState = "error_delete" DatabaseBodyStateErrorProvisioning DatabaseBodyState = "error_provisioning" DatabaseBodyStateProvisioning DatabaseBodyState = "provisioning" DatabaseBodyStateResizing DatabaseBodyState = "resizing" DatabaseBodyStateStoppedDunning DatabaseBodyState = "stopped_dunning" DatabaseBodyStateSuspended DatabaseBodyState = "suspended" )
Defines values for DatabaseBodyState.
func (DatabaseBodyState) Valid ¶
func (e DatabaseBodyState) Valid() bool
Valid indicates whether the value is a known member of the DatabaseBodyState enum.
type DatabaseConnectionGetResponse ¶
type DatabaseConnectionGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatabaseConnectionOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseConnectionGetResponse ¶
func ParseDatabaseConnectionGetResponse(rsp *http.Response) (*DatabaseConnectionGetResponse, error)
ParseDatabaseConnectionGetResponse parses an HTTP response from a DatabaseConnectionGetWithResponse call
func (DatabaseConnectionGetResponse) ContentType ¶
func (r DatabaseConnectionGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseConnectionGetResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseConnectionGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseConnectionGetResponse) GetBody ¶
func (r DatabaseConnectionGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseConnectionGetResponse) GetJSON200 ¶
func (r DatabaseConnectionGetResponse) GetJSON200() *DatabaseConnectionOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DatabaseConnectionGetResponse) Status ¶
func (r DatabaseConnectionGetResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseConnectionGetResponse) StatusCode ¶
func (r DatabaseConnectionGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseConnectionOutputBody ¶
type DatabaseConnectionOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseConnectionOutputBody.json
Schema *string `json:"$schema,omitempty"`
// CaCertPem Pin as the root certificate for verify-full
CaCertPem *string `json:"ca_cert_pem,omitempty"`
Database string `json:"database"`
Host *string `json:"host,omitempty"`
Password string `json:"password"`
// PoolerPort PgBouncer (transaction pooling); prefer it for app traffic
PoolerPort *int64 `json:"pooler_port,omitempty"`
Port int64 `json:"port"`
PrivateHost *string `json:"private_host,omitempty"`
User string `json:"user"`
}
DatabaseConnectionOutputBody defines model for DatabaseConnectionOutputBody.
type DatabaseCreateInputBody ¶
type DatabaseCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Engine Empty = postgresql
Engine *DatabaseCreateInputBodyEngine `json:"engine,omitempty"`
// EngineVersion Pinned major (16/17/18); empty = the catalog default
EngineVersion *string `json:"engine_version,omitempty"`
Name string `json:"name"`
// NetworkId Optional private network; VPS servers on it reach the instance privately
NetworkId *string `json:"network_id,omitempty"`
// Plan db-1 | db-2 | db-3; empty = db-1
Plan *string `json:"plan,omitempty"`
// ProjectId Optional project for grouping
ProjectId *string `json:"project_id,omitempty"`
// Region Region slug; empty = default region
Region *string `json:"region,omitempty"`
// Tags Tags to give the resource at birth. Lowercased, deduplicated and sorted before storage.
Tags *[]string `json:"tags,omitempty"`
}
DatabaseCreateInputBody defines model for DatabaseCreateInputBody.
type DatabaseCreateInputBodyEngine ¶
type DatabaseCreateInputBodyEngine string
DatabaseCreateInputBodyEngine Empty = postgresql
const ( DatabaseCreateInputBodyEngineEmpty DatabaseCreateInputBodyEngine = "" DatabaseCreateInputBodyEngineMysql DatabaseCreateInputBodyEngine = "mysql" DatabaseCreateInputBodyEnginePostgresql DatabaseCreateInputBodyEngine = "postgresql" )
Defines values for DatabaseCreateInputBodyEngine.
func (DatabaseCreateInputBodyEngine) Valid ¶
func (e DatabaseCreateInputBodyEngine) Valid() bool
Valid indicates whether the value is a known member of the DatabaseCreateInputBodyEngine enum.
type DatabaseCreateJSONRequestBody ¶
type DatabaseCreateJSONRequestBody = DatabaseCreateInputBody
DatabaseCreateJSONRequestBody defines body for DatabaseCreate for application/json ContentType.
type DatabaseCreateParams ¶
type DatabaseCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
DatabaseCreateParams defines parameters for DatabaseCreate.
type DatabaseCreateResponse ¶
type DatabaseCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *DatabaseBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseCreateResponse ¶
func ParseDatabaseCreateResponse(rsp *http.Response) (*DatabaseCreateResponse, error)
ParseDatabaseCreateResponse parses an HTTP response from a DatabaseCreateWithResponse call
func (DatabaseCreateResponse) ContentType ¶
func (r DatabaseCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseCreateResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseCreateResponse) GetBody ¶
func (r DatabaseCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseCreateResponse) GetJSON202 ¶
func (r DatabaseCreateResponse) GetJSON202() *DatabaseBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DatabaseCreateResponse) Status ¶
func (r DatabaseCreateResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseCreateResponse) StatusCode ¶
func (r DatabaseCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseDbBody ¶
type DatabaseDbBody struct {
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
Name string `json:"name"`
}
DatabaseDbBody defines model for DatabaseDbBody.
type DatabaseDbCreateInputBody ¶
type DatabaseDbCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseDbCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Name Lowercase letters, digits, underscore
Name string `json:"name"`
}
DatabaseDbCreateInputBody defines model for DatabaseDbCreateInputBody.
type DatabaseDbCreateJSONRequestBody ¶
type DatabaseDbCreateJSONRequestBody = DatabaseDbCreateInputBody
DatabaseDbCreateJSONRequestBody defines body for DatabaseDbCreate for application/json ContentType.
type DatabaseDbCreateResponse ¶
type DatabaseDbCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseDbCreateResponse ¶
func ParseDatabaseDbCreateResponse(rsp *http.Response) (*DatabaseDbCreateResponse, error)
ParseDatabaseDbCreateResponse parses an HTTP response from a DatabaseDbCreateWithResponse call
func (DatabaseDbCreateResponse) ContentType ¶
func (r DatabaseDbCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseDbCreateResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseDbCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseDbCreateResponse) GetBody ¶
func (r DatabaseDbCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseDbCreateResponse) Status ¶
func (r DatabaseDbCreateResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseDbCreateResponse) StatusCode ¶
func (r DatabaseDbCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseDeleteResponse ¶
type DatabaseDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseDeleteResponse ¶
func ParseDatabaseDeleteResponse(rsp *http.Response) (*DatabaseDeleteResponse, error)
ParseDatabaseDeleteResponse parses an HTTP response from a DatabaseDeleteWithResponse call
func (DatabaseDeleteResponse) ContentType ¶
func (r DatabaseDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseDeleteResponse) GetBody ¶
func (r DatabaseDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseDeleteResponse) Status ¶
func (r DatabaseDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseDeleteResponse) StatusCode ¶
func (r DatabaseDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseEngineBody ¶
type DatabaseEngineBody struct {
Engine DatabaseEngineBodyEngine `json:"engine"`
IsDefault bool `json:"is_default"`
Version string `json:"version"`
}
DatabaseEngineBody defines model for DatabaseEngineBody.
type DatabaseEngineBodyEngine ¶
type DatabaseEngineBodyEngine string
DatabaseEngineBodyEngine defines model for DatabaseEngineBody.Engine.
const ( DatabaseEngineBodyEngineMysql DatabaseEngineBodyEngine = "mysql" DatabaseEngineBodyEnginePostgresql DatabaseEngineBodyEngine = "postgresql" )
Defines values for DatabaseEngineBodyEngine.
func (DatabaseEngineBodyEngine) Valid ¶
func (e DatabaseEngineBodyEngine) Valid() bool
Valid indicates whether the value is a known member of the DatabaseEngineBodyEngine enum.
type DatabaseGetOutputBody ¶
type DatabaseGetOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseGetOutputBody.json
Schema *string `json:"$schema,omitempty"`
Database DatabaseBody `json:"database"`
Databases *[]DatabaseDbBody `json:"databases"`
TrustedSources *[]DatabaseTrustedSourceBody `json:"trusted_sources"`
Users *[]DatabaseUserBody `json:"users"`
}
DatabaseGetOutputBody defines model for DatabaseGetOutputBody.
type DatabaseGetResponse ¶
type DatabaseGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatabaseGetOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseGetResponse ¶
func ParseDatabaseGetResponse(rsp *http.Response) (*DatabaseGetResponse, error)
ParseDatabaseGetResponse parses an HTTP response from a DatabaseGetWithResponse call
func (DatabaseGetResponse) ContentType ¶
func (r DatabaseGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseGetResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseGetResponse) GetBody ¶
func (r DatabaseGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseGetResponse) GetJSON200 ¶
func (r DatabaseGetResponse) GetJSON200() *DatabaseGetOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DatabaseGetResponse) Status ¶
func (r DatabaseGetResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseGetResponse) StatusCode ¶
func (r DatabaseGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseMetricsListParams ¶
type DatabaseMetricsListParams struct {
// Window hour/day serve raw 1-minute samples; week serves the 7-day hourly rollup
Window *DatabaseMetricsListParamsWindow `form:"window,omitempty" json:"window,omitempty"`
}
DatabaseMetricsListParams defines parameters for DatabaseMetricsList.
type DatabaseMetricsListParamsWindow ¶
type DatabaseMetricsListParamsWindow string
DatabaseMetricsListParamsWindow defines parameters for DatabaseMetricsList.
const ( DatabaseMetricsListParamsWindowDay DatabaseMetricsListParamsWindow = "day" DatabaseMetricsListParamsWindowHour DatabaseMetricsListParamsWindow = "hour" DatabaseMetricsListParamsWindowWeek DatabaseMetricsListParamsWindow = "week" )
Defines values for DatabaseMetricsListParamsWindow.
func (DatabaseMetricsListParamsWindow) Valid ¶
func (e DatabaseMetricsListParamsWindow) Valid() bool
Valid indicates whether the value is a known member of the DatabaseMetricsListParamsWindow enum.
type DatabaseMetricsListResponse ¶
type DatabaseMetricsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DbMetricsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseMetricsListResponse ¶
func ParseDatabaseMetricsListResponse(rsp *http.Response) (*DatabaseMetricsListResponse, error)
ParseDatabaseMetricsListResponse parses an HTTP response from a DatabaseMetricsListWithResponse call
func (DatabaseMetricsListResponse) ContentType ¶
func (r DatabaseMetricsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseMetricsListResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseMetricsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseMetricsListResponse) GetBody ¶
func (r DatabaseMetricsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseMetricsListResponse) GetJSON200 ¶
func (r DatabaseMetricsListResponse) GetJSON200() *DbMetricsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DatabaseMetricsListResponse) Status ¶
func (r DatabaseMetricsListResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseMetricsListResponse) StatusCode ¶
func (r DatabaseMetricsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseOptionsListResponse ¶
type DatabaseOptionsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatabaseOptionsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseOptionsListResponse ¶
func ParseDatabaseOptionsListResponse(rsp *http.Response) (*DatabaseOptionsListResponse, error)
ParseDatabaseOptionsListResponse parses an HTTP response from a DatabaseOptionsListWithResponse call
func (DatabaseOptionsListResponse) ContentType ¶
func (r DatabaseOptionsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseOptionsListResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseOptionsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseOptionsListResponse) GetBody ¶
func (r DatabaseOptionsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseOptionsListResponse) GetJSON200 ¶
func (r DatabaseOptionsListResponse) GetJSON200() *DatabaseOptionsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DatabaseOptionsListResponse) Status ¶
func (r DatabaseOptionsListResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseOptionsListResponse) StatusCode ¶
func (r DatabaseOptionsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseOptionsOutputBody ¶
type DatabaseOptionsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseOptionsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Engines *[]DatabaseEngineBody `json:"engines"`
Plans *[]DatabasePlanBody `json:"plans"`
}
DatabaseOptionsOutputBody defines model for DatabaseOptionsOutputBody.
type DatabasePlanBody ¶
type DatabasePlanBody struct {
Cores int64 `json:"cores"`
// Currency Currency of monthly_price_minor — the asking organization's
Currency string `json:"currency"`
DiskGb int64 `json:"disk_gb"`
MemoryMb int64 `json:"memory_mb"`
// MonthlyPriceMinor Monthly price RESOLVED into Currency's minor unit
MonthlyPriceMinor int64 `json:"monthly_price_minor"`
// Name Display name in the language asked for with Accept-Language (tr, en, de, es). A request without the header, or with none of those languages, gets English. A missing translation falls back to English (for any language but tr), then to the base name.
Name string `json:"name"`
Slug string `json:"slug"`
// UsdMonthlyPriceMinor USD base price (cents) — display only, mirrors /v1/plans
UsdMonthlyPriceMinor int64 `json:"usd_monthly_price_minor"`
}
DatabasePlanBody defines model for DatabasePlanBody.
type DatabaseProjectSetJSONRequestBody ¶
type DatabaseProjectSetJSONRequestBody = ProjectAssignmentBody
DatabaseProjectSetJSONRequestBody defines body for DatabaseProjectSet for application/json ContentType.
type DatabaseProjectSetResponse ¶
type DatabaseProjectSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseProjectSetResponse ¶
func ParseDatabaseProjectSetResponse(rsp *http.Response) (*DatabaseProjectSetResponse, error)
ParseDatabaseProjectSetResponse parses an HTTP response from a DatabaseProjectSetWithResponse call
func (DatabaseProjectSetResponse) ContentType ¶
func (r DatabaseProjectSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseProjectSetResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseProjectSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseProjectSetResponse) GetBody ¶
func (r DatabaseProjectSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseProjectSetResponse) Status ¶
func (r DatabaseProjectSetResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseProjectSetResponse) StatusCode ¶
func (r DatabaseProjectSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabasePublicAccessInputBody ¶
type DatabasePublicAccessInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabasePublicAccessInputBody.json
Schema *string `json:"$schema,omitempty"`
Enabled bool `json:"enabled"`
}
DatabasePublicAccessInputBody defines model for DatabasePublicAccessInputBody.
type DatabasePublicAccessSetJSONRequestBody ¶
type DatabasePublicAccessSetJSONRequestBody = DatabasePublicAccessInputBody
DatabasePublicAccessSetJSONRequestBody defines body for DatabasePublicAccessSet for application/json ContentType.
type DatabasePublicAccessSetResponse ¶
type DatabasePublicAccessSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabasePublicAccessSetResponse ¶
func ParseDatabasePublicAccessSetResponse(rsp *http.Response) (*DatabasePublicAccessSetResponse, error)
ParseDatabasePublicAccessSetResponse parses an HTTP response from a DatabasePublicAccessSetWithResponse call
func (DatabasePublicAccessSetResponse) ContentType ¶
func (r DatabasePublicAccessSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabasePublicAccessSetResponse) GetApplicationproblemJSONDefault ¶
func (r DatabasePublicAccessSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabasePublicAccessSetResponse) GetBody ¶
func (r DatabasePublicAccessSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabasePublicAccessSetResponse) Status ¶
func (r DatabasePublicAccessSetResponse) Status() string
Status returns HTTPResponse.Status
func (DatabasePublicAccessSetResponse) StatusCode ¶
func (r DatabasePublicAccessSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseResizeInputBody ¶
type DatabaseResizeInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseResizeInputBody.json
Schema *string `json:"$schema,omitempty"`
// Plan Target plan slug; must not shrink the disk or lower the price
Plan string `json:"plan"`
}
DatabaseResizeInputBody defines model for DatabaseResizeInputBody.
type DatabaseResizeJSONRequestBody ¶
type DatabaseResizeJSONRequestBody = DatabaseResizeInputBody
DatabaseResizeJSONRequestBody defines body for DatabaseResize for application/json ContentType.
type DatabaseResizeResponse ¶
type DatabaseResizeResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseResizeResponse ¶
func ParseDatabaseResizeResponse(rsp *http.Response) (*DatabaseResizeResponse, error)
ParseDatabaseResizeResponse parses an HTTP response from a DatabaseResizeWithResponse call
func (DatabaseResizeResponse) ContentType ¶
func (r DatabaseResizeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseResizeResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseResizeResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseResizeResponse) GetBody ¶
func (r DatabaseResizeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseResizeResponse) Status ¶
func (r DatabaseResizeResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseResizeResponse) StatusCode ¶
func (r DatabaseResizeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseRestoreCreateJSONRequestBody ¶
type DatabaseRestoreCreateJSONRequestBody = DatabaseRestoreInputBody
DatabaseRestoreCreateJSONRequestBody defines body for DatabaseRestoreCreate for application/json ContentType.
type DatabaseRestoreCreateResponse ¶
type DatabaseRestoreCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *DatabaseBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseRestoreCreateResponse ¶
func ParseDatabaseRestoreCreateResponse(rsp *http.Response) (*DatabaseRestoreCreateResponse, error)
ParseDatabaseRestoreCreateResponse parses an HTTP response from a DatabaseRestoreCreateWithResponse call
func (DatabaseRestoreCreateResponse) ContentType ¶
func (r DatabaseRestoreCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseRestoreCreateResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseRestoreCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseRestoreCreateResponse) GetBody ¶
func (r DatabaseRestoreCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseRestoreCreateResponse) GetJSON202 ¶
func (r DatabaseRestoreCreateResponse) GetJSON202() *DatabaseBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DatabaseRestoreCreateResponse) Status ¶
func (r DatabaseRestoreCreateResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseRestoreCreateResponse) StatusCode ¶
func (r DatabaseRestoreCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseRestoreInputBody ¶
type DatabaseRestoreInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseRestoreInputBody.json
Schema *string `json:"$schema,omitempty"`
// Name Name of the NEW database instance
Name string `json:"name"`
// TargetTime Point in time to restore to (within the last 7 days)
TargetTime time.Time `json:"target_time"`
}
DatabaseRestoreInputBody defines model for DatabaseRestoreInputBody.
type DatabaseTagsSetJSONRequestBody ¶
type DatabaseTagsSetJSONRequestBody = TagsBody
DatabaseTagsSetJSONRequestBody defines body for DatabaseTagsSet for application/json ContentType.
type DatabaseTagsSetResponse ¶
type DatabaseTagsSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TagsBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseTagsSetResponse ¶
func ParseDatabaseTagsSetResponse(rsp *http.Response) (*DatabaseTagsSetResponse, error)
ParseDatabaseTagsSetResponse parses an HTTP response from a DatabaseTagsSetWithResponse call
func (DatabaseTagsSetResponse) ContentType ¶
func (r DatabaseTagsSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseTagsSetResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseTagsSetResponse) GetBody ¶
func (r DatabaseTagsSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseTagsSetResponse) GetJSON200 ¶
func (r DatabaseTagsSetResponse) GetJSON200() *TagsBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DatabaseTagsSetResponse) Status ¶
func (r DatabaseTagsSetResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseTagsSetResponse) StatusCode ¶
func (r DatabaseTagsSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseTrustedSourceBody ¶
type DatabaseTrustedSourceBody struct {
// Cidr Address or CIDR; plain addresses canonicalize to /32
Cidr string `json:"cidr"`
Note *string `json:"note,omitempty"`
}
DatabaseTrustedSourceBody defines model for DatabaseTrustedSourceBody.
type DatabaseTrustedSourcesInputBody ¶
type DatabaseTrustedSourcesInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseTrustedSourcesInputBody.json
Schema *string `json:"$schema,omitempty"`
// Sources Full set (whole-set replace)
Sources *[]DatabaseTrustedSourceBody `json:"sources"`
}
DatabaseTrustedSourcesInputBody defines model for DatabaseTrustedSourcesInputBody.
type DatabaseTrustedSourcesSetJSONRequestBody ¶
type DatabaseTrustedSourcesSetJSONRequestBody = DatabaseTrustedSourcesInputBody
DatabaseTrustedSourcesSetJSONRequestBody defines body for DatabaseTrustedSourcesSet for application/json ContentType.
type DatabaseTrustedSourcesSetResponse ¶
type DatabaseTrustedSourcesSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseTrustedSourcesSetResponse ¶
func ParseDatabaseTrustedSourcesSetResponse(rsp *http.Response) (*DatabaseTrustedSourcesSetResponse, error)
ParseDatabaseTrustedSourcesSetResponse parses an HTTP response from a DatabaseTrustedSourcesSetWithResponse call
func (DatabaseTrustedSourcesSetResponse) ContentType ¶
func (r DatabaseTrustedSourcesSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseTrustedSourcesSetResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseTrustedSourcesSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseTrustedSourcesSetResponse) GetBody ¶
func (r DatabaseTrustedSourcesSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseTrustedSourcesSetResponse) Status ¶
func (r DatabaseTrustedSourcesSetResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseTrustedSourcesSetResponse) StatusCode ¶
func (r DatabaseTrustedSourcesSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseUserBody ¶
type DatabaseUserBody struct {
CreatedAt time.Time `json:"created_at"`
// CreatedByAttachment Managed by an app attachment; cannot be deleted from here
CreatedByAttachment bool `json:"created_by_attachment"`
Id string `json:"id"`
Username string `json:"username"`
}
DatabaseUserBody defines model for DatabaseUserBody.
type DatabaseUserCreateInputBody ¶
type DatabaseUserCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseUserCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Username Lowercase letters, digits, underscore
Username string `json:"username"`
}
DatabaseUserCreateInputBody defines model for DatabaseUserCreateInputBody.
type DatabaseUserCreateJSONRequestBody ¶
type DatabaseUserCreateJSONRequestBody = DatabaseUserCreateInputBody
DatabaseUserCreateJSONRequestBody defines body for DatabaseUserCreate for application/json ContentType.
type DatabaseUserCreateOutputBody ¶
type DatabaseUserCreateOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseUserCreateOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Password Shown once here; later reads go through the audited connection view
Password string `json:"password"`
Username string `json:"username"`
}
DatabaseUserCreateOutputBody defines model for DatabaseUserCreateOutputBody.
type DatabaseUserCreateResponse ¶
type DatabaseUserCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *DatabaseUserCreateOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseUserCreateResponse ¶
func ParseDatabaseUserCreateResponse(rsp *http.Response) (*DatabaseUserCreateResponse, error)
ParseDatabaseUserCreateResponse parses an HTTP response from a DatabaseUserCreateWithResponse call
func (DatabaseUserCreateResponse) ContentType ¶
func (r DatabaseUserCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseUserCreateResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseUserCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseUserCreateResponse) GetBody ¶
func (r DatabaseUserCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseUserCreateResponse) GetJSON202 ¶
func (r DatabaseUserCreateResponse) GetJSON202() *DatabaseUserCreateOutputBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DatabaseUserCreateResponse) Status ¶
func (r DatabaseUserCreateResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseUserCreateResponse) StatusCode ¶
func (r DatabaseUserCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseUserDeleteResponse ¶
type DatabaseUserDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseUserDeleteResponse ¶
func ParseDatabaseUserDeleteResponse(rsp *http.Response) (*DatabaseUserDeleteResponse, error)
ParseDatabaseUserDeleteResponse parses an HTTP response from a DatabaseUserDeleteWithResponse call
func (DatabaseUserDeleteResponse) ContentType ¶
func (r DatabaseUserDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseUserDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseUserDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseUserDeleteResponse) GetBody ¶
func (r DatabaseUserDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseUserDeleteResponse) Status ¶
func (r DatabaseUserDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseUserDeleteResponse) StatusCode ¶
func (r DatabaseUserDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseUserPasswordResetResponse ¶
type DatabaseUserPasswordResetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *DatabaseUserResetOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabaseUserPasswordResetResponse ¶
func ParseDatabaseUserPasswordResetResponse(rsp *http.Response) (*DatabaseUserPasswordResetResponse, error)
ParseDatabaseUserPasswordResetResponse parses an HTTP response from a DatabaseUserPasswordResetWithResponse call
func (DatabaseUserPasswordResetResponse) ContentType ¶
func (r DatabaseUserPasswordResetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabaseUserPasswordResetResponse) GetApplicationproblemJSONDefault ¶
func (r DatabaseUserPasswordResetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabaseUserPasswordResetResponse) GetBody ¶
func (r DatabaseUserPasswordResetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabaseUserPasswordResetResponse) GetJSON202 ¶
func (r DatabaseUserPasswordResetResponse) GetJSON202() *DatabaseUserResetOutputBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (DatabaseUserPasswordResetResponse) Status ¶
func (r DatabaseUserPasswordResetResponse) Status() string
Status returns HTTPResponse.Status
func (DatabaseUserPasswordResetResponse) StatusCode ¶
func (r DatabaseUserPasswordResetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DatabaseUserResetOutputBody ¶
type DatabaseUserResetOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabaseUserResetOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Password The new credential; existing connections keep working until the apply lands
Password string `json:"password"`
}
DatabaseUserResetOutputBody defines model for DatabaseUserResetOutputBody.
type DatabasesListOutputBody ¶
type DatabasesListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DatabasesListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Databases *[]DatabaseBody `json:"databases"`
Total int64 `json:"total"`
}
DatabasesListOutputBody defines model for DatabasesListOutputBody.
type DatabasesListParams ¶
type DatabasesListParams struct {
// Project Project UUID, or the literal 'none' for resources in no project at all
Project *string `form:"project,omitempty" json:"project,omitempty"`
// Tag Filter by tag. Repeat to require several: ?tag=env:prod&tag=role:web returns only what carries both.
Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
DatabasesListParams defines parameters for DatabasesList.
type DatabasesListResponse ¶
type DatabasesListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DatabasesListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDatabasesListResponse ¶
func ParseDatabasesListResponse(rsp *http.Response) (*DatabasesListResponse, error)
ParseDatabasesListResponse parses an HTTP response from a DatabasesListWithResponse call
func (DatabasesListResponse) ContentType ¶
func (r DatabasesListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DatabasesListResponse) GetApplicationproblemJSONDefault ¶
func (r DatabasesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DatabasesListResponse) GetBody ¶
func (r DatabasesListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DatabasesListResponse) GetJSON200 ¶
func (r DatabasesListResponse) GetJSON200() *DatabasesListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DatabasesListResponse) Status ¶
func (r DatabasesListResponse) Status() string
Status returns HTTPResponse.Status
func (DatabasesListResponse) StatusCode ¶
func (r DatabasesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DbAlertSaveInputBody ¶
type DbAlertSaveInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DbAlertSaveInputBody.json
Schema *string `json:"$schema,omitempty"`
DurationMin int32 `json:"duration_min"`
Enabled bool `json:"enabled"`
// Metric Metric to watch. net_out is the outbound rate as a share of the plan's bandwidth cap; traffic is month-to-date outbound against the plan's monthly allowance
Metric DbAlertSaveInputBodyMetric `json:"metric"`
ThresholdPct float32 `json:"threshold_pct"`
}
DbAlertSaveInputBody defines model for DbAlertSaveInputBody.
type DbAlertSaveInputBodyMetric ¶
type DbAlertSaveInputBodyMetric string
DbAlertSaveInputBodyMetric Metric to watch. net_out is the outbound rate as a share of the plan's bandwidth cap; traffic is month-to-date outbound against the plan's monthly allowance
const ( DbAlertSaveInputBodyMetricCpu DbAlertSaveInputBodyMetric = "cpu" DbAlertSaveInputBodyMetricDisk DbAlertSaveInputBodyMetric = "disk" DbAlertSaveInputBodyMetricMemory DbAlertSaveInputBodyMetric = "memory" DbAlertSaveInputBodyMetricNetOut DbAlertSaveInputBodyMetric = "net_out" DbAlertSaveInputBodyMetricTraffic DbAlertSaveInputBodyMetric = "traffic" )
Defines values for DbAlertSaveInputBodyMetric.
func (DbAlertSaveInputBodyMetric) Valid ¶
func (e DbAlertSaveInputBodyMetric) Valid() bool
Valid indicates whether the value is a known member of the DbAlertSaveInputBodyMetric enum.
type DbAlertsListOutputBody ¶
type DbAlertsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DbAlertsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Alerts *[]AlertBody `json:"alerts"`
}
DbAlertsListOutputBody defines model for DbAlertsListOutputBody.
type DbMetricPointBody ¶
type DbMetricPointBody struct {
At time.Time `json:"at"`
// CpuPct CPU utilisation, percent
CpuPct float32 `json:"cpu_pct"`
// DiskRead Disk read throughput, bytes/sec
DiskRead int64 `json:"disk_read"`
// DiskWrite Disk write throughput, bytes/sec
DiskWrite int64 `json:"disk_write"`
MemBytes int64 `json:"mem_bytes"`
// NetIn Inbound network throughput, bytes/sec
NetIn int64 `json:"net_in"`
// NetOut Outbound network throughput, bytes/sec
NetOut int64 `json:"net_out"`
}
DbMetricPointBody defines model for DbMetricPointBody.
type DbMetricsOutputBody ¶
type DbMetricsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DbMetricsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Points *[]DbMetricPointBody `json:"points"`
}
DbMetricsOutputBody defines model for DbMetricsOutputBody.
type DecisionInputBody ¶ added in v0.2.0
type DecisionInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DecisionInputBody.json
Schema *string `json:"$schema,omitempty"`
Approve bool `json:"approve"`
OrganizationId *string `json:"organization_id,omitempty"`
Scopes *[]string `json:"scopes,omitempty"`
}
DecisionInputBody defines model for DecisionInputBody.
type DecisionOutputBody ¶ added in v0.2.0
type DecisionOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DecisionOutputBody.json
Schema *string `json:"$schema,omitempty"`
RedirectTo string `json:"redirect_to"`
}
DecisionOutputBody defines model for DecisionOutputBody.
type DeletionBlockersBody ¶
type DeletionBlockersBody struct {
Apps bool `json:"apps"`
// Balance A positive wallet balance. It is the customer's money, so closing over it would be keeping it
Balance bool `json:"balance"`
Databases bool `json:"databases"`
DnsZones bool `json:"dns_zones"`
PendingPayment bool `json:"pending_payment"`
Servers bool `json:"servers"`
// SharedOrganization An organization they own that still has other members
Volumes bool `json:"volumes"`
}
DeletionBlockersBody defines model for DeletionBlockersBody.
type DeletionRequestInputBody ¶
type DeletionRequestInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DeletionRequestInputBody.json
Schema *string `json:"$schema,omitempty"`
// Password The account's current password. Not required on an account that has none
Password *string `json:"password,omitempty"`
// Reason Optional, recorded in the audit log
Reason *string `json:"reason,omitempty"`
}
DeletionRequestInputBody defines model for DeletionRequestInputBody.
type DeletionRequestOutputBody ¶
type DeletionRequestOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DeletionRequestOutputBody.json
Schema *string `json:"$schema,omitempty"`
ScheduledFor time.Time `json:"scheduled_for"`
}
DeletionRequestOutputBody defines model for DeletionRequestOutputBody.
type DeletionStateOutputBody ¶
type DeletionStateOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DeletionStateOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Blocked True while anything above has to be settled first
Blocked bool `json:"blocked"`
Blockers DeletionBlockersBody `json:"blockers"`
RequestedAt *time.Time `json:"requested_at,omitempty"`
// ScheduledFor When erasure happens if the request is not cancelled
ScheduledFor *time.Time `json:"scheduled_for,omitempty"`
}
DeletionStateOutputBody defines model for DeletionStateOutputBody.
type DiskMetricPointBody ¶ added in v0.3.0
type DiskMetricPointBody struct {
At time.Time `json:"at"`
// BusyPct Highest busy percentage among whole guest disks
BusyPct *float64 `json:"busy_pct"`
// IoWaitPct Guest CPU time waiting for I/O, percent
IoWaitPct *float64 `json:"io_wait_pct"`
// ReadIops Completed disk reads per second; null when unavailable
ReadIops *float64 `json:"read_iops"`
// ReadLatencyMs Mean milliseconds per completed read; null when idle or unavailable
ReadLatencyMs *float64 `json:"read_latency_ms"`
WriteIops *float64 `json:"write_iops"`
WriteLatencyMs *float64 `json:"write_latency_ms"`
}
DiskMetricPointBody defines model for DiskMetricPointBody.
type DiskMetricsOutputBody ¶ added in v0.3.0
type DiskMetricsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DiskMetricsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Points *[]DiskMetricPointBody `json:"points"`
}
DiskMetricsOutputBody defines model for DiskMetricsOutputBody.
type DnsRecordBody ¶
type DnsRecordBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DnsRecordBody.json
Schema *string `json:"$schema,omitempty"`
Content string `json:"content"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
// Name FQDN (apex == zone name)
Name string `json:"name"`
// Priority MX/SRV only
Priority *int32 `json:"priority,omitempty"`
Ttl int32 `json:"ttl"`
Type string `json:"type"`
}
DnsRecordBody defines model for DnsRecordBody.
type DnsRecordCreateJSONRequestBody ¶
type DnsRecordCreateJSONRequestBody = RecordCreateInputBody
DnsRecordCreateJSONRequestBody defines body for DnsRecordCreate for application/json ContentType.
type DnsRecordCreateParams ¶
type DnsRecordCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
DnsRecordCreateParams defines parameters for DnsRecordCreate.
type DnsRecordCreateResponse ¶
type DnsRecordCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *DnsRecordBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDnsRecordCreateResponse ¶
func ParseDnsRecordCreateResponse(rsp *http.Response) (*DnsRecordCreateResponse, error)
ParseDnsRecordCreateResponse parses an HTTP response from a DnsRecordCreateWithResponse call
func (DnsRecordCreateResponse) ContentType ¶
func (r DnsRecordCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DnsRecordCreateResponse) GetApplicationproblemJSONDefault ¶
func (r DnsRecordCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DnsRecordCreateResponse) GetBody ¶
func (r DnsRecordCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DnsRecordCreateResponse) GetJSON201 ¶
func (r DnsRecordCreateResponse) GetJSON201() *DnsRecordBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (DnsRecordCreateResponse) Status ¶
func (r DnsRecordCreateResponse) Status() string
Status returns HTTPResponse.Status
func (DnsRecordCreateResponse) StatusCode ¶
func (r DnsRecordCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DnsRecordDeleteResponse ¶
type DnsRecordDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDnsRecordDeleteResponse ¶
func ParseDnsRecordDeleteResponse(rsp *http.Response) (*DnsRecordDeleteResponse, error)
ParseDnsRecordDeleteResponse parses an HTTP response from a DnsRecordDeleteWithResponse call
func (DnsRecordDeleteResponse) ContentType ¶
func (r DnsRecordDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DnsRecordDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r DnsRecordDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DnsRecordDeleteResponse) GetBody ¶
func (r DnsRecordDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DnsRecordDeleteResponse) Status ¶
func (r DnsRecordDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DnsRecordDeleteResponse) StatusCode ¶
func (r DnsRecordDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DnsRecordUpdateJSONRequestBody ¶
type DnsRecordUpdateJSONRequestBody = RecordUpdateInputBody
DnsRecordUpdateJSONRequestBody defines body for DnsRecordUpdate for application/json ContentType.
type DnsRecordUpdateResponse ¶
type DnsRecordUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DnsRecordBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDnsRecordUpdateResponse ¶
func ParseDnsRecordUpdateResponse(rsp *http.Response) (*DnsRecordUpdateResponse, error)
ParseDnsRecordUpdateResponse parses an HTTP response from a DnsRecordUpdateWithResponse call
func (DnsRecordUpdateResponse) ContentType ¶
func (r DnsRecordUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DnsRecordUpdateResponse) GetApplicationproblemJSONDefault ¶
func (r DnsRecordUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DnsRecordUpdateResponse) GetBody ¶
func (r DnsRecordUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DnsRecordUpdateResponse) GetJSON200 ¶
func (r DnsRecordUpdateResponse) GetJSON200() *DnsRecordBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DnsRecordUpdateResponse) Status ¶
func (r DnsRecordUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (DnsRecordUpdateResponse) StatusCode ¶
func (r DnsRecordUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DnsZoneBody ¶
type DnsZoneBody struct {
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
Name string `json:"name"`
// Nameservers NS hostnames to set at the registrar for the zone to go live
Nameservers *[]string `json:"nameservers"`
ProjectId *string `json:"project_id,omitempty"`
// Tags Tags this resource carries. Set them with PUT .../tags.
Tags *[]string `json:"tags"`
}
DnsZoneBody defines model for DnsZoneBody.
type DnsZoneCreateJSONRequestBody ¶
type DnsZoneCreateJSONRequestBody = ZoneCreateInputBody
DnsZoneCreateJSONRequestBody defines body for DnsZoneCreate for application/json ContentType.
type DnsZoneCreateParams ¶
type DnsZoneCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
DnsZoneCreateParams defines parameters for DnsZoneCreate.
type DnsZoneCreateResponse ¶
type DnsZoneCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ZoneDetailOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDnsZoneCreateResponse ¶
func ParseDnsZoneCreateResponse(rsp *http.Response) (*DnsZoneCreateResponse, error)
ParseDnsZoneCreateResponse parses an HTTP response from a DnsZoneCreateWithResponse call
func (DnsZoneCreateResponse) ContentType ¶
func (r DnsZoneCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DnsZoneCreateResponse) GetApplicationproblemJSONDefault ¶
func (r DnsZoneCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DnsZoneCreateResponse) GetBody ¶
func (r DnsZoneCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DnsZoneCreateResponse) GetJSON201 ¶
func (r DnsZoneCreateResponse) GetJSON201() *ZoneDetailOutputBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (DnsZoneCreateResponse) Status ¶
func (r DnsZoneCreateResponse) Status() string
Status returns HTTPResponse.Status
func (DnsZoneCreateResponse) StatusCode ¶
func (r DnsZoneCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DnsZoneDeleteResponse ¶
type DnsZoneDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDnsZoneDeleteResponse ¶
func ParseDnsZoneDeleteResponse(rsp *http.Response) (*DnsZoneDeleteResponse, error)
ParseDnsZoneDeleteResponse parses an HTTP response from a DnsZoneDeleteWithResponse call
func (DnsZoneDeleteResponse) ContentType ¶
func (r DnsZoneDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DnsZoneDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r DnsZoneDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DnsZoneDeleteResponse) GetBody ¶
func (r DnsZoneDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DnsZoneDeleteResponse) Status ¶
func (r DnsZoneDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DnsZoneDeleteResponse) StatusCode ¶
func (r DnsZoneDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DnsZoneGetResponse ¶
type DnsZoneGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ZoneDetailOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDnsZoneGetResponse ¶
func ParseDnsZoneGetResponse(rsp *http.Response) (*DnsZoneGetResponse, error)
ParseDnsZoneGetResponse parses an HTTP response from a DnsZoneGetWithResponse call
func (DnsZoneGetResponse) ContentType ¶
func (r DnsZoneGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DnsZoneGetResponse) GetApplicationproblemJSONDefault ¶
func (r DnsZoneGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DnsZoneGetResponse) GetBody ¶
func (r DnsZoneGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DnsZoneGetResponse) GetJSON200 ¶
func (r DnsZoneGetResponse) GetJSON200() *ZoneDetailOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DnsZoneGetResponse) Status ¶
func (r DnsZoneGetResponse) Status() string
Status returns HTTPResponse.Status
func (DnsZoneGetResponse) StatusCode ¶
func (r DnsZoneGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DnsZoneProjectSetJSONRequestBody ¶
type DnsZoneProjectSetJSONRequestBody = ProjectAssignmentBody
DnsZoneProjectSetJSONRequestBody defines body for DnsZoneProjectSet for application/json ContentType.
type DnsZoneProjectSetResponse ¶
type DnsZoneProjectSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDnsZoneProjectSetResponse ¶
func ParseDnsZoneProjectSetResponse(rsp *http.Response) (*DnsZoneProjectSetResponse, error)
ParseDnsZoneProjectSetResponse parses an HTTP response from a DnsZoneProjectSetWithResponse call
func (DnsZoneProjectSetResponse) ContentType ¶
func (r DnsZoneProjectSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DnsZoneProjectSetResponse) GetApplicationproblemJSONDefault ¶
func (r DnsZoneProjectSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DnsZoneProjectSetResponse) GetBody ¶
func (r DnsZoneProjectSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DnsZoneProjectSetResponse) Status ¶
func (r DnsZoneProjectSetResponse) Status() string
Status returns HTTPResponse.Status
func (DnsZoneProjectSetResponse) StatusCode ¶
func (r DnsZoneProjectSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DnsZoneTagsSetJSONRequestBody ¶
type DnsZoneTagsSetJSONRequestBody = TagsBody
DnsZoneTagsSetJSONRequestBody defines body for DnsZoneTagsSet for application/json ContentType.
type DnsZoneTagsSetResponse ¶
type DnsZoneTagsSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TagsBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDnsZoneTagsSetResponse ¶
func ParseDnsZoneTagsSetResponse(rsp *http.Response) (*DnsZoneTagsSetResponse, error)
ParseDnsZoneTagsSetResponse parses an HTTP response from a DnsZoneTagsSetWithResponse call
func (DnsZoneTagsSetResponse) ContentType ¶
func (r DnsZoneTagsSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DnsZoneTagsSetResponse) GetApplicationproblemJSONDefault ¶
func (r DnsZoneTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DnsZoneTagsSetResponse) GetBody ¶
func (r DnsZoneTagsSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DnsZoneTagsSetResponse) GetJSON200 ¶
func (r DnsZoneTagsSetResponse) GetJSON200() *TagsBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DnsZoneTagsSetResponse) Status ¶
func (r DnsZoneTagsSetResponse) Status() string
Status returns HTTPResponse.Status
func (DnsZoneTagsSetResponse) StatusCode ¶
func (r DnsZoneTagsSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DnsZonesListParams ¶
type DnsZonesListParams struct {
// Project Project UUID, or the literal 'none' for resources in no project at all
Project *string `form:"project,omitempty" json:"project,omitempty"`
// Tag Filter by tag. Repeat to require several: ?tag=env:prod&tag=role:web returns only what carries both.
Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
DnsZonesListParams defines parameters for DnsZonesList.
type DnsZonesListResponse ¶
type DnsZonesListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ZonesListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDnsZonesListResponse ¶
func ParseDnsZonesListResponse(rsp *http.Response) (*DnsZonesListResponse, error)
ParseDnsZonesListResponse parses an HTTP response from a DnsZonesListWithResponse call
func (DnsZonesListResponse) ContentType ¶
func (r DnsZonesListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DnsZonesListResponse) GetApplicationproblemJSONDefault ¶
func (r DnsZonesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DnsZonesListResponse) GetBody ¶
func (r DnsZonesListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DnsZonesListResponse) GetJSON200 ¶
func (r DnsZonesListResponse) GetJSON200() *ZonesListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DnsZonesListResponse) Status ¶
func (r DnsZonesListResponse) Status() string
Status returns HTTPResponse.Status
func (DnsZonesListResponse) StatusCode ¶
func (r DnsZonesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainAutoRenewInputBody ¶
type DomainAutoRenewInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainAutoRenewInputBody.json
Schema *string `json:"$schema,omitempty"`
AutoRenew bool `json:"auto_renew"`
}
DomainAutoRenewInputBody defines model for DomainAutoRenewInputBody.
type DomainAutoRenewSetJSONRequestBody ¶
type DomainAutoRenewSetJSONRequestBody = DomainAutoRenewInputBody
DomainAutoRenewSetJSONRequestBody defines body for DomainAutoRenewSet for application/json ContentType.
type DomainAutoRenewSetResponse ¶
type DomainAutoRenewSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainAutoRenewSetResponse ¶
func ParseDomainAutoRenewSetResponse(rsp *http.Response) (*DomainAutoRenewSetResponse, error)
ParseDomainAutoRenewSetResponse parses an HTTP response from a DomainAutoRenewSetWithResponse call
func (DomainAutoRenewSetResponse) ContentType ¶
func (r DomainAutoRenewSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainAutoRenewSetResponse) GetApplicationproblemJSONDefault ¶
func (r DomainAutoRenewSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainAutoRenewSetResponse) GetBody ¶
func (r DomainAutoRenewSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainAutoRenewSetResponse) GetJSON200 ¶
func (r DomainAutoRenewSetResponse) GetJSON200() *DomainBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainAutoRenewSetResponse) Status ¶
func (r DomainAutoRenewSetResponse) Status() string
Status returns HTTPResponse.Status
func (DomainAutoRenewSetResponse) StatusCode ¶
func (r DomainAutoRenewSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainBody ¶
type DomainBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainBody.json
Schema *string `json:"$schema,omitempty"`
AutoRenew bool `json:"auto_renew"`
CreatedAt time.Time `json:"created_at"`
DnsZoneId *string `json:"dns_zone_id,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
// Expiring Within 30 days of expiry
Expiring bool `json:"expiring"`
Id string `json:"id"`
LastErrorCode *string `json:"last_error_code,omitempty"`
Name string `json:"name"`
// Nameservers What the customer asked for
Nameservers *[]string `json:"nameservers"`
NameserversApplied *[]string `json:"nameservers_applied"`
PriceCurrency string `json:"price_currency"`
PriceMinor int64 `json:"price_minor"`
Privacy bool `json:"privacy"`
ProjectId *string `json:"project_id,omitempty"`
RegisteredAt *time.Time `json:"registered_at,omitempty"`
RegistrarLock bool `json:"registrar_lock"`
// State SETTLED on active, expired, redemption or failed; registering and transfer_pending are in flight. A register settles on active, and failed carries a full refund.
State DomainBodyState `json:"state"`
// Tags Tags this resource carries. Set them with PUT .../tags.
Tags *[]string `json:"tags"`
Tld string `json:"tld"`
TransferableAt *time.Time `json:"transferable_at,omitempty"`
Years int64 `json:"years"`
}
DomainBody defines model for DomainBody.
type DomainBodyState ¶
type DomainBodyState string
DomainBodyState SETTLED on active, expired, redemption or failed; registering and transfer_pending are in flight. A register settles on active, and failed carries a full refund.
const ( DomainBodyStateActive DomainBodyState = "active" DomainBodyStateExpired DomainBodyState = "expired" DomainBodyStateFailed DomainBodyState = "failed" DomainBodyStateRedemption DomainBodyState = "redemption" DomainBodyStateRegistering DomainBodyState = "registering" DomainBodyStateTransferPending DomainBodyState = "transfer_pending" )
Defines values for DomainBodyState.
func (DomainBodyState) Valid ¶
func (e DomainBodyState) Valid() bool
Valid indicates whether the value is a known member of the DomainBodyState enum.
type DomainContactBody ¶
type DomainContactBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainContactBody.json
Schema *string `json:"$schema,omitempty"`
AddressLine1 string `json:"address_line1"`
AddressLine2 string `json:"address_line2"`
City string `json:"city"`
Company string `json:"company"`
Country string `json:"country"`
Email string `json:"email"`
FirstName string `json:"first_name"`
Id string `json:"id"`
IsDefault bool `json:"is_default"`
Label string `json:"label"`
LastName string `json:"last_name"`
// Phone E.164
Phone string `json:"phone"`
PhoneCountry string `json:"phone_country"`
PostalCode string `json:"postal_code"`
StateProvince string `json:"state_province"`
}
DomainContactBody defines model for DomainContactBody.
type DomainContactBodyInput ¶
type DomainContactBodyInput struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainContactBodyInput.json
Schema *string `json:"$schema,omitempty"`
AddressLine1 string `json:"address_line1"`
AddressLine2 *string `json:"address_line2,omitempty"`
City string `json:"city"`
Company *string `json:"company,omitempty"`
// Country ISO-3166 alpha-2
Country string `json:"country"`
Email string `json:"email"`
FirstName string `json:"first_name"`
IsDefault *bool `json:"is_default,omitempty"`
Label *string `json:"label,omitempty"`
LastName string `json:"last_name"`
Phone string `json:"phone"`
// PhoneCountry ISO-3166 alpha-2; defaults to the address country
PhoneCountry *string `json:"phone_country,omitempty"`
PostalCode string `json:"postal_code"`
StateProvince *string `json:"state_province,omitempty"`
}
DomainContactBodyInput defines model for DomainContactBodyInput.
type DomainContactCreateJSONRequestBody ¶
type DomainContactCreateJSONRequestBody = DomainContactBodyInput
DomainContactCreateJSONRequestBody defines body for DomainContactCreate for application/json ContentType.
type DomainContactCreateResponse ¶
type DomainContactCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainContactBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainContactCreateResponse ¶
func ParseDomainContactCreateResponse(rsp *http.Response) (*DomainContactCreateResponse, error)
ParseDomainContactCreateResponse parses an HTTP response from a DomainContactCreateWithResponse call
func (DomainContactCreateResponse) ContentType ¶
func (r DomainContactCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainContactCreateResponse) GetApplicationproblemJSONDefault ¶
func (r DomainContactCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainContactCreateResponse) GetBody ¶
func (r DomainContactCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainContactCreateResponse) GetJSON200 ¶
func (r DomainContactCreateResponse) GetJSON200() *DomainContactBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainContactCreateResponse) Status ¶
func (r DomainContactCreateResponse) Status() string
Status returns HTTPResponse.Status
func (DomainContactCreateResponse) StatusCode ¶
func (r DomainContactCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainContactDeleteResponse ¶
type DomainContactDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainContactDeleteResponse ¶
func ParseDomainContactDeleteResponse(rsp *http.Response) (*DomainContactDeleteResponse, error)
ParseDomainContactDeleteResponse parses an HTTP response from a DomainContactDeleteWithResponse call
func (DomainContactDeleteResponse) ContentType ¶
func (r DomainContactDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainContactDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r DomainContactDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainContactDeleteResponse) GetBody ¶
func (r DomainContactDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainContactDeleteResponse) Status ¶
func (r DomainContactDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DomainContactDeleteResponse) StatusCode ¶
func (r DomainContactDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainContactSuggestOutputBody ¶
type DomainContactSuggestOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainContactSuggestOutputBody.json
Schema *string `json:"$schema,omitempty"`
Contact DomainContactBodyInput `json:"contact"`
Sources map[string]string `json:"sources"`
}
DomainContactSuggestOutputBody defines model for DomainContactSuggestOutputBody.
type DomainContactSuggestResponse ¶
type DomainContactSuggestResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainContactSuggestOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainContactSuggestResponse ¶
func ParseDomainContactSuggestResponse(rsp *http.Response) (*DomainContactSuggestResponse, error)
ParseDomainContactSuggestResponse parses an HTTP response from a DomainContactSuggestWithResponse call
func (DomainContactSuggestResponse) ContentType ¶
func (r DomainContactSuggestResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainContactSuggestResponse) GetApplicationproblemJSONDefault ¶
func (r DomainContactSuggestResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainContactSuggestResponse) GetBody ¶
func (r DomainContactSuggestResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainContactSuggestResponse) GetJSON200 ¶
func (r DomainContactSuggestResponse) GetJSON200() *DomainContactSuggestOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainContactSuggestResponse) Status ¶
func (r DomainContactSuggestResponse) Status() string
Status returns HTTPResponse.Status
func (DomainContactSuggestResponse) StatusCode ¶
func (r DomainContactSuggestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainContactUpdateJSONRequestBody ¶
type DomainContactUpdateJSONRequestBody = DomainContactBodyInput
DomainContactUpdateJSONRequestBody defines body for DomainContactUpdate for application/json ContentType.
type DomainContactUpdateResponse ¶
type DomainContactUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainContactBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainContactUpdateResponse ¶
func ParseDomainContactUpdateResponse(rsp *http.Response) (*DomainContactUpdateResponse, error)
ParseDomainContactUpdateResponse parses an HTTP response from a DomainContactUpdateWithResponse call
func (DomainContactUpdateResponse) ContentType ¶
func (r DomainContactUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainContactUpdateResponse) GetApplicationproblemJSONDefault ¶
func (r DomainContactUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainContactUpdateResponse) GetBody ¶
func (r DomainContactUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainContactUpdateResponse) GetJSON200 ¶
func (r DomainContactUpdateResponse) GetJSON200() *DomainContactBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainContactUpdateResponse) Status ¶
func (r DomainContactUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (DomainContactUpdateResponse) StatusCode ¶
func (r DomainContactUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainContactsListResponse ¶
type DomainContactsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainContactsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainContactsListResponse ¶
func ParseDomainContactsListResponse(rsp *http.Response) (*DomainContactsListResponse, error)
ParseDomainContactsListResponse parses an HTTP response from a DomainContactsListWithResponse call
func (DomainContactsListResponse) ContentType ¶
func (r DomainContactsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainContactsListResponse) GetApplicationproblemJSONDefault ¶
func (r DomainContactsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainContactsListResponse) GetBody ¶
func (r DomainContactsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainContactsListResponse) GetJSON200 ¶
func (r DomainContactsListResponse) GetJSON200() *DomainContactsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainContactsListResponse) Status ¶
func (r DomainContactsListResponse) Status() string
Status returns HTTPResponse.Status
func (DomainContactsListResponse) StatusCode ¶
func (r DomainContactsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainContactsOutputBody ¶
type DomainContactsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainContactsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Contacts *[]DomainContactBody `json:"contacts"`
}
DomainContactsOutputBody defines model for DomainContactsOutputBody.
type DomainEventBody ¶
type DomainEventBody struct {
At time.Time `json:"at"`
Kind string `json:"kind"`
Message string `json:"message"`
Payload interface{} `json:"payload"`
}
DomainEventBody defines model for DomainEventBody.
type DomainFlagInputBody ¶
type DomainFlagInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainFlagInputBody.json
Schema *string `json:"$schema,omitempty"`
Enabled bool `json:"enabled"`
}
DomainFlagInputBody defines model for DomainFlagInputBody.
type DomainGetOutputBody ¶
type DomainGetOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainGetOutputBody.json
Schema *string `json:"$schema,omitempty"`
Contact DomainContactBody `json:"contact"`
Domain DomainBody `json:"domain"`
Events *[]DomainEventBody `json:"events"`
}
DomainGetOutputBody defines model for DomainGetOutputBody.
type DomainGetResponse ¶
type DomainGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainGetOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainGetResponse ¶
func ParseDomainGetResponse(rsp *http.Response) (*DomainGetResponse, error)
ParseDomainGetResponse parses an HTTP response from a DomainGetWithResponse call
func (DomainGetResponse) ContentType ¶
func (r DomainGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainGetResponse) GetApplicationproblemJSONDefault ¶
func (r DomainGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainGetResponse) GetBody ¶
func (r DomainGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainGetResponse) GetJSON200 ¶
func (r DomainGetResponse) GetJSON200() *DomainGetOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainGetResponse) Status ¶
func (r DomainGetResponse) Status() string
Status returns HTTPResponse.Status
func (DomainGetResponse) StatusCode ¶
func (r DomainGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainLockSetJSONRequestBody ¶
type DomainLockSetJSONRequestBody = DomainFlagInputBody
DomainLockSetJSONRequestBody defines body for DomainLockSet for application/json ContentType.
type DomainLockSetResponse ¶
type DomainLockSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainLockSetResponse ¶
func ParseDomainLockSetResponse(rsp *http.Response) (*DomainLockSetResponse, error)
ParseDomainLockSetResponse parses an HTTP response from a DomainLockSetWithResponse call
func (DomainLockSetResponse) ContentType ¶
func (r DomainLockSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainLockSetResponse) GetApplicationproblemJSONDefault ¶
func (r DomainLockSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainLockSetResponse) GetBody ¶
func (r DomainLockSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainLockSetResponse) GetJSON200 ¶
func (r DomainLockSetResponse) GetJSON200() *DomainBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainLockSetResponse) Status ¶
func (r DomainLockSetResponse) Status() string
Status returns HTTPResponse.Status
func (DomainLockSetResponse) StatusCode ¶
func (r DomainLockSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainNameserversInputBody ¶
type DomainNameserversInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainNameserversInputBody.json
Schema *string `json:"$schema,omitempty"`
// Nameservers Two to thirteen hostnames
Nameservers *[]string `json:"nameservers"`
}
DomainNameserversInputBody defines model for DomainNameserversInputBody.
type DomainNameserversSetJSONRequestBody ¶
type DomainNameserversSetJSONRequestBody = DomainNameserversInputBody
DomainNameserversSetJSONRequestBody defines body for DomainNameserversSet for application/json ContentType.
type DomainNameserversSetResponse ¶
type DomainNameserversSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainNameserversSetResponse ¶
func ParseDomainNameserversSetResponse(rsp *http.Response) (*DomainNameserversSetResponse, error)
ParseDomainNameserversSetResponse parses an HTTP response from a DomainNameserversSetWithResponse call
func (DomainNameserversSetResponse) ContentType ¶
func (r DomainNameserversSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainNameserversSetResponse) GetApplicationproblemJSONDefault ¶
func (r DomainNameserversSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainNameserversSetResponse) GetBody ¶
func (r DomainNameserversSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainNameserversSetResponse) GetJSON200 ¶
func (r DomainNameserversSetResponse) GetJSON200() *DomainBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainNameserversSetResponse) Status ¶
func (r DomainNameserversSetResponse) Status() string
Status returns HTTPResponse.Status
func (DomainNameserversSetResponse) StatusCode ¶
func (r DomainNameserversSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainOutputBody ¶
type DomainOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainOutputBody.json
Schema *string `json:"$schema,omitempty"`
ChargeCurrency string `json:"charge_currency"`
ChargedMinor int64 `json:"charged_minor"`
Domain DomainBody `json:"domain"`
}
DomainOutputBody defines model for DomainOutputBody.
type DomainPrivacySetJSONRequestBody ¶
type DomainPrivacySetJSONRequestBody = DomainFlagInputBody
DomainPrivacySetJSONRequestBody defines body for DomainPrivacySet for application/json ContentType.
type DomainPrivacySetResponse ¶
type DomainPrivacySetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainPrivacySetResponse ¶
func ParseDomainPrivacySetResponse(rsp *http.Response) (*DomainPrivacySetResponse, error)
ParseDomainPrivacySetResponse parses an HTTP response from a DomainPrivacySetWithResponse call
func (DomainPrivacySetResponse) ContentType ¶
func (r DomainPrivacySetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainPrivacySetResponse) GetApplicationproblemJSONDefault ¶
func (r DomainPrivacySetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainPrivacySetResponse) GetBody ¶
func (r DomainPrivacySetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainPrivacySetResponse) GetJSON200 ¶
func (r DomainPrivacySetResponse) GetJSON200() *DomainBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainPrivacySetResponse) Status ¶
func (r DomainPrivacySetResponse) Status() string
Status returns HTTPResponse.Status
func (DomainPrivacySetResponse) StatusCode ¶
func (r DomainPrivacySetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainProjectSetJSONRequestBody ¶
type DomainProjectSetJSONRequestBody = ProjectAssignmentBody
DomainProjectSetJSONRequestBody defines body for DomainProjectSet for application/json ContentType.
type DomainProjectSetResponse ¶
type DomainProjectSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainProjectSetResponse ¶
func ParseDomainProjectSetResponse(rsp *http.Response) (*DomainProjectSetResponse, error)
ParseDomainProjectSetResponse parses an HTTP response from a DomainProjectSetWithResponse call
func (DomainProjectSetResponse) ContentType ¶
func (r DomainProjectSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainProjectSetResponse) GetApplicationproblemJSONDefault ¶
func (r DomainProjectSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainProjectSetResponse) GetBody ¶
func (r DomainProjectSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainProjectSetResponse) Status ¶
func (r DomainProjectSetResponse) Status() string
Status returns HTTPResponse.Status
func (DomainProjectSetResponse) StatusCode ¶
func (r DomainProjectSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainRegisterInputBody ¶
type DomainRegisterInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainRegisterInputBody.json
Schema *string `json:"$schema,omitempty"`
AutoRenew *bool `json:"auto_renew,omitempty"`
// ContactId Registrant profile; create one first if you have none
ContactId string `json:"contact_id"`
// Name Full domain name including the extension
Name string `json:"name"`
Privacy *bool `json:"privacy,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
// Tags Tags to give the resource at birth. Lowercased, deduplicated and sorted before storage.
Tags *[]string `json:"tags,omitempty"`
Years int64 `json:"years"`
}
DomainRegisterInputBody defines model for DomainRegisterInputBody.
type DomainRegisterJSONRequestBody ¶
type DomainRegisterJSONRequestBody = DomainRegisterInputBody
DomainRegisterJSONRequestBody defines body for DomainRegister for application/json ContentType.
type DomainRegisterParams ¶
type DomainRegisterParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
DomainRegisterParams defines parameters for DomainRegister.
type DomainRegisterResponse ¶
type DomainRegisterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainRegisterResponse ¶
func ParseDomainRegisterResponse(rsp *http.Response) (*DomainRegisterResponse, error)
ParseDomainRegisterResponse parses an HTTP response from a DomainRegisterWithResponse call
func (DomainRegisterResponse) ContentType ¶
func (r DomainRegisterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainRegisterResponse) GetApplicationproblemJSONDefault ¶
func (r DomainRegisterResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainRegisterResponse) GetBody ¶
func (r DomainRegisterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainRegisterResponse) GetJSON200 ¶
func (r DomainRegisterResponse) GetJSON200() *DomainOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainRegisterResponse) Status ¶
func (r DomainRegisterResponse) Status() string
Status returns HTTPResponse.Status
func (DomainRegisterResponse) StatusCode ¶
func (r DomainRegisterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainRenewInputBody ¶
type DomainRenewInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainRenewInputBody.json
Schema *string `json:"$schema,omitempty"`
Years int64 `json:"years"`
}
DomainRenewInputBody defines model for DomainRenewInputBody.
type DomainRenewJSONRequestBody ¶
type DomainRenewJSONRequestBody = DomainRenewInputBody
DomainRenewJSONRequestBody defines body for DomainRenew for application/json ContentType.
type DomainRenewResponse ¶
type DomainRenewResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainRenewResponse ¶
func ParseDomainRenewResponse(rsp *http.Response) (*DomainRenewResponse, error)
ParseDomainRenewResponse parses an HTTP response from a DomainRenewWithResponse call
func (DomainRenewResponse) ContentType ¶
func (r DomainRenewResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainRenewResponse) GetApplicationproblemJSONDefault ¶
func (r DomainRenewResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainRenewResponse) GetBody ¶
func (r DomainRenewResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainRenewResponse) GetJSON200 ¶
func (r DomainRenewResponse) GetJSON200() *DomainOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainRenewResponse) Status ¶
func (r DomainRenewResponse) Status() string
Status returns HTTPResponse.Status
func (DomainRenewResponse) StatusCode ¶
func (r DomainRenewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainSearchCandidateBody ¶
type DomainSearchCandidateBody struct {
Name string `json:"name"`
PriceCurrency *string `json:"price_currency,omitempty"`
// RegisterPriceMinor One year, present only when status is available
RegisterPriceMinor *int64 `json:"register_price_minor,omitempty"`
Status DomainSearchCandidateBodyStatus `json:"status"`
Tld string `json:"tld"`
Typed bool `json:"typed"`
}
DomainSearchCandidateBody defines model for DomainSearchCandidateBody.
type DomainSearchCandidateBodyStatus ¶
type DomainSearchCandidateBodyStatus string
DomainSearchCandidateBodyStatus defines model for DomainSearchCandidateBody.Status.
const ( DomainSearchCandidateBodyStatusAvailable DomainSearchCandidateBodyStatus = "available" DomainSearchCandidateBodyStatusPremium DomainSearchCandidateBodyStatus = "premium" DomainSearchCandidateBodyStatusReserved DomainSearchCandidateBodyStatus = "reserved" DomainSearchCandidateBodyStatusTaken DomainSearchCandidateBodyStatus = "taken" DomainSearchCandidateBodyStatusUnknown DomainSearchCandidateBodyStatus = "unknown" )
Defines values for DomainSearchCandidateBodyStatus.
func (DomainSearchCandidateBodyStatus) Valid ¶
func (e DomainSearchCandidateBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the DomainSearchCandidateBodyStatus enum.
type DomainSearchInputBody ¶
type DomainSearchInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainSearchInputBody.json
Schema *string `json:"$schema,omitempty"`
// Query What the customer typed, with or without an extension
Query string `json:"query"`
Tlds *[]string `json:"tlds,omitempty"`
}
DomainSearchInputBody defines model for DomainSearchInputBody.
type DomainSearchJSONRequestBody ¶
type DomainSearchJSONRequestBody = DomainSearchInputBody
DomainSearchJSONRequestBody defines body for DomainSearch for application/json ContentType.
type DomainSearchOutputBody ¶
type DomainSearchOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainSearchOutputBody.json
Schema *string `json:"$schema,omitempty"`
Candidates *[]DomainSearchCandidateBody `json:"candidates"`
Query string `json:"query"`
UnofferedTld *string `json:"unoffered_tld,omitempty"`
}
DomainSearchOutputBody defines model for DomainSearchOutputBody.
type DomainSearchResponse ¶
type DomainSearchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainSearchOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainSearchResponse ¶
func ParseDomainSearchResponse(rsp *http.Response) (*DomainSearchResponse, error)
ParseDomainSearchResponse parses an HTTP response from a DomainSearchWithResponse call
func (DomainSearchResponse) ContentType ¶
func (r DomainSearchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainSearchResponse) GetApplicationproblemJSONDefault ¶
func (r DomainSearchResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainSearchResponse) GetBody ¶
func (r DomainSearchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainSearchResponse) GetJSON200 ¶
func (r DomainSearchResponse) GetJSON200() *DomainSearchOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainSearchResponse) Status ¶
func (r DomainSearchResponse) Status() string
Status returns HTTPResponse.Status
func (DomainSearchResponse) StatusCode ¶
func (r DomainSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainTLDBody ¶
type DomainTLDBody struct {
MaxYears int64 `json:"max_years"`
MinYears int64 `json:"min_years"`
// PriceCurrency Currency every price on this row is denominated in
PriceCurrency string `json:"price_currency"`
RegisterPriceMinor int64 `json:"register_price_minor"`
RenewPriceMinor int64 `json:"renew_price_minor"`
// SupportsPrivacy The registry offers WHOIS privacy for this extension
SupportsPrivacy bool `json:"supports_privacy"`
// SupportsTransfer This extension can be transferred in
SupportsTransfer bool `json:"supports_transfer"`
// Tld Extension without the leading dot, e.g. "com"
Tld string `json:"tld"`
TransferPriceMinor int64 `json:"transfer_price_minor"`
}
DomainTLDBody defines model for DomainTLDBody.
type DomainTLDsOutputBody ¶
type DomainTLDsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainTLDsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Enabled bool `json:"enabled"`
Tlds *[]DomainTLDBody `json:"tlds"`
}
DomainTLDsOutputBody defines model for DomainTLDsOutputBody.
type DomainTagsSetJSONRequestBody ¶
type DomainTagsSetJSONRequestBody = TagsBody
DomainTagsSetJSONRequestBody defines body for DomainTagsSet for application/json ContentType.
type DomainTagsSetResponse ¶
type DomainTagsSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TagsBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainTagsSetResponse ¶
func ParseDomainTagsSetResponse(rsp *http.Response) (*DomainTagsSetResponse, error)
ParseDomainTagsSetResponse parses an HTTP response from a DomainTagsSetWithResponse call
func (DomainTagsSetResponse) ContentType ¶
func (r DomainTagsSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainTagsSetResponse) GetApplicationproblemJSONDefault ¶
func (r DomainTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainTagsSetResponse) GetBody ¶
func (r DomainTagsSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainTagsSetResponse) GetJSON200 ¶
func (r DomainTagsSetResponse) GetJSON200() *TagsBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainTagsSetResponse) Status ¶
func (r DomainTagsSetResponse) Status() string
Status returns HTTPResponse.Status
func (DomainTagsSetResponse) StatusCode ¶
func (r DomainTagsSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainTldsListResponse ¶
type DomainTldsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainTLDsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainTldsListResponse ¶
func ParseDomainTldsListResponse(rsp *http.Response) (*DomainTldsListResponse, error)
ParseDomainTldsListResponse parses an HTTP response from a DomainTldsListWithResponse call
func (DomainTldsListResponse) ContentType ¶
func (r DomainTldsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainTldsListResponse) GetApplicationproblemJSONDefault ¶
func (r DomainTldsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainTldsListResponse) GetBody ¶
func (r DomainTldsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainTldsListResponse) GetJSON200 ¶
func (r DomainTldsListResponse) GetJSON200() *DomainTLDsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainTldsListResponse) Status ¶
func (r DomainTldsListResponse) Status() string
Status returns HTTPResponse.Status
func (DomainTldsListResponse) StatusCode ¶
func (r DomainTldsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainTransferInputBody ¶
type DomainTransferInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainTransferInputBody.json
Schema *string `json:"$schema,omitempty"`
// AuthCode Authorization code (auth code / EPP code) from the current provider
AuthCode string `json:"auth_code"`
AutoRenew *bool `json:"auto_renew,omitempty"`
ContactId string `json:"contact_id"`
// Name Full domain name including the extension
Name string `json:"name"`
Privacy *bool `json:"privacy,omitempty"`
ProjectId *string `json:"project_id,omitempty"`
// Tags Tags to give the resource at birth. Lowercased, deduplicated and sorted before storage.
Tags *[]string `json:"tags,omitempty"`
}
DomainTransferInputBody defines model for DomainTransferInputBody.
type DomainTransferJSONRequestBody ¶
type DomainTransferJSONRequestBody = DomainTransferInputBody
DomainTransferJSONRequestBody defines body for DomainTransfer for application/json ContentType.
type DomainTransferResponse ¶
type DomainTransferResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainTransferResponse ¶
func ParseDomainTransferResponse(rsp *http.Response) (*DomainTransferResponse, error)
ParseDomainTransferResponse parses an HTTP response from a DomainTransferWithResponse call
func (DomainTransferResponse) ContentType ¶
func (r DomainTransferResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainTransferResponse) GetApplicationproblemJSONDefault ¶
func (r DomainTransferResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainTransferResponse) GetBody ¶
func (r DomainTransferResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainTransferResponse) GetJSON200 ¶
func (r DomainTransferResponse) GetJSON200() *DomainOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainTransferResponse) Status ¶
func (r DomainTransferResponse) Status() string
Status returns HTTPResponse.Status
func (DomainTransferResponse) StatusCode ¶
func (r DomainTransferResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DomainsListOutputBody ¶
type DomainsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/DomainsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Domains *[]DomainBody `json:"domains"`
Summary SummaryStruct `json:"summary"`
Total int64 `json:"total"`
}
DomainsListOutputBody defines model for DomainsListOutputBody.
type DomainsListParams ¶
type DomainsListParams struct {
// Project Project UUID, or the literal 'none' for resources in no project at all
Project *string `form:"project,omitempty" json:"project,omitempty"`
// Tag Filter by tag. Repeat to require several: ?tag=env:prod&tag=role:web returns only what carries both.
Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
// State Filter by state
State *string `form:"state,omitempty" json:"state,omitempty"`
// Q Substring of the name
Q *string `form:"q,omitempty" json:"q,omitempty"`
}
DomainsListParams defines parameters for DomainsList.
type DomainsListResponse ¶
type DomainsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DomainsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseDomainsListResponse ¶
func ParseDomainsListResponse(rsp *http.Response) (*DomainsListResponse, error)
ParseDomainsListResponse parses an HTTP response from a DomainsListWithResponse call
func (DomainsListResponse) ContentType ¶
func (r DomainsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DomainsListResponse) GetApplicationproblemJSONDefault ¶
func (r DomainsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (DomainsListResponse) GetBody ¶
func (r DomainsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DomainsListResponse) GetJSON200 ¶
func (r DomainsListResponse) GetJSON200() *DomainsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DomainsListResponse) Status ¶
func (r DomainsListResponse) Status() string
Status returns HTTPResponse.Status
func (DomainsListResponse) StatusCode ¶
func (r DomainsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EmailChangeConfirmInputBody ¶
type EmailChangeConfirmInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/EmailChangeConfirmInputBody.json
Schema *string `json:"$schema,omitempty"`
Token string `json:"token"`
}
EmailChangeConfirmInputBody defines model for EmailChangeConfirmInputBody.
type EmailChangeConfirmOutputBody ¶
type EmailChangeConfirmOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/EmailChangeConfirmOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Email The address the account now signs in with
Email string `json:"email"`
}
EmailChangeConfirmOutputBody defines model for EmailChangeConfirmOutputBody.
type EmailChangeInputBody ¶
type EmailChangeInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/EmailChangeInputBody.json
Schema *string `json:"$schema,omitempty"`
NewEmail openapi_types.Email `json:"new_email"`
// Password The account's current password. Not required on an account that has none (social sign-in only)
Password *string `json:"password,omitempty"`
}
EmailChangeInputBody defines model for EmailChangeInputBody.
type EnvVarBody ¶
type EnvVarBody struct {
// Key Shell-exportable name: letters, digits and underscores, not starting with a digit.
Key string `json:"key"`
// Phase When the value applies: run reaches the container as an environment variable (default), build reaches the image build as a Dockerfile ARG, both does each. A build value is bounded to 512 bytes and may not contain newlines, because it becomes one argument of the build command and is echoed into the build log.
Phase *EnvVarBodyPhase `json:"phase,omitempty"`
// Secret Masked in the panel and omitted from exports. NOT an encryption boundary: the node receives every value in the clear, because a container cannot start otherwise. Refused together with a build phase — a build argument stays readable in the built image's history.
Secret *bool `json:"secret,omitempty"`
// Value Plaintext. Sealed before it is stored and decrypted only for the node and for this endpoint.
Value string `json:"value"`
}
EnvVarBody defines model for EnvVarBody.
type EnvVarBodyPhase ¶
type EnvVarBodyPhase string
EnvVarBodyPhase When the value applies: run reaches the container as an environment variable (default), build reaches the image build as a Dockerfile ARG, both does each. A build value is bounded to 512 bytes and may not contain newlines, because it becomes one argument of the build command and is echoed into the build log.
const ( EnvVarBodyPhaseBoth EnvVarBodyPhase = "both" EnvVarBodyPhaseBuild EnvVarBodyPhase = "build" EnvVarBodyPhaseRun EnvVarBodyPhase = "run" )
Defines values for EnvVarBodyPhase.
func (EnvVarBodyPhase) Valid ¶
func (e EnvVarBodyPhase) Valid() bool
Valid indicates whether the value is a known member of the EnvVarBodyPhase enum.
type ErrorDetail ¶
type ErrorDetail struct {
// Location Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Location *string `json:"location,omitempty"`
// Message Error message text
Message *string `json:"message,omitempty"`
// Value The value at the given location
Value interface{} `json:"value,omitempty"`
}
ErrorDetail defines model for ErrorDetail.
type ErrorModel ¶
type ErrorModel struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ErrorModel.json
Schema *string `json:"$schema,omitempty"`
// Detail A human-readable explanation specific to this occurrence of the problem.
//
// Examples: Property foo is required but is missing.
Detail *string `json:"detail,omitempty"`
// Errors Optional list of individual error details
Errors *[]ErrorDetail `json:"errors,omitempty"`
// Instance A URI reference that identifies the specific occurrence of the problem.
//
// Examples: https://example.com/error-log/abc123
Instance *string `json:"instance,omitempty"`
// Status HTTP status code
//
// Examples: 400
Status *int64 `json:"status,omitempty"`
// Title A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
//
// Examples: Bad Request
Title *string `json:"title,omitempty"`
// Type A URI reference to human-readable documentation for the error.
//
// Examples: https://example.com/errors/example
Type *string `json:"type,omitempty"`
}
ErrorModel defines model for ErrorModel.
type EventBody ¶
type EventBody struct {
At time.Time `json:"at"`
Id int64 `json:"id"`
Kind string `json:"kind"`
Message string `json:"message"`
Payload interface{} `json:"payload"`
}
EventBody defines model for EventBody.
type EventsOutputBody ¶
type EventsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/EventsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Events *[]EventBody `json:"events"`
}
EventsOutputBody defines model for EventsOutputBody.
type ExecStartInputBody ¶
type ExecStartInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ExecStartInputBody.json
Schema *string `json:"$schema,omitempty"`
// BuildId Required for kind build: the build whose output to follow
BuildId *string `json:"build_id,omitempty"`
// Kind shell = interactive terminal (organization admin or owner: it runs in the app's environment), logs = follow the container's output, https = follow the edge's access log, build = follow one build's output (build_id required)
Kind ExecStartInputBodyKind `json:"kind"`
// Replica shell/logs only: attach to this replica. Omitted = the lowest running one
Replica *int32 `json:"replica,omitempty"`
}
ExecStartInputBody defines model for ExecStartInputBody.
type ExecStartInputBodyKind ¶
type ExecStartInputBodyKind string
ExecStartInputBodyKind shell = interactive terminal (organization admin or owner: it runs in the app's environment), logs = follow the container's output, https = follow the edge's access log, build = follow one build's output (build_id required)
const ( ExecStartInputBodyKindBuild ExecStartInputBodyKind = "build" ExecStartInputBodyKindHttps ExecStartInputBodyKind = "https" ExecStartInputBodyKindLogs ExecStartInputBodyKind = "logs" ExecStartInputBodyKindShell ExecStartInputBodyKind = "shell" )
Defines values for ExecStartInputBodyKind.
func (ExecStartInputBodyKind) Valid ¶
func (e ExecStartInputBodyKind) Valid() bool
Valid indicates whether the value is a known member of the ExecStartInputBodyKind enum.
type ExecStartOutputBody ¶
type ExecStartOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ExecStartOutputBody.json
Schema *string `json:"$schema,omitempty"`
ExpiresAt time.Time `json:"expires_at"`
SessionId string `json:"session_id"`
// Token Single-use, 60 seconds. Offer it as the second WebSocket subprotocol.
Token string `json:"token"`
}
ExecStartOutputBody defines model for ExecStartOutputBody.
type ExportAccountSummaryRow ¶
type ExportAccountSummaryRow struct {
Consents []byte `json:"Consents"`
Country *string `json:"Country"`
CreatedAt time.Time `json:"CreatedAt"`
DeletionRequestedAt *time.Time `json:"DeletionRequestedAt"`
DeletionScheduledFor *time.Time `json:"DeletionScheduledFor"`
Email string `json:"Email"`
EmailVerifiedAt *time.Time `json:"EmailVerifiedAt"`
FirstName string `json:"FirstName"`
FullName string `json:"FullName"`
ID string `json:"ID"`
LastName string `json:"LastName"`
Locale string `json:"Locale"`
MarketingOptInAt *time.Time `json:"MarketingOptInAt"`
Phone *string `json:"Phone"`
PhoneVerifiedAt *time.Time `json:"PhoneVerifiedAt"`
SuspendedAt *time.Time `json:"SuspendedAt"`
Timezone *string `json:"Timezone"`
}
ExportAccountSummaryRow defines model for ExportAccountSummaryRow.
type ExportUserBillingProfilesRow ¶
type ExportUserBillingProfilesRow struct {
Address string `json:"Address"`
City string `json:"City"`
Country string `json:"Country"`
CreatedAt time.Time `json:"CreatedAt"`
District string `json:"District"`
Kind string `json:"Kind"`
OrganizationID string `json:"OrganizationID"`
OrganizationName string `json:"OrganizationName"`
Phone string `json:"Phone"`
PostalCode string `json:"PostalCode"`
TaxID string `json:"TaxID"`
TaxOffice string `json:"TaxOffice"`
Title string `json:"Title"`
UpdatedAt time.Time `json:"UpdatedAt"`
}
ExportUserBillingProfilesRow defines model for ExportUserBillingProfilesRow.
type ExportUserIdentitiesRow ¶
type ExportUserIdentitiesRow struct {
CreatedAt time.Time `json:"CreatedAt"`
Email string `json:"Email"`
LastLoginAt *time.Time `json:"LastLoginAt"`
Provider string `json:"Provider"`
}
ExportUserIdentitiesRow defines model for ExportUserIdentitiesRow.
type ExportUserOrganizationsRow ¶
type ExportUserOrganizationsRow struct {
ID string `json:"ID"`
IsOwner bool `json:"IsOwner"`
IsPersonal bool `json:"IsPersonal"`
JoinedAt time.Time `json:"JoinedAt"`
Name string `json:"Name"`
Role string `json:"Role"`
}
ExportUserOrganizationsRow defines model for ExportUserOrganizationsRow.
type ExportUserPaymentsRow ¶
type ExportUserPaymentsRow struct {
AmountMinor int64 `json:"AmountMinor"`
CreatedAt time.Time `json:"CreatedAt"`
Currency string `json:"Currency"`
InvoiceIssuedAt *time.Time `json:"InvoiceIssuedAt"`
InvoiceNo *string `json:"InvoiceNo"`
MerchantOid string `json:"MerchantOid"`
Method string `json:"Method"`
PaidAt *time.Time `json:"PaidAt"`
State string `json:"State"`
VatRateBp *int32 `json:"VatRateBp"`
}
ExportUserPaymentsRow defines model for ExportUserPaymentsRow.
type ExportUserResourcesRow ¶
type ExportUserResourcesRow struct {
Code string `json:"Code"`
CreatedAt time.Time `json:"CreatedAt"`
CurrentMember bool `json:"CurrentMember"`
DeletedAt *time.Time `json:"DeletedAt"`
Kind string `json:"Kind"`
Name *string `json:"Name"`
State *string `json:"State"`
}
ExportUserResourcesRow defines model for ExportUserResourcesRow.
type ExportUserSSHKeysRow ¶
type ExportUserSSHKeysRow struct {
CreatedAt time.Time `json:"CreatedAt"`
Fingerprint string `json:"Fingerprint"`
Name string `json:"Name"`
}
ExportUserSSHKeysRow defines model for ExportUserSSHKeysRow.
type ExportUserTicketsRow ¶
type ExportUserTicketsRow struct {
Code string `json:"Code"`
CreatedAt time.Time `json:"CreatedAt"`
CurrentMember bool `json:"CurrentMember"`
Status *string `json:"Status"`
Subject string `json:"Subject"`
}
ExportUserTicketsRow defines model for ExportUserTicketsRow.
type FeatureBody ¶
type FeatureBody struct {
Enabled bool `json:"enabled"`
Group string `json:"group"`
// InUse You still have at least one of these. It stays listed and manageable, and keeps being billed, even when the product is no longer available to create.
InUse bool `json:"in_use"`
Key string `json:"key"`
Label string `json:"label"`
Stage FeatureBodyStage `json:"stage"`
}
FeatureBody defines model for FeatureBody.
type FeatureBodyStage ¶
type FeatureBodyStage string
FeatureBodyStage defines model for FeatureBody.Stage.
const ( Beta FeatureBodyStage = "beta" Ga FeatureBodyStage = "ga" Soon FeatureBodyStage = "soon" )
Defines values for FeatureBodyStage.
func (FeatureBodyStage) Valid ¶
func (e FeatureBodyStage) Valid() bool
Valid indicates whether the value is a known member of the FeatureBodyStage enum.
type FilesystemBody ¶
type FilesystemBody struct {
// At When this mount was last sampled
At time.Time `json:"at"`
Mountpoint string `json:"mountpoint"`
TotalBytes int64 `json:"total_bytes"`
// Type Filesystem type (ext4, xfs, ...)
Type string `json:"type"`
UsedBytes int64 `json:"used_bytes"`
}
FilesystemBody defines model for FilesystemBody.
type FilesystemsOutputBody ¶
type FilesystemsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FilesystemsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Filesystems *[]FilesystemBody `json:"filesystems"`
}
FilesystemsOutputBody defines model for FilesystemsOutputBody.
type FirewallBody ¶
type FirewallBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FirewallBody.json
Schema *string `json:"$schema,omitempty"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
Name string `json:"name"`
RuleCount int64 `json:"rule_count"`
ServerCount int64 `json:"server_count"`
}
FirewallBody defines model for FirewallBody.
type FirewallCreateInputBody ¶
type FirewallCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FirewallCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
Name string `json:"name"`
}
FirewallCreateInputBody defines model for FirewallCreateInputBody.
type FirewallCreateJSONRequestBody ¶
type FirewallCreateJSONRequestBody = FirewallCreateInputBody
FirewallCreateJSONRequestBody defines body for FirewallCreate for application/json ContentType.
type FirewallCreateParams ¶
type FirewallCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
FirewallCreateParams defines parameters for FirewallCreate.
type FirewallCreateResponse ¶
type FirewallCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *FirewallBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFirewallCreateResponse ¶
func ParseFirewallCreateResponse(rsp *http.Response) (*FirewallCreateResponse, error)
ParseFirewallCreateResponse parses an HTTP response from a FirewallCreateWithResponse call
func (FirewallCreateResponse) ContentType ¶
func (r FirewallCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FirewallCreateResponse) GetApplicationproblemJSONDefault ¶
func (r FirewallCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FirewallCreateResponse) GetBody ¶
func (r FirewallCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FirewallCreateResponse) GetJSON201 ¶
func (r FirewallCreateResponse) GetJSON201() *FirewallBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (FirewallCreateResponse) Status ¶
func (r FirewallCreateResponse) Status() string
Status returns HTTPResponse.Status
func (FirewallCreateResponse) StatusCode ¶
func (r FirewallCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FirewallDeleteResponse ¶
type FirewallDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFirewallDeleteResponse ¶
func ParseFirewallDeleteResponse(rsp *http.Response) (*FirewallDeleteResponse, error)
ParseFirewallDeleteResponse parses an HTTP response from a FirewallDeleteWithResponse call
func (FirewallDeleteResponse) ContentType ¶
func (r FirewallDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FirewallDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r FirewallDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FirewallDeleteResponse) GetBody ¶
func (r FirewallDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FirewallDeleteResponse) Status ¶
func (r FirewallDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (FirewallDeleteResponse) StatusCode ¶
func (r FirewallDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FirewallGetOutputBody ¶
type FirewallGetOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FirewallGetOutputBody.json
Schema *string `json:"$schema,omitempty"`
Firewall FirewallBody `json:"firewall"`
Rules *[]FirewallRuleBody `json:"rules"`
Servers *[]FirewallServerBody `json:"servers"`
}
FirewallGetOutputBody defines model for FirewallGetOutputBody.
type FirewallGetResponse ¶
type FirewallGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FirewallGetOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFirewallGetResponse ¶
func ParseFirewallGetResponse(rsp *http.Response) (*FirewallGetResponse, error)
ParseFirewallGetResponse parses an HTTP response from a FirewallGetWithResponse call
func (FirewallGetResponse) ContentType ¶
func (r FirewallGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FirewallGetResponse) GetApplicationproblemJSONDefault ¶
func (r FirewallGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FirewallGetResponse) GetBody ¶
func (r FirewallGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FirewallGetResponse) GetJSON200 ¶
func (r FirewallGetResponse) GetJSON200() *FirewallGetOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FirewallGetResponse) Status ¶
func (r FirewallGetResponse) Status() string
Status returns HTTPResponse.Status
func (FirewallGetResponse) StatusCode ¶
func (r FirewallGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FirewallRuleBody ¶
type FirewallRuleBody struct {
// Direction in = inbound (matches source); out = outbound (source field carries the destination CIDR)
Direction FirewallRuleBodyDirection `json:"direction"`
// PortFrom First port; omit for icmp
PortFrom *int64 `json:"port_from,omitempty"`
// PortTo Last port; omit for a single port
PortTo *int64 `json:"port_to,omitempty"`
Protocol FirewallRuleBodyProtocol `json:"protocol"`
// Source CIDR; inbound = source, outbound = destination. 0.0.0.0/0 = anywhere
Source string `json:"source"`
}
FirewallRuleBody defines model for FirewallRuleBody.
type FirewallRuleBodyDirection ¶
type FirewallRuleBodyDirection string
FirewallRuleBodyDirection in = inbound (matches source); out = outbound (source field carries the destination CIDR)
const ( FirewallRuleBodyDirectionIn FirewallRuleBodyDirection = "in" FirewallRuleBodyDirectionOut FirewallRuleBodyDirection = "out" )
Defines values for FirewallRuleBodyDirection.
func (FirewallRuleBodyDirection) Valid ¶
func (e FirewallRuleBodyDirection) Valid() bool
Valid indicates whether the value is a known member of the FirewallRuleBodyDirection enum.
type FirewallRuleBodyProtocol ¶
type FirewallRuleBodyProtocol string
FirewallRuleBodyProtocol defines model for FirewallRuleBody.Protocol.
const ( FirewallRuleBodyProtocolIcmp FirewallRuleBodyProtocol = "icmp" FirewallRuleBodyProtocolTcp FirewallRuleBodyProtocol = "tcp" FirewallRuleBodyProtocolUdp FirewallRuleBodyProtocol = "udp" )
Defines values for FirewallRuleBodyProtocol.
func (FirewallRuleBodyProtocol) Valid ¶
func (e FirewallRuleBodyProtocol) Valid() bool
Valid indicates whether the value is a known member of the FirewallRuleBodyProtocol enum.
type FirewallRulesPutInputBody ¶
type FirewallRulesPutInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FirewallRulesPutInputBody.json
Schema *string `json:"$schema,omitempty"`
Rules *[]FirewallRuleBody `json:"rules"`
}
FirewallRulesPutInputBody defines model for FirewallRulesPutInputBody.
type FirewallRulesReplaceJSONRequestBody ¶
type FirewallRulesReplaceJSONRequestBody = FirewallRulesPutInputBody
FirewallRulesReplaceJSONRequestBody defines body for FirewallRulesReplace for application/json ContentType.
type FirewallRulesReplaceResponse ¶
type FirewallRulesReplaceResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFirewallRulesReplaceResponse ¶
func ParseFirewallRulesReplaceResponse(rsp *http.Response) (*FirewallRulesReplaceResponse, error)
ParseFirewallRulesReplaceResponse parses an HTTP response from a FirewallRulesReplaceWithResponse call
func (FirewallRulesReplaceResponse) ContentType ¶
func (r FirewallRulesReplaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FirewallRulesReplaceResponse) GetApplicationproblemJSONDefault ¶
func (r FirewallRulesReplaceResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FirewallRulesReplaceResponse) GetBody ¶
func (r FirewallRulesReplaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FirewallRulesReplaceResponse) Status ¶
func (r FirewallRulesReplaceResponse) Status() string
Status returns HTTPResponse.Status
func (FirewallRulesReplaceResponse) StatusCode ¶
func (r FirewallRulesReplaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FirewallServerAttachResponse ¶
type FirewallServerAttachResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFirewallServerAttachResponse ¶
func ParseFirewallServerAttachResponse(rsp *http.Response) (*FirewallServerAttachResponse, error)
ParseFirewallServerAttachResponse parses an HTTP response from a FirewallServerAttachWithResponse call
func (FirewallServerAttachResponse) ContentType ¶
func (r FirewallServerAttachResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FirewallServerAttachResponse) GetApplicationproblemJSONDefault ¶
func (r FirewallServerAttachResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FirewallServerAttachResponse) GetBody ¶
func (r FirewallServerAttachResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FirewallServerAttachResponse) Status ¶
func (r FirewallServerAttachResponse) Status() string
Status returns HTTPResponse.Status
func (FirewallServerAttachResponse) StatusCode ¶
func (r FirewallServerAttachResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FirewallServerBody ¶
type FirewallServerBody struct {
Name string `json:"name"`
ServerId string `json:"server_id"`
State string `json:"state"`
}
FirewallServerBody defines model for FirewallServerBody.
type FirewallServerDetachResponse ¶
type FirewallServerDetachResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFirewallServerDetachResponse ¶
func ParseFirewallServerDetachResponse(rsp *http.Response) (*FirewallServerDetachResponse, error)
ParseFirewallServerDetachResponse parses an HTTP response from a FirewallServerDetachWithResponse call
func (FirewallServerDetachResponse) ContentType ¶
func (r FirewallServerDetachResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FirewallServerDetachResponse) GetApplicationproblemJSONDefault ¶
func (r FirewallServerDetachResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FirewallServerDetachResponse) GetBody ¶
func (r FirewallServerDetachResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FirewallServerDetachResponse) Status ¶
func (r FirewallServerDetachResponse) Status() string
Status returns HTTPResponse.Status
func (FirewallServerDetachResponse) StatusCode ¶
func (r FirewallServerDetachResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FirewallUpdateInputBody ¶
type FirewallUpdateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FirewallUpdateInputBody.json
Schema *string `json:"$schema,omitempty"`
Name string `json:"name"`
}
FirewallUpdateInputBody defines model for FirewallUpdateInputBody.
type FirewallUpdateJSONRequestBody ¶
type FirewallUpdateJSONRequestBody = FirewallUpdateInputBody
FirewallUpdateJSONRequestBody defines body for FirewallUpdate for application/json ContentType.
type FirewallUpdateResponse ¶
type FirewallUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFirewallUpdateResponse ¶
func ParseFirewallUpdateResponse(rsp *http.Response) (*FirewallUpdateResponse, error)
ParseFirewallUpdateResponse parses an HTTP response from a FirewallUpdateWithResponse call
func (FirewallUpdateResponse) ContentType ¶
func (r FirewallUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FirewallUpdateResponse) GetApplicationproblemJSONDefault ¶
func (r FirewallUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FirewallUpdateResponse) GetBody ¶
func (r FirewallUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FirewallUpdateResponse) Status ¶
func (r FirewallUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (FirewallUpdateResponse) StatusCode ¶
func (r FirewallUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FirewallsListOutputBody ¶
type FirewallsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FirewallsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Firewalls *[]FirewallBody `json:"firewalls"`
Total int64 `json:"total"`
}
FirewallsListOutputBody defines model for FirewallsListOutputBody.
type FirewallsListParams ¶
type FirewallsListParams struct {
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
FirewallsListParams defines parameters for FirewallsList.
type FirewallsListResponse ¶
type FirewallsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FirewallsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFirewallsListResponse ¶
func ParseFirewallsListResponse(rsp *http.Response) (*FirewallsListResponse, error)
ParseFirewallsListResponse parses an HTTP response from a FirewallsListWithResponse call
func (FirewallsListResponse) ContentType ¶
func (r FirewallsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FirewallsListResponse) GetApplicationproblemJSONDefault ¶
func (r FirewallsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FirewallsListResponse) GetBody ¶
func (r FirewallsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FirewallsListResponse) GetJSON200 ¶
func (r FirewallsListResponse) GetJSON200() *FirewallsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FirewallsListResponse) Status ¶
func (r FirewallsListResponse) Status() string
Status returns HTTPResponse.Status
func (FirewallsListResponse) StatusCode ¶
func (r FirewallsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FloatingIPBody ¶
type FloatingIPBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FloatingIPBody.json
Schema *string `json:"$schema,omitempty"`
Address string `json:"address"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
// RegionName Display name in the language asked for with Accept-Language (tr, en, de, es). A request without the header, or with none of those languages, gets English. A missing translation falls back to English (for any language but tr), then to the base name.
RegionName *string `json:"region_name,omitempty"`
RegionSlug *string `json:"region_slug,omitempty"`
// Server Attached server; absent while detached
Server *FloatingIPServerRef `json:"server,omitempty"`
// State SETTLED on active or error; provisioning and deleting are in flight.
State FloatingIPBodyState `json:"state"`
}
FloatingIPBody defines model for FloatingIPBody.
type FloatingIPBodyState ¶
type FloatingIPBodyState string
FloatingIPBodyState SETTLED on active or error; provisioning and deleting are in flight.
const ( FloatingIPBodyStateActive FloatingIPBodyState = "active" FloatingIPBodyStateDeleting FloatingIPBodyState = "deleting" FloatingIPBodyStateError FloatingIPBodyState = "error" FloatingIPBodyStateProvisioning FloatingIPBodyState = "provisioning" )
Defines values for FloatingIPBodyState.
func (FloatingIPBodyState) Valid ¶
func (e FloatingIPBodyState) Valid() bool
Valid indicates whether the value is a known member of the FloatingIPBodyState enum.
type FloatingIPServerRef ¶
type FloatingIPServerRef struct {
Code *string `json:"code,omitempty"`
Id string `json:"id"`
Name *string `json:"name,omitempty"`
}
FloatingIPServerRef defines model for FloatingIPServerRef.
type FloatingIpAttachInputBody ¶
type FloatingIpAttachInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FloatingIpAttachInputBody.json
Schema *string `json:"$schema,omitempty"`
ServerId string `json:"server_id"`
}
FloatingIpAttachInputBody defines model for FloatingIpAttachInputBody.
type FloatingIpAttachJSONRequestBody ¶
type FloatingIpAttachJSONRequestBody = FloatingIpAttachInputBody
FloatingIpAttachJSONRequestBody defines body for FloatingIpAttach for application/json ContentType.
type FloatingIpAttachResponse ¶
type FloatingIpAttachResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFloatingIpAttachResponse ¶
func ParseFloatingIpAttachResponse(rsp *http.Response) (*FloatingIpAttachResponse, error)
ParseFloatingIpAttachResponse parses an HTTP response from a FloatingIpAttachWithResponse call
func (FloatingIpAttachResponse) ContentType ¶
func (r FloatingIpAttachResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FloatingIpAttachResponse) GetApplicationproblemJSONDefault ¶
func (r FloatingIpAttachResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FloatingIpAttachResponse) GetBody ¶
func (r FloatingIpAttachResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FloatingIpAttachResponse) Status ¶
func (r FloatingIpAttachResponse) Status() string
Status returns HTTPResponse.Status
func (FloatingIpAttachResponse) StatusCode ¶
func (r FloatingIpAttachResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FloatingIpCreateInputBody ¶
type FloatingIpCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FloatingIpCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Region Region slug; empty = default region
Region *string `json:"region,omitempty"`
}
FloatingIpCreateInputBody defines model for FloatingIpCreateInputBody.
type FloatingIpCreateJSONRequestBody ¶
type FloatingIpCreateJSONRequestBody = FloatingIpCreateInputBody
FloatingIpCreateJSONRequestBody defines body for FloatingIpCreate for application/json ContentType.
type FloatingIpCreateParams ¶
type FloatingIpCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
FloatingIpCreateParams defines parameters for FloatingIpCreate.
type FloatingIpCreateResponse ¶
type FloatingIpCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *FloatingIPBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFloatingIpCreateResponse ¶
func ParseFloatingIpCreateResponse(rsp *http.Response) (*FloatingIpCreateResponse, error)
ParseFloatingIpCreateResponse parses an HTTP response from a FloatingIpCreateWithResponse call
func (FloatingIpCreateResponse) ContentType ¶
func (r FloatingIpCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FloatingIpCreateResponse) GetApplicationproblemJSONDefault ¶
func (r FloatingIpCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FloatingIpCreateResponse) GetBody ¶
func (r FloatingIpCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FloatingIpCreateResponse) GetJSON201 ¶
func (r FloatingIpCreateResponse) GetJSON201() *FloatingIPBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (FloatingIpCreateResponse) Status ¶
func (r FloatingIpCreateResponse) Status() string
Status returns HTTPResponse.Status
func (FloatingIpCreateResponse) StatusCode ¶
func (r FloatingIpCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FloatingIpDeleteResponse ¶
type FloatingIpDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFloatingIpDeleteResponse ¶
func ParseFloatingIpDeleteResponse(rsp *http.Response) (*FloatingIpDeleteResponse, error)
ParseFloatingIpDeleteResponse parses an HTTP response from a FloatingIpDeleteWithResponse call
func (FloatingIpDeleteResponse) ContentType ¶
func (r FloatingIpDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FloatingIpDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r FloatingIpDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FloatingIpDeleteResponse) GetBody ¶
func (r FloatingIpDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FloatingIpDeleteResponse) Status ¶
func (r FloatingIpDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (FloatingIpDeleteResponse) StatusCode ¶
func (r FloatingIpDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FloatingIpDetachResponse ¶
type FloatingIpDetachResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFloatingIpDetachResponse ¶
func ParseFloatingIpDetachResponse(rsp *http.Response) (*FloatingIpDetachResponse, error)
ParseFloatingIpDetachResponse parses an HTTP response from a FloatingIpDetachWithResponse call
func (FloatingIpDetachResponse) ContentType ¶
func (r FloatingIpDetachResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FloatingIpDetachResponse) GetApplicationproblemJSONDefault ¶
func (r FloatingIpDetachResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FloatingIpDetachResponse) GetBody ¶
func (r FloatingIpDetachResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FloatingIpDetachResponse) Status ¶
func (r FloatingIpDetachResponse) Status() string
Status returns HTTPResponse.Status
func (FloatingIpDetachResponse) StatusCode ¶
func (r FloatingIpDetachResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FloatingIpGetResponse ¶
type FloatingIpGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FloatingIPBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFloatingIpGetResponse ¶
func ParseFloatingIpGetResponse(rsp *http.Response) (*FloatingIpGetResponse, error)
ParseFloatingIpGetResponse parses an HTTP response from a FloatingIpGetWithResponse call
func (FloatingIpGetResponse) ContentType ¶
func (r FloatingIpGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FloatingIpGetResponse) GetApplicationproblemJSONDefault ¶
func (r FloatingIpGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FloatingIpGetResponse) GetBody ¶
func (r FloatingIpGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FloatingIpGetResponse) GetJSON200 ¶
func (r FloatingIpGetResponse) GetJSON200() *FloatingIPBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FloatingIpGetResponse) Status ¶
func (r FloatingIpGetResponse) Status() string
Status returns HTTPResponse.Status
func (FloatingIpGetResponse) StatusCode ¶
func (r FloatingIpGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FloatingIpsListOutputBody ¶
type FloatingIpsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FloatingIpsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
FloatingIps *[]FloatingIPBody `json:"floating_ips"`
}
FloatingIpsListOutputBody defines model for FloatingIpsListOutputBody.
type FloatingIpsListResponse ¶
type FloatingIpsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FloatingIpsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFloatingIpsListResponse ¶
func ParseFloatingIpsListResponse(rsp *http.Response) (*FloatingIpsListResponse, error)
ParseFloatingIpsListResponse parses an HTTP response from a FloatingIpsListWithResponse call
func (FloatingIpsListResponse) ContentType ¶
func (r FloatingIpsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FloatingIpsListResponse) GetApplicationproblemJSONDefault ¶
func (r FloatingIpsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FloatingIpsListResponse) GetBody ¶
func (r FloatingIpsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FloatingIpsListResponse) GetJSON200 ¶
func (r FloatingIpsListResponse) GetJSON200() *FloatingIpsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FloatingIpsListResponse) Status ¶
func (r FloatingIpsListResponse) Status() string
Status returns HTTPResponse.Status
func (FloatingIpsListResponse) StatusCode ¶
func (r FloatingIpsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FxOutputBody ¶
type FxOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/FxOutputBody.json
Schema *string `json:"$schema,omitempty"`
// AsOf TCMB publish date (YYYY-MM-DD)
AsOf string `json:"as_of"`
// UsdTry Effective USD→TRY rate for top-up quotes (TCMB ForexSelling incl. service margin)
UsdTry float64 `json:"usd_try"`
}
FxOutputBody defines model for FxOutputBody.
type FxRateResponse ¶
type FxRateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FxOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseFxRateResponse ¶
func ParseFxRateResponse(rsp *http.Response) (*FxRateResponse, error)
ParseFxRateResponse parses an HTTP response from a FxRateWithResponse call
func (FxRateResponse) ContentType ¶
func (r FxRateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FxRateResponse) GetApplicationproblemJSONDefault ¶
func (r FxRateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (FxRateResponse) GetBody ¶
func (r FxRateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (FxRateResponse) GetJSON200 ¶
func (r FxRateResponse) GetJSON200() *FxOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (FxRateResponse) Status ¶
func (r FxRateResponse) Status() string
Status returns HTTPResponse.Status
func (FxRateResponse) StatusCode ¶
func (r FxRateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GitConnectionBody ¶
type GitConnectionBody struct {
AccountLogin string `json:"account_login"`
AccountType string `json:"account_type"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
Provider string `json:"provider"`
Suspended bool `json:"suspended"`
}
GitConnectionBody defines model for GitConnectionBody.
type GitConnectionDeleteResponse ¶
type GitConnectionDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGitConnectionDeleteResponse ¶
func ParseGitConnectionDeleteResponse(rsp *http.Response) (*GitConnectionDeleteResponse, error)
ParseGitConnectionDeleteResponse parses an HTTP response from a GitConnectionDeleteWithResponse call
func (GitConnectionDeleteResponse) ContentType ¶
func (r GitConnectionDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GitConnectionDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r GitConnectionDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GitConnectionDeleteResponse) GetBody ¶
func (r GitConnectionDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GitConnectionDeleteResponse) Status ¶
func (r GitConnectionDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (GitConnectionDeleteResponse) StatusCode ¶
func (r GitConnectionDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GitConnectionsListOutputBody ¶
type GitConnectionsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/GitConnectionsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Connections *[]GitConnectionBody `json:"connections"`
}
GitConnectionsListOutputBody defines model for GitConnectionsListOutputBody.
type GitConnectionsListResponse ¶
type GitConnectionsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GitConnectionsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGitConnectionsListResponse ¶
func ParseGitConnectionsListResponse(rsp *http.Response) (*GitConnectionsListResponse, error)
ParseGitConnectionsListResponse parses an HTTP response from a GitConnectionsListWithResponse call
func (GitConnectionsListResponse) ContentType ¶
func (r GitConnectionsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GitConnectionsListResponse) GetApplicationproblemJSONDefault ¶
func (r GitConnectionsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GitConnectionsListResponse) GetBody ¶
func (r GitConnectionsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GitConnectionsListResponse) GetJSON200 ¶
func (r GitConnectionsListResponse) GetJSON200() *GitConnectionsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GitConnectionsListResponse) Status ¶
func (r GitConnectionsListResponse) Status() string
Status returns HTTPResponse.Status
func (GitConnectionsListResponse) StatusCode ¶
func (r GitConnectionsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GitInstallCallbackParams ¶
type GitInstallCallbackParams struct {
Code *string `form:"code,omitempty" json:"code,omitempty"`
State *string `form:"state,omitempty" json:"state,omitempty"`
Error *string `form:"error,omitempty" json:"error,omitempty"`
CpGit *Cookie `form:"cp_git,omitempty" json:"cp_git,omitempty"`
}
GitInstallCallbackParams defines parameters for GitInstallCallback.
type GitInstallCallbackParamsProvider ¶
type GitInstallCallbackParamsProvider string
GitInstallCallbackParamsProvider defines parameters for GitInstallCallback.
const (
GitInstallCallbackParamsProviderGithub GitInstallCallbackParamsProvider = "github"
)
Defines values for GitInstallCallbackParamsProvider.
func (GitInstallCallbackParamsProvider) Valid ¶
func (e GitInstallCallbackParamsProvider) Valid() bool
Valid indicates whether the value is a known member of the GitInstallCallbackParamsProvider enum.
type GitInstallCallbackResponse ¶
type GitInstallCallbackResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers302 the parsed response headers for an HTTP 302 response
Headers302 *GitInstallCallbackResponse302Headers
}
func ParseGitInstallCallbackResponse ¶
func ParseGitInstallCallbackResponse(rsp *http.Response) (*GitInstallCallbackResponse, error)
ParseGitInstallCallbackResponse parses an HTTP response from a GitInstallCallbackWithResponse call
func (GitInstallCallbackResponse) ContentType ¶
func (r GitInstallCallbackResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GitInstallCallbackResponse) GetApplicationproblemJSONDefault ¶
func (r GitInstallCallbackResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GitInstallCallbackResponse) GetBody ¶
func (r GitInstallCallbackResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GitInstallCallbackResponse) Status ¶
func (r GitInstallCallbackResponse) Status() string
Status returns HTTPResponse.Status
func (GitInstallCallbackResponse) StatusCode ¶
func (r GitInstallCallbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GitInstallCallbackResponse302Headers ¶
GitInstallCallbackResponse302Headers the declared response headers of an HTTP 302 response for GitInstallCallback
type GitInstallSetupParams ¶
type GitInstallSetupParams struct {
InstallationId *string `form:"installation_id,omitempty" json:"installation_id,omitempty"`
State *string `form:"state,omitempty" json:"state,omitempty"`
SetupAction *string `form:"setup_action,omitempty" json:"setup_action,omitempty"`
CpGit *Cookie `form:"cp_git,omitempty" json:"cp_git,omitempty"`
}
GitInstallSetupParams defines parameters for GitInstallSetup.
type GitInstallSetupParamsProvider ¶
type GitInstallSetupParamsProvider string
GitInstallSetupParamsProvider defines parameters for GitInstallSetup.
const (
GitInstallSetupParamsProviderGithub GitInstallSetupParamsProvider = "github"
)
Defines values for GitInstallSetupParamsProvider.
func (GitInstallSetupParamsProvider) Valid ¶
func (e GitInstallSetupParamsProvider) Valid() bool
Valid indicates whether the value is a known member of the GitInstallSetupParamsProvider enum.
type GitInstallSetupResponse ¶
type GitInstallSetupResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers302 the parsed response headers for an HTTP 302 response
Headers302 *GitInstallSetupResponse302Headers
}
func ParseGitInstallSetupResponse ¶
func ParseGitInstallSetupResponse(rsp *http.Response) (*GitInstallSetupResponse, error)
ParseGitInstallSetupResponse parses an HTTP response from a GitInstallSetupWithResponse call
func (GitInstallSetupResponse) ContentType ¶
func (r GitInstallSetupResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GitInstallSetupResponse) GetApplicationproblemJSONDefault ¶
func (r GitInstallSetupResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GitInstallSetupResponse) GetBody ¶
func (r GitInstallSetupResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GitInstallSetupResponse) Status ¶
func (r GitInstallSetupResponse) Status() string
Status returns HTTPResponse.Status
func (GitInstallSetupResponse) StatusCode ¶
func (r GitInstallSetupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GitInstallSetupResponse302Headers ¶
GitInstallSetupResponse302Headers the declared response headers of an HTTP 302 response for GitInstallSetup
type GitInstallStartParamsProvider ¶
type GitInstallStartParamsProvider string
GitInstallStartParamsProvider defines parameters for GitInstallStart.
const (
GitInstallStartParamsProviderGithub GitInstallStartParamsProvider = "github"
)
Defines values for GitInstallStartParamsProvider.
func (GitInstallStartParamsProvider) Valid ¶
func (e GitInstallStartParamsProvider) Valid() bool
Valid indicates whether the value is a known member of the GitInstallStartParamsProvider enum.
type GitInstallStartResponse ¶
type GitInstallStartResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers302 the parsed response headers for an HTTP 302 response
Headers302 *GitInstallStartResponse302Headers
}
func ParseGitInstallStartResponse ¶
func ParseGitInstallStartResponse(rsp *http.Response) (*GitInstallStartResponse, error)
ParseGitInstallStartResponse parses an HTTP response from a GitInstallStartWithResponse call
func (GitInstallStartResponse) ContentType ¶
func (r GitInstallStartResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GitInstallStartResponse) GetApplicationproblemJSONDefault ¶
func (r GitInstallStartResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GitInstallStartResponse) GetBody ¶
func (r GitInstallStartResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GitInstallStartResponse) Status ¶
func (r GitInstallStartResponse) Status() string
Status returns HTTPResponse.Status
func (GitInstallStartResponse) StatusCode ¶
func (r GitInstallStartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GitInstallStartResponse302Headers ¶
GitInstallStartResponse302Headers the declared response headers of an HTTP 302 response for GitInstallStart
type GitProvidersListResponse ¶
type GitProvidersListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GitProvidersOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGitProvidersListResponse ¶
func ParseGitProvidersListResponse(rsp *http.Response) (*GitProvidersListResponse, error)
ParseGitProvidersListResponse parses an HTTP response from a GitProvidersListWithResponse call
func (GitProvidersListResponse) ContentType ¶
func (r GitProvidersListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GitProvidersListResponse) GetApplicationproblemJSONDefault ¶
func (r GitProvidersListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GitProvidersListResponse) GetBody ¶
func (r GitProvidersListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GitProvidersListResponse) GetJSON200 ¶
func (r GitProvidersListResponse) GetJSON200() *GitProvidersOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GitProvidersListResponse) Status ¶
func (r GitProvidersListResponse) Status() string
Status returns HTTPResponse.Status
func (GitProvidersListResponse) StatusCode ¶
func (r GitProvidersListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GitProvidersOutputBody ¶
type GitProvidersOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/GitProvidersOutputBody.json
Schema *string `json:"$schema,omitempty"`
Providers *[]string `json:"providers"`
}
GitProvidersOutputBody defines model for GitProvidersOutputBody.
type GitRepositoriesListResponse ¶
type GitRepositoriesListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *GitRepositoriesOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseGitRepositoriesListResponse ¶
func ParseGitRepositoriesListResponse(rsp *http.Response) (*GitRepositoriesListResponse, error)
ParseGitRepositoriesListResponse parses an HTTP response from a GitRepositoriesListWithResponse call
func (GitRepositoriesListResponse) ContentType ¶
func (r GitRepositoriesListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GitRepositoriesListResponse) GetApplicationproblemJSONDefault ¶
func (r GitRepositoriesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GitRepositoriesListResponse) GetBody ¶
func (r GitRepositoriesListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GitRepositoriesListResponse) GetJSON200 ¶
func (r GitRepositoriesListResponse) GetJSON200() *GitRepositoriesOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GitRepositoriesListResponse) Status ¶
func (r GitRepositoriesListResponse) Status() string
Status returns HTTPResponse.Status
func (GitRepositoriesListResponse) StatusCode ¶
func (r GitRepositoriesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GitRepositoriesOutputBody ¶
type GitRepositoriesOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/GitRepositoriesOutputBody.json
Schema *string `json:"$schema,omitempty"`
AppsUsing int64 `json:"apps_using"`
Repositories *[]GitRepositoryBody `json:"repositories"`
}
GitRepositoriesOutputBody defines model for GitRepositoriesOutputBody.
type GitRepositoryBody ¶
type GitRepositoryBody struct {
CloneUrl string `json:"clone_url"`
DefaultBranch string `json:"default_branch"`
FullName string `json:"full_name"`
Private bool `json:"private"`
}
GitRepositoryBody defines model for GitRepositoryBody.
type GrantBody ¶ added in v0.2.0
type GrantBody struct {
Client ClientBody `json:"client"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
LastUsedAt *time.Time `json:"last_used_at,omitempty"`
OrganizationId string `json:"organization_id"`
OrganizationName string `json:"organization_name"`
Scopes *[]string `json:"scopes"`
}
GrantBody defines model for GrantBody.
type GrantsOutputBody ¶ added in v0.2.0
type GrantsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/GrantsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Grants *[]GrantBody `json:"grants"`
}
GrantsOutputBody defines model for GrantsOutputBody.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IdentitiesOutputBody ¶
type IdentitiesOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/IdentitiesOutputBody.json
Schema *string `json:"$schema,omitempty"`
Identities *[]IdentityItem `json:"identities"`
}
IdentitiesOutputBody defines model for IdentitiesOutputBody.
type IdentityItem ¶
type IdentityItem struct {
CreatedAt time.Time `json:"created_at"`
Email string `json:"email"`
LastLoginAt *time.Time `json:"last_login_at,omitempty"`
Provider string `json:"provider"`
}
IdentityItem defines model for IdentityItem.
type ImageBody ¶
type ImageBody struct {
AppVersion *string `json:"app_version,omitempty"`
BaseName *string `json:"base_name,omitempty"`
BaseSlug *string `json:"base_slug,omitempty"`
BuiltAt *string `json:"built_at,omitempty"`
ImageOs *string `json:"image_os,omitempty"`
// Kind os = plain distribution, app = distribution with an application preinstalled
Kind string `json:"kind"`
MinDiskGb int64 `json:"min_disk_gb"`
MinRamMb *int64 `json:"min_ram_mb,omitempty"`
Name string `json:"name"`
Packages *[]ImagePackageBody `json:"packages,omitempty"`
Slug string `json:"slug"`
}
ImageBody defines model for ImageBody.
type ImagePackageBody ¶
type ImagePackageBody struct {
License string `json:"license"`
Name string `json:"name"`
Version string `json:"version"`
}
ImagePackageBody defines model for ImagePackageBody.
type ImageSnapshot ¶
type ImageSnapshot struct {
AppVersion *string `json:"app_version,omitempty"`
BackupVolid *string `json:"backup_volid,omitempty"`
Kind *string `json:"kind,omitempty"`
MinDiskGb int64 `json:"min_disk_gb"`
Name string `json:"name"`
Recipe *string `json:"recipe,omitempty"`
Slug string `json:"slug"`
Source *string `json:"source,omitempty"`
TemplateId string `json:"template_id"`
}
ImageSnapshot defines model for ImageSnapshot.
type ImagesListParams ¶
type ImagesListParams struct {
// Kind Filter: os = plain distributions, app = marketplace applications. Empty = all
Kind *ImagesListParamsKind `form:"kind,omitempty" json:"kind,omitempty"`
}
ImagesListParams defines parameters for ImagesList.
type ImagesListParamsKind ¶
type ImagesListParamsKind string
ImagesListParamsKind defines parameters for ImagesList.
const ( ImagesListParamsKindApp ImagesListParamsKind = "app" ImagesListParamsKindOs ImagesListParamsKind = "os" )
Defines values for ImagesListParamsKind.
func (ImagesListParamsKind) Valid ¶
func (e ImagesListParamsKind) Valid() bool
Valid indicates whether the value is a known member of the ImagesListParamsKind enum.
type ImagesListResponse ¶
type ImagesListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ImagesOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseImagesListResponse ¶
func ParseImagesListResponse(rsp *http.Response) (*ImagesListResponse, error)
ParseImagesListResponse parses an HTTP response from a ImagesListWithResponse call
func (ImagesListResponse) ContentType ¶
func (r ImagesListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ImagesListResponse) GetApplicationproblemJSONDefault ¶
func (r ImagesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ImagesListResponse) GetBody ¶
func (r ImagesListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ImagesListResponse) GetJSON200 ¶
func (r ImagesListResponse) GetJSON200() *ImagesOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ImagesListResponse) Status ¶
func (r ImagesListResponse) Status() string
Status returns HTTPResponse.Status
func (ImagesListResponse) StatusCode ¶
func (r ImagesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ImagesOutputBody ¶
type ImagesOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ImagesOutputBody.json
Schema *string `json:"$schema,omitempty"`
Images *[]ImageBody `json:"images"`
}
ImagesOutputBody defines model for ImagesOutputBody.
type ImpersonateInputBody ¶
type ImpersonateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ImpersonateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Token The single-use grant from POST /admin/v1/users/{id}/impersonate
Token string `json:"token"`
}
ImpersonateInputBody defines model for ImpersonateInputBody.
type ImpersonateOutputBody ¶
type ImpersonateOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ImpersonateOutputBody.json
Schema *string `json:"$schema,omitempty"`
// ExpiresAt When the session dies on its own — deliberately short
ExpiresAt time.Time `json:"expires_at"`
Impersonation ImpersonationBody `json:"impersonation"`
User UserBody `json:"user"`
}
ImpersonateOutputBody defines model for ImpersonateOutputBody.
type ImpersonationBody ¶
type ImpersonationBody struct {
// AdminName The staff member who opened it
AdminName string `json:"admin_name"`
// Mode read refuses every state-changing request; full behaves as the customer
Mode ImpersonationBodyMode `json:"mode"`
}
ImpersonationBody defines model for ImpersonationBody.
type ImpersonationBodyMode ¶
type ImpersonationBodyMode string
ImpersonationBodyMode read refuses every state-changing request; full behaves as the customer
const ( ImpersonationBodyModeFull ImpersonationBodyMode = "full" ImpersonationBodyModeRead ImpersonationBodyMode = "read" )
Defines values for ImpersonationBodyMode.
func (ImpersonationBodyMode) Valid ¶
func (e ImpersonationBodyMode) Valid() bool
Valid indicates whether the value is a known member of the ImpersonationBodyMode enum.
type IntentBody ¶
type IntentBody struct {
AmountMinor int64 `json:"amount_minor"`
BankTransferCode *string `json:"bank_transfer_code,omitempty"`
CreatedAt time.Time `json:"created_at"`
ExpiresAt time.Time `json:"expires_at"`
Id string `json:"id"`
InvoiceIssuedAt *time.Time `json:"invoice_issued_at,omitempty"`
// InvoiceNo e-Arşiv document number; absent while the invoice is being prepared
InvoiceNo *string `json:"invoice_no,omitempty"`
// Method Payment method: card | bank_transfer
Method string `json:"method"`
// NetMinor Invoice base (matrah), kurus
NetMinor *int64 `json:"net_minor,omitempty"`
PaidAt *time.Time `json:"paid_at,omitempty"`
// Provider Integration that collected it: paytr (TRY) | stripe (USD) | bank_transfer (TRY)
Provider string `json:"provider"`
State string `json:"state"`
// VatMinor VAT amount, kurus
VatMinor *int64 `json:"vat_minor,omitempty"`
// VatRateBp VAT rate frozen at payment time (basis points, 2000 = 20%)
VatRateBp *int32 `json:"vat_rate_bp,omitempty"`
}
IntentBody defines model for IntentBody.
type IntentsOutputBody ¶
type IntentsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/IntentsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Intents *[]IntentBody `json:"intents"`
}
IntentsOutputBody defines model for IntentsOutputBody.
type IsoBody ¶
type IsoBody struct {
Checksum *string `json:"checksum,omitempty"`
CreatedAt time.Time `json:"created_at"`
ErrorMessage *string `json:"error_message,omitempty"`
Filename string `json:"filename"`
Id string `json:"id"`
IsSystem bool `json:"is_system"`
Name string `json:"name"`
OrgId string `json:"org_id"`
SizeBytes int64 `json:"size_bytes"`
SourceType string `json:"source_type"`
// Status SETTLED on ready or error; pending and downloading are in flight. A create settles on ready, and error puts the reason in error_message.
Status IsoBodyStatus `json:"status"`
Url *string `json:"url,omitempty"`
}
IsoBody defines model for IsoBody.
type IsoBodyStatus ¶
type IsoBodyStatus string
IsoBodyStatus SETTLED on ready or error; pending and downloading are in flight. A create settles on ready, and error puts the reason in error_message.
const ( IsoBodyStatusDownloading IsoBodyStatus = "downloading" IsoBodyStatusError IsoBodyStatus = "error" IsoBodyStatusPending IsoBodyStatus = "pending" IsoBodyStatusReady IsoBodyStatus = "ready" )
Defines values for IsoBodyStatus.
func (IsoBodyStatus) Valid ¶
func (e IsoBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the IsoBodyStatus enum.
type IsoCreateInputBody ¶
type IsoCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/IsoCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Checksum Optional hex md5/sha1/sha256/sha512 digest; the download is verified against it
Checksum *string `json:"checksum,omitempty"`
// Name Display name for custom ISO
Name string `json:"name"`
// SourceType Source type (direct upload is not available yet)
SourceType IsoCreateInputBodySourceType `json:"source_type"`
// Url Public http(s) download URL for the ISO
Url *string `json:"url,omitempty"`
}
IsoCreateInputBody defines model for IsoCreateInputBody.
type IsoCreateInputBodySourceType ¶
type IsoCreateInputBodySourceType string
IsoCreateInputBodySourceType Source type (direct upload is not available yet)
const (
Url IsoCreateInputBodySourceType = "url"
)
Defines values for IsoCreateInputBodySourceType.
func (IsoCreateInputBodySourceType) Valid ¶
func (e IsoCreateInputBodySourceType) Valid() bool
Valid indicates whether the value is a known member of the IsoCreateInputBodySourceType enum.
type IsoCreateJSONRequestBody ¶
type IsoCreateJSONRequestBody = IsoCreateInputBody
IsoCreateJSONRequestBody defines body for IsoCreate for application/json ContentType.
type IsoCreateOutputBody ¶
type IsoCreateOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/IsoCreateOutputBody.json
Schema *string `json:"$schema,omitempty"`
Iso IsoBody `json:"iso"`
}
IsoCreateOutputBody defines model for IsoCreateOutputBody.
type IsoCreateParams ¶
type IsoCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
IsoCreateParams defines parameters for IsoCreate.
type IsoCreateResponse ¶
type IsoCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IsoCreateOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseIsoCreateResponse ¶
func ParseIsoCreateResponse(rsp *http.Response) (*IsoCreateResponse, error)
ParseIsoCreateResponse parses an HTTP response from a IsoCreateWithResponse call
func (IsoCreateResponse) ContentType ¶
func (r IsoCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (IsoCreateResponse) GetApplicationproblemJSONDefault ¶
func (r IsoCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (IsoCreateResponse) GetBody ¶
func (r IsoCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (IsoCreateResponse) GetJSON200 ¶
func (r IsoCreateResponse) GetJSON200() *IsoCreateOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (IsoCreateResponse) Status ¶
func (r IsoCreateResponse) Status() string
Status returns HTTPResponse.Status
func (IsoCreateResponse) StatusCode ¶
func (r IsoCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IsoDeleteResponse ¶
type IsoDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseIsoDeleteResponse ¶
func ParseIsoDeleteResponse(rsp *http.Response) (*IsoDeleteResponse, error)
ParseIsoDeleteResponse parses an HTTP response from a IsoDeleteWithResponse call
func (IsoDeleteResponse) ContentType ¶
func (r IsoDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (IsoDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r IsoDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (IsoDeleteResponse) GetBody ¶
func (r IsoDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (IsoDeleteResponse) Status ¶
func (r IsoDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (IsoDeleteResponse) StatusCode ¶
func (r IsoDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IsoGetOutputBody ¶
type IsoGetOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/IsoGetOutputBody.json
Schema *string `json:"$schema,omitempty"`
Iso IsoBody `json:"iso"`
}
IsoGetOutputBody defines model for IsoGetOutputBody.
type IsoGetResponse ¶
type IsoGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IsoGetOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseIsoGetResponse ¶
func ParseIsoGetResponse(rsp *http.Response) (*IsoGetResponse, error)
ParseIsoGetResponse parses an HTTP response from a IsoGetWithResponse call
func (IsoGetResponse) ContentType ¶
func (r IsoGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (IsoGetResponse) GetApplicationproblemJSONDefault ¶
func (r IsoGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (IsoGetResponse) GetBody ¶
func (r IsoGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (IsoGetResponse) GetJSON200 ¶
func (r IsoGetResponse) GetJSON200() *IsoGetOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (IsoGetResponse) Status ¶
func (r IsoGetResponse) Status() string
Status returns HTTPResponse.Status
func (IsoGetResponse) StatusCode ¶
func (r IsoGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type IsoListOutputBody ¶
type IsoListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/IsoListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Isos *[]IsoBody `json:"isos"`
}
IsoListOutputBody defines model for IsoListOutputBody.
type IsoListResponse ¶
type IsoListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IsoListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseIsoListResponse ¶
func ParseIsoListResponse(rsp *http.Response) (*IsoListResponse, error)
ParseIsoListResponse parses an HTTP response from a IsoListWithResponse call
func (IsoListResponse) ContentType ¶
func (r IsoListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (IsoListResponse) GetApplicationproblemJSONDefault ¶
func (r IsoListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (IsoListResponse) GetBody ¶
func (r IsoListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (IsoListResponse) GetJSON200 ¶
func (r IsoListResponse) GetJSON200() *IsoListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (IsoListResponse) Status ¶
func (r IsoListResponse) Status() string
Status returns HTTPResponse.Status
func (IsoListResponse) StatusCode ¶
func (r IsoListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Item ¶
type Item struct {
CreatedAt time.Time `json:"created_at"`
Email string `json:"email"`
ExpiresAt time.Time `json:"expires_at"`
Id string `json:"id"`
InvitedByName *string `json:"invited_by_name,omitempty"`
Role string `json:"role"`
}
Item defines model for Item.
type KeyCreateInputBody ¶
type KeyCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/KeyCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
Name string `json:"name"`
// PublicKey authorized_keys format (ssh-ed25519/ssh-rsa ...)
PublicKey string `json:"public_key"`
}
KeyCreateInputBody defines model for KeyCreateInputBody.
type KeyListOutputBody ¶
type KeyListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/KeyListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Keys *[]SshKeyBody `json:"keys"`
}
KeyListOutputBody defines model for KeyListOutputBody.
type LedgerDailyOutputBody ¶
type LedgerDailyOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LedgerDailyOutputBody.json
Schema *string `json:"$schema,omitempty"`
Currency string `json:"currency"`
// Days Only days with movement; the caller draws the empty ones
Days *[]LedgerDayBody `json:"days"`
}
LedgerDailyOutputBody defines model for LedgerDailyOutputBody.
type LedgerDayBody ¶
type LedgerDayBody struct {
// Day YYYY-MM-DD in the requested timezone (tz), Europe/Istanbul by default
Day string `json:"day"`
IncomingMinor int64 `json:"incoming_minor"`
OutgoingMinor int64 `json:"outgoing_minor"`
}
LedgerDayBody defines model for LedgerDayBody.
type LedgerEntryBody ¶
type LedgerEntryBody struct {
AmountMinor int64 `json:"amount_minor"`
CreatedAt time.Time `json:"created_at"`
Description string `json:"description"`
// DescriptionKey e.g. usage.hourly, renewal.monthly
DescriptionKey *string `json:"description_key,omitempty"`
DescriptionParams *map[string]string `json:"description_params,omitempty"`
Id string `json:"id"`
Kind string `json:"kind"`
}
LedgerEntryBody defines model for LedgerEntryBody.
type LedgerOutputBody ¶
type LedgerOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LedgerOutputBody.json
Schema *string `json:"$schema,omitempty"`
Entries *[]LedgerEntryBody `json:"entries"`
Summary LedgerSummary `json:"summary"`
Total int64 `json:"total"`
}
LedgerOutputBody defines model for LedgerOutputBody.
type LedgerSummary ¶
type LedgerSummary struct {
Incoming int64 `json:"incoming"`
Outgoing int64 `json:"outgoing"`
// Total Every movement on the wallet
Total int64 `json:"total"`
}
LedgerSummary defines model for LedgerSummary.
type ListOutputBody ¶
type ListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Servers *[]ServerBody `json:"servers"`
Summary ListSummary `json:"summary"`
Total int64 `json:"total"`
}
ListOutputBody defines model for ListOutputBody.
type ListSummary ¶
type ListSummary struct {
ChargeCurrency string `json:"charge_currency"`
// MonthlyChargeMinor Sum of every server's monthly charge, resolved into charge_currency
MonthlyChargeMinor int64 `json:"monthly_charge_minor"`
Running int64 `json:"running"`
// Total Every server in the organization, ignoring the filters
Total int64 `json:"total"`
}
ListSummary defines model for ListSummary.
type LoadBalancerBackendBody ¶
type LoadBalancerBackendBody struct {
CheckedAt *time.Time `json:"checked_at,omitempty"`
Code string `json:"code"`
// Health unknown until the first probe
Health LoadBalancerBackendBodyHealth `json:"health"`
Name string `json:"name"`
// PrivateIp Set when the LB reaches this backend privately
PrivateIp *string `json:"private_ip,omitempty"`
ServerId string `json:"server_id"`
ServerState string `json:"server_state"`
// TargetIp The address the LB actually forwards to
TargetIp *string `json:"target_ip,omitempty"`
}
LoadBalancerBackendBody defines model for LoadBalancerBackendBody.
type LoadBalancerBackendBodyHealth ¶
type LoadBalancerBackendBodyHealth string
LoadBalancerBackendBodyHealth unknown until the first probe
const ( LoadBalancerBackendBodyHealthHealthy LoadBalancerBackendBodyHealth = "healthy" LoadBalancerBackendBodyHealthUnhealthy LoadBalancerBackendBodyHealth = "unhealthy" LoadBalancerBackendBodyHealthUnknown LoadBalancerBackendBodyHealth = "unknown" )
Defines values for LoadBalancerBackendBodyHealth.
func (LoadBalancerBackendBodyHealth) Valid ¶
func (e LoadBalancerBackendBodyHealth) Valid() bool
Valid indicates whether the value is a known member of the LoadBalancerBackendBodyHealth enum.
type LoadBalancerBackendsPutInputBody ¶
type LoadBalancerBackendsPutInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LoadBalancerBackendsPutInputBody.json
Schema *string `json:"$schema,omitempty"`
ServerIds *[]string `json:"server_ids"`
}
LoadBalancerBackendsPutInputBody defines model for LoadBalancerBackendsPutInputBody.
type LoadBalancerBackendsSetJSONRequestBody ¶
type LoadBalancerBackendsSetJSONRequestBody = LoadBalancerBackendsPutInputBody
LoadBalancerBackendsSetJSONRequestBody defines body for LoadBalancerBackendsSet for application/json ContentType.
type LoadBalancerBackendsSetResponse ¶
type LoadBalancerBackendsSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseLoadBalancerBackendsSetResponse ¶
func ParseLoadBalancerBackendsSetResponse(rsp *http.Response) (*LoadBalancerBackendsSetResponse, error)
ParseLoadBalancerBackendsSetResponse parses an HTTP response from a LoadBalancerBackendsSetWithResponse call
func (LoadBalancerBackendsSetResponse) ContentType ¶
func (r LoadBalancerBackendsSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoadBalancerBackendsSetResponse) GetApplicationproblemJSONDefault ¶
func (r LoadBalancerBackendsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (LoadBalancerBackendsSetResponse) GetBody ¶
func (r LoadBalancerBackendsSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoadBalancerBackendsSetResponse) Status ¶
func (r LoadBalancerBackendsSetResponse) Status() string
Status returns HTTPResponse.Status
func (LoadBalancerBackendsSetResponse) StatusCode ¶
func (r LoadBalancerBackendsSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadBalancerBody ¶
type LoadBalancerBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LoadBalancerBody.json
Schema *string `json:"$schema,omitempty"`
Algorithm LoadBalancerBodyAlgorithm `json:"algorithm"`
BackendCount int64 `json:"backend_count"`
CreatedAt time.Time `json:"created_at"`
ErrorCode *string `json:"error_code,omitempty"`
HealthCheck LoadBalancerHealthCheckBody `json:"health_check"`
HealthyCount int64 `json:"healthy_count"`
Id string `json:"id"`
// Ip Public IP of the LB
Ip *string `json:"ip,omitempty"`
Name string `json:"name"`
// NetworkId Private network the LB reaches its backends over
NetworkId *string `json:"network_id,omitempty"`
NetworkName *string `json:"network_name,omitempty"`
PaidThrough *time.Time `json:"paid_through,omitempty"`
// PendingApply True while an edit is not yet live on the data plane
PendingApply bool `json:"pending_apply"`
PlanSlug *string `json:"plan_slug,omitempty"`
// ProjectId Project the load balancer belongs to (organizational)
ProjectId *string `json:"project_id,omitempty"`
// RegionName Display name in the language asked for with Accept-Language (tr, en, de, es). A request without the header, or with none of those languages, gets English. A missing translation falls back to English (for any language but tr), then to the base name.
RegionName *string `json:"region_name,omitempty"`
RegionSlug *string `json:"region_slug,omitempty"`
RuleCount int64 `json:"rule_count"`
// State SETTLED on active, stopped_dunning, deleted or either error_* state; provisioning and deleting are in flight. A create settles on active.
State LoadBalancerBodyState `json:"state"`
// Tags Tags this resource carries. Set them with PUT .../tags.
Tags *[]string `json:"tags"`
}
LoadBalancerBody defines model for LoadBalancerBody.
type LoadBalancerBodyAlgorithm ¶
type LoadBalancerBodyAlgorithm string
LoadBalancerBodyAlgorithm defines model for LoadBalancerBody.Algorithm.
const ( LoadBalancerBodyAlgorithmLeastConnections LoadBalancerBodyAlgorithm = "least_connections" LoadBalancerBodyAlgorithmRoundRobin LoadBalancerBodyAlgorithm = "round_robin" )
Defines values for LoadBalancerBodyAlgorithm.
func (LoadBalancerBodyAlgorithm) Valid ¶
func (e LoadBalancerBodyAlgorithm) Valid() bool
Valid indicates whether the value is a known member of the LoadBalancerBodyAlgorithm enum.
type LoadBalancerBodyState ¶
type LoadBalancerBodyState string
LoadBalancerBodyState SETTLED on active, stopped_dunning, deleted or either error_* state; provisioning and deleting are in flight. A create settles on active.
const ( LoadBalancerBodyStateActive LoadBalancerBodyState = "active" LoadBalancerBodyStateDeleted LoadBalancerBodyState = "deleted" LoadBalancerBodyStateDeleting LoadBalancerBodyState = "deleting" LoadBalancerBodyStateErrorDelete LoadBalancerBodyState = "error_delete" LoadBalancerBodyStateErrorProvisioning LoadBalancerBodyState = "error_provisioning" LoadBalancerBodyStateProvisioning LoadBalancerBodyState = "provisioning" LoadBalancerBodyStateStoppedDunning LoadBalancerBodyState = "stopped_dunning" )
Defines values for LoadBalancerBodyState.
func (LoadBalancerBodyState) Valid ¶
func (e LoadBalancerBodyState) Valid() bool
Valid indicates whether the value is a known member of the LoadBalancerBodyState enum.
type LoadBalancerCreateInputBody ¶
type LoadBalancerCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LoadBalancerCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Algorithm Empty = round_robin
Algorithm *LoadBalancerCreateInputBodyAlgorithm `json:"algorithm,omitempty"`
// BackendIds Each must be a member of network_id
BackendIds *[]string `json:"backend_ids,omitempty"`
HealthCheck *LoadBalancerHealthCheckBody `json:"health_check,omitempty"`
// Name Hostname format: lowercase letters, digits, hyphens
Name string `json:"name"`
// NetworkId REQUIRED private network. The LB reaches backends on their private addresses, so every backend must already be a member of this network; joining one needs a restart the customer schedules themselves. Public-address backends are not reachable: tenant isolation flags each guest's public bridge port.
NetworkId string `json:"network_id"`
// Plan lb-1 | lb-2 | lb-3; empty = lb-1
Plan *string `json:"plan,omitempty"`
// ProjectId Optional project for grouping
ProjectId *string `json:"project_id,omitempty"`
// Region Region slug; empty = default region
Region *string `json:"region,omitempty"`
// RestrictBackends Close each backend's target port to everything except this load balancer. Default true.
RestrictBackends *bool `json:"restrict_backends,omitempty"`
Rules *[]LoadBalancerRuleBody `json:"rules"`
// Tags Tags to give the resource at birth. Lowercased, deduplicated and sorted before storage.
Tags *[]string `json:"tags,omitempty"`
}
LoadBalancerCreateInputBody defines model for LoadBalancerCreateInputBody.
type LoadBalancerCreateInputBodyAlgorithm ¶
type LoadBalancerCreateInputBodyAlgorithm string
LoadBalancerCreateInputBodyAlgorithm Empty = round_robin
const ( LoadBalancerCreateInputBodyAlgorithmEmpty LoadBalancerCreateInputBodyAlgorithm = "" LoadBalancerCreateInputBodyAlgorithmLeastConnections LoadBalancerCreateInputBodyAlgorithm = "least_connections" LoadBalancerCreateInputBodyAlgorithmRoundRobin LoadBalancerCreateInputBodyAlgorithm = "round_robin" )
Defines values for LoadBalancerCreateInputBodyAlgorithm.
func (LoadBalancerCreateInputBodyAlgorithm) Valid ¶
func (e LoadBalancerCreateInputBodyAlgorithm) Valid() bool
Valid indicates whether the value is a known member of the LoadBalancerCreateInputBodyAlgorithm enum.
type LoadBalancerCreateJSONRequestBody ¶
type LoadBalancerCreateJSONRequestBody = LoadBalancerCreateInputBody
LoadBalancerCreateJSONRequestBody defines body for LoadBalancerCreate for application/json ContentType.
type LoadBalancerCreateParams ¶
type LoadBalancerCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
LoadBalancerCreateParams defines parameters for LoadBalancerCreate.
type LoadBalancerCreateResponse ¶
type LoadBalancerCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *LoadBalancerBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseLoadBalancerCreateResponse ¶
func ParseLoadBalancerCreateResponse(rsp *http.Response) (*LoadBalancerCreateResponse, error)
ParseLoadBalancerCreateResponse parses an HTTP response from a LoadBalancerCreateWithResponse call
func (LoadBalancerCreateResponse) ContentType ¶
func (r LoadBalancerCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoadBalancerCreateResponse) GetApplicationproblemJSONDefault ¶
func (r LoadBalancerCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (LoadBalancerCreateResponse) GetBody ¶
func (r LoadBalancerCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoadBalancerCreateResponse) GetJSON202 ¶
func (r LoadBalancerCreateResponse) GetJSON202() *LoadBalancerBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (LoadBalancerCreateResponse) Status ¶
func (r LoadBalancerCreateResponse) Status() string
Status returns HTTPResponse.Status
func (LoadBalancerCreateResponse) StatusCode ¶
func (r LoadBalancerCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadBalancerDeleteResponse ¶
type LoadBalancerDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseLoadBalancerDeleteResponse ¶
func ParseLoadBalancerDeleteResponse(rsp *http.Response) (*LoadBalancerDeleteResponse, error)
ParseLoadBalancerDeleteResponse parses an HTTP response from a LoadBalancerDeleteWithResponse call
func (LoadBalancerDeleteResponse) ContentType ¶
func (r LoadBalancerDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoadBalancerDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r LoadBalancerDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (LoadBalancerDeleteResponse) GetBody ¶
func (r LoadBalancerDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoadBalancerDeleteResponse) Status ¶
func (r LoadBalancerDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (LoadBalancerDeleteResponse) StatusCode ¶
func (r LoadBalancerDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadBalancerGetOutputBody ¶
type LoadBalancerGetOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LoadBalancerGetOutputBody.json
Schema *string `json:"$schema,omitempty"`
Backends *[]LoadBalancerBackendBody `json:"backends"`
LoadBalancer LoadBalancerBody `json:"load_balancer"`
Rules *[]LoadBalancerRuleBody `json:"rules"`
}
LoadBalancerGetOutputBody defines model for LoadBalancerGetOutputBody.
type LoadBalancerGetResponse ¶
type LoadBalancerGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LoadBalancerGetOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseLoadBalancerGetResponse ¶
func ParseLoadBalancerGetResponse(rsp *http.Response) (*LoadBalancerGetResponse, error)
ParseLoadBalancerGetResponse parses an HTTP response from a LoadBalancerGetWithResponse call
func (LoadBalancerGetResponse) ContentType ¶
func (r LoadBalancerGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoadBalancerGetResponse) GetApplicationproblemJSONDefault ¶
func (r LoadBalancerGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (LoadBalancerGetResponse) GetBody ¶
func (r LoadBalancerGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoadBalancerGetResponse) GetJSON200 ¶
func (r LoadBalancerGetResponse) GetJSON200() *LoadBalancerGetOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LoadBalancerGetResponse) Status ¶
func (r LoadBalancerGetResponse) Status() string
Status returns HTTPResponse.Status
func (LoadBalancerGetResponse) StatusCode ¶
func (r LoadBalancerGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadBalancerHealthCheckBody ¶
type LoadBalancerHealthCheckBody struct {
// IntervalSeconds 5-300; default 10
IntervalSeconds *int64 `json:"interval_seconds,omitempty"`
// Path http only; default /
Path *string `json:"path,omitempty"`
// Protocol Default tcp
Protocol *LoadBalancerHealthCheckBodyProtocol `json:"protocol,omitempty"`
}
LoadBalancerHealthCheckBody defines model for LoadBalancerHealthCheckBody.
type LoadBalancerHealthCheckBodyProtocol ¶
type LoadBalancerHealthCheckBodyProtocol string
LoadBalancerHealthCheckBodyProtocol Default tcp
const ( LoadBalancerHealthCheckBodyProtocolHttp LoadBalancerHealthCheckBodyProtocol = "http" LoadBalancerHealthCheckBodyProtocolTcp LoadBalancerHealthCheckBodyProtocol = "tcp" )
Defines values for LoadBalancerHealthCheckBodyProtocol.
func (LoadBalancerHealthCheckBodyProtocol) Valid ¶
func (e LoadBalancerHealthCheckBodyProtocol) Valid() bool
Valid indicates whether the value is a known member of the LoadBalancerHealthCheckBodyProtocol enum.
type LoadBalancerProjectSetJSONRequestBody ¶
type LoadBalancerProjectSetJSONRequestBody = ProjectAssignmentBody
LoadBalancerProjectSetJSONRequestBody defines body for LoadBalancerProjectSet for application/json ContentType.
type LoadBalancerProjectSetResponse ¶
type LoadBalancerProjectSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseLoadBalancerProjectSetResponse ¶
func ParseLoadBalancerProjectSetResponse(rsp *http.Response) (*LoadBalancerProjectSetResponse, error)
ParseLoadBalancerProjectSetResponse parses an HTTP response from a LoadBalancerProjectSetWithResponse call
func (LoadBalancerProjectSetResponse) ContentType ¶
func (r LoadBalancerProjectSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoadBalancerProjectSetResponse) GetApplicationproblemJSONDefault ¶
func (r LoadBalancerProjectSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (LoadBalancerProjectSetResponse) GetBody ¶
func (r LoadBalancerProjectSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoadBalancerProjectSetResponse) Status ¶
func (r LoadBalancerProjectSetResponse) Status() string
Status returns HTTPResponse.Status
func (LoadBalancerProjectSetResponse) StatusCode ¶
func (r LoadBalancerProjectSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadBalancerRuleBody ¶
type LoadBalancerRuleBody struct {
EntryPort int64 `json:"entry_port"`
// Protocol http adds X-Forwarded-For; use tcp for HTTPS passthrough
Protocol LoadBalancerRuleBodyProtocol `json:"protocol"`
TargetPort int64 `json:"target_port"`
}
LoadBalancerRuleBody defines model for LoadBalancerRuleBody.
type LoadBalancerRuleBodyProtocol ¶
type LoadBalancerRuleBodyProtocol string
LoadBalancerRuleBodyProtocol http adds X-Forwarded-For; use tcp for HTTPS passthrough
const ( LoadBalancerRuleBodyProtocolHttp LoadBalancerRuleBodyProtocol = "http" LoadBalancerRuleBodyProtocolTcp LoadBalancerRuleBodyProtocol = "tcp" )
Defines values for LoadBalancerRuleBodyProtocol.
func (LoadBalancerRuleBodyProtocol) Valid ¶
func (e LoadBalancerRuleBodyProtocol) Valid() bool
Valid indicates whether the value is a known member of the LoadBalancerRuleBodyProtocol enum.
type LoadBalancerRulesPutInputBody ¶
type LoadBalancerRulesPutInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LoadBalancerRulesPutInputBody.json
Schema *string `json:"$schema,omitempty"`
// Algorithm Empty = round_robin
Algorithm *LoadBalancerRulesPutInputBodyAlgorithm `json:"algorithm,omitempty"`
HealthCheck *LoadBalancerHealthCheckBody `json:"health_check,omitempty"`
Rules *[]LoadBalancerRuleBody `json:"rules"`
}
LoadBalancerRulesPutInputBody defines model for LoadBalancerRulesPutInputBody.
type LoadBalancerRulesPutInputBodyAlgorithm ¶
type LoadBalancerRulesPutInputBodyAlgorithm string
LoadBalancerRulesPutInputBodyAlgorithm Empty = round_robin
const ( LoadBalancerRulesPutInputBodyAlgorithmEmpty LoadBalancerRulesPutInputBodyAlgorithm = "" LoadBalancerRulesPutInputBodyAlgorithmLeastConnections LoadBalancerRulesPutInputBodyAlgorithm = "least_connections" LoadBalancerRulesPutInputBodyAlgorithmRoundRobin LoadBalancerRulesPutInputBodyAlgorithm = "round_robin" )
Defines values for LoadBalancerRulesPutInputBodyAlgorithm.
func (LoadBalancerRulesPutInputBodyAlgorithm) Valid ¶
func (e LoadBalancerRulesPutInputBodyAlgorithm) Valid() bool
Valid indicates whether the value is a known member of the LoadBalancerRulesPutInputBodyAlgorithm enum.
type LoadBalancerRulesReplaceJSONRequestBody ¶
type LoadBalancerRulesReplaceJSONRequestBody = LoadBalancerRulesPutInputBody
LoadBalancerRulesReplaceJSONRequestBody defines body for LoadBalancerRulesReplace for application/json ContentType.
type LoadBalancerRulesReplaceResponse ¶
type LoadBalancerRulesReplaceResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseLoadBalancerRulesReplaceResponse ¶
func ParseLoadBalancerRulesReplaceResponse(rsp *http.Response) (*LoadBalancerRulesReplaceResponse, error)
ParseLoadBalancerRulesReplaceResponse parses an HTTP response from a LoadBalancerRulesReplaceWithResponse call
func (LoadBalancerRulesReplaceResponse) ContentType ¶
func (r LoadBalancerRulesReplaceResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoadBalancerRulesReplaceResponse) GetApplicationproblemJSONDefault ¶
func (r LoadBalancerRulesReplaceResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (LoadBalancerRulesReplaceResponse) GetBody ¶
func (r LoadBalancerRulesReplaceResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoadBalancerRulesReplaceResponse) Status ¶
func (r LoadBalancerRulesReplaceResponse) Status() string
Status returns HTTPResponse.Status
func (LoadBalancerRulesReplaceResponse) StatusCode ¶
func (r LoadBalancerRulesReplaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadBalancerTagsSetJSONRequestBody ¶
type LoadBalancerTagsSetJSONRequestBody = TagsBody
LoadBalancerTagsSetJSONRequestBody defines body for LoadBalancerTagsSet for application/json ContentType.
type LoadBalancerTagsSetResponse ¶
type LoadBalancerTagsSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TagsBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseLoadBalancerTagsSetResponse ¶
func ParseLoadBalancerTagsSetResponse(rsp *http.Response) (*LoadBalancerTagsSetResponse, error)
ParseLoadBalancerTagsSetResponse parses an HTTP response from a LoadBalancerTagsSetWithResponse call
func (LoadBalancerTagsSetResponse) ContentType ¶
func (r LoadBalancerTagsSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoadBalancerTagsSetResponse) GetApplicationproblemJSONDefault ¶
func (r LoadBalancerTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (LoadBalancerTagsSetResponse) GetBody ¶
func (r LoadBalancerTagsSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoadBalancerTagsSetResponse) GetJSON200 ¶
func (r LoadBalancerTagsSetResponse) GetJSON200() *TagsBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LoadBalancerTagsSetResponse) Status ¶
func (r LoadBalancerTagsSetResponse) Status() string
Status returns HTTPResponse.Status
func (LoadBalancerTagsSetResponse) StatusCode ¶
func (r LoadBalancerTagsSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LoadBalancersListOutputBody ¶
type LoadBalancersListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LoadBalancersListOutputBody.json
Schema *string `json:"$schema,omitempty"`
LoadBalancers *[]LoadBalancerBody `json:"load_balancers"`
Total int64 `json:"total"`
}
LoadBalancersListOutputBody defines model for LoadBalancersListOutputBody.
type LoadBalancersListParams ¶
type LoadBalancersListParams struct {
// Project Project UUID, or the literal 'none' for resources in no project at all
Project *string `form:"project,omitempty" json:"project,omitempty"`
// Tag Filter by tag. Repeat to require several: ?tag=env:prod&tag=role:web returns only what carries both.
Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
LoadBalancersListParams defines parameters for LoadBalancersList.
type LoadBalancersListResponse ¶
type LoadBalancersListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LoadBalancersListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseLoadBalancersListResponse ¶
func ParseLoadBalancersListResponse(rsp *http.Response) (*LoadBalancersListResponse, error)
ParseLoadBalancersListResponse parses an HTTP response from a LoadBalancersListWithResponse call
func (LoadBalancersListResponse) ContentType ¶
func (r LoadBalancersListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LoadBalancersListResponse) GetApplicationproblemJSONDefault ¶
func (r LoadBalancersListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (LoadBalancersListResponse) GetBody ¶
func (r LoadBalancersListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (LoadBalancersListResponse) GetJSON200 ¶
func (r LoadBalancersListResponse) GetJSON200() *LoadBalancersListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (LoadBalancersListResponse) Status ¶
func (r LoadBalancersListResponse) Status() string
Status returns HTTPResponse.Status
func (LoadBalancersListResponse) StatusCode ¶
func (r LoadBalancersListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogRequestBody ¶
type LogRequestBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LogRequestBody.json
Schema *string `json:"$schema,omitempty"`
CreatedAt time.Time `json:"created_at"`
Error *string `json:"error,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
Id string `json:"id"`
Lines int32 `json:"lines"`
Output *string `json:"output,omitempty"`
State string `json:"state"`
}
LogRequestBody defines model for LogRequestBody.
type LogRequestInputBody ¶
type LogRequestInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LogRequestInputBody.json
Schema *string `json:"$schema,omitempty"`
// Lines How many lines from the end. Default 200.
Lines *int64 `json:"lines,omitempty"`
}
LogRequestInputBody defines model for LogRequestInputBody.
type LoginInputBody ¶
type LoginInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LoginInputBody.json
Schema *string `json:"$schema,omitempty"`
Email openapi_types.Email `json:"email"`
Password string `json:"password"`
// TurnstileToken Cloudflare Turnstile response (required if the server has it configured)
TurnstileToken *string `json:"turnstile_token,omitempty"`
}
LoginInputBody defines model for LoginInputBody.
type LoginResponse ¶
type LoginResponse struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/LoginResponse.json
Schema *string `json:"$schema,omitempty"`
MfaRequired bool `json:"mfa_required"`
User *UserBody `json:"user,omitempty"`
}
LoginResponse defines model for LoginResponse.
type MetricPointBody ¶
type MetricPointBody struct {
At time.Time `json:"at"`
// CpuPct CPU utilisation, percent
CpuPct float32 `json:"cpu_pct"`
// DiskRead Disk read throughput, bytes/sec
DiskRead int64 `json:"disk_read"`
// DiskWrite Disk write throughput, bytes/sec
DiskWrite int64 `json:"disk_write"`
MemBytes int64 `json:"mem_bytes"`
// NetIn Inbound network throughput, bytes/sec
NetIn int64 `json:"net_in"`
// NetOut Outbound network throughput, bytes/sec
NetOut int64 `json:"net_out"`
}
MetricPointBody defines model for MetricPointBody.
type MetricsOutputBody ¶
type MetricsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/MetricsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Points *[]MetricPointBody `json:"points"`
}
MetricsOutputBody defines model for MetricsOutputBody.
type MfaVerifyInputBody ¶
type MfaVerifyInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/MfaVerifyInputBody.json
Schema *string `json:"$schema,omitempty"`
// Code 6-digit authenticator code, or a recovery code
Code string `json:"code"`
}
MfaVerifyInputBody defines model for MfaVerifyInputBody.
type NetAttachInputBody ¶
type NetAttachInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/NetAttachInputBody.json
Schema *string `json:"$schema,omitempty"`
// NetworkId Private network to join (must belong to the user)
NetworkId string `json:"network_id"`
}
NetAttachInputBody defines model for NetAttachInputBody.
type NetworkBody ¶
type NetworkBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/NetworkBody.json
Schema *string `json:"$schema,omitempty"`
Cidr string `json:"cidr"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
MemberCount int64 `json:"member_count"`
Name string `json:"name"`
ProjectId *string `json:"project_id,omitempty"`
// RegionId Region of the private network. Absent only for historical unscoped networks.
RegionId *string `json:"region_id,omitempty"`
// State SETTLED on active or error; creating and deleting are in flight.
State NetworkBodyState `json:"state"`
// Tags Tags this resource carries. Set them with PUT .../tags.
Tags *[]string `json:"tags"`
}
NetworkBody defines model for NetworkBody.
type NetworkBodyState ¶
type NetworkBodyState string
NetworkBodyState SETTLED on active or error; creating and deleting are in flight.
const ( NetworkBodyStateActive NetworkBodyState = "active" NetworkBodyStateCreating NetworkBodyState = "creating" NetworkBodyStateDeleting NetworkBodyState = "deleting" NetworkBodyStateError NetworkBodyState = "error" )
Defines values for NetworkBodyState.
func (NetworkBodyState) Valid ¶
func (e NetworkBodyState) Valid() bool
Valid indicates whether the value is a known member of the NetworkBodyState enum.
type NetworkCreateInputBody ¶
type NetworkCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/NetworkCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Cidr RFC1918 IPv4 range, /16../24 (e.g. 10.0.0.0/16). The .1 host is reserved.
Cidr string `json:"cidr"`
Name string `json:"name"`
// ProjectId Optional project for grouping
ProjectId *string `json:"project_id,omitempty"`
// Region Region slug. May be omitted only when exactly one active datacenter is available.
Region *string `json:"region,omitempty"`
// Tags Tags to give the resource at birth. Lowercased, deduplicated and sorted before storage.
Tags *[]string `json:"tags,omitempty"`
}
NetworkCreateInputBody defines model for NetworkCreateInputBody.
type NetworkCreateJSONRequestBody ¶
type NetworkCreateJSONRequestBody = NetworkCreateInputBody
NetworkCreateJSONRequestBody defines body for NetworkCreate for application/json ContentType.
type NetworkCreateParams ¶
type NetworkCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
NetworkCreateParams defines parameters for NetworkCreate.
type NetworkCreateResponse ¶
type NetworkCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *NetworkBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseNetworkCreateResponse ¶
func ParseNetworkCreateResponse(rsp *http.Response) (*NetworkCreateResponse, error)
ParseNetworkCreateResponse parses an HTTP response from a NetworkCreateWithResponse call
func (NetworkCreateResponse) ContentType ¶
func (r NetworkCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NetworkCreateResponse) GetApplicationproblemJSONDefault ¶
func (r NetworkCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (NetworkCreateResponse) GetBody ¶
func (r NetworkCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NetworkCreateResponse) GetJSON201 ¶
func (r NetworkCreateResponse) GetJSON201() *NetworkBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (NetworkCreateResponse) Status ¶
func (r NetworkCreateResponse) Status() string
Status returns HTTPResponse.Status
func (NetworkCreateResponse) StatusCode ¶
func (r NetworkCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NetworkDeleteResponse ¶
type NetworkDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseNetworkDeleteResponse ¶
func ParseNetworkDeleteResponse(rsp *http.Response) (*NetworkDeleteResponse, error)
ParseNetworkDeleteResponse parses an HTTP response from a NetworkDeleteWithResponse call
func (NetworkDeleteResponse) ContentType ¶
func (r NetworkDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NetworkDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r NetworkDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (NetworkDeleteResponse) GetBody ¶
func (r NetworkDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NetworkDeleteResponse) Status ¶
func (r NetworkDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (NetworkDeleteResponse) StatusCode ¶
func (r NetworkDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NetworkGetOutputBody ¶
type NetworkGetOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/NetworkGetOutputBody.json
Schema *string `json:"$schema,omitempty"`
Members *[]NetworkMemberBody `json:"members"`
Network NetworkBody `json:"network"`
}
NetworkGetOutputBody defines model for NetworkGetOutputBody.
type NetworkGetResponse ¶
type NetworkGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NetworkGetOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseNetworkGetResponse ¶
func ParseNetworkGetResponse(rsp *http.Response) (*NetworkGetResponse, error)
ParseNetworkGetResponse parses an HTTP response from a NetworkGetWithResponse call
func (NetworkGetResponse) ContentType ¶
func (r NetworkGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NetworkGetResponse) GetApplicationproblemJSONDefault ¶
func (r NetworkGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (NetworkGetResponse) GetBody ¶
func (r NetworkGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NetworkGetResponse) GetJSON200 ¶
func (r NetworkGetResponse) GetJSON200() *NetworkGetOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (NetworkGetResponse) Status ¶
func (r NetworkGetResponse) Status() string
Status returns HTTPResponse.Status
func (NetworkGetResponse) StatusCode ¶
func (r NetworkGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NetworkMemberBody ¶
type NetworkMemberBody struct {
Name string `json:"name"`
PrivateIp string `json:"private_ip"`
ServerId string `json:"server_id"`
}
NetworkMemberBody defines model for NetworkMemberBody.
type NetworkProjectSetJSONRequestBody ¶
type NetworkProjectSetJSONRequestBody = ProjectAssignmentBody
NetworkProjectSetJSONRequestBody defines body for NetworkProjectSet for application/json ContentType.
type NetworkProjectSetResponse ¶
type NetworkProjectSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseNetworkProjectSetResponse ¶
func ParseNetworkProjectSetResponse(rsp *http.Response) (*NetworkProjectSetResponse, error)
ParseNetworkProjectSetResponse parses an HTTP response from a NetworkProjectSetWithResponse call
func (NetworkProjectSetResponse) ContentType ¶
func (r NetworkProjectSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NetworkProjectSetResponse) GetApplicationproblemJSONDefault ¶
func (r NetworkProjectSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (NetworkProjectSetResponse) GetBody ¶
func (r NetworkProjectSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NetworkProjectSetResponse) Status ¶
func (r NetworkProjectSetResponse) Status() string
Status returns HTTPResponse.Status
func (NetworkProjectSetResponse) StatusCode ¶
func (r NetworkProjectSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NetworkTagsSetJSONRequestBody ¶
type NetworkTagsSetJSONRequestBody = TagsBody
NetworkTagsSetJSONRequestBody defines body for NetworkTagsSet for application/json ContentType.
type NetworkTagsSetResponse ¶
type NetworkTagsSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TagsBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseNetworkTagsSetResponse ¶
func ParseNetworkTagsSetResponse(rsp *http.Response) (*NetworkTagsSetResponse, error)
ParseNetworkTagsSetResponse parses an HTTP response from a NetworkTagsSetWithResponse call
func (NetworkTagsSetResponse) ContentType ¶
func (r NetworkTagsSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NetworkTagsSetResponse) GetApplicationproblemJSONDefault ¶
func (r NetworkTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (NetworkTagsSetResponse) GetBody ¶
func (r NetworkTagsSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NetworkTagsSetResponse) GetJSON200 ¶
func (r NetworkTagsSetResponse) GetJSON200() *TagsBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (NetworkTagsSetResponse) Status ¶
func (r NetworkTagsSetResponse) Status() string
Status returns HTTPResponse.Status
func (NetworkTagsSetResponse) StatusCode ¶
func (r NetworkTagsSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NetworksListOutputBody ¶
type NetworksListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/NetworksListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Networks *[]NetworkBody `json:"networks"`
Total int64 `json:"total"`
}
NetworksListOutputBody defines model for NetworksListOutputBody.
type NetworksListParams ¶
type NetworksListParams struct {
// Project Project UUID, or the literal 'none' for resources in no project at all
Project *string `form:"project,omitempty" json:"project,omitempty"`
// Tag Filter by tag. Repeat to require several: ?tag=env:prod&tag=role:web returns only what carries both.
Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
NetworksListParams defines parameters for NetworksList.
type NetworksListResponse ¶
type NetworksListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NetworksListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseNetworksListResponse ¶
func ParseNetworksListResponse(rsp *http.Response) (*NetworksListResponse, error)
ParseNetworksListResponse parses an HTTP response from a NetworksListWithResponse call
func (NetworksListResponse) ContentType ¶
func (r NetworksListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NetworksListResponse) GetApplicationproblemJSONDefault ¶
func (r NetworksListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (NetworksListResponse) GetBody ¶
func (r NetworksListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NetworksListResponse) GetJSON200 ¶
func (r NetworksListResponse) GetJSON200() *NetworksListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (NetworksListResponse) Status ¶
func (r NetworksListResponse) Status() string
Status returns HTTPResponse.Status
func (NetworksListResponse) StatusCode ¶
func (r NetworksListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NotificationBody ¶
type NotificationBody struct {
Body *string `json:"body,omitempty"`
CreatedAt time.Time `json:"created_at"`
Id int64 `json:"id"`
// Kind Stable machine key, e.g. server.ready
Kind string `json:"kind"`
Params map[string]string `json:"params"`
ReadAt *time.Time `json:"read_at,omitempty"`
Severity NotificationBodySeverity `json:"severity"`
Title string `json:"title"`
// Url Panel deep link; empty = not clickable
Url *string `json:"url,omitempty"`
}
NotificationBody defines model for NotificationBody.
type NotificationBodySeverity ¶
type NotificationBodySeverity string
NotificationBodySeverity defines model for NotificationBody.Severity.
const ( Critical NotificationBodySeverity = "critical" Info NotificationBodySeverity = "info" Success NotificationBodySeverity = "success" Warning NotificationBodySeverity = "warning" )
Defines values for NotificationBodySeverity.
func (NotificationBodySeverity) Valid ¶
func (e NotificationBodySeverity) Valid() bool
Valid indicates whether the value is a known member of the NotificationBodySeverity enum.
type NotificationDeleteResponse ¶
type NotificationDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseNotificationDeleteResponse ¶
func ParseNotificationDeleteResponse(rsp *http.Response) (*NotificationDeleteResponse, error)
ParseNotificationDeleteResponse parses an HTTP response from a NotificationDeleteWithResponse call
func (NotificationDeleteResponse) ContentType ¶
func (r NotificationDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NotificationDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r NotificationDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (NotificationDeleteResponse) GetBody ¶
func (r NotificationDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NotificationDeleteResponse) Status ¶
func (r NotificationDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (NotificationDeleteResponse) StatusCode ¶
func (r NotificationDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NotificationsListOutputBody ¶
type NotificationsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/NotificationsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Notifications *[]NotificationBody `json:"notifications"`
UnreadCount int64 `json:"unread_count"`
}
NotificationsListOutputBody defines model for NotificationsListOutputBody.
type NotificationsListParams ¶
type NotificationsListParams struct {
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
// Before Keyset cursor: the smallest id already fetched (0 = first page)
Before *int64 `form:"before,omitempty" json:"before,omitempty"`
UnreadOnly *bool `form:"unread_only,omitempty" json:"unread_only,omitempty"`
}
NotificationsListParams defines parameters for NotificationsList.
type NotificationsListResponse ¶
type NotificationsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseNotificationsListResponse ¶
func ParseNotificationsListResponse(rsp *http.Response) (*NotificationsListResponse, error)
ParseNotificationsListResponse parses an HTTP response from a NotificationsListWithResponse call
func (NotificationsListResponse) ContentType ¶
func (r NotificationsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NotificationsListResponse) GetApplicationproblemJSONDefault ¶
func (r NotificationsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (NotificationsListResponse) GetBody ¶
func (r NotificationsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NotificationsListResponse) GetJSON200 ¶
func (r NotificationsListResponse) GetJSON200() *NotificationsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (NotificationsListResponse) Status ¶
func (r NotificationsListResponse) Status() string
Status returns HTTPResponse.Status
func (NotificationsListResponse) StatusCode ¶
func (r NotificationsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NotificationsMarkReadJSONRequestBody ¶
type NotificationsMarkReadJSONRequestBody = NotificationsReadInputBody
NotificationsMarkReadJSONRequestBody defines body for NotificationsMarkRead for application/json ContentType.
type NotificationsMarkReadResponse ¶
type NotificationsMarkReadResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NotificationsReadOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseNotificationsMarkReadResponse ¶
func ParseNotificationsMarkReadResponse(rsp *http.Response) (*NotificationsMarkReadResponse, error)
ParseNotificationsMarkReadResponse parses an HTTP response from a NotificationsMarkReadWithResponse call
func (NotificationsMarkReadResponse) ContentType ¶
func (r NotificationsMarkReadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (NotificationsMarkReadResponse) GetApplicationproblemJSONDefault ¶
func (r NotificationsMarkReadResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (NotificationsMarkReadResponse) GetBody ¶
func (r NotificationsMarkReadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (NotificationsMarkReadResponse) GetJSON200 ¶
func (r NotificationsMarkReadResponse) GetJSON200() *NotificationsReadOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (NotificationsMarkReadResponse) Status ¶
func (r NotificationsMarkReadResponse) Status() string
Status returns HTTPResponse.Status
func (NotificationsMarkReadResponse) StatusCode ¶
func (r NotificationsMarkReadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NotificationsReadInputBody ¶
type NotificationsReadInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/NotificationsReadInputBody.json
Schema *string `json:"$schema,omitempty"`
// Ids Empty = mark the whole feed read
Ids *[]int64 `json:"ids,omitempty"`
}
NotificationsReadInputBody defines model for NotificationsReadInputBody.
type NotificationsReadOutputBody ¶
type NotificationsReadOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/NotificationsReadOutputBody.json
Schema *string `json:"$schema,omitempty"`
UnreadCount int64 `json:"unread_count"`
}
NotificationsReadOutputBody defines model for NotificationsReadOutputBody.
type OauthConsentDecideJSONRequestBody ¶ added in v0.2.0
type OauthConsentDecideJSONRequestBody = DecisionInputBody
OauthConsentDecideJSONRequestBody defines body for OauthConsentDecide for application/json ContentType.
type OauthConsentDecideResponse ¶ added in v0.2.0
type OauthConsentDecideResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DecisionOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOauthConsentDecideResponse ¶ added in v0.2.0
func ParseOauthConsentDecideResponse(rsp *http.Response) (*OauthConsentDecideResponse, error)
ParseOauthConsentDecideResponse parses an HTTP response from a OauthConsentDecideWithResponse call
func (OauthConsentDecideResponse) ContentType ¶ added in v0.2.0
func (r OauthConsentDecideResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OauthConsentDecideResponse) GetApplicationproblemJSONDefault ¶ added in v0.2.0
func (r OauthConsentDecideResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OauthConsentDecideResponse) GetBody ¶ added in v0.2.0
func (r OauthConsentDecideResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OauthConsentDecideResponse) GetJSON200 ¶ added in v0.2.0
func (r OauthConsentDecideResponse) GetJSON200() *DecisionOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OauthConsentDecideResponse) Status ¶ added in v0.2.0
func (r OauthConsentDecideResponse) Status() string
Status returns HTTPResponse.Status
func (OauthConsentDecideResponse) StatusCode ¶ added in v0.2.0
func (r OauthConsentDecideResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OauthConsentGetResponse ¶ added in v0.2.0
type OauthConsentGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConsentBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOauthConsentGetResponse ¶ added in v0.2.0
func ParseOauthConsentGetResponse(rsp *http.Response) (*OauthConsentGetResponse, error)
ParseOauthConsentGetResponse parses an HTTP response from a OauthConsentGetWithResponse call
func (OauthConsentGetResponse) ContentType ¶ added in v0.2.0
func (r OauthConsentGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OauthConsentGetResponse) GetApplicationproblemJSONDefault ¶ added in v0.2.0
func (r OauthConsentGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OauthConsentGetResponse) GetBody ¶ added in v0.2.0
func (r OauthConsentGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OauthConsentGetResponse) GetJSON200 ¶ added in v0.2.0
func (r OauthConsentGetResponse) GetJSON200() *ConsentBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OauthConsentGetResponse) Status ¶ added in v0.2.0
func (r OauthConsentGetResponse) Status() string
Status returns HTTPResponse.Status
func (OauthConsentGetResponse) StatusCode ¶ added in v0.2.0
func (r OauthConsentGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OnboardingOrganizationCreateJSONRequestBody ¶ added in v0.3.0
type OnboardingOrganizationCreateJSONRequestBody = OrganizationInputBody
OnboardingOrganizationCreateJSONRequestBody defines body for OnboardingOrganizationCreate for application/json ContentType.
type OnboardingOrganizationCreateResponse ¶ added in v0.3.0
type OnboardingOrganizationCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *UserBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOnboardingOrganizationCreateResponse ¶ added in v0.3.0
func ParseOnboardingOrganizationCreateResponse(rsp *http.Response) (*OnboardingOrganizationCreateResponse, error)
ParseOnboardingOrganizationCreateResponse parses an HTTP response from a OnboardingOrganizationCreateWithResponse call
func (OnboardingOrganizationCreateResponse) ContentType ¶ added in v0.3.0
func (r OnboardingOrganizationCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OnboardingOrganizationCreateResponse) GetApplicationproblemJSONDefault ¶ added in v0.3.0
func (r OnboardingOrganizationCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OnboardingOrganizationCreateResponse) GetBody ¶ added in v0.3.0
func (r OnboardingOrganizationCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OnboardingOrganizationCreateResponse) GetJSON200 ¶ added in v0.3.0
func (r OnboardingOrganizationCreateResponse) GetJSON200() *UserBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OnboardingOrganizationCreateResponse) Status ¶ added in v0.3.0
func (r OnboardingOrganizationCreateResponse) Status() string
Status returns HTTPResponse.Status
func (OnboardingOrganizationCreateResponse) StatusCode ¶ added in v0.3.0
func (r OnboardingOrganizationCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationBody ¶ added in v0.2.0
type OrganizationBody struct {
Id string `json:"id"`
IsActive bool `json:"is_active"`
Name string `json:"name"`
}
OrganizationBody defines model for OrganizationBody.
type OrganizationCreateInputBody ¶
type OrganizationCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/OrganizationCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Country ISO-3166 alpha-2 the organization is INVOICED in. It decides the billing currency (TR pays in TRY, everywhere else in USD) and CANNOT be changed afterwards; moving country means creating a new organization. Defaults to TR.
Country *string `json:"country,omitempty"`
// Industry What the company does. An organization opened here is always a company account (00078); the individual account is the personal one created at onboarding
Industry OrganizationCreateInputBodyIndustry `json:"industry"`
Name string `json:"name"`
}
OrganizationCreateInputBody defines model for OrganizationCreateInputBody.
type OrganizationCreateInputBodyIndustry ¶ added in v0.3.0
type OrganizationCreateInputBodyIndustry string
OrganizationCreateInputBodyIndustry What the company does. An organization opened here is always a company account (00078); the individual account is the personal one created at onboarding
const ( OrganizationCreateInputBodyIndustryAgency OrganizationCreateInputBodyIndustry = "agency" OrganizationCreateInputBodyIndustryEcommerce OrganizationCreateInputBodyIndustry = "ecommerce" OrganizationCreateInputBodyIndustryEducation OrganizationCreateInputBodyIndustry = "education" OrganizationCreateInputBodyIndustryFinance OrganizationCreateInputBodyIndustry = "finance" OrganizationCreateInputBodyIndustryGaming OrganizationCreateInputBodyIndustry = "gaming" OrganizationCreateInputBodyIndustryHealthcare OrganizationCreateInputBodyIndustry = "healthcare" OrganizationCreateInputBodyIndustryMedia OrganizationCreateInputBodyIndustry = "media" OrganizationCreateInputBodyIndustryOther OrganizationCreateInputBodyIndustry = "other" OrganizationCreateInputBodyIndustryPublicSector OrganizationCreateInputBodyIndustry = "public_sector" OrganizationCreateInputBodyIndustrySoftware OrganizationCreateInputBodyIndustry = "software" )
Defines values for OrganizationCreateInputBodyIndustry.
func (OrganizationCreateInputBodyIndustry) Valid ¶ added in v0.3.0
func (e OrganizationCreateInputBodyIndustry) Valid() bool
Valid indicates whether the value is a known member of the OrganizationCreateInputBodyIndustry enum.
type OrganizationDetail ¶
type OrganizationDetail struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/OrganizationDetail.json
Schema *string `json:"$schema,omitempty"`
// Country ISO-3166 alpha-2 this organization is invoiced in. Immutable.
Country string `json:"country"`
CreatedAt time.Time `json:"created_at"`
// Currency ISO-4217 every price, invoice and wallet movement for this organization is denominated in. Derived from country, immutable.
Currency string `json:"currency"`
// DistanceSalesRequired True when a top-up must carry distance_sales_accepted: an individual account invoiced in Türkiye
DistanceSalesRequired bool `json:"distance_sales_required"`
Id string `json:"id"`
IsActive bool `json:"is_active"`
IsPersonal bool `json:"is_personal"`
Name string `json:"name"`
Role string `json:"role"`
SuspendedAt *time.Time `json:"suspended_at,omitempty"`
}
OrganizationDetail defines model for OrganizationDetail.
type OrganizationInputBody ¶ added in v0.3.0
type OrganizationInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/OrganizationInputBody.json
Schema *string `json:"$schema,omitempty"`
// AccountType individual opens the person's personal organization; company opens an organization that can invite members. Cannot be changed
AccountType OrganizationInputBodyAccountType `json:"account_type"`
// Country ISO-3166 alpha-2 billing country. It decides the currency (TR pays in TRY, everywhere else in USD) and cannot be changed; billing in another country means another organization
Country string `json:"country"`
// Industry Required for a company, refused for an individual
Industry *OrganizationInputBodyIndustry `json:"industry,omitempty"`
Name string `json:"name"`
// Timezone IANA zone the panel formats dates in
Timezone *string `json:"timezone,omitempty"`
}
OrganizationInputBody defines model for OrganizationInputBody.
type OrganizationInputBodyAccountType ¶ added in v0.3.0
type OrganizationInputBodyAccountType string
OrganizationInputBodyAccountType individual opens the person's personal organization; company opens an organization that can invite members. Cannot be changed
const ( OrganizationInputBodyAccountTypeCompany OrganizationInputBodyAccountType = "company" OrganizationInputBodyAccountTypeIndividual OrganizationInputBodyAccountType = "individual" )
Defines values for OrganizationInputBodyAccountType.
func (OrganizationInputBodyAccountType) Valid ¶ added in v0.3.0
func (e OrganizationInputBodyAccountType) Valid() bool
Valid indicates whether the value is a known member of the OrganizationInputBodyAccountType enum.
type OrganizationInputBodyIndustry ¶ added in v0.3.0
type OrganizationInputBodyIndustry string
OrganizationInputBodyIndustry Required for a company, refused for an individual
const ( OrganizationInputBodyIndustryAgency OrganizationInputBodyIndustry = "agency" OrganizationInputBodyIndustryEcommerce OrganizationInputBodyIndustry = "ecommerce" OrganizationInputBodyIndustryEducation OrganizationInputBodyIndustry = "education" OrganizationInputBodyIndustryFinance OrganizationInputBodyIndustry = "finance" OrganizationInputBodyIndustryGaming OrganizationInputBodyIndustry = "gaming" OrganizationInputBodyIndustryHealthcare OrganizationInputBodyIndustry = "healthcare" OrganizationInputBodyIndustryMedia OrganizationInputBodyIndustry = "media" OrganizationInputBodyIndustryOther OrganizationInputBodyIndustry = "other" OrganizationInputBodyIndustryPublicSector OrganizationInputBodyIndustry = "public_sector" OrganizationInputBodyIndustrySoftware OrganizationInputBodyIndustry = "software" )
Defines values for OrganizationInputBodyIndustry.
func (OrganizationInputBodyIndustry) Valid ¶ added in v0.3.0
func (e OrganizationInputBodyIndustry) Valid() bool
Valid indicates whether the value is a known member of the OrganizationInputBodyIndustry enum.
type OrganizationInvitationAcceptResponse ¶
type OrganizationInvitationAcceptResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationInvitationAcceptResponse ¶
func ParseOrganizationInvitationAcceptResponse(rsp *http.Response) (*OrganizationInvitationAcceptResponse, error)
ParseOrganizationInvitationAcceptResponse parses an HTTP response from a OrganizationInvitationAcceptWithResponse call
func (OrganizationInvitationAcceptResponse) ContentType ¶
func (r OrganizationInvitationAcceptResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationInvitationAcceptResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationInvitationAcceptResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationInvitationAcceptResponse) GetBody ¶
func (r OrganizationInvitationAcceptResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationInvitationAcceptResponse) Status ¶
func (r OrganizationInvitationAcceptResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationInvitationAcceptResponse) StatusCode ¶
func (r OrganizationInvitationAcceptResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationInvitationGetResponse ¶
type OrganizationInvitationGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PublicInvitationOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationInvitationGetResponse ¶
func ParseOrganizationInvitationGetResponse(rsp *http.Response) (*OrganizationInvitationGetResponse, error)
ParseOrganizationInvitationGetResponse parses an HTTP response from a OrganizationInvitationGetWithResponse call
func (OrganizationInvitationGetResponse) ContentType ¶
func (r OrganizationInvitationGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationInvitationGetResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationInvitationGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationInvitationGetResponse) GetBody ¶
func (r OrganizationInvitationGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationInvitationGetResponse) GetJSON200 ¶
func (r OrganizationInvitationGetResponse) GetJSON200() *PublicInvitationOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OrganizationInvitationGetResponse) Status ¶
func (r OrganizationInvitationGetResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationInvitationGetResponse) StatusCode ¶
func (r OrganizationInvitationGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationInvitationsCreateJSONRequestBody ¶
type OrganizationInvitationsCreateJSONRequestBody = OrganizationInviteInputBody
OrganizationInvitationsCreateJSONRequestBody defines body for OrganizationInvitationsCreate for application/json ContentType.
type OrganizationInvitationsCreateResponse ¶
type OrganizationInvitationsCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationInviteOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationInvitationsCreateResponse ¶
func ParseOrganizationInvitationsCreateResponse(rsp *http.Response) (*OrganizationInvitationsCreateResponse, error)
ParseOrganizationInvitationsCreateResponse parses an HTTP response from a OrganizationInvitationsCreateWithResponse call
func (OrganizationInvitationsCreateResponse) ContentType ¶
func (r OrganizationInvitationsCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationInvitationsCreateResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationInvitationsCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationInvitationsCreateResponse) GetBody ¶
func (r OrganizationInvitationsCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationInvitationsCreateResponse) GetJSON200 ¶
func (r OrganizationInvitationsCreateResponse) GetJSON200() *OrganizationInviteOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OrganizationInvitationsCreateResponse) Status ¶
func (r OrganizationInvitationsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationInvitationsCreateResponse) StatusCode ¶
func (r OrganizationInvitationsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationInvitationsListResponse ¶
type OrganizationInvitationsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationInvitationsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationInvitationsListResponse ¶
func ParseOrganizationInvitationsListResponse(rsp *http.Response) (*OrganizationInvitationsListResponse, error)
ParseOrganizationInvitationsListResponse parses an HTTP response from a OrganizationInvitationsListWithResponse call
func (OrganizationInvitationsListResponse) ContentType ¶
func (r OrganizationInvitationsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationInvitationsListResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationInvitationsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationInvitationsListResponse) GetBody ¶
func (r OrganizationInvitationsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationInvitationsListResponse) GetJSON200 ¶
func (r OrganizationInvitationsListResponse) GetJSON200() *OrganizationInvitationsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OrganizationInvitationsListResponse) Status ¶
func (r OrganizationInvitationsListResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationInvitationsListResponse) StatusCode ¶
func (r OrganizationInvitationsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationInvitationsOutputBody ¶
type OrganizationInvitationsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/OrganizationInvitationsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Invitations *[]Item `json:"invitations"`
}
OrganizationInvitationsOutputBody defines model for OrganizationInvitationsOutputBody.
type OrganizationInvitationsRevokeResponse ¶
type OrganizationInvitationsRevokeResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationInvitationsRevokeResponse ¶
func ParseOrganizationInvitationsRevokeResponse(rsp *http.Response) (*OrganizationInvitationsRevokeResponse, error)
ParseOrganizationInvitationsRevokeResponse parses an HTTP response from a OrganizationInvitationsRevokeWithResponse call
func (OrganizationInvitationsRevokeResponse) ContentType ¶
func (r OrganizationInvitationsRevokeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationInvitationsRevokeResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationInvitationsRevokeResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationInvitationsRevokeResponse) GetBody ¶
func (r OrganizationInvitationsRevokeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationInvitationsRevokeResponse) Status ¶
func (r OrganizationInvitationsRevokeResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationInvitationsRevokeResponse) StatusCode ¶
func (r OrganizationInvitationsRevokeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationInviteInputBody ¶
type OrganizationInviteInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/OrganizationInviteInputBody.json
Schema *string `json:"$schema,omitempty"`
Email openapi_types.Email `json:"email"`
Role OrganizationInviteInputBodyRole `json:"role"`
}
OrganizationInviteInputBody defines model for OrganizationInviteInputBody.
type OrganizationInviteInputBodyRole ¶
type OrganizationInviteInputBodyRole string
OrganizationInviteInputBodyRole defines model for OrganizationInviteInputBody.Role.
const ( OrganizationInviteInputBodyRoleAdmin OrganizationInviteInputBodyRole = "admin" OrganizationInviteInputBodyRoleMember OrganizationInviteInputBodyRole = "member" )
Defines values for OrganizationInviteInputBodyRole.
func (OrganizationInviteInputBodyRole) Valid ¶
func (e OrganizationInviteInputBodyRole) Valid() bool
Valid indicates whether the value is a known member of the OrganizationInviteInputBodyRole enum.
type OrganizationInviteOutputBody ¶
type OrganizationInviteOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/OrganizationInviteOutputBody.json
Schema *string `json:"$schema,omitempty"`
ExpiresAt time.Time `json:"expires_at"`
Id string `json:"id"`
}
OrganizationInviteOutputBody defines model for OrganizationInviteOutputBody.
type OrganizationItem ¶
type OrganizationItem struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/OrganizationItem.json
Schema *string `json:"$schema,omitempty"`
// AccountType individual is the person's personal organization; company can invite members. Immutable
AccountType OrganizationItemAccountType `json:"account_type"`
// Country ISO-3166 alpha-2 this organization is invoiced in. Immutable.
Country string `json:"country"`
CreatedAt time.Time `json:"created_at"`
// Currency ISO-4217 every price, invoice and wallet movement for this organization is denominated in. Derived from country, immutable.
Currency string `json:"currency"`
// DistanceSalesRequired True when a top-up must carry distance_sales_accepted: an individual account invoiced in Türkiye
DistanceSalesRequired bool `json:"distance_sales_required"`
Id string `json:"id"`
// Industry A company's industry slug, as chosen at onboarding
Industry *string `json:"industry,omitempty"`
IsActive bool `json:"is_active"`
IsPersonal bool `json:"is_personal"`
Name string `json:"name"`
Role string `json:"role"`
SuspendedAt *time.Time `json:"suspended_at,omitempty"`
}
OrganizationItem defines model for OrganizationItem.
type OrganizationItemAccountType ¶ added in v0.3.0
type OrganizationItemAccountType string
OrganizationItemAccountType individual is the person's personal organization; company can invite members. Immutable
const ( OrganizationItemAccountTypeCompany OrganizationItemAccountType = "company" OrganizationItemAccountTypeIndividual OrganizationItemAccountType = "individual" )
Defines values for OrganizationItemAccountType.
func (OrganizationItemAccountType) Valid ¶ added in v0.3.0
func (e OrganizationItemAccountType) Valid() bool
Valid indicates whether the value is a known member of the OrganizationItemAccountType enum.
type OrganizationMemberItem ¶
type OrganizationMemberItem struct {
CreatedAt time.Time `json:"created_at"`
Email string `json:"email"`
FullName string `json:"full_name"`
Role string `json:"role"`
SuspendedAt *time.Time `json:"suspended_at,omitempty"`
UserId string `json:"user_id"`
}
OrganizationMemberItem defines model for OrganizationMemberItem.
type OrganizationMemberRoleUpdateJSONRequestBody ¶
type OrganizationMemberRoleUpdateJSONRequestBody = OrganizationRoleInputBody
OrganizationMemberRoleUpdateJSONRequestBody defines body for OrganizationMemberRoleUpdate for application/json ContentType.
type OrganizationMemberRoleUpdateResponse ¶
type OrganizationMemberRoleUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationMemberRoleUpdateResponse ¶
func ParseOrganizationMemberRoleUpdateResponse(rsp *http.Response) (*OrganizationMemberRoleUpdateResponse, error)
ParseOrganizationMemberRoleUpdateResponse parses an HTTP response from a OrganizationMemberRoleUpdateWithResponse call
func (OrganizationMemberRoleUpdateResponse) ContentType ¶
func (r OrganizationMemberRoleUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationMemberRoleUpdateResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationMemberRoleUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationMemberRoleUpdateResponse) GetBody ¶
func (r OrganizationMemberRoleUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationMemberRoleUpdateResponse) Status ¶
func (r OrganizationMemberRoleUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationMemberRoleUpdateResponse) StatusCode ¶
func (r OrganizationMemberRoleUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationMembersListResponse ¶
type OrganizationMembersListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationMembersOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationMembersListResponse ¶
func ParseOrganizationMembersListResponse(rsp *http.Response) (*OrganizationMembersListResponse, error)
ParseOrganizationMembersListResponse parses an HTTP response from a OrganizationMembersListWithResponse call
func (OrganizationMembersListResponse) ContentType ¶
func (r OrganizationMembersListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationMembersListResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationMembersListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationMembersListResponse) GetBody ¶
func (r OrganizationMembersListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationMembersListResponse) GetJSON200 ¶
func (r OrganizationMembersListResponse) GetJSON200() *OrganizationMembersOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OrganizationMembersListResponse) Status ¶
func (r OrganizationMembersListResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationMembersListResponse) StatusCode ¶
func (r OrganizationMembersListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationMembersOutputBody ¶
type OrganizationMembersOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/OrganizationMembersOutputBody.json
Schema *string `json:"$schema,omitempty"`
Members *[]OrganizationMemberItem `json:"members"`
}
OrganizationMembersOutputBody defines model for OrganizationMembersOutputBody.
type OrganizationMembersRemoveResponse ¶
type OrganizationMembersRemoveResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationMembersRemoveResponse ¶
func ParseOrganizationMembersRemoveResponse(rsp *http.Response) (*OrganizationMembersRemoveResponse, error)
ParseOrganizationMembersRemoveResponse parses an HTTP response from a OrganizationMembersRemoveWithResponse call
func (OrganizationMembersRemoveResponse) ContentType ¶
func (r OrganizationMembersRemoveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationMembersRemoveResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationMembersRemoveResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationMembersRemoveResponse) GetBody ¶
func (r OrganizationMembersRemoveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationMembersRemoveResponse) Status ¶
func (r OrganizationMembersRemoveResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationMembersRemoveResponse) StatusCode ¶
func (r OrganizationMembersRemoveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationRenameInputBody ¶
type OrganizationRenameInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/OrganizationRenameInputBody.json
Schema *string `json:"$schema,omitempty"`
Name string `json:"name"`
}
OrganizationRenameInputBody defines model for OrganizationRenameInputBody.
type OrganizationRoleInputBody ¶
type OrganizationRoleInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/OrganizationRoleInputBody.json
Schema *string `json:"$schema,omitempty"`
Role OrganizationRoleInputBodyRole `json:"role"`
}
OrganizationRoleInputBody defines model for OrganizationRoleInputBody.
type OrganizationRoleInputBodyRole ¶
type OrganizationRoleInputBodyRole string
OrganizationRoleInputBodyRole defines model for OrganizationRoleInputBody.Role.
const ( OrganizationRoleInputBodyRoleAdmin OrganizationRoleInputBodyRole = "admin" OrganizationRoleInputBodyRoleMember OrganizationRoleInputBodyRole = "member" OrganizationRoleInputBodyRoleOwner OrganizationRoleInputBodyRole = "owner" )
Defines values for OrganizationRoleInputBodyRole.
func (OrganizationRoleInputBodyRole) Valid ¶
func (e OrganizationRoleInputBodyRole) Valid() bool
Valid indicates whether the value is a known member of the OrganizationRoleInputBodyRole enum.
type OrganizationsActivateResponse ¶
type OrganizationsActivateResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationsActivateResponse ¶
func ParseOrganizationsActivateResponse(rsp *http.Response) (*OrganizationsActivateResponse, error)
ParseOrganizationsActivateResponse parses an HTTP response from a OrganizationsActivateWithResponse call
func (OrganizationsActivateResponse) ContentType ¶
func (r OrganizationsActivateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationsActivateResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationsActivateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationsActivateResponse) GetBody ¶
func (r OrganizationsActivateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationsActivateResponse) Status ¶
func (r OrganizationsActivateResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationsActivateResponse) StatusCode ¶
func (r OrganizationsActivateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationsCreateJSONRequestBody ¶
type OrganizationsCreateJSONRequestBody = OrganizationCreateInputBody
OrganizationsCreateJSONRequestBody defines body for OrganizationsCreate for application/json ContentType.
type OrganizationsCreateResponse ¶
type OrganizationsCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationItem
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationsCreateResponse ¶
func ParseOrganizationsCreateResponse(rsp *http.Response) (*OrganizationsCreateResponse, error)
ParseOrganizationsCreateResponse parses an HTTP response from a OrganizationsCreateWithResponse call
func (OrganizationsCreateResponse) ContentType ¶
func (r OrganizationsCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationsCreateResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationsCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationsCreateResponse) GetBody ¶
func (r OrganizationsCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationsCreateResponse) GetJSON200 ¶
func (r OrganizationsCreateResponse) GetJSON200() *OrganizationItem
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OrganizationsCreateResponse) Status ¶
func (r OrganizationsCreateResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationsCreateResponse) StatusCode ¶
func (r OrganizationsCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationsDeleteResponse ¶
type OrganizationsDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationsDeleteResponse ¶
func ParseOrganizationsDeleteResponse(rsp *http.Response) (*OrganizationsDeleteResponse, error)
ParseOrganizationsDeleteResponse parses an HTTP response from a OrganizationsDeleteWithResponse call
func (OrganizationsDeleteResponse) ContentType ¶
func (r OrganizationsDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationsDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationsDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationsDeleteResponse) GetBody ¶
func (r OrganizationsDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationsDeleteResponse) Status ¶
func (r OrganizationsDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationsDeleteResponse) StatusCode ¶
func (r OrganizationsDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationsGetResponse ¶
type OrganizationsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationDetail
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationsGetResponse ¶
func ParseOrganizationsGetResponse(rsp *http.Response) (*OrganizationsGetResponse, error)
ParseOrganizationsGetResponse parses an HTTP response from a OrganizationsGetWithResponse call
func (OrganizationsGetResponse) ContentType ¶
func (r OrganizationsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationsGetResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationsGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationsGetResponse) GetBody ¶
func (r OrganizationsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationsGetResponse) GetJSON200 ¶
func (r OrganizationsGetResponse) GetJSON200() *OrganizationDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OrganizationsGetResponse) Status ¶
func (r OrganizationsGetResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationsGetResponse) StatusCode ¶
func (r OrganizationsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationsLeaveResponse ¶
type OrganizationsLeaveResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationsLeaveResponse ¶
func ParseOrganizationsLeaveResponse(rsp *http.Response) (*OrganizationsLeaveResponse, error)
ParseOrganizationsLeaveResponse parses an HTTP response from a OrganizationsLeaveWithResponse call
func (OrganizationsLeaveResponse) ContentType ¶
func (r OrganizationsLeaveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationsLeaveResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationsLeaveResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationsLeaveResponse) GetBody ¶
func (r OrganizationsLeaveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationsLeaveResponse) Status ¶
func (r OrganizationsLeaveResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationsLeaveResponse) StatusCode ¶
func (r OrganizationsLeaveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationsListOutputBody ¶
type OrganizationsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/OrganizationsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Organizations *[]OrganizationItem `json:"organizations"`
}
OrganizationsListOutputBody defines model for OrganizationsListOutputBody.
type OrganizationsListResponse ¶
type OrganizationsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *OrganizationsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationsListResponse ¶
func ParseOrganizationsListResponse(rsp *http.Response) (*OrganizationsListResponse, error)
ParseOrganizationsListResponse parses an HTTP response from a OrganizationsListWithResponse call
func (OrganizationsListResponse) ContentType ¶
func (r OrganizationsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationsListResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationsListResponse) GetBody ¶
func (r OrganizationsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationsListResponse) GetJSON200 ¶
func (r OrganizationsListResponse) GetJSON200() *OrganizationsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (OrganizationsListResponse) Status ¶
func (r OrganizationsListResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationsListResponse) StatusCode ¶
func (r OrganizationsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type OrganizationsRenameJSONRequestBody ¶
type OrganizationsRenameJSONRequestBody = OrganizationRenameInputBody
OrganizationsRenameJSONRequestBody defines body for OrganizationsRename for application/json ContentType.
type OrganizationsRenameResponse ¶
type OrganizationsRenameResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseOrganizationsRenameResponse ¶
func ParseOrganizationsRenameResponse(rsp *http.Response) (*OrganizationsRenameResponse, error)
ParseOrganizationsRenameResponse parses an HTTP response from a OrganizationsRenameWithResponse call
func (OrganizationsRenameResponse) ContentType ¶
func (r OrganizationsRenameResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (OrganizationsRenameResponse) GetApplicationproblemJSONDefault ¶
func (r OrganizationsRenameResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (OrganizationsRenameResponse) GetBody ¶
func (r OrganizationsRenameResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (OrganizationsRenameResponse) Status ¶
func (r OrganizationsRenameResponse) Status() string
Status returns HTTPResponse.Status
func (OrganizationsRenameResponse) StatusCode ¶
func (r OrganizationsRenameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PasswordChangeInputBody ¶
type PasswordChangeInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/PasswordChangeInputBody.json
Schema *string `json:"$schema,omitempty"`
CurrentPassword string `json:"current_password"`
NewPassword string `json:"new_password"`
}
PasswordChangeInputBody defines model for PasswordChangeInputBody.
type PasswordResetOutputBody ¶
type PasswordResetOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/PasswordResetOutputBody.json
Schema *string `json:"$schema,omitempty"`
Action ActionBody `json:"action"`
// RootPassword Returned ONLY in this response; not stored
RootPassword string `json:"root_password"`
}
PasswordResetOutputBody defines model for PasswordResetOutputBody.
type PaymentIntentsListResponse ¶
type PaymentIntentsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IntentsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePaymentIntentsListResponse ¶
func ParsePaymentIntentsListResponse(rsp *http.Response) (*PaymentIntentsListResponse, error)
ParsePaymentIntentsListResponse parses an HTTP response from a PaymentIntentsListWithResponse call
func (PaymentIntentsListResponse) ContentType ¶
func (r PaymentIntentsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PaymentIntentsListResponse) GetApplicationproblemJSONDefault ¶
func (r PaymentIntentsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PaymentIntentsListResponse) GetBody ¶
func (r PaymentIntentsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PaymentIntentsListResponse) GetJSON200 ¶
func (r PaymentIntentsListResponse) GetJSON200() *IntentsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PaymentIntentsListResponse) Status ¶
func (r PaymentIntentsListResponse) Status() string
Status returns HTTPResponse.Status
func (PaymentIntentsListResponse) StatusCode ¶
func (r PaymentIntentsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PaymentTopupInitJSONRequestBody ¶
type PaymentTopupInitJSONRequestBody = TopupInputBody
PaymentTopupInitJSONRequestBody defines body for PaymentTopupInit for application/json ContentType.
type PaymentTopupInitParams ¶
type PaymentTopupInitParams struct {
// IdempotencyKey Repeating the same request returns the same intent
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
PaymentTopupInitParams defines parameters for PaymentTopupInit.
type PaymentTopupInitResponse ¶
type PaymentTopupInitResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *TopupOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePaymentTopupInitResponse ¶
func ParsePaymentTopupInitResponse(rsp *http.Response) (*PaymentTopupInitResponse, error)
ParsePaymentTopupInitResponse parses an HTTP response from a PaymentTopupInitWithResponse call
func (PaymentTopupInitResponse) ContentType ¶
func (r PaymentTopupInitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PaymentTopupInitResponse) GetApplicationproblemJSONDefault ¶
func (r PaymentTopupInitResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PaymentTopupInitResponse) GetBody ¶
func (r PaymentTopupInitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PaymentTopupInitResponse) GetJSON202 ¶
func (r PaymentTopupInitResponse) GetJSON202() *TopupOutputBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (PaymentTopupInitResponse) Status ¶
func (r PaymentTopupInitResponse) Status() string
Status returns HTTPResponse.Status
func (PaymentTopupInitResponse) StatusCode ¶
func (r PaymentTopupInitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PhoneStartInputBody ¶
type PhoneStartInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/PhoneStartInputBody.json
Schema *string `json:"$schema,omitempty"`
// Phone Mobile number, national (0532...) or international (+90532...)
Phone string `json:"phone"`
}
PhoneStartInputBody defines model for PhoneStartInputBody.
type PhoneStatusBody ¶
type PhoneStatusBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/PhoneStatusBody.json
Schema *string `json:"$schema,omitempty"`
// Pending A number a code has been sent to and is still waiting on
Pending *string `json:"pending,omitempty"`
// Phone The verified number in E.164, empty if none
Phone *string `json:"phone,omitempty"`
Verified bool `json:"verified"`
}
PhoneStatusBody defines model for PhoneStatusBody.
type PhoneVerifyInputBody ¶
type PhoneVerifyInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/PhoneVerifyInputBody.json
Schema *string `json:"$schema,omitempty"`
Code string `json:"code"`
}
PhoneVerifyInputBody defines model for PhoneVerifyInputBody.
type PlanBody ¶
type PlanBody struct {
// BandwidthMbps Public NIC rate cap for this plan
BandwidthMbps int64 `json:"bandwidth_mbps"`
Cores int64 `json:"cores"`
// Currency Currency of monthly_price_minor and hourly_price_minor
Currency string `json:"currency"`
DiskGb int64 `json:"disk_gb"`
// HourlyPriceMicros monthly/672 in millionths of a major unit (1 USD = 1,000,000). Display only.
HourlyPriceMicros int64 `json:"hourly_price_micros"`
// HourlyPriceMinor ceil(monthly/672) — the METERED rate, a whole minor unit. Do not multiply it out for a display figure; use hourly_price_micros.
HourlyPriceMinor int64 `json:"hourly_price_minor"`
// InStock A schedulable host carries this plan. False means it can be priced but not ordered yet.
InStock bool `json:"in_stock"`
MemoryMb int64 `json:"memory_mb"`
// MonthlyPriceMinor Monthly price in Currency's minor unit — a fixed price point in that currency when set, else the USD base converted at the latest TCMB rate
MonthlyPriceMinor int64 `json:"monthly_price_minor"`
// Name Display name in the language asked for with Accept-Language (tr, en, de, es). A request without the header, or with none of those languages, gets English. A missing translation falls back to English (for any language but tr), then to the base name.
Name string `json:"name"`
PlanTypeId *string `json:"plan_type_id,omitempty"`
PlanTypeName *string `json:"plan_type_name,omitempty"`
PlanTypeSlug *string `json:"plan_type_slug,omitempty"`
Slug string `json:"slug"`
// TrafficGb Included outbound traffic per month (GB)
TrafficGb int64 `json:"traffic_gb"`
// UsdHourlyPriceMicros The same rate over the USD base — display only
UsdHourlyPriceMicros int64 `json:"usd_hourly_price_micros"`
// UsdHourlyPriceMinor ceil(USD monthly/672) — display only
UsdHourlyPriceMinor int64 `json:"usd_hourly_price_minor"`
// UsdMonthlyPriceMinor USD base price (cents) — display only
UsdMonthlyPriceMinor int64 `json:"usd_monthly_price_minor"`
}
PlanBody defines model for PlanBody.
type PlanSnapshot ¶
type PlanSnapshot struct {
BandwidthMbps int64 `json:"bandwidth_mbps"`
Cores int64 `json:"cores"`
Currency string `json:"currency"`
DiskGb int64 `json:"disk_gb"`
MemoryMb int64 `json:"memory_mb"`
MonthlyPriceMinor int64 `json:"monthly_price_minor"`
// Name Display name of the plan in the language asked for with Accept-Language (tr, en, de, es), read from the current catalog. A missing translation falls back to English (for any language but tr), then to the name the plan had at purchase, which is also what a request without the header gets.
Name string `json:"name"`
Slug string `json:"slug"`
SnapshotGbPriceCurrency *string `json:"snapshot_gb_price_currency,omitempty"`
SnapshotGbPriceMinor *int64 `json:"snapshot_gb_price_minor,omitempty"`
TrafficGb int64 `json:"traffic_gb"`
TrafficOverageCurrency *string `json:"traffic_overage_currency,omitempty"`
TrafficOverageMinor *int64 `json:"traffic_overage_minor,omitempty"`
TrafficOverageTbMinor *int64 `json:"traffic_overage_tb_minor,omitempty"`
}
PlanSnapshot defines model for PlanSnapshot.
type PlanTypeBody ¶
type PlanTypeBody struct {
Description string `json:"description"`
Icon string `json:"icon"`
Id string `json:"id"`
Name string `json:"name"`
Slug string `json:"slug"`
SortOrder int64 `json:"sort_order"`
}
PlanTypeBody defines model for PlanTypeBody.
type PlanTypesListResponse ¶
type PlanTypesListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PlanTypesOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlanTypesListResponse ¶
func ParsePlanTypesListResponse(rsp *http.Response) (*PlanTypesListResponse, error)
ParsePlanTypesListResponse parses an HTTP response from a PlanTypesListWithResponse call
func (PlanTypesListResponse) ContentType ¶
func (r PlanTypesListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlanTypesListResponse) GetApplicationproblemJSONDefault ¶
func (r PlanTypesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlanTypesListResponse) GetBody ¶
func (r PlanTypesListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlanTypesListResponse) GetJSON200 ¶
func (r PlanTypesListResponse) GetJSON200() *PlanTypesOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlanTypesListResponse) Status ¶
func (r PlanTypesListResponse) Status() string
Status returns HTTPResponse.Status
func (PlanTypesListResponse) StatusCode ¶
func (r PlanTypesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PlanTypesOutputBody ¶
type PlanTypesOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/PlanTypesOutputBody.json
Schema *string `json:"$schema,omitempty"`
PlanTypes *[]PlanTypeBody `json:"plan_types"`
}
PlanTypesOutputBody defines model for PlanTypesOutputBody.
type PlansListParams ¶
type PlansListParams struct {
// Kind Which product's plans to list
Kind *PlansListParamsKind `form:"kind,omitempty" json:"kind,omitempty"`
}
PlansListParams defines parameters for PlansList.
type PlansListParamsKind ¶
type PlansListParamsKind string
PlansListParamsKind defines parameters for PlansList.
const ( PlansListParamsKindApp PlansListParamsKind = "app" PlansListParamsKindDatabase PlansListParamsKind = "database" PlansListParamsKindLoadBalancer PlansListParamsKind = "load-balancer" PlansListParamsKindServer PlansListParamsKind = "server" )
Defines values for PlansListParamsKind.
func (PlansListParamsKind) Valid ¶
func (e PlansListParamsKind) Valid() bool
Valid indicates whether the value is a known member of the PlansListParamsKind enum.
type PlansListResponse ¶
type PlansListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SizesOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParsePlansListResponse ¶
func ParsePlansListResponse(rsp *http.Response) (*PlansListResponse, error)
ParsePlansListResponse parses an HTTP response from a PlansListWithResponse call
func (PlansListResponse) ContentType ¶
func (r PlansListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PlansListResponse) GetApplicationproblemJSONDefault ¶
func (r PlansListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (PlansListResponse) GetBody ¶
func (r PlansListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PlansListResponse) GetJSON200 ¶
func (r PlansListResponse) GetJSON200() *SizesOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (PlansListResponse) Status ¶
func (r PlansListResponse) Status() string
Status returns HTTPResponse.Status
func (PlansListResponse) StatusCode ¶
func (r PlansListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProfileBody ¶
type ProfileBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ProfileBody.json
Schema *string `json:"$schema,omitempty"`
Address string `json:"address"`
City string `json:"city"`
// Country ISO-3166 alpha-2. Must match the organization's billing country; omitted, it is taken from the organization
Country *string `json:"country,omitempty"`
// District Required in Türkiye
District *string `json:"district,omitempty"`
// Kind The organization's account type, which the profile must match (00078). Omitted, it is taken from the organization
Kind *ProfileBodyKind `json:"kind,omitempty"`
Phone *string `json:"phone,omitempty"`
PostalCode string `json:"postal_code"`
// TaxId In Türkiye a TCKN (11 digits) or VKN (10), checksum validated and required. Elsewhere an optional VAT or tax number
TaxId *string `json:"tax_id,omitempty"`
// TaxOffice Required for a company invoiced in Türkiye
TaxOffice *string `json:"tax_office,omitempty"`
// Title Person's name, or the registered trade title
Title string `json:"title"`
}
ProfileBody defines model for ProfileBody.
type ProfileBodyKind ¶
type ProfileBodyKind string
ProfileBodyKind The organization's account type, which the profile must match (00078). Omitted, it is taken from the organization
const ( ProfileBodyKindCompany ProfileBodyKind = "company" ProfileBodyKindIndividual ProfileBodyKind = "individual" )
Defines values for ProfileBodyKind.
func (ProfileBodyKind) Valid ¶
func (e ProfileBodyKind) Valid() bool
Valid indicates whether the value is a known member of the ProfileBodyKind enum.
type ProjectAssignmentBody ¶
type ProjectAssignmentBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ProjectAssignmentBody.json
Schema *string `json:"$schema,omitempty"`
// ProjectId Target project; omit the field to detach the resource from all projects
ProjectId *string `json:"project_id,omitempty"`
}
ProjectAssignmentBody defines model for ProjectAssignmentBody.
type ProjectBody ¶
type ProjectBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ProjectBody.json
Schema *string `json:"$schema,omitempty"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
Name string `json:"name"`
ServerCount int64 `json:"server_count"`
}
ProjectBody defines model for ProjectBody.
type ProjectCreateInputBody ¶
type ProjectCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ProjectCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
Name string `json:"name"`
}
ProjectCreateInputBody defines model for ProjectCreateInputBody.
type ProjectCreateJSONRequestBody ¶
type ProjectCreateJSONRequestBody = ProjectCreateInputBody
ProjectCreateJSONRequestBody defines body for ProjectCreate for application/json ContentType.
type ProjectCreateParams ¶
type ProjectCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
ProjectCreateParams defines parameters for ProjectCreate.
type ProjectCreateResponse ¶
type ProjectCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ProjectBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseProjectCreateResponse ¶
func ParseProjectCreateResponse(rsp *http.Response) (*ProjectCreateResponse, error)
ParseProjectCreateResponse parses an HTTP response from a ProjectCreateWithResponse call
func (ProjectCreateResponse) ContentType ¶
func (r ProjectCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectCreateResponse) GetApplicationproblemJSONDefault ¶
func (r ProjectCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ProjectCreateResponse) GetBody ¶
func (r ProjectCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectCreateResponse) GetJSON201 ¶
func (r ProjectCreateResponse) GetJSON201() *ProjectBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (ProjectCreateResponse) Status ¶
func (r ProjectCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectCreateResponse) StatusCode ¶
func (r ProjectCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectDeleteResponse ¶
type ProjectDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseProjectDeleteResponse ¶
func ParseProjectDeleteResponse(rsp *http.Response) (*ProjectDeleteResponse, error)
ParseProjectDeleteResponse parses an HTTP response from a ProjectDeleteWithResponse call
func (ProjectDeleteResponse) ContentType ¶
func (r ProjectDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r ProjectDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ProjectDeleteResponse) GetBody ¶
func (r ProjectDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectDeleteResponse) Status ¶
func (r ProjectDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectDeleteResponse) StatusCode ¶
func (r ProjectDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectGetResponse ¶
type ProjectGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseProjectGetResponse ¶
func ParseProjectGetResponse(rsp *http.Response) (*ProjectGetResponse, error)
ParseProjectGetResponse parses an HTTP response from a ProjectGetWithResponse call
func (ProjectGetResponse) ContentType ¶
func (r ProjectGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectGetResponse) GetApplicationproblemJSONDefault ¶
func (r ProjectGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ProjectGetResponse) GetBody ¶
func (r ProjectGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectGetResponse) GetJSON200 ¶
func (r ProjectGetResponse) GetJSON200() *ProjectBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectGetResponse) Status ¶
func (r ProjectGetResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectGetResponse) StatusCode ¶
func (r ProjectGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectUpdateInputBody ¶
type ProjectUpdateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ProjectUpdateInputBody.json
Schema *string `json:"$schema,omitempty"`
Name string `json:"name"`
}
ProjectUpdateInputBody defines model for ProjectUpdateInputBody.
type ProjectUpdateJSONRequestBody ¶
type ProjectUpdateJSONRequestBody = ProjectUpdateInputBody
ProjectUpdateJSONRequestBody defines body for ProjectUpdate for application/json ContentType.
type ProjectUpdateResponse ¶
type ProjectUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseProjectUpdateResponse ¶
func ParseProjectUpdateResponse(rsp *http.Response) (*ProjectUpdateResponse, error)
ParseProjectUpdateResponse parses an HTTP response from a ProjectUpdateWithResponse call
func (ProjectUpdateResponse) ContentType ¶
func (r ProjectUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectUpdateResponse) GetApplicationproblemJSONDefault ¶
func (r ProjectUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ProjectUpdateResponse) GetBody ¶
func (r ProjectUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectUpdateResponse) Status ¶
func (r ProjectUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectUpdateResponse) StatusCode ¶
func (r ProjectUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProjectsListOutputBody ¶
type ProjectsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ProjectsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Projects *[]ProjectBody `json:"projects"`
}
ProjectsListOutputBody defines model for ProjectsListOutputBody.
type ProjectsListResponse ¶
type ProjectsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProjectsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseProjectsListResponse ¶
func ParseProjectsListResponse(rsp *http.Response) (*ProjectsListResponse, error)
ParseProjectsListResponse parses an HTTP response from a ProjectsListWithResponse call
func (ProjectsListResponse) ContentType ¶
func (r ProjectsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProjectsListResponse) GetApplicationproblemJSONDefault ¶
func (r ProjectsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ProjectsListResponse) GetBody ¶
func (r ProjectsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ProjectsListResponse) GetJSON200 ¶
func (r ProjectsListResponse) GetJSON200() *ProjectsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ProjectsListResponse) Status ¶
func (r ProjectsListResponse) Status() string
Status returns HTTPResponse.Status
func (ProjectsListResponse) StatusCode ¶
func (r ProjectsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PromoRedeemBody ¶
type PromoRedeemBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/PromoRedeemBody.json
Schema *string `json:"$schema,omitempty"`
// Code Promo code; case and surrounding spaces do not matter
Code string `json:"code"`
}
PromoRedeemBody defines model for PromoRedeemBody.
type PromoRedeemOutputBody ¶
type PromoRedeemOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/PromoRedeemOutputBody.json
Schema *string `json:"$schema,omitempty"`
// AmountMinor Credited amount (kurus)
AmountMinor int64 `json:"amount_minor"`
// BalanceMinor Wallet balance after the credit
BalanceMinor int64 `json:"balance_minor"`
Code string `json:"code"`
}
PromoRedeemOutputBody defines model for PromoRedeemOutputBody.
type PromoRedemptionBody ¶
type PromoRedemptionBody struct {
// AmountMinor Credited amount (kurus)
AmountMinor int64 `json:"amount_minor"`
Code string `json:"code"`
Description string `json:"description"`
RedeemedAt time.Time `json:"redeemed_at"`
}
PromoRedemptionBody defines model for PromoRedemptionBody.
type PromoRedemptionsOutputBody ¶
type PromoRedemptionsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/PromoRedemptionsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Redemptions *[]PromoRedemptionBody `json:"redemptions"`
}
PromoRedemptionsOutputBody defines model for PromoRedemptionsOutputBody.
type ProvidersOutputBody ¶
type ProvidersOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ProvidersOutputBody.json
Schema *string `json:"$schema,omitempty"`
Providers *[]string `json:"providers"`
}
ProvidersOutputBody defines model for ProvidersOutputBody.
type PublicInvitationOutputBody ¶
type PublicInvitationOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/PublicInvitationOutputBody.json
Schema *string `json:"$schema,omitempty"`
Email string `json:"email"`
ExpiresAt time.Time `json:"expires_at"`
InvitedByName *string `json:"invited_by_name,omitempty"`
OrganizationId string `json:"organization_id"`
OrganizationName string `json:"organization_name"`
Role string `json:"role"`
}
PublicInvitationOutputBody defines model for PublicInvitationOutputBody.
type RdnsClearResponse ¶
type RdnsClearResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseRdnsClearResponse ¶
func ParseRdnsClearResponse(rsp *http.Response) (*RdnsClearResponse, error)
ParseRdnsClearResponse parses an HTTP response from a RdnsClearWithResponse call
func (RdnsClearResponse) ContentType ¶
func (r RdnsClearResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RdnsClearResponse) GetApplicationproblemJSONDefault ¶
func (r RdnsClearResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RdnsClearResponse) GetBody ¶
func (r RdnsClearResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RdnsClearResponse) Status ¶
func (r RdnsClearResponse) Status() string
Status returns HTTPResponse.Status
func (RdnsClearResponse) StatusCode ¶
func (r RdnsClearResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RdnsEntryBody ¶
type RdnsEntryBody struct {
Address string `json:"address"`
// Hostname Published PTR target; absent when none is set
Hostname *string `json:"hostname,omitempty"`
// Id IP address id — the target of the set/clear calls
Id string `json:"id"`
// IsFloating True for a floating IP attached to this server, false for its fixed address
IsFloating bool `json:"is_floating"`
// ReverseZone The in-addr.arpa zone that carries this address's PTR; empty means rDNS is not available here
ReverseZone *string `json:"reverse_zone,omitempty"`
}
RdnsEntryBody defines model for RdnsEntryBody.
type RdnsEntryOutputBody ¶
type RdnsEntryOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RdnsEntryOutputBody.json
Schema *string `json:"$schema,omitempty"`
Entry RdnsEntryBody `json:"entry"`
}
RdnsEntryOutputBody defines model for RdnsEntryOutputBody.
type RdnsListOutputBody ¶
type RdnsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RdnsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Entries *[]RdnsEntryBody `json:"entries"`
}
RdnsListOutputBody defines model for RdnsListOutputBody.
type RdnsSetInputBody ¶
type RdnsSetInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RdnsSetInputBody.json
Schema *string `json:"$schema,omitempty"`
// Hostname Fully qualified hostname. It must ALREADY resolve to this address (an A/AAAA record) — the PTR is refused otherwise
Hostname string `json:"hostname"`
}
RdnsSetInputBody defines model for RdnsSetInputBody.
type RdnsSetJSONRequestBody ¶
type RdnsSetJSONRequestBody = RdnsSetInputBody
RdnsSetJSONRequestBody defines body for RdnsSet for application/json ContentType.
type RdnsSetResponse ¶
type RdnsSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RdnsEntryOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseRdnsSetResponse ¶
func ParseRdnsSetResponse(rsp *http.Response) (*RdnsSetResponse, error)
ParseRdnsSetResponse parses an HTTP response from a RdnsSetWithResponse call
func (RdnsSetResponse) ContentType ¶
func (r RdnsSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RdnsSetResponse) GetApplicationproblemJSONDefault ¶
func (r RdnsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RdnsSetResponse) GetBody ¶
func (r RdnsSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RdnsSetResponse) GetJSON200 ¶
func (r RdnsSetResponse) GetJSON200() *RdnsEntryOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RdnsSetResponse) Status ¶
func (r RdnsSetResponse) Status() string
Status returns HTTPResponse.Status
func (RdnsSetResponse) StatusCode ¶
func (r RdnsSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RebuildInputBody ¶
type RebuildInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RebuildInputBody.json
Schema *string `json:"$schema,omitempty"`
// Image Target image slug; empty = reinstall the current image
Image *string `json:"image,omitempty"`
}
RebuildInputBody defines model for RebuildInputBody.
type RebuildOutputBody ¶
type RebuildOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RebuildOutputBody.json
Schema *string `json:"$schema,omitempty"`
Action ActionBody `json:"action"`
// RootPassword Returned ONLY in this response; not stored. Absent for key servers — the rebuild re-embeds the snapshotted SSH keys instead
RootPassword *string `json:"root_password,omitempty"`
}
RebuildOutputBody defines model for RebuildOutputBody.
type RecordCreateInputBody ¶
type RecordCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RecordCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
Content string `json:"content"`
// Name Relative label, "@" for apex, or a FQDN inside the zone
Name string `json:"name"`
// Priority Required for MX/SRV (0..65535)
Priority *int32 `json:"priority,omitempty"`
// Ttl Seconds, 60..604800; default 3600
Ttl *int64 `json:"ttl,omitempty"`
// Type A | AAAA | CNAME | MX | TXT | NS | SRV | CAA
Type string `json:"type"`
}
RecordCreateInputBody defines model for RecordCreateInputBody.
type RecordUpdateInputBody ¶
type RecordUpdateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RecordUpdateInputBody.json
Schema *string `json:"$schema,omitempty"`
Content string `json:"content"`
Priority *int32 `json:"priority,omitempty"`
Ttl *int64 `json:"ttl,omitempty"`
}
RecordUpdateInputBody defines model for RecordUpdateInputBody.
type RecoveryCodesOutputBody ¶
type RecoveryCodesOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RecoveryCodesOutputBody.json
Schema *string `json:"$schema,omitempty"`
// RecoveryCodes Shown exactly once — single-use, store them somewhere safe
RecoveryCodes *[]string `json:"recovery_codes"`
}
RecoveryCodesOutputBody defines model for RecoveryCodesOutputBody.
type RegionBody ¶
type RegionBody struct {
// AppRuntimes Container isolation runtimes an app node in this region actually registers. runc appears wherever an app node exists; runsc (gVisor) and kata (microVM) only where one reports them. Empty means the region hosts no apps. Offering a runtime that is not listed here fails the create with RUNTIME_NOT_AVAILABLE_IN_REGION.
AppRuntimes *[]string `json:"app_runtimes"`
// AvailableSizeSlugs Plans that currently fit at least one schedulable, IP-backed node in this region. Empty keeps the region visible but means no plan is currently placeable.
AvailableSizeSlugs *[]string `json:"available_size_slugs"`
// CountryCode ISO 3166-1 alpha-2, lowercase (e.g. tr). Empty when staff has not set one; render the region without a country rather than guessing.
CountryCode string `json:"country_code"`
// Id Stable region identity, also returned by region-scoped resources.
Id string `json:"id"`
// Name Display name in the language asked for with Accept-Language (tr, en, de, es). A request without the header, or with none of those languages, gets English. A missing translation falls back to English (for any language but tr), then to the base name.
Name string `json:"name"`
// NetworkAvailable An enabled datacenter is configured for new private networks in this region.
NetworkAvailable bool `json:"network_available"`
Slug string `json:"slug"`
}
RegionBody defines model for RegionBody.
type RegionRef ¶
type RegionRef struct {
// CountryCode ISO 3166-1 alpha-2, lowercase (e.g. tr). Empty when staff has not set one; render the region without a country rather than guessing.
CountryCode string `json:"country_code"`
// Name Display name in the language asked for with Accept-Language (tr, en, de, es). A request without the header, or with none of those languages, gets English. A missing translation falls back to English (for any language but tr), then to the base name.
Name string `json:"name"`
Slug string `json:"slug"`
}
RegionRef defines model for RegionRef.
type RegionsListResponse ¶
type RegionsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RegionsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseRegionsListResponse ¶
func ParseRegionsListResponse(rsp *http.Response) (*RegionsListResponse, error)
ParseRegionsListResponse parses an HTTP response from a RegionsListWithResponse call
func (RegionsListResponse) ContentType ¶
func (r RegionsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RegionsListResponse) GetApplicationproblemJSONDefault ¶
func (r RegionsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (RegionsListResponse) GetBody ¶
func (r RegionsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (RegionsListResponse) GetJSON200 ¶
func (r RegionsListResponse) GetJSON200() *RegionsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (RegionsListResponse) Status ¶
func (r RegionsListResponse) Status() string
Status returns HTTPResponse.Status
func (RegionsListResponse) StatusCode ¶
func (r RegionsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RegionsOutputBody ¶
type RegionsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RegionsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Regions *[]RegionBody `json:"regions"`
}
RegionsOutputBody defines model for RegionsOutputBody.
type RegisterInputBody ¶
type RegisterInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RegisterInputBody.json
Schema *string `json:"$schema,omitempty"`
// Country ISO-3166 alpha-2 where the PERSON is, derived from the timezone when omitted. It decides nothing about billing: registration creates no organization, and the billing country is chosen when the first one is created at onboarding
Country *string `json:"country,omitempty"`
Email openapi_types.Email `json:"email"`
// FirstName Given name. Separate from the family name because a registry and a Turkish invoice both take them as separate values
FirstName string `json:"first_name"`
// KvkkConsent Deprecated: send terms_accepted. Still read as terms_accepted when that is false
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
KvkkConsent *bool `json:"kvkk_consent,omitempty"`
// LastName Family name
LastName string `json:"last_name"`
Locale *RegisterInputBodyLocale `json:"locale,omitempty"`
// MarketingOptIn Optional consent to marketing messages. Defaults to false
MarketingOptIn *bool `json:"marketing_opt_in,omitempty"`
Password string `json:"password"`
// TermsAccepted Must be true: the customer accepts the Terms of Service and the Acceptable Use Policy. The privacy notice is presented, not accepted. Refused with TERMS_NOT_ACCEPTED otherwise
TermsAccepted *bool `json:"terms_accepted,omitempty"`
// Timezone IANA zone as the browser resolved it (Intl.DateTimeFormat().resolvedOptions().timeZone). The country is derived from it when none is given
Timezone *string `json:"timezone,omitempty"`
// TurnstileToken Cloudflare Turnstile response (required if the server has it configured)
TurnstileToken *string `json:"turnstile_token,omitempty"`
}
RegisterInputBody defines model for RegisterInputBody.
type RegisterInputBodyLocale ¶
type RegisterInputBodyLocale string
RegisterInputBodyLocale defines model for RegisterInputBody.Locale.
const ( RegisterInputBodyLocaleDe RegisterInputBodyLocale = "de" RegisterInputBodyLocaleEn RegisterInputBodyLocale = "en" RegisterInputBodyLocaleEs RegisterInputBodyLocale = "es" RegisterInputBodyLocaleTr RegisterInputBodyLocale = "tr" )
Defines values for RegisterInputBodyLocale.
func (RegisterInputBodyLocale) Valid ¶
func (e RegisterInputBodyLocale) Valid() bool
Valid indicates whether the value is a known member of the RegisterInputBodyLocale enum.
type ReleaseBody ¶
type ReleaseBody struct {
// ActorName Who asked. Empty for a release the platform made on its own, which is what a push looks like.
ActorName *string `json:"actor_name,omitempty"`
// BuildId The build that produced the image, when one did. Absent for a release that reused an image, and for one whose build has aged out.
BuildId *string `json:"build_id,omitempty"`
CommitAuthor *string `json:"commit_author,omitempty"`
CommitMessage *string `json:"commit_message,omitempty"`
CommitSha *string `json:"commit_sha,omitempty"`
CreatedAt string `json:"created_at"`
// Deployable Whether rolling back to this release would work. False once the image has left retention — the panel shows the action disabled with a reason rather than hiding it.
Deployable bool `json:"deployable"`
GitRef *string `json:"git_ref,omitempty"`
ImageRef *string `json:"image_ref,omitempty"`
// Number The version number the panel shows, e.g. 13 for v13. Per app and monotonic; it never moves, so a number quoted in a support conversation keeps meaning the same version.
Number int32 `json:"number"`
// Trigger Why this version started serving: create (the app's first), deploy (a build succeeded), rollback (an earlier image put back), env (the runtime variables changed and the container was replaced).
Trigger ReleaseBodyTrigger `json:"trigger"`
}
ReleaseBody defines model for ReleaseBody.
type ReleaseBodyTrigger ¶
type ReleaseBodyTrigger string
ReleaseBodyTrigger Why this version started serving: create (the app's first), deploy (a build succeeded), rollback (an earlier image put back), env (the runtime variables changed and the container was replaced).
const ( ReleaseBodyTriggerCreate ReleaseBodyTrigger = "create" ReleaseBodyTriggerDeploy ReleaseBodyTrigger = "deploy" ReleaseBodyTriggerEnv ReleaseBodyTrigger = "env" ReleaseBodyTriggerRollback ReleaseBodyTrigger = "rollback" )
Defines values for ReleaseBodyTrigger.
func (ReleaseBodyTrigger) Valid ¶
func (e ReleaseBodyTrigger) Valid() bool
Valid indicates whether the value is a known member of the ReleaseBodyTrigger enum.
type ReleaseListOutputBody ¶
type ReleaseListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ReleaseListOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Current The number the app is on now. Zero for an app that has never served anything.
Current int32 `json:"current"`
Releases *[]ReleaseBody `json:"releases"`
}
ReleaseListOutputBody defines model for ReleaseListOutputBody.
type RenameInputBody ¶
type RenameInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/RenameInputBody.json
Schema *string `json:"$schema,omitempty"`
// Name New name (hostname format: lowercase letters, digits, hyphens)
Name string `json:"name"`
}
RenameInputBody defines model for RenameInputBody.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResendInputBody ¶
type ResendInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ResendInputBody.json
Schema *string `json:"$schema,omitempty"`
Email openapi_types.Email `json:"email"`
// TurnstileToken Cloudflare Turnstile response (required if the server has it configured)
TurnstileToken *string `json:"turnstile_token,omitempty"`
}
ResendInputBody defines model for ResendInputBody.
type ResetInputBody ¶
type ResetInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ResetInputBody.json
Schema *string `json:"$schema,omitempty"`
Password string `json:"password"`
Token string `json:"token"`
}
ResetInputBody defines model for ResetInputBody.
type ResetRequestInputBody ¶
type ResetRequestInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ResetRequestInputBody.json
Schema *string `json:"$schema,omitempty"`
Email openapi_types.Email `json:"email"`
// TurnstileToken Cloudflare Turnstile response (required if the server has it configured)
TurnstileToken *string `json:"turnstile_token,omitempty"`
}
ResetRequestInputBody defines model for ResetRequestInputBody.
type ResizeInputBody ¶
type ResizeInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ResizeInputBody.json
Schema *string `json:"$schema,omitempty"`
// Plan Target plan slug (upgrade only)
Plan string `json:"plan"`
}
ResizeInputBody defines model for ResizeInputBody.
type ResourcePriceBody ¶
type ResourcePriceBody struct {
// Currency Currency of monthly_price_minor — the asking organization's
Currency string `json:"currency"`
// Kind snapshot_gb | volume_gb | backup_gb | floating_ip
Kind string `json:"kind"`
// MonthlyPriceMinor RESOLVED price in Currency's minor unit: per GB per month, or per unit per month for floating_ip. Hourly total = ceil(size_gb * monthly / 672)
MonthlyPriceMinor int64 `json:"monthly_price_minor"`
}
ResourcePriceBody defines model for ResourcePriceBody.
type ResourcePricesListResponse ¶
type ResourcePricesListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ResourcePricesOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseResourcePricesListResponse ¶
func ParseResourcePricesListResponse(rsp *http.Response) (*ResourcePricesListResponse, error)
ParseResourcePricesListResponse parses an HTTP response from a ResourcePricesListWithResponse call
func (ResourcePricesListResponse) ContentType ¶
func (r ResourcePricesListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResourcePricesListResponse) GetApplicationproblemJSONDefault ¶
func (r ResourcePricesListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ResourcePricesListResponse) GetBody ¶
func (r ResourcePricesListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ResourcePricesListResponse) GetJSON200 ¶
func (r ResourcePricesListResponse) GetJSON200() *ResourcePricesOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ResourcePricesListResponse) Status ¶
func (r ResourcePricesListResponse) Status() string
Status returns HTTPResponse.Status
func (ResourcePricesListResponse) StatusCode ¶
func (r ResourcePricesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResourcePricesOutputBody ¶
type ResourcePricesOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ResourcePricesOutputBody.json
Schema *string `json:"$schema,omitempty"`
Prices *[]ResourcePriceBody `json:"prices"`
}
ResourcePricesOutputBody defines model for ResourcePricesOutputBody.
type ServerActionCreateJSONRequestBody ¶
type ServerActionCreateJSONRequestBody = ActionInputBody
ServerActionCreateJSONRequestBody defines body for ServerActionCreate for application/json ContentType.
type ServerActionCreateResponse ¶
type ServerActionCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ActionBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerActionCreateResponse ¶
func ParseServerActionCreateResponse(rsp *http.Response) (*ServerActionCreateResponse, error)
ParseServerActionCreateResponse parses an HTTP response from a ServerActionCreateWithResponse call
func (ServerActionCreateResponse) ContentType ¶
func (r ServerActionCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerActionCreateResponse) GetApplicationproblemJSONDefault ¶
func (r ServerActionCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerActionCreateResponse) GetBody ¶
func (r ServerActionCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerActionCreateResponse) GetJSON202 ¶
func (r ServerActionCreateResponse) GetJSON202() *ActionBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerActionCreateResponse) Status ¶
func (r ServerActionCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ServerActionCreateResponse) StatusCode ¶
func (r ServerActionCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerActionGetResponse ¶
type ServerActionGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ActionBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerActionGetResponse ¶
func ParseServerActionGetResponse(rsp *http.Response) (*ServerActionGetResponse, error)
ParseServerActionGetResponse parses an HTTP response from a ServerActionGetWithResponse call
func (ServerActionGetResponse) ContentType ¶
func (r ServerActionGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerActionGetResponse) GetApplicationproblemJSONDefault ¶
func (r ServerActionGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerActionGetResponse) GetBody ¶
func (r ServerActionGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerActionGetResponse) GetJSON200 ¶
func (r ServerActionGetResponse) GetJSON200() *ActionBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerActionGetResponse) Status ¶
func (r ServerActionGetResponse) Status() string
Status returns HTTPResponse.Status
func (ServerActionGetResponse) StatusCode ¶
func (r ServerActionGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerAlertDeleteParamsMetric ¶
type ServerAlertDeleteParamsMetric string
ServerAlertDeleteParamsMetric defines parameters for ServerAlertDelete.
const ( ServerAlertDeleteParamsMetricCpu ServerAlertDeleteParamsMetric = "cpu" ServerAlertDeleteParamsMetricDisk ServerAlertDeleteParamsMetric = "disk" ServerAlertDeleteParamsMetricMemory ServerAlertDeleteParamsMetric = "memory" ServerAlertDeleteParamsMetricNetOut ServerAlertDeleteParamsMetric = "net_out" ServerAlertDeleteParamsMetricTraffic ServerAlertDeleteParamsMetric = "traffic" )
Defines values for ServerAlertDeleteParamsMetric.
func (ServerAlertDeleteParamsMetric) Valid ¶
func (e ServerAlertDeleteParamsMetric) Valid() bool
Valid indicates whether the value is a known member of the ServerAlertDeleteParamsMetric enum.
type ServerAlertDeleteResponse ¶
type ServerAlertDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerAlertDeleteResponse ¶
func ParseServerAlertDeleteResponse(rsp *http.Response) (*ServerAlertDeleteResponse, error)
ParseServerAlertDeleteResponse parses an HTTP response from a ServerAlertDeleteWithResponse call
func (ServerAlertDeleteResponse) ContentType ¶
func (r ServerAlertDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerAlertDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r ServerAlertDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerAlertDeleteResponse) GetBody ¶
func (r ServerAlertDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerAlertDeleteResponse) Status ¶
func (r ServerAlertDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (ServerAlertDeleteResponse) StatusCode ¶
func (r ServerAlertDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerAlertSaveJSONRequestBody ¶
type ServerAlertSaveJSONRequestBody = AlertSaveInputBody
ServerAlertSaveJSONRequestBody defines body for ServerAlertSave for application/json ContentType.
type ServerAlertSaveResponse ¶
type ServerAlertSaveResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AlertBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerAlertSaveResponse ¶
func ParseServerAlertSaveResponse(rsp *http.Response) (*ServerAlertSaveResponse, error)
ParseServerAlertSaveResponse parses an HTTP response from a ServerAlertSaveWithResponse call
func (ServerAlertSaveResponse) ContentType ¶
func (r ServerAlertSaveResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerAlertSaveResponse) GetApplicationproblemJSONDefault ¶
func (r ServerAlertSaveResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerAlertSaveResponse) GetBody ¶
func (r ServerAlertSaveResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerAlertSaveResponse) GetJSON200 ¶
func (r ServerAlertSaveResponse) GetJSON200() *AlertBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerAlertSaveResponse) Status ¶
func (r ServerAlertSaveResponse) Status() string
Status returns HTTPResponse.Status
func (ServerAlertSaveResponse) StatusCode ¶
func (r ServerAlertSaveResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerAlertsListResponse ¶
type ServerAlertsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AlertsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerAlertsListResponse ¶
func ParseServerAlertsListResponse(rsp *http.Response) (*ServerAlertsListResponse, error)
ParseServerAlertsListResponse parses an HTTP response from a ServerAlertsListWithResponse call
func (ServerAlertsListResponse) ContentType ¶
func (r ServerAlertsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerAlertsListResponse) GetApplicationproblemJSONDefault ¶
func (r ServerAlertsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerAlertsListResponse) GetBody ¶
func (r ServerAlertsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerAlertsListResponse) GetJSON200 ¶
func (r ServerAlertsListResponse) GetJSON200() *AlertsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerAlertsListResponse) Status ¶
func (r ServerAlertsListResponse) Status() string
Status returns HTTPResponse.Status
func (ServerAlertsListResponse) StatusCode ¶
func (r ServerAlertsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerAppRetryResponse ¶
type ServerAppRetryResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *AppRetryOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerAppRetryResponse ¶
func ParseServerAppRetryResponse(rsp *http.Response) (*ServerAppRetryResponse, error)
ParseServerAppRetryResponse parses an HTTP response from a ServerAppRetryWithResponse call
func (ServerAppRetryResponse) ContentType ¶
func (r ServerAppRetryResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerAppRetryResponse) GetApplicationproblemJSONDefault ¶
func (r ServerAppRetryResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerAppRetryResponse) GetBody ¶
func (r ServerAppRetryResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerAppRetryResponse) GetJSON202 ¶
func (r ServerAppRetryResponse) GetJSON202() *AppRetryOutputBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerAppRetryResponse) Status ¶
func (r ServerAppRetryResponse) Status() string
Status returns HTTPResponse.Status
func (ServerAppRetryResponse) StatusCode ¶
func (r ServerAppRetryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerBackupCreateJSONRequestBody ¶
type ServerBackupCreateJSONRequestBody = BackupCreateInputBody
ServerBackupCreateJSONRequestBody defines body for ServerBackupCreate for application/json ContentType.
type ServerBackupCreateResponse ¶
type ServerBackupCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *BackupBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerBackupCreateResponse ¶
func ParseServerBackupCreateResponse(rsp *http.Response) (*ServerBackupCreateResponse, error)
ParseServerBackupCreateResponse parses an HTTP response from a ServerBackupCreateWithResponse call
func (ServerBackupCreateResponse) ContentType ¶
func (r ServerBackupCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerBackupCreateResponse) GetApplicationproblemJSONDefault ¶
func (r ServerBackupCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerBackupCreateResponse) GetBody ¶
func (r ServerBackupCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerBackupCreateResponse) GetJSON202 ¶
func (r ServerBackupCreateResponse) GetJSON202() *BackupBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerBackupCreateResponse) Status ¶
func (r ServerBackupCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ServerBackupCreateResponse) StatusCode ¶
func (r ServerBackupCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerBackupDeleteResponse ¶
type ServerBackupDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerBackupDeleteResponse ¶
func ParseServerBackupDeleteResponse(rsp *http.Response) (*ServerBackupDeleteResponse, error)
ParseServerBackupDeleteResponse parses an HTTP response from a ServerBackupDeleteWithResponse call
func (ServerBackupDeleteResponse) ContentType ¶
func (r ServerBackupDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerBackupDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r ServerBackupDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerBackupDeleteResponse) GetBody ¶
func (r ServerBackupDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerBackupDeleteResponse) Status ¶
func (r ServerBackupDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (ServerBackupDeleteResponse) StatusCode ¶
func (r ServerBackupDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerBackupListAllParams ¶
type ServerBackupListAllParams struct {
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
ServerBackupListAllParams defines parameters for ServerBackupListAll.
type ServerBackupListAllResponse ¶
type ServerBackupListAllResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BackupListAllOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerBackupListAllResponse ¶
func ParseServerBackupListAllResponse(rsp *http.Response) (*ServerBackupListAllResponse, error)
ParseServerBackupListAllResponse parses an HTTP response from a ServerBackupListAllWithResponse call
func (ServerBackupListAllResponse) ContentType ¶
func (r ServerBackupListAllResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerBackupListAllResponse) GetApplicationproblemJSONDefault ¶
func (r ServerBackupListAllResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerBackupListAllResponse) GetBody ¶
func (r ServerBackupListAllResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerBackupListAllResponse) GetJSON200 ¶
func (r ServerBackupListAllResponse) GetJSON200() *BackupListAllOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerBackupListAllResponse) Status ¶
func (r ServerBackupListAllResponse) Status() string
Status returns HTTPResponse.Status
func (ServerBackupListAllResponse) StatusCode ¶
func (r ServerBackupListAllResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerBackupListResponse ¶
type ServerBackupListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BackupListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerBackupListResponse ¶
func ParseServerBackupListResponse(rsp *http.Response) (*ServerBackupListResponse, error)
ParseServerBackupListResponse parses an HTTP response from a ServerBackupListWithResponse call
func (ServerBackupListResponse) ContentType ¶
func (r ServerBackupListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerBackupListResponse) GetApplicationproblemJSONDefault ¶
func (r ServerBackupListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerBackupListResponse) GetBody ¶
func (r ServerBackupListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerBackupListResponse) GetJSON200 ¶
func (r ServerBackupListResponse) GetJSON200() *BackupListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerBackupListResponse) Status ¶
func (r ServerBackupListResponse) Status() string
Status returns HTTPResponse.Status
func (ServerBackupListResponse) StatusCode ¶
func (r ServerBackupListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerBackupRestoreResponse ¶
type ServerBackupRestoreResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ActionBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerBackupRestoreResponse ¶
func ParseServerBackupRestoreResponse(rsp *http.Response) (*ServerBackupRestoreResponse, error)
ParseServerBackupRestoreResponse parses an HTTP response from a ServerBackupRestoreWithResponse call
func (ServerBackupRestoreResponse) ContentType ¶
func (r ServerBackupRestoreResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerBackupRestoreResponse) GetApplicationproblemJSONDefault ¶
func (r ServerBackupRestoreResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerBackupRestoreResponse) GetBody ¶
func (r ServerBackupRestoreResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerBackupRestoreResponse) GetJSON202 ¶
func (r ServerBackupRestoreResponse) GetJSON202() *ActionBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerBackupRestoreResponse) Status ¶
func (r ServerBackupRestoreResponse) Status() string
Status returns HTTPResponse.Status
func (ServerBackupRestoreResponse) StatusCode ¶
func (r ServerBackupRestoreResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerBackupSettingsGetResponse ¶
type ServerBackupSettingsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BackupSettingsBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerBackupSettingsGetResponse ¶
func ParseServerBackupSettingsGetResponse(rsp *http.Response) (*ServerBackupSettingsGetResponse, error)
ParseServerBackupSettingsGetResponse parses an HTTP response from a ServerBackupSettingsGetWithResponse call
func (ServerBackupSettingsGetResponse) ContentType ¶
func (r ServerBackupSettingsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerBackupSettingsGetResponse) GetApplicationproblemJSONDefault ¶
func (r ServerBackupSettingsGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerBackupSettingsGetResponse) GetBody ¶
func (r ServerBackupSettingsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerBackupSettingsGetResponse) GetJSON200 ¶
func (r ServerBackupSettingsGetResponse) GetJSON200() *BackupSettingsBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerBackupSettingsGetResponse) Status ¶
func (r ServerBackupSettingsGetResponse) Status() string
Status returns HTTPResponse.Status
func (ServerBackupSettingsGetResponse) StatusCode ¶
func (r ServerBackupSettingsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerBackupSettingsUpdateJSONRequestBody ¶
type ServerBackupSettingsUpdateJSONRequestBody = BackupSettingsUpdateInputBody
ServerBackupSettingsUpdateJSONRequestBody defines body for ServerBackupSettingsUpdate for application/json ContentType.
type ServerBackupSettingsUpdateResponse ¶
type ServerBackupSettingsUpdateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BackupSettingsBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerBackupSettingsUpdateResponse ¶
func ParseServerBackupSettingsUpdateResponse(rsp *http.Response) (*ServerBackupSettingsUpdateResponse, error)
ParseServerBackupSettingsUpdateResponse parses an HTTP response from a ServerBackupSettingsUpdateWithResponse call
func (ServerBackupSettingsUpdateResponse) ContentType ¶
func (r ServerBackupSettingsUpdateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerBackupSettingsUpdateResponse) GetApplicationproblemJSONDefault ¶
func (r ServerBackupSettingsUpdateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerBackupSettingsUpdateResponse) GetBody ¶
func (r ServerBackupSettingsUpdateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerBackupSettingsUpdateResponse) GetJSON200 ¶
func (r ServerBackupSettingsUpdateResponse) GetJSON200() *BackupSettingsBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerBackupSettingsUpdateResponse) Status ¶
func (r ServerBackupSettingsUpdateResponse) Status() string
Status returns HTTPResponse.Status
func (ServerBackupSettingsUpdateResponse) StatusCode ¶
func (r ServerBackupSettingsUpdateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerBillingAttached ¶
type ServerBillingAttached struct {
BackupAutoEnabled bool `json:"backup_auto_enabled"`
BackupCount int64 `json:"backup_count"`
BackupGb int64 `json:"backup_gb"`
// BackupMonthlyMinor Stored backup archives, per GB
BackupMonthlyMinor int64 `json:"backup_monthly_minor"`
BackupSubMonthlyMinor int64 `json:"backup_sub_monthly_minor"`
FloatingIpCount int64 `json:"floating_ip_count"`
FloatingIpMonthlyMinor int64 `json:"floating_ip_monthly_minor"`
SnapshotCount int64 `json:"snapshot_count"`
SnapshotGb int64 `json:"snapshot_gb"`
SnapshotMonthlyMinor int64 `json:"snapshot_monthly_minor"`
// TotalMonthlyMinor Sum of the attached figures above; the plan is NOT included
TotalMonthlyMinor int64 `json:"total_monthly_minor"`
VolumeCount int64 `json:"volume_count"`
VolumeGb int64 `json:"volume_gb"`
VolumeMonthlyMinor int64 `json:"volume_monthly_minor"`
}
ServerBillingAttached defines model for ServerBillingAttached.
type ServerBillingBody ¶
type ServerBillingBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ServerBillingBody.json
Schema *string `json:"$schema,omitempty"`
Attached ServerBillingAttached `json:"attached"`
// BillingMode monthly (prepaid) or hourly (legacy)
BillingMode string `json:"billing_mode"`
// ChargeCurrency Currency of every *_minor field in this response
ChargeCurrency string `json:"charge_currency"`
// LedgerEntryCount Rows the ledger list pages through
LedgerEntryCount int64 `json:"ledger_entry_count"`
// LifetimeChargedMinor Everything ever debited for this server
LifetimeChargedMinor int64 `json:"lifetime_charged_minor"`
LifetimeRefundedMinor int64 `json:"lifetime_refunded_minor"`
// LifetimeUnavailable True when the wallet holds more than one currency, so the lifetime totals cannot be added up honestly. Render the entries instead of a total
Period ServerBillingPeriod `json:"period"`
// PlanMonthlyMinor The frozen plan price resolved into charge_currency; 0 = no usable rate
PlanMonthlyMinor int64 `json:"plan_monthly_minor"`
// TotalMonthlyMinor plan_monthly_minor + attached.total_monthly_minor — what this server costs per month as it stands today
TotalMonthlyMinor int64 `json:"total_monthly_minor"`
Traffic ServerBillingTraffic `json:"traffic"`
}
ServerBillingBody defines model for ServerBillingBody.
type ServerBillingGetResponse ¶
type ServerBillingGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServerBillingBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerBillingGetResponse ¶
func ParseServerBillingGetResponse(rsp *http.Response) (*ServerBillingGetResponse, error)
ParseServerBillingGetResponse parses an HTTP response from a ServerBillingGetWithResponse call
func (ServerBillingGetResponse) ContentType ¶
func (r ServerBillingGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerBillingGetResponse) GetApplicationproblemJSONDefault ¶
func (r ServerBillingGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerBillingGetResponse) GetBody ¶
func (r ServerBillingGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerBillingGetResponse) GetJSON200 ¶
func (r ServerBillingGetResponse) GetJSON200() *ServerBillingBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerBillingGetResponse) Status ¶
func (r ServerBillingGetResponse) Status() string
Status returns HTTPResponse.Status
func (ServerBillingGetResponse) StatusCode ¶
func (r ServerBillingGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerBillingPeriod ¶
type ServerBillingPeriod struct {
// PaidMinor What the current prepaid period actually cost: the period charge plus resize upgrade diffs, net of anything already refunded for it. An early-delete refund is pro-rated from this figure, or from the plan price when that is fixed in charge_currency and lower, so it never exceeds it
PaidMinor int64 `json:"paid_minor"`
// PaidThrough End of the prepaid period; absent in hourly mode
PaidThrough *time.Time `json:"paid_through,omitempty"`
}
ServerBillingPeriod defines model for ServerBillingPeriod.
type ServerBillingTraffic ¶
type ServerBillingTraffic struct {
OverageChargedMinor int64 `json:"overage_charged_minor"`
// QuotaBytes 0 means the server carries no allowance and overage is never billed
QuotaBytes int64 `json:"quota_bytes"`
// UsedBytes Outbound bytes this calendar month (Europe/Istanbul boundaries, the same the meter bills on)
UsedBytes int64 `json:"used_bytes"`
}
ServerBillingTraffic defines model for ServerBillingTraffic.
type ServerBody ¶
type ServerBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ServerBody.json
Schema *string `json:"$schema,omitempty"`
// AppState installing | ready | failed (marketplace apps only)
AppState *string `json:"app_state,omitempty"`
BillingMode string `json:"billing_mode"`
// ChargeCurrency Currency of every *_charge_minor field in this response
ChargeCurrency string `json:"charge_currency"`
// Code Short public server number — used in panel URLs and support references
Code string `json:"code"`
CreatedAt time.Time `json:"created_at"`
ErrorCode *string `json:"error_code,omitempty"`
// Firewalls Attached firewalls (detail response only)
Firewalls *[]ServerFirewallRef `json:"firewalls,omitempty"`
// FloatingIps Attached floating IPs (detail response only). The fixed IP stays live alongside them
FloatingIps *[]ServerFloatingIPRef `json:"floating_ips,omitempty"`
Hostname *string `json:"hostname,omitempty"`
Id string `json:"id"`
Image ImageSnapshot `json:"image"`
Ip *string `json:"ip,omitempty"`
// IsoId Attached custom ISO ID
IsoId *string `json:"iso_id,omitempty"`
// IsoMountedAt Attached custom ISO timestamp
IsoMountedAt *time.Time `json:"iso_mounted_at,omitempty"`
// MonthlyChargeMinor Frozen plan price resolved into charge_currency (USD-based plans converted at the latest rate); 0 = no usable rate, show the frozen plan terms instead
MonthlyChargeMinor int64 `json:"monthly_charge_minor"`
Name string `json:"name"`
// Network Joined private network (detail response only)
Network *ServerNetworkRef `json:"network,omitempty"`
// PaidThrough Next due date in monthly mode
PaidThrough *time.Time `json:"paid_through,omitempty"`
Plan PlanSnapshot `json:"plan"`
// PriceChange Upcoming monthly charge change (detail response only); absent when none is pending
PriceChange *ServerPriceChange `json:"price_change,omitempty"`
// PrivateIp Address on the joined private network
PrivateIp *string `json:"private_ip,omitempty"`
// ProjectId Project the server belongs to (organizational)
ProjectId *string `json:"project_id,omitempty"`
ProvisionStep *string `json:"provision_step,omitempty"`
// Region Placement region (the physical host is never exposed)
Region *RegionRef `json:"region,omitempty"`
// RescueStartedAt Set while the server is running in rescue mode
RescueStartedAt *time.Time `json:"rescue_started_at,omitempty"`
// SnapshotGbChargeMinor Plan's per-GB snapshot price in charge_currency; 0 = use the global resource price
SnapshotGbChargeMinor *int64 `json:"snapshot_gb_charge_minor,omitempty"`
// State SETTLED when it is running, stopped, suspended, abuse_suspended, deleted or any error_* state; everything else means work is still in flight and the value will change on its own. A create settles on running. Poll with increasing intervals (1s to 15s), never tightly.
State ServerBodyState `json:"state"`
StateSince time.Time `json:"state_since"`
// Tags Tags this resource carries. Set them with PUT .../tags.
Tags *[]string `json:"tags"`
// TrafficUsedBytes Outbound bytes used this month (detail response only)
TrafficUsedBytes *int64 `json:"traffic_used_bytes,omitempty"`
// Usage This month's resize/reinstall counts vs their monthly caps (detail response only)
Usage *ActionUsage `json:"usage,omitempty"`
// UsageCpuPct List only. Newest sample; percent of the whole VM.
UsageCpuPct *float32 `json:"usage_cpu_pct,omitempty"`
// UsageMemBytes List only.
UsageMemBytes *int64 `json:"usage_mem_bytes,omitempty"`
}
ServerBody defines model for ServerBody.
type ServerBodyState ¶
type ServerBodyState string
ServerBodyState SETTLED when it is running, stopped, suspended, abuse_suspended, deleted or any error_* state; everything else means work is still in flight and the value will change on its own. A create settles on running. Poll with increasing intervals (1s to 15s), never tightly.
const ( ServerBodyStateAbuseSuspended ServerBodyState = "abuse_suspended" ServerBodyStateDeleted ServerBodyState = "deleted" ServerBodyStateDeleting ServerBodyState = "deleting" ServerBodyStateErrorDelete ServerBodyState = "error_delete" ServerBodyStateErrorProvisioning ServerBodyState = "error_provisioning" ServerBodyStateErrorRebuild ServerBodyState = "error_rebuild" ServerBodyStateErrorReconfigure ServerBodyState = "error_reconfigure" ServerBodyStateErrorResize ServerBodyState = "error_resize" ServerBodyStateErrorRestore ServerBodyState = "error_restore" ServerBodyStateProvisioning ServerBodyState = "provisioning" ServerBodyStateRebooting ServerBodyState = "rebooting" ServerBodyStateRebuilding ServerBodyState = "rebuilding" ServerBodyStateReconfiguring ServerBodyState = "reconfiguring" ServerBodyStateResizing ServerBodyState = "resizing" ServerBodyStateRestoring ServerBodyState = "restoring" ServerBodyStateRunning ServerBodyState = "running" ServerBodyStateStarting ServerBodyState = "starting" ServerBodyStateStopped ServerBodyState = "stopped" ServerBodyStateStopping ServerBodyState = "stopping" ServerBodyStateSuspended ServerBodyState = "suspended" ServerBodyStateSuspending ServerBodyState = "suspending" )
Defines values for ServerBodyState.
func (ServerBodyState) Valid ¶
func (e ServerBodyState) Valid() bool
Valid indicates whether the value is a known member of the ServerBodyState enum.
type ServerConsoleCreateResponse ¶
type ServerConsoleCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ConsoleOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerConsoleCreateResponse ¶
func ParseServerConsoleCreateResponse(rsp *http.Response) (*ServerConsoleCreateResponse, error)
ParseServerConsoleCreateResponse parses an HTTP response from a ServerConsoleCreateWithResponse call
func (ServerConsoleCreateResponse) ContentType ¶
func (r ServerConsoleCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerConsoleCreateResponse) GetApplicationproblemJSONDefault ¶
func (r ServerConsoleCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerConsoleCreateResponse) GetBody ¶
func (r ServerConsoleCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerConsoleCreateResponse) GetJSON201 ¶
func (r ServerConsoleCreateResponse) GetJSON201() *ConsoleOutputBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (ServerConsoleCreateResponse) Status ¶
func (r ServerConsoleCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ServerConsoleCreateResponse) StatusCode ¶
func (r ServerConsoleCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerCreateJSONRequestBody ¶
type ServerCreateJSONRequestBody = CreateInputBody
ServerCreateJSONRequestBody defines body for ServerCreate for application/json ContentType.
type ServerCreateParams ¶
type ServerCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
ServerCreateParams defines parameters for ServerCreate.
type ServerCreateResponse ¶
type ServerCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *CreateOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerCreateResponse ¶
func ParseServerCreateResponse(rsp *http.Response) (*ServerCreateResponse, error)
ParseServerCreateResponse parses an HTTP response from a ServerCreateWithResponse call
func (ServerCreateResponse) ContentType ¶
func (r ServerCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerCreateResponse) GetApplicationproblemJSONDefault ¶
func (r ServerCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerCreateResponse) GetBody ¶
func (r ServerCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerCreateResponse) GetJSON202 ¶
func (r ServerCreateResponse) GetJSON202() *CreateOutputBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerCreateResponse) Status ¶
func (r ServerCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ServerCreateResponse) StatusCode ¶
func (r ServerCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerDeleteParams ¶
type ServerDeleteParams struct {
// DeleteBackups If true, also permanently delete all backups of this server
DeleteBackups *bool `form:"delete_backups,omitempty" json:"delete_backups,omitempty"`
}
ServerDeleteParams defines parameters for ServerDelete.
type ServerDeleteResponse ¶
type ServerDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerDeleteResponse ¶
func ParseServerDeleteResponse(rsp *http.Response) (*ServerDeleteResponse, error)
ParseServerDeleteResponse parses an HTTP response from a ServerDeleteWithResponse call
func (ServerDeleteResponse) ContentType ¶
func (r ServerDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r ServerDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerDeleteResponse) GetBody ¶
func (r ServerDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerDeleteResponse) Status ¶
func (r ServerDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (ServerDeleteResponse) StatusCode ¶
func (r ServerDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerDiskMetricsListParams ¶ added in v0.3.0
type ServerDiskMetricsListParams struct {
// Window Metric window. hour/day serve raw 1-minute samples; week serves the 7-day hourly rollup (one averaged point per hour)
Window *ServerDiskMetricsListParamsWindow `form:"window,omitempty" json:"window,omitempty"`
}
ServerDiskMetricsListParams defines parameters for ServerDiskMetricsList.
type ServerDiskMetricsListParamsWindow ¶ added in v0.3.0
type ServerDiskMetricsListParamsWindow string
ServerDiskMetricsListParamsWindow defines parameters for ServerDiskMetricsList.
const ( ServerDiskMetricsListParamsWindowDay ServerDiskMetricsListParamsWindow = "day" ServerDiskMetricsListParamsWindowHour ServerDiskMetricsListParamsWindow = "hour" ServerDiskMetricsListParamsWindowWeek ServerDiskMetricsListParamsWindow = "week" )
Defines values for ServerDiskMetricsListParamsWindow.
func (ServerDiskMetricsListParamsWindow) Valid ¶ added in v0.3.0
func (e ServerDiskMetricsListParamsWindow) Valid() bool
Valid indicates whether the value is a known member of the ServerDiskMetricsListParamsWindow enum.
type ServerDiskMetricsListResponse ¶ added in v0.3.0
type ServerDiskMetricsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DiskMetricsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerDiskMetricsListResponse ¶ added in v0.3.0
func ParseServerDiskMetricsListResponse(rsp *http.Response) (*ServerDiskMetricsListResponse, error)
ParseServerDiskMetricsListResponse parses an HTTP response from a ServerDiskMetricsListWithResponse call
func (ServerDiskMetricsListResponse) ContentType ¶ added in v0.3.0
func (r ServerDiskMetricsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerDiskMetricsListResponse) GetApplicationproblemJSONDefault ¶ added in v0.3.0
func (r ServerDiskMetricsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerDiskMetricsListResponse) GetBody ¶ added in v0.3.0
func (r ServerDiskMetricsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerDiskMetricsListResponse) GetJSON200 ¶ added in v0.3.0
func (r ServerDiskMetricsListResponse) GetJSON200() *DiskMetricsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerDiskMetricsListResponse) Status ¶ added in v0.3.0
func (r ServerDiskMetricsListResponse) Status() string
Status returns HTTPResponse.Status
func (ServerDiskMetricsListResponse) StatusCode ¶ added in v0.3.0
func (r ServerDiskMetricsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerEventsListParams ¶
type ServerEventsListParams struct {
AfterId *int64 `form:"after_id,omitempty" json:"after_id,omitempty"`
}
ServerEventsListParams defines parameters for ServerEventsList.
type ServerEventsListResponse ¶
type ServerEventsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *EventsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerEventsListResponse ¶
func ParseServerEventsListResponse(rsp *http.Response) (*ServerEventsListResponse, error)
ParseServerEventsListResponse parses an HTTP response from a ServerEventsListWithResponse call
func (ServerEventsListResponse) ContentType ¶
func (r ServerEventsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerEventsListResponse) GetApplicationproblemJSONDefault ¶
func (r ServerEventsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerEventsListResponse) GetBody ¶
func (r ServerEventsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerEventsListResponse) GetJSON200 ¶
func (r ServerEventsListResponse) GetJSON200() *EventsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerEventsListResponse) Status ¶
func (r ServerEventsListResponse) Status() string
Status returns HTTPResponse.Status
func (ServerEventsListResponse) StatusCode ¶
func (r ServerEventsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerFilesystemsListResponse ¶
type ServerFilesystemsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *FilesystemsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerFilesystemsListResponse ¶
func ParseServerFilesystemsListResponse(rsp *http.Response) (*ServerFilesystemsListResponse, error)
ParseServerFilesystemsListResponse parses an HTTP response from a ServerFilesystemsListWithResponse call
func (ServerFilesystemsListResponse) ContentType ¶
func (r ServerFilesystemsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerFilesystemsListResponse) GetApplicationproblemJSONDefault ¶
func (r ServerFilesystemsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerFilesystemsListResponse) GetBody ¶
func (r ServerFilesystemsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerFilesystemsListResponse) GetJSON200 ¶
func (r ServerFilesystemsListResponse) GetJSON200() *FilesystemsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerFilesystemsListResponse) Status ¶
func (r ServerFilesystemsListResponse) Status() string
Status returns HTTPResponse.Status
func (ServerFilesystemsListResponse) StatusCode ¶
func (r ServerFilesystemsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerFirewallRef ¶
ServerFirewallRef defines model for ServerFirewallRef.
type ServerFloatingIPRef ¶
ServerFloatingIPRef defines model for ServerFloatingIPRef.
type ServerGetResponse ¶
type ServerGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServerBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerGetResponse ¶
func ParseServerGetResponse(rsp *http.Response) (*ServerGetResponse, error)
ParseServerGetResponse parses an HTTP response from a ServerGetWithResponse call
func (ServerGetResponse) ContentType ¶
func (r ServerGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerGetResponse) GetApplicationproblemJSONDefault ¶
func (r ServerGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerGetResponse) GetBody ¶
func (r ServerGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerGetResponse) GetJSON200 ¶
func (r ServerGetResponse) GetJSON200() *ServerBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerGetResponse) Status ¶
func (r ServerGetResponse) Status() string
Status returns HTTPResponse.Status
func (ServerGetResponse) StatusCode ¶
func (r ServerGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerLedgerListParams ¶
type ServerLedgerListParams struct {
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
ServerLedgerListParams defines parameters for ServerLedgerList.
type ServerLedgerListResponse ¶
type ServerLedgerListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServerLedgerOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerLedgerListResponse ¶
func ParseServerLedgerListResponse(rsp *http.Response) (*ServerLedgerListResponse, error)
ParseServerLedgerListResponse parses an HTTP response from a ServerLedgerListWithResponse call
func (ServerLedgerListResponse) ContentType ¶
func (r ServerLedgerListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerLedgerListResponse) GetApplicationproblemJSONDefault ¶
func (r ServerLedgerListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerLedgerListResponse) GetBody ¶
func (r ServerLedgerListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerLedgerListResponse) GetJSON200 ¶
func (r ServerLedgerListResponse) GetJSON200() *ServerLedgerOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerLedgerListResponse) Status ¶
func (r ServerLedgerListResponse) Status() string
Status returns HTTPResponse.Status
func (ServerLedgerListResponse) StatusCode ¶
func (r ServerLedgerListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerLedgerOutputBody ¶
type ServerLedgerOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ServerLedgerOutputBody.json
Schema *string `json:"$schema,omitempty"`
Entries *[]LedgerEntryBody `json:"entries"`
Total int64 `json:"total"`
}
ServerLedgerOutputBody defines model for ServerLedgerOutputBody.
type ServerMetricsListParams ¶
type ServerMetricsListParams struct {
// Window Metric window. hour/day serve raw 1-minute samples; week serves the 7-day hourly rollup (one averaged point per hour)
Window *ServerMetricsListParamsWindow `form:"window,omitempty" json:"window,omitempty"`
}
ServerMetricsListParams defines parameters for ServerMetricsList.
type ServerMetricsListParamsWindow ¶
type ServerMetricsListParamsWindow string
ServerMetricsListParamsWindow defines parameters for ServerMetricsList.
const ( ServerMetricsListParamsWindowDay ServerMetricsListParamsWindow = "day" ServerMetricsListParamsWindowHour ServerMetricsListParamsWindow = "hour" ServerMetricsListParamsWindowWeek ServerMetricsListParamsWindow = "week" )
Defines values for ServerMetricsListParamsWindow.
func (ServerMetricsListParamsWindow) Valid ¶
func (e ServerMetricsListParamsWindow) Valid() bool
Valid indicates whether the value is a known member of the ServerMetricsListParamsWindow enum.
type ServerMetricsListResponse ¶
type ServerMetricsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *MetricsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerMetricsListResponse ¶
func ParseServerMetricsListResponse(rsp *http.Response) (*ServerMetricsListResponse, error)
ParseServerMetricsListResponse parses an HTTP response from a ServerMetricsListWithResponse call
func (ServerMetricsListResponse) ContentType ¶
func (r ServerMetricsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerMetricsListResponse) GetApplicationproblemJSONDefault ¶
func (r ServerMetricsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerMetricsListResponse) GetBody ¶
func (r ServerMetricsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerMetricsListResponse) GetJSON200 ¶
func (r ServerMetricsListResponse) GetJSON200() *MetricsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerMetricsListResponse) Status ¶
func (r ServerMetricsListResponse) Status() string
Status returns HTTPResponse.Status
func (ServerMetricsListResponse) StatusCode ¶
func (r ServerMetricsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerMountISOInputBody ¶
type ServerMountISOInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ServerMountISOInputBody.json
Schema *string `json:"$schema,omitempty"`
// IsoId Custom ISO ID to mount
IsoId string `json:"iso_id"`
}
ServerMountISOInputBody defines model for ServerMountISOInputBody.
type ServerMountISOJSONRequestBody ¶
type ServerMountISOJSONRequestBody = ServerMountISOInputBody
ServerMountISOJSONRequestBody defines body for ServerMountISO for application/json ContentType.
type ServerMountISOOutputBody ¶
type ServerMountISOOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ServerMountISOOutputBody.json
Schema *string `json:"$schema,omitempty"`
ActionId string `json:"action_id"`
Status string `json:"status"`
}
ServerMountISOOutputBody defines model for ServerMountISOOutputBody.
type ServerMountISOResponse ¶
type ServerMountISOResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServerMountISOOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerMountISOResponse ¶
func ParseServerMountISOResponse(rsp *http.Response) (*ServerMountISOResponse, error)
ParseServerMountISOResponse parses an HTTP response from a ServerMountISOWithResponse call
func (ServerMountISOResponse) ContentType ¶
func (r ServerMountISOResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerMountISOResponse) GetApplicationproblemJSONDefault ¶
func (r ServerMountISOResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerMountISOResponse) GetBody ¶
func (r ServerMountISOResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerMountISOResponse) GetJSON200 ¶
func (r ServerMountISOResponse) GetJSON200() *ServerMountISOOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerMountISOResponse) Status ¶
func (r ServerMountISOResponse) Status() string
Status returns HTTPResponse.Status
func (ServerMountISOResponse) StatusCode ¶
func (r ServerMountISOResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerNetworkAttachJSONRequestBody ¶
type ServerNetworkAttachJSONRequestBody = NetAttachInputBody
ServerNetworkAttachJSONRequestBody defines body for ServerNetworkAttach for application/json ContentType.
type ServerNetworkAttachResponse ¶
type ServerNetworkAttachResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ActionBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerNetworkAttachResponse ¶
func ParseServerNetworkAttachResponse(rsp *http.Response) (*ServerNetworkAttachResponse, error)
ParseServerNetworkAttachResponse parses an HTTP response from a ServerNetworkAttachWithResponse call
func (ServerNetworkAttachResponse) ContentType ¶
func (r ServerNetworkAttachResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerNetworkAttachResponse) GetApplicationproblemJSONDefault ¶
func (r ServerNetworkAttachResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerNetworkAttachResponse) GetBody ¶
func (r ServerNetworkAttachResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerNetworkAttachResponse) GetJSON202 ¶
func (r ServerNetworkAttachResponse) GetJSON202() *ActionBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerNetworkAttachResponse) Status ¶
func (r ServerNetworkAttachResponse) Status() string
Status returns HTTPResponse.Status
func (ServerNetworkAttachResponse) StatusCode ¶
func (r ServerNetworkAttachResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerNetworkDetachResponse ¶
type ServerNetworkDetachResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ActionBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerNetworkDetachResponse ¶
func ParseServerNetworkDetachResponse(rsp *http.Response) (*ServerNetworkDetachResponse, error)
ParseServerNetworkDetachResponse parses an HTTP response from a ServerNetworkDetachWithResponse call
func (ServerNetworkDetachResponse) ContentType ¶
func (r ServerNetworkDetachResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerNetworkDetachResponse) GetApplicationproblemJSONDefault ¶
func (r ServerNetworkDetachResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerNetworkDetachResponse) GetBody ¶
func (r ServerNetworkDetachResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerNetworkDetachResponse) GetJSON202 ¶
func (r ServerNetworkDetachResponse) GetJSON202() *ActionBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerNetworkDetachResponse) Status ¶
func (r ServerNetworkDetachResponse) Status() string
Status returns HTTPResponse.Status
func (ServerNetworkDetachResponse) StatusCode ¶
func (r ServerNetworkDetachResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerNetworkRef ¶
ServerNetworkRef defines model for ServerNetworkRef.
type ServerPasswordResetResponse ¶
type ServerPasswordResetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *PasswordResetOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerPasswordResetResponse ¶
func ParseServerPasswordResetResponse(rsp *http.Response) (*ServerPasswordResetResponse, error)
ParseServerPasswordResetResponse parses an HTTP response from a ServerPasswordResetWithResponse call
func (ServerPasswordResetResponse) ContentType ¶
func (r ServerPasswordResetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerPasswordResetResponse) GetApplicationproblemJSONDefault ¶
func (r ServerPasswordResetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerPasswordResetResponse) GetBody ¶
func (r ServerPasswordResetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerPasswordResetResponse) GetJSON202 ¶
func (r ServerPasswordResetResponse) GetJSON202() *PasswordResetOutputBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerPasswordResetResponse) Status ¶
func (r ServerPasswordResetResponse) Status() string
Status returns HTTPResponse.Status
func (ServerPasswordResetResponse) StatusCode ¶
func (r ServerPasswordResetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerPriceChange ¶
type ServerPriceChange struct {
// CurrentChargeMinor What is charged today, in charge_currency
CurrentChargeMinor int64 `json:"current_charge_minor"`
EffectiveAt time.Time `json:"effective_at"`
// Floating True when the new terms are USD-based, so the lira figure moves with the rate
Floating bool `json:"floating"`
// NewChargeMinor What will be charged from effective_at, at today's rate
NewChargeMinor int64 `json:"new_charge_minor"`
}
ServerPriceChange defines model for ServerPriceChange.
type ServerProjectSetJSONRequestBody ¶
type ServerProjectSetJSONRequestBody = ProjectAssignmentBody
ServerProjectSetJSONRequestBody defines body for ServerProjectSet for application/json ContentType.
type ServerProjectSetResponse ¶
type ServerProjectSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerProjectSetResponse ¶
func ParseServerProjectSetResponse(rsp *http.Response) (*ServerProjectSetResponse, error)
ParseServerProjectSetResponse parses an HTTP response from a ServerProjectSetWithResponse call
func (ServerProjectSetResponse) ContentType ¶
func (r ServerProjectSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerProjectSetResponse) GetApplicationproblemJSONDefault ¶
func (r ServerProjectSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerProjectSetResponse) GetBody ¶
func (r ServerProjectSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerProjectSetResponse) Status ¶
func (r ServerProjectSetResponse) Status() string
Status returns HTTPResponse.Status
func (ServerProjectSetResponse) StatusCode ¶
func (r ServerProjectSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerRDNSListResponse ¶
type ServerRDNSListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RdnsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerRDNSListResponse ¶
func ParseServerRDNSListResponse(rsp *http.Response) (*ServerRDNSListResponse, error)
ParseServerRDNSListResponse parses an HTTP response from a ServerRDNSListWithResponse call
func (ServerRDNSListResponse) ContentType ¶
func (r ServerRDNSListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerRDNSListResponse) GetApplicationproblemJSONDefault ¶
func (r ServerRDNSListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerRDNSListResponse) GetBody ¶
func (r ServerRDNSListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerRDNSListResponse) GetJSON200 ¶
func (r ServerRDNSListResponse) GetJSON200() *RdnsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerRDNSListResponse) Status ¶
func (r ServerRDNSListResponse) Status() string
Status returns HTTPResponse.Status
func (ServerRDNSListResponse) StatusCode ¶
func (r ServerRDNSListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerRebuildJSONRequestBody ¶
type ServerRebuildJSONRequestBody = RebuildInputBody
ServerRebuildJSONRequestBody defines body for ServerRebuild for application/json ContentType.
type ServerRebuildResponse ¶
type ServerRebuildResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *RebuildOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerRebuildResponse ¶
func ParseServerRebuildResponse(rsp *http.Response) (*ServerRebuildResponse, error)
ParseServerRebuildResponse parses an HTTP response from a ServerRebuildWithResponse call
func (ServerRebuildResponse) ContentType ¶
func (r ServerRebuildResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerRebuildResponse) GetApplicationproblemJSONDefault ¶
func (r ServerRebuildResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerRebuildResponse) GetBody ¶
func (r ServerRebuildResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerRebuildResponse) GetJSON202 ¶
func (r ServerRebuildResponse) GetJSON202() *RebuildOutputBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerRebuildResponse) Status ¶
func (r ServerRebuildResponse) Status() string
Status returns HTTPResponse.Status
func (ServerRebuildResponse) StatusCode ¶
func (r ServerRebuildResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerRenameJSONRequestBody ¶
type ServerRenameJSONRequestBody = RenameInputBody
ServerRenameJSONRequestBody defines body for ServerRename for application/json ContentType.
type ServerRenameResponse ¶
type ServerRenameResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServerBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerRenameResponse ¶
func ParseServerRenameResponse(rsp *http.Response) (*ServerRenameResponse, error)
ParseServerRenameResponse parses an HTTP response from a ServerRenameWithResponse call
func (ServerRenameResponse) ContentType ¶
func (r ServerRenameResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerRenameResponse) GetApplicationproblemJSONDefault ¶
func (r ServerRenameResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerRenameResponse) GetBody ¶
func (r ServerRenameResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerRenameResponse) GetJSON200 ¶
func (r ServerRenameResponse) GetJSON200() *ServerBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerRenameResponse) Status ¶
func (r ServerRenameResponse) Status() string
Status returns HTTPResponse.Status
func (ServerRenameResponse) StatusCode ¶
func (r ServerRenameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerRescueEnterResponse ¶
type ServerRescueEnterResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ServerRescueOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerRescueEnterResponse ¶
func ParseServerRescueEnterResponse(rsp *http.Response) (*ServerRescueEnterResponse, error)
ParseServerRescueEnterResponse parses an HTTP response from a ServerRescueEnterWithResponse call
func (ServerRescueEnterResponse) ContentType ¶
func (r ServerRescueEnterResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerRescueEnterResponse) GetApplicationproblemJSONDefault ¶
func (r ServerRescueEnterResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerRescueEnterResponse) GetBody ¶
func (r ServerRescueEnterResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerRescueEnterResponse) GetJSON202 ¶
func (r ServerRescueEnterResponse) GetJSON202() *ServerRescueOutputBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerRescueEnterResponse) Status ¶
func (r ServerRescueEnterResponse) Status() string
Status returns HTTPResponse.Status
func (ServerRescueEnterResponse) StatusCode ¶
func (r ServerRescueEnterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerRescueExitResponse ¶
type ServerRescueExitResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ServerRescueOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerRescueExitResponse ¶
func ParseServerRescueExitResponse(rsp *http.Response) (*ServerRescueExitResponse, error)
ParseServerRescueExitResponse parses an HTTP response from a ServerRescueExitWithResponse call
func (ServerRescueExitResponse) ContentType ¶
func (r ServerRescueExitResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerRescueExitResponse) GetApplicationproblemJSONDefault ¶
func (r ServerRescueExitResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerRescueExitResponse) GetBody ¶
func (r ServerRescueExitResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerRescueExitResponse) GetJSON202 ¶
func (r ServerRescueExitResponse) GetJSON202() *ServerRescueOutputBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerRescueExitResponse) Status ¶
func (r ServerRescueExitResponse) Status() string
Status returns HTTPResponse.Status
func (ServerRescueExitResponse) StatusCode ¶
func (r ServerRescueExitResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerRescueOutputBody ¶
type ServerRescueOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ServerRescueOutputBody.json
Schema *string `json:"$schema,omitempty"`
ActionId string `json:"action_id"`
Status string `json:"status"`
}
ServerRescueOutputBody defines model for ServerRescueOutputBody.
type ServerResizeJSONRequestBody ¶
type ServerResizeJSONRequestBody = ResizeInputBody
ServerResizeJSONRequestBody defines body for ServerResize for application/json ContentType.
type ServerResizeResponse ¶
type ServerResizeResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ActionBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerResizeResponse ¶
func ParseServerResizeResponse(rsp *http.Response) (*ServerResizeResponse, error)
ParseServerResizeResponse parses an HTTP response from a ServerResizeWithResponse call
func (ServerResizeResponse) ContentType ¶
func (r ServerResizeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerResizeResponse) GetApplicationproblemJSONDefault ¶
func (r ServerResizeResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerResizeResponse) GetBody ¶
func (r ServerResizeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerResizeResponse) GetJSON202 ¶
func (r ServerResizeResponse) GetJSON202() *ActionBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerResizeResponse) Status ¶
func (r ServerResizeResponse) Status() string
Status returns HTTPResponse.Status
func (ServerResizeResponse) StatusCode ¶
func (r ServerResizeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerSnapshotCreateJSONRequestBody ¶
type ServerSnapshotCreateJSONRequestBody = SnapshotCreateInputBody
ServerSnapshotCreateJSONRequestBody defines body for ServerSnapshotCreate for application/json ContentType.
type ServerSnapshotCreateResponse ¶
type ServerSnapshotCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *SnapshotBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerSnapshotCreateResponse ¶
func ParseServerSnapshotCreateResponse(rsp *http.Response) (*ServerSnapshotCreateResponse, error)
ParseServerSnapshotCreateResponse parses an HTTP response from a ServerSnapshotCreateWithResponse call
func (ServerSnapshotCreateResponse) ContentType ¶
func (r ServerSnapshotCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerSnapshotCreateResponse) GetApplicationproblemJSONDefault ¶
func (r ServerSnapshotCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerSnapshotCreateResponse) GetBody ¶
func (r ServerSnapshotCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerSnapshotCreateResponse) GetJSON202 ¶
func (r ServerSnapshotCreateResponse) GetJSON202() *SnapshotBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerSnapshotCreateResponse) Status ¶
func (r ServerSnapshotCreateResponse) Status() string
Status returns HTTPResponse.Status
func (ServerSnapshotCreateResponse) StatusCode ¶
func (r ServerSnapshotCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerSnapshotDeleteResponse ¶
type ServerSnapshotDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerSnapshotDeleteResponse ¶
func ParseServerSnapshotDeleteResponse(rsp *http.Response) (*ServerSnapshotDeleteResponse, error)
ParseServerSnapshotDeleteResponse parses an HTTP response from a ServerSnapshotDeleteWithResponse call
func (ServerSnapshotDeleteResponse) ContentType ¶
func (r ServerSnapshotDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerSnapshotDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r ServerSnapshotDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerSnapshotDeleteResponse) GetBody ¶
func (r ServerSnapshotDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerSnapshotDeleteResponse) Status ¶
func (r ServerSnapshotDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (ServerSnapshotDeleteResponse) StatusCode ¶
func (r ServerSnapshotDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerSnapshotListAllParams ¶
type ServerSnapshotListAllParams struct {
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
ServerSnapshotListAllParams defines parameters for ServerSnapshotListAll.
type ServerSnapshotListAllResponse ¶
type ServerSnapshotListAllResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SnapshotListAllOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerSnapshotListAllResponse ¶
func ParseServerSnapshotListAllResponse(rsp *http.Response) (*ServerSnapshotListAllResponse, error)
ParseServerSnapshotListAllResponse parses an HTTP response from a ServerSnapshotListAllWithResponse call
func (ServerSnapshotListAllResponse) ContentType ¶
func (r ServerSnapshotListAllResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerSnapshotListAllResponse) GetApplicationproblemJSONDefault ¶
func (r ServerSnapshotListAllResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerSnapshotListAllResponse) GetBody ¶
func (r ServerSnapshotListAllResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerSnapshotListAllResponse) GetJSON200 ¶
func (r ServerSnapshotListAllResponse) GetJSON200() *SnapshotListAllOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerSnapshotListAllResponse) Status ¶
func (r ServerSnapshotListAllResponse) Status() string
Status returns HTTPResponse.Status
func (ServerSnapshotListAllResponse) StatusCode ¶
func (r ServerSnapshotListAllResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerSnapshotListResponse ¶
type ServerSnapshotListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SnapshotListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerSnapshotListResponse ¶
func ParseServerSnapshotListResponse(rsp *http.Response) (*ServerSnapshotListResponse, error)
ParseServerSnapshotListResponse parses an HTTP response from a ServerSnapshotListWithResponse call
func (ServerSnapshotListResponse) ContentType ¶
func (r ServerSnapshotListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerSnapshotListResponse) GetApplicationproblemJSONDefault ¶
func (r ServerSnapshotListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerSnapshotListResponse) GetBody ¶
func (r ServerSnapshotListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerSnapshotListResponse) GetJSON200 ¶
func (r ServerSnapshotListResponse) GetJSON200() *SnapshotListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerSnapshotListResponse) Status ¶
func (r ServerSnapshotListResponse) Status() string
Status returns HTTPResponse.Status
func (ServerSnapshotListResponse) StatusCode ¶
func (r ServerSnapshotListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerSnapshotRestoreResponse ¶
type ServerSnapshotRestoreResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *ActionBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerSnapshotRestoreResponse ¶
func ParseServerSnapshotRestoreResponse(rsp *http.Response) (*ServerSnapshotRestoreResponse, error)
ParseServerSnapshotRestoreResponse parses an HTTP response from a ServerSnapshotRestoreWithResponse call
func (ServerSnapshotRestoreResponse) ContentType ¶
func (r ServerSnapshotRestoreResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerSnapshotRestoreResponse) GetApplicationproblemJSONDefault ¶
func (r ServerSnapshotRestoreResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerSnapshotRestoreResponse) GetBody ¶
func (r ServerSnapshotRestoreResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerSnapshotRestoreResponse) GetJSON202 ¶
func (r ServerSnapshotRestoreResponse) GetJSON202() *ActionBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (ServerSnapshotRestoreResponse) Status ¶
func (r ServerSnapshotRestoreResponse) Status() string
Status returns HTTPResponse.Status
func (ServerSnapshotRestoreResponse) StatusCode ¶
func (r ServerSnapshotRestoreResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerTagsSetJSONRequestBody ¶
type ServerTagsSetJSONRequestBody = TagsBody
ServerTagsSetJSONRequestBody defines body for ServerTagsSet for application/json ContentType.
type ServerTagsSetResponse ¶
type ServerTagsSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TagsBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerTagsSetResponse ¶
func ParseServerTagsSetResponse(rsp *http.Response) (*ServerTagsSetResponse, error)
ParseServerTagsSetResponse parses an HTTP response from a ServerTagsSetWithResponse call
func (ServerTagsSetResponse) ContentType ¶
func (r ServerTagsSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerTagsSetResponse) GetApplicationproblemJSONDefault ¶
func (r ServerTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerTagsSetResponse) GetBody ¶
func (r ServerTagsSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerTagsSetResponse) GetJSON200 ¶
func (r ServerTagsSetResponse) GetJSON200() *TagsBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerTagsSetResponse) Status ¶
func (r ServerTagsSetResponse) Status() string
Status returns HTTPResponse.Status
func (ServerTagsSetResponse) StatusCode ¶
func (r ServerTagsSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServerUnmountISOOutputBody ¶
type ServerUnmountISOOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ServerUnmountISOOutputBody.json
Schema *string `json:"$schema,omitempty"`
ActionId string `json:"action_id"`
Status string `json:"status"`
}
ServerUnmountISOOutputBody defines model for ServerUnmountISOOutputBody.
type ServerUnmountISOResponse ¶
type ServerUnmountISOResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ServerUnmountISOOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServerUnmountISOResponse ¶
func ParseServerUnmountISOResponse(rsp *http.Response) (*ServerUnmountISOResponse, error)
ParseServerUnmountISOResponse parses an HTTP response from a ServerUnmountISOWithResponse call
func (ServerUnmountISOResponse) ContentType ¶
func (r ServerUnmountISOResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServerUnmountISOResponse) GetApplicationproblemJSONDefault ¶
func (r ServerUnmountISOResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServerUnmountISOResponse) GetBody ¶
func (r ServerUnmountISOResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServerUnmountISOResponse) GetJSON200 ¶
func (r ServerUnmountISOResponse) GetJSON200() *ServerUnmountISOOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServerUnmountISOResponse) Status ¶
func (r ServerUnmountISOResponse) Status() string
Status returns HTTPResponse.Status
func (ServerUnmountISOResponse) StatusCode ¶
func (r ServerUnmountISOResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ServersListParams ¶
type ServersListParams struct {
// Project Project UUID, or the literal 'none' for resources in no project at all
Project *string `form:"project,omitempty" json:"project,omitempty"`
// Tag Filter by tag. Repeat to require several: ?tag=env:prod&tag=role:web returns only what carries both.
Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"`
// Search Name, IP address or image name, partial match
Search *string `form:"search,omitempty" json:"search,omitempty"`
// State State bucket. busy: work in flight (the unsettled states); error: any error_*; suspended: suspended or abuse_suspended; other: everything that is neither running nor stopped, which is busy, error and suspended together
State *ServersListParamsState `form:"state,omitempty" json:"state,omitempty"`
// Region Region slug, as in GET /v1/regions. An unknown slug matches no servers.
Region *string `form:"region,omitempty" json:"region,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
ServersListParams defines parameters for ServersList.
type ServersListParamsState ¶
type ServersListParamsState string
ServersListParamsState defines parameters for ServersList.
const ( ServersListParamsStateBusy ServersListParamsState = "busy" ServersListParamsStateEmpty ServersListParamsState = "" ServersListParamsStateError ServersListParamsState = "error" ServersListParamsStateOther ServersListParamsState = "other" ServersListParamsStateRunning ServersListParamsState = "running" ServersListParamsStateStopped ServersListParamsState = "stopped" ServersListParamsStateSuspended ServersListParamsState = "suspended" )
Defines values for ServersListParamsState.
func (ServersListParamsState) Valid ¶
func (e ServersListParamsState) Valid() bool
Valid indicates whether the value is a known member of the ServersListParamsState enum.
type ServersListResponse ¶
type ServersListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseServersListResponse ¶
func ParseServersListResponse(rsp *http.Response) (*ServersListResponse, error)
ParseServersListResponse parses an HTTP response from a ServersListWithResponse call
func (ServersListResponse) ContentType ¶
func (r ServersListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ServersListResponse) GetApplicationproblemJSONDefault ¶
func (r ServersListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ServersListResponse) GetBody ¶
func (r ServersListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ServersListResponse) GetJSON200 ¶
func (r ServersListResponse) GetJSON200() *ListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ServersListResponse) Status ¶
func (r ServersListResponse) Status() string
Status returns HTTPResponse.Status
func (ServersListResponse) StatusCode ¶
func (r ServersListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SessionItem ¶
type SessionItem struct {
CreatedAt time.Time `json:"created_at"`
Current bool `json:"current"`
Id string `json:"id"`
Ip *string `json:"ip,omitempty"`
LastSeenAt time.Time `json:"last_seen_at"`
Support *bool `json:"support,omitempty"`
SupportAdminName *string `json:"support_admin_name,omitempty"`
SupportMode *SessionItemSupportMode `json:"support_mode,omitempty"`
UserAgent string `json:"user_agent"`
}
SessionItem defines model for SessionItem.
type SessionItemSupportMode ¶
type SessionItemSupportMode string
SessionItemSupportMode defines model for SessionItem.SupportMode.
const ( SessionItemSupportModeFull SessionItemSupportMode = "full" SessionItemSupportModeRead SessionItemSupportMode = "read" )
Defines values for SessionItemSupportMode.
func (SessionItemSupportMode) Valid ¶
func (e SessionItemSupportMode) Valid() bool
Valid indicates whether the value is a known member of the SessionItemSupportMode enum.
type SessionsOutputBody ¶
type SessionsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/SessionsOutputBody.json
Schema *string `json:"$schema,omitempty"`
Sessions *[]SessionItem `json:"sessions"`
}
SessionsOutputBody defines model for SessionsOutputBody.
type SizesOutputBody ¶
type SizesOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/SizesOutputBody.json
Schema *string `json:"$schema,omitempty"`
Plans *[]PlanBody `json:"plans"`
}
SizesOutputBody defines model for SizesOutputBody.
type SnapshotAllBody ¶
type SnapshotAllBody struct {
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
Name string `json:"name"`
// ServerDeleted The snapshot outlived its server; restoring it needs a new one
ServerDeleted bool `json:"server_deleted"`
ServerId string `json:"server_id"`
// ServerName Empty when the source server has been hard-deleted
ServerName string `json:"server_name"`
// SizeGb Billed GB — the disk size frozen at creation
SizeGb int64 `json:"size_gb"`
// State creating | active | restoring | deleting | error
State string `json:"state"`
}
SnapshotAllBody defines model for SnapshotAllBody.
type SnapshotBody ¶
type SnapshotBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/SnapshotBody.json
Schema *string `json:"$schema,omitempty"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
Name string `json:"name"`
// SizeGb Billed GB — the disk size frozen at creation
SizeGb int64 `json:"size_gb"`
// State creating | active | restoring | deleting | error
State string `json:"state"`
}
SnapshotBody defines model for SnapshotBody.
type SnapshotCreateInputBody ¶
type SnapshotCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/SnapshotCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Name Hostname format: lowercase letters, digits, hyphens
Name string `json:"name"`
}
SnapshotCreateInputBody defines model for SnapshotCreateInputBody.
type SnapshotListAllOutputBody ¶
type SnapshotListAllOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/SnapshotListAllOutputBody.json
Schema *string `json:"$schema,omitempty"`
Snapshots *[]SnapshotAllBody `json:"snapshots"`
// Total Every active snapshot the organization owns, not just this page
Total int64 `json:"total"`
// TotalSizeGb Billed GB across every active snapshot the organization owns, not just this page
TotalSizeGb int64 `json:"total_size_gb"`
}
SnapshotListAllOutputBody defines model for SnapshotListAllOutputBody.
type SnapshotListOutputBody ¶
type SnapshotListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/SnapshotListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Snapshots *[]SnapshotBody `json:"snapshots"`
}
SnapshotListOutputBody defines model for SnapshotListOutputBody.
type SshKeyBody ¶
type SshKeyBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/SshKeyBody.json
Schema *string `json:"$schema,omitempty"`
CreatedAt time.Time `json:"created_at"`
Fingerprint string `json:"fingerprint"`
Id string `json:"id"`
Name string `json:"name"`
}
SshKeyBody defines model for SshKeyBody.
type SshKeyCreateJSONRequestBody ¶
type SshKeyCreateJSONRequestBody = KeyCreateInputBody
SshKeyCreateJSONRequestBody defines body for SshKeyCreate for application/json ContentType.
type SshKeyCreateParams ¶
type SshKeyCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
SshKeyCreateParams defines parameters for SshKeyCreate.
type SshKeyCreateResponse ¶
type SshKeyCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *SshKeyBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseSshKeyCreateResponse ¶
func ParseSshKeyCreateResponse(rsp *http.Response) (*SshKeyCreateResponse, error)
ParseSshKeyCreateResponse parses an HTTP response from a SshKeyCreateWithResponse call
func (SshKeyCreateResponse) ContentType ¶
func (r SshKeyCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SshKeyCreateResponse) GetApplicationproblemJSONDefault ¶
func (r SshKeyCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SshKeyCreateResponse) GetBody ¶
func (r SshKeyCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SshKeyCreateResponse) GetJSON201 ¶
func (r SshKeyCreateResponse) GetJSON201() *SshKeyBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (SshKeyCreateResponse) Status ¶
func (r SshKeyCreateResponse) Status() string
Status returns HTTPResponse.Status
func (SshKeyCreateResponse) StatusCode ¶
func (r SshKeyCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SshKeyDeleteResponse ¶
type SshKeyDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseSshKeyDeleteResponse ¶
func ParseSshKeyDeleteResponse(rsp *http.Response) (*SshKeyDeleteResponse, error)
ParseSshKeyDeleteResponse parses an HTTP response from a SshKeyDeleteWithResponse call
func (SshKeyDeleteResponse) ContentType ¶
func (r SshKeyDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SshKeyDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r SshKeyDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SshKeyDeleteResponse) GetBody ¶
func (r SshKeyDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SshKeyDeleteResponse) Status ¶
func (r SshKeyDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (SshKeyDeleteResponse) StatusCode ¶
func (r SshKeyDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SshKeyGetResponse ¶
type SshKeyGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SshKeyBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseSshKeyGetResponse ¶
func ParseSshKeyGetResponse(rsp *http.Response) (*SshKeyGetResponse, error)
ParseSshKeyGetResponse parses an HTTP response from a SshKeyGetWithResponse call
func (SshKeyGetResponse) ContentType ¶
func (r SshKeyGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SshKeyGetResponse) GetApplicationproblemJSONDefault ¶
func (r SshKeyGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SshKeyGetResponse) GetBody ¶
func (r SshKeyGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SshKeyGetResponse) GetJSON200 ¶
func (r SshKeyGetResponse) GetJSON200() *SshKeyBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SshKeyGetResponse) Status ¶
func (r SshKeyGetResponse) Status() string
Status returns HTTPResponse.Status
func (SshKeyGetResponse) StatusCode ¶
func (r SshKeyGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SshKeysListResponse ¶
type SshKeysListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *KeyListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseSshKeysListResponse ¶
func ParseSshKeysListResponse(rsp *http.Response) (*SshKeysListResponse, error)
ParseSshKeysListResponse parses an HTTP response from a SshKeysListWithResponse call
func (SshKeysListResponse) ContentType ¶
func (r SshKeysListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SshKeysListResponse) GetApplicationproblemJSONDefault ¶
func (r SshKeysListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (SshKeysListResponse) GetBody ¶
func (r SshKeysListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (SshKeysListResponse) GetJSON200 ¶
func (r SshKeysListResponse) GetJSON200() *KeyListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (SshKeysListResponse) Status ¶
func (r SshKeysListResponse) Status() string
Status returns HTTPResponse.Status
func (SshKeysListResponse) StatusCode ¶
func (r SshKeysListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SummaryStruct ¶
type SummaryStruct struct {
Total int64 `json:"total"`
}
SummaryStruct defines model for SummaryStruct.
type SupportAccessItem ¶
type SupportAccessItem struct {
// AdminName Who opened it
AdminName string `json:"admin_name"`
// EndedAt Absent while the visit is still open
EndedAt *time.Time `json:"ended_at,omitempty"`
Id string `json:"id"`
// Mode read = they could only look
Mode SupportAccessItemMode `json:"mode"`
// Reason What they wrote down before opening it
Reason string `json:"reason"`
StartedAt time.Time `json:"started_at"`
}
SupportAccessItem defines model for SupportAccessItem.
type SupportAccessItemMode ¶
type SupportAccessItemMode string
SupportAccessItemMode read = they could only look
const ( SupportAccessItemModeFull SupportAccessItemMode = "full" SupportAccessItemModeRead SupportAccessItemMode = "read" )
Defines values for SupportAccessItemMode.
func (SupportAccessItemMode) Valid ¶
func (e SupportAccessItemMode) Valid() bool
Valid indicates whether the value is a known member of the SupportAccessItemMode enum.
type SupportAccessOutputBody ¶
type SupportAccessOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/SupportAccessOutputBody.json
Schema *string `json:"$schema,omitempty"`
Access *[]SupportAccessItem `json:"access"`
}
SupportAccessOutputBody defines model for SupportAccessOutputBody.
type TagCountBody ¶
type TagCountBody struct {
// Count Resources carrying this tag, within the kind filter if one was given
Count int64 `json:"count"`
Tag string `json:"tag"`
}
TagCountBody defines model for TagCountBody.
type TagsBody ¶
type TagsBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TagsBody.json
Schema *string `json:"$schema,omitempty"`
// Tags The complete tag set, replacing whatever was there. Lowercased, deduplicated and sorted before storage, so the response is the stored form and not an echo. At most 10 per resource, each up to 32 characters of a-z, 0-9, dot, underscore, colon or dash.
Tags *[]string `json:"tags"`
}
TagsBody defines model for TagsBody.
type TagsListOutputBody ¶
type TagsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TagsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
// Tags Sorted by tag
Tags *[]TagCountBody `json:"tags"`
}
TagsListOutputBody defines model for TagsListOutputBody.
type TagsListParams ¶
type TagsListParams struct {
// Kind Only tags used by this kind of resource. Empty = every kind.
Kind *TagsListParamsKind `form:"kind,omitempty" json:"kind,omitempty"`
}
TagsListParams defines parameters for TagsList.
type TagsListParamsKind ¶
type TagsListParamsKind string
TagsListParamsKind defines parameters for TagsList.
const ( TagsListParamsKindApp TagsListParamsKind = "app" TagsListParamsKindDatabase TagsListParamsKind = "database" TagsListParamsKindDnsZone TagsListParamsKind = "dns_zone" TagsListParamsKindDomain TagsListParamsKind = "domain" TagsListParamsKindEmpty TagsListParamsKind = "" TagsListParamsKindLoadBalancer TagsListParamsKind = "load_balancer" TagsListParamsKindNetwork TagsListParamsKind = "network" TagsListParamsKindServer TagsListParamsKind = "server" TagsListParamsKindVolume TagsListParamsKind = "volume" )
Defines values for TagsListParamsKind.
func (TagsListParamsKind) Valid ¶
func (e TagsListParamsKind) Valid() bool
Valid indicates whether the value is a known member of the TagsListParamsKind enum.
type TagsListResponse ¶
type TagsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TagsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseTagsListResponse ¶
func ParseTagsListResponse(rsp *http.Response) (*TagsListResponse, error)
ParseTagsListResponse parses an HTTP response from a TagsListWithResponse call
func (TagsListResponse) ContentType ¶
func (r TagsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TagsListResponse) GetApplicationproblemJSONDefault ¶
func (r TagsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (TagsListResponse) GetBody ¶
func (r TagsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TagsListResponse) GetJSON200 ¶
func (r TagsListResponse) GetJSON200() *TagsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TagsListResponse) Status ¶
func (r TagsListResponse) Status() string
Status returns HTTPResponse.Status
func (TagsListResponse) StatusCode ¶
func (r TagsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TicketAttachmentBody ¶
type TicketAttachmentBody struct {
ContentType string `json:"content_type"`
Filename string `json:"filename"`
Id int64 `json:"id"`
// Inline Safe to render with <img>; everything else is download-only
Inline bool `json:"inline"`
MessageId int64 `json:"message_id"`
SizeBytes int64 `json:"size_bytes"`
}
TicketAttachmentBody defines model for TicketAttachmentBody.
type TicketAttachmentDownloadResponse ¶
type TicketAttachmentDownloadResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *[]byte
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *TicketAttachmentDownloadResponse200Headers
}
func ParseTicketAttachmentDownloadResponse ¶
func ParseTicketAttachmentDownloadResponse(rsp *http.Response) (*TicketAttachmentDownloadResponse, error)
ParseTicketAttachmentDownloadResponse parses an HTTP response from a TicketAttachmentDownloadWithResponse call
func (TicketAttachmentDownloadResponse) ContentType ¶
func (r TicketAttachmentDownloadResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TicketAttachmentDownloadResponse) GetApplicationproblemJSONDefault ¶
func (r TicketAttachmentDownloadResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (TicketAttachmentDownloadResponse) GetBody ¶
func (r TicketAttachmentDownloadResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TicketAttachmentDownloadResponse) GetJSON200 ¶
func (r TicketAttachmentDownloadResponse) GetJSON200() *[]byte
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TicketAttachmentDownloadResponse) Status ¶
func (r TicketAttachmentDownloadResponse) Status() string
Status returns HTTPResponse.Status
func (TicketAttachmentDownloadResponse) StatusCode ¶
func (r TicketAttachmentDownloadResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TicketAttachmentDownloadResponse200Headers ¶
type TicketAttachmentDownloadResponse200Headers struct {
CacheControl *string
ContentDisposition *string
ContentType *string
XContentTypeOptions *string
}
TicketAttachmentDownloadResponse200Headers the declared response headers of an HTTP 200 response for TicketAttachmentDownload
type TicketAttachmentUpload ¶
type TicketAttachmentUpload struct {
// DataBase64 Base64 payload, max 2 MB decoded. A data: URL prefix is accepted.
DataBase64 string `json:"data_base64"`
Filename string `json:"filename"`
}
TicketAttachmentUpload defines model for TicketAttachmentUpload.
type TicketBody ¶
type TicketBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TicketBody.json
Schema *string `json:"$schema,omitempty"`
Category TicketBodyCategory `json:"category"`
ClosedAt *time.Time `json:"closed_at,omitempty"`
// Code Short public ticket number
Code string `json:"code"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
LastActor TicketBodyLastActor `json:"last_actor"`
LastMessageAt time.Time `json:"last_message_at"`
MessageCount *int64 `json:"message_count,omitempty"`
Priority TicketBodyPriority `json:"priority"`
// Reopenable Closed, and still inside the reopen window
Reopenable bool `json:"reopenable"`
ServerCode *string `json:"server_code,omitempty"`
ServerName *string `json:"server_name,omitempty"`
Status TicketBodyStatus `json:"status"`
Subject string `json:"subject"`
// Unread Staff wrote after the customer last opened it
Unread bool `json:"unread"`
}
TicketBody defines model for TicketBody.
type TicketBodyCategory ¶
type TicketBodyCategory string
TicketBodyCategory defines model for TicketBody.Category.
const ( TicketBodyCategoryAbuse TicketBodyCategory = "abuse" TicketBodyCategoryBilling TicketBodyCategory = "billing" TicketBodyCategoryOther TicketBodyCategory = "other" TicketBodyCategoryTechnical TicketBodyCategory = "technical" )
Defines values for TicketBodyCategory.
func (TicketBodyCategory) Valid ¶
func (e TicketBodyCategory) Valid() bool
Valid indicates whether the value is a known member of the TicketBodyCategory enum.
type TicketBodyLastActor ¶
type TicketBodyLastActor string
TicketBodyLastActor defines model for TicketBody.LastActor.
const ( TicketBodyLastActorCustomer TicketBodyLastActor = "customer" TicketBodyLastActorStaff TicketBodyLastActor = "staff" )
Defines values for TicketBodyLastActor.
func (TicketBodyLastActor) Valid ¶
func (e TicketBodyLastActor) Valid() bool
Valid indicates whether the value is a known member of the TicketBodyLastActor enum.
type TicketBodyPriority ¶
type TicketBodyPriority string
TicketBodyPriority defines model for TicketBody.Priority.
const ( High TicketBodyPriority = "high" Low TicketBodyPriority = "low" Normal TicketBodyPriority = "normal" Urgent TicketBodyPriority = "urgent" )
Defines values for TicketBodyPriority.
func (TicketBodyPriority) Valid ¶
func (e TicketBodyPriority) Valid() bool
Valid indicates whether the value is a known member of the TicketBodyPriority enum.
type TicketBodyStatus ¶
type TicketBodyStatus string
TicketBodyStatus defines model for TicketBody.Status.
const ( TicketBodyStatusAnswered TicketBodyStatus = "answered" TicketBodyStatusClosed TicketBodyStatus = "closed" TicketBodyStatusOpen TicketBodyStatus = "open" TicketBodyStatusPending TicketBodyStatus = "pending" )
Defines values for TicketBodyStatus.
func (TicketBodyStatus) Valid ¶
func (e TicketBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the TicketBodyStatus enum.
type TicketCloseResponse ¶
type TicketCloseResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TicketBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseTicketCloseResponse ¶
func ParseTicketCloseResponse(rsp *http.Response) (*TicketCloseResponse, error)
ParseTicketCloseResponse parses an HTTP response from a TicketCloseWithResponse call
func (TicketCloseResponse) ContentType ¶
func (r TicketCloseResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TicketCloseResponse) GetApplicationproblemJSONDefault ¶
func (r TicketCloseResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (TicketCloseResponse) GetBody ¶
func (r TicketCloseResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TicketCloseResponse) GetJSON200 ¶
func (r TicketCloseResponse) GetJSON200() *TicketBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TicketCloseResponse) Status ¶
func (r TicketCloseResponse) Status() string
Status returns HTTPResponse.Status
func (TicketCloseResponse) StatusCode ¶
func (r TicketCloseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TicketCreateInputBody ¶
type TicketCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TicketCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
Attachments *[]TicketAttachmentUpload `json:"attachments,omitempty"`
Category TicketCreateInputBodyCategory `json:"category"`
Message string `json:"message"`
// ServerCode Optional: link the ticket to one of your servers
ServerCode *string `json:"server_code,omitempty"`
Subject string `json:"subject"`
}
TicketCreateInputBody defines model for TicketCreateInputBody.
type TicketCreateInputBodyCategory ¶
type TicketCreateInputBodyCategory string
TicketCreateInputBodyCategory defines model for TicketCreateInputBody.Category.
const ( TicketCreateInputBodyCategoryAbuse TicketCreateInputBodyCategory = "abuse" TicketCreateInputBodyCategoryBilling TicketCreateInputBodyCategory = "billing" TicketCreateInputBodyCategoryOther TicketCreateInputBodyCategory = "other" TicketCreateInputBodyCategoryTechnical TicketCreateInputBodyCategory = "technical" )
Defines values for TicketCreateInputBodyCategory.
func (TicketCreateInputBodyCategory) Valid ¶
func (e TicketCreateInputBodyCategory) Valid() bool
Valid indicates whether the value is a known member of the TicketCreateInputBodyCategory enum.
type TicketCreateJSONRequestBody ¶
type TicketCreateJSONRequestBody = TicketCreateInputBody
TicketCreateJSONRequestBody defines body for TicketCreate for application/json ContentType.
type TicketCreateResponse ¶
type TicketCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TicketBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseTicketCreateResponse ¶
func ParseTicketCreateResponse(rsp *http.Response) (*TicketCreateResponse, error)
ParseTicketCreateResponse parses an HTTP response from a TicketCreateWithResponse call
func (TicketCreateResponse) ContentType ¶
func (r TicketCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TicketCreateResponse) GetApplicationproblemJSONDefault ¶
func (r TicketCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (TicketCreateResponse) GetBody ¶
func (r TicketCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TicketCreateResponse) GetJSON201 ¶
func (r TicketCreateResponse) GetJSON201() *TicketBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (TicketCreateResponse) Status ¶
func (r TicketCreateResponse) Status() string
Status returns HTTPResponse.Status
func (TicketCreateResponse) StatusCode ¶
func (r TicketCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TicketGetOutputBody ¶
type TicketGetOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TicketGetOutputBody.json
Schema *string `json:"$schema,omitempty"`
Messages *[]TicketMessageBody `json:"messages"`
Ticket TicketBody `json:"ticket"`
}
TicketGetOutputBody defines model for TicketGetOutputBody.
type TicketGetResponse ¶
type TicketGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TicketGetOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseTicketGetResponse ¶
func ParseTicketGetResponse(rsp *http.Response) (*TicketGetResponse, error)
ParseTicketGetResponse parses an HTTP response from a TicketGetWithResponse call
func (TicketGetResponse) ContentType ¶
func (r TicketGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TicketGetResponse) GetApplicationproblemJSONDefault ¶
func (r TicketGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (TicketGetResponse) GetBody ¶
func (r TicketGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TicketGetResponse) GetJSON200 ¶
func (r TicketGetResponse) GetJSON200() *TicketGetOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TicketGetResponse) Status ¶
func (r TicketGetResponse) Status() string
Status returns HTTPResponse.Status
func (TicketGetResponse) StatusCode ¶
func (r TicketGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TicketMessageBody ¶
type TicketMessageBody struct {
AuthorName *string `json:"author_name,omitempty"`
AuthorType TicketMessageBodyAuthorType `json:"author_type"`
Body string `json:"body"`
CreatedAt time.Time `json:"created_at"`
Files *[]TicketAttachmentBody `json:"files,omitempty"`
Id int64 `json:"id"`
// Internal Staff-only note; never present on the customer API
Internal *bool `json:"internal,omitempty"`
// SystemKind e.g. status.closed, priority.changed
SystemKind *string `json:"system_kind,omitempty"`
SystemParams *map[string]string `json:"system_params,omitempty"`
}
TicketMessageBody defines model for TicketMessageBody.
type TicketMessageBodyAuthorType ¶
type TicketMessageBodyAuthorType string
TicketMessageBodyAuthorType defines model for TicketMessageBody.AuthorType.
const ( TicketMessageBodyAuthorTypeCustomer TicketMessageBodyAuthorType = "customer" TicketMessageBodyAuthorTypeStaff TicketMessageBodyAuthorType = "staff" TicketMessageBodyAuthorTypeSystem TicketMessageBodyAuthorType = "system" )
Defines values for TicketMessageBodyAuthorType.
func (TicketMessageBodyAuthorType) Valid ¶
func (e TicketMessageBodyAuthorType) Valid() bool
Valid indicates whether the value is a known member of the TicketMessageBodyAuthorType enum.
type TicketReopenResponse ¶
type TicketReopenResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TicketBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseTicketReopenResponse ¶
func ParseTicketReopenResponse(rsp *http.Response) (*TicketReopenResponse, error)
ParseTicketReopenResponse parses an HTTP response from a TicketReopenWithResponse call
func (TicketReopenResponse) ContentType ¶
func (r TicketReopenResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TicketReopenResponse) GetApplicationproblemJSONDefault ¶
func (r TicketReopenResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (TicketReopenResponse) GetBody ¶
func (r TicketReopenResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TicketReopenResponse) GetJSON200 ¶
func (r TicketReopenResponse) GetJSON200() *TicketBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TicketReopenResponse) Status ¶
func (r TicketReopenResponse) Status() string
Status returns HTTPResponse.Status
func (TicketReopenResponse) StatusCode ¶
func (r TicketReopenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TicketReplyInputBody ¶
type TicketReplyInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TicketReplyInputBody.json
Schema *string `json:"$schema,omitempty"`
Attachments *[]TicketAttachmentUpload `json:"attachments,omitempty"`
Message string `json:"message"`
}
TicketReplyInputBody defines model for TicketReplyInputBody.
type TicketReplyJSONRequestBody ¶
type TicketReplyJSONRequestBody = TicketReplyInputBody
TicketReplyJSONRequestBody defines body for TicketReply for application/json ContentType.
type TicketReplyResponse ¶
type TicketReplyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *TicketBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseTicketReplyResponse ¶
func ParseTicketReplyResponse(rsp *http.Response) (*TicketReplyResponse, error)
ParseTicketReplyResponse parses an HTTP response from a TicketReplyWithResponse call
func (TicketReplyResponse) ContentType ¶
func (r TicketReplyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TicketReplyResponse) GetApplicationproblemJSONDefault ¶
func (r TicketReplyResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (TicketReplyResponse) GetBody ¶
func (r TicketReplyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TicketReplyResponse) GetJSON201 ¶
func (r TicketReplyResponse) GetJSON201() *TicketBody
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (TicketReplyResponse) Status ¶
func (r TicketReplyResponse) Status() string
Status returns HTTPResponse.Status
func (TicketReplyResponse) StatusCode ¶
func (r TicketReplyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TicketsListOutputBody ¶
type TicketsListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TicketsListOutputBody.json
Schema *string `json:"$schema,omitempty"`
OpenCount int64 `json:"open_count"`
Tickets *[]TicketBody `json:"tickets"`
Total int64 `json:"total"`
}
TicketsListOutputBody defines model for TicketsListOutputBody.
type TicketsListParams ¶
type TicketsListParams struct {
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
TicketsListParams defines parameters for TicketsList.
type TicketsListResponse ¶
type TicketsListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TicketsListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseTicketsListResponse ¶
func ParseTicketsListResponse(rsp *http.Response) (*TicketsListResponse, error)
ParseTicketsListResponse parses an HTTP response from a TicketsListWithResponse call
func (TicketsListResponse) ContentType ¶
func (r TicketsListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (TicketsListResponse) GetApplicationproblemJSONDefault ¶
func (r TicketsListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (TicketsListResponse) GetBody ¶
func (r TicketsListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (TicketsListResponse) GetJSON200 ¶
func (r TicketsListResponse) GetJSON200() *TicketsListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (TicketsListResponse) Status ¶
func (r TicketsListResponse) Status() string
Status returns HTTPResponse.Status
func (TicketsListResponse) StatusCode ¶
func (r TicketsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TopupInputBody ¶
type TopupInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TopupInputBody.json
Schema *string `json:"$schema,omitempty"`
// AmountMinor Gross, VAT included, in the wallet currency's minor unit. Must lie within topup_min_minor and topup_max_minor from GET /v1/wallet, or the request is refused with AMOUNT_TOO_LOW or AMOUNT_TOO_HIGH
AmountMinor int64 `json:"amount_minor"`
// DistanceSalesAccepted The customer confirms the pre-information form and the distance sales contract, including that the right of withdrawal ends once an instantly performed service starts. Required when the organization's distance_sales_required is true (an individual account invoiced in Türkiye), refused with DISTANCE_SALES_NOT_ACCEPTED otherwise; ignored for every other organization
DistanceSalesAccepted *bool `json:"distance_sales_accepted,omitempty"`
Method TopupInputBodyMethod `json:"method"`
}
TopupInputBody defines model for TopupInputBody.
type TopupInputBodyMethod ¶
type TopupInputBodyMethod string
TopupInputBodyMethod defines model for TopupInputBody.Method.
const ( BankTransfer TopupInputBodyMethod = "bank_transfer" Card TopupInputBodyMethod = "card" )
Defines values for TopupInputBodyMethod.
func (TopupInputBodyMethod) Valid ¶
func (e TopupInputBodyMethod) Valid() bool
Valid indicates whether the value is a known member of the TopupInputBodyMethod enum.
type TopupOutputBody ¶
type TopupOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TopupOutputBody.json
Schema *string `json:"$schema,omitempty"`
// BankTransferCode bank_transfer: transfer description code
BankTransferCode *string `json:"bank_transfer_code,omitempty"`
// IframeToken card: PayTR iframe token
IframeToken *string `json:"iframe_token,omitempty"`
// IframeUrl card: a payment page that MAY be embedded in an iframe
IframeUrl *string `json:"iframe_url,omitempty"`
Intent IntentBody `json:"intent"`
// RedirectUrl card: a payment page the TOP WINDOW must navigate to — it cannot be embedded
RedirectUrl *string `json:"redirect_url,omitempty"`
}
TopupOutputBody defines model for TopupOutputBody.
type TotpSetupInputBody ¶
type TotpSetupInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TotpSetupInputBody.json
Schema *string `json:"$schema,omitempty"`
// CurrentPassword Required for accounts that have a password; ignored for social-only accounts, which have none to confirm
CurrentPassword *string `json:"current_password,omitempty"`
}
TotpSetupInputBody defines model for TotpSetupInputBody.
type TotpSetupOutputBody ¶
type TotpSetupOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TotpSetupOutputBody.json
Schema *string `json:"$schema,omitempty"`
// OtpauthUrl otpauth:// URI to render as a QR code
OtpauthUrl string `json:"otpauth_url"`
// Secret Base32 secret for manual entry
Secret string `json:"secret"`
}
TotpSetupOutputBody defines model for TotpSetupOutputBody.
type TotpStatusOutputBody ¶
type TotpStatusOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/TotpStatusOutputBody.json
Schema *string `json:"$schema,omitempty"`
Enabled bool `json:"enabled"`
EnabledAt *time.Time `json:"enabled_at,omitempty"`
// PendingSetup A secret was generated but never confirmed
PendingSetup bool `json:"pending_setup"`
RecoveryCodesLeft int64 `json:"recovery_codes_left"`
}
TotpStatusOutputBody defines model for TotpStatusOutputBody.
type UserBody ¶
type UserBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/UserBody.json
Schema *string `json:"$schema,omitempty"`
ActiveOrganizationId *string `json:"active_organization_id,omitempty"`
// Country ISO-3166 alpha-2, derived from the timezone unless the customer picked one
Country *string `json:"country,omitempty"`
// DeletionScheduledFor When this account is erased unless the request is cancelled
DeletionScheduledFor *time.Time `json:"deletion_scheduled_for,omitempty"`
Email string `json:"email"`
EmailVerified bool `json:"email_verified"`
FirstName string `json:"first_name"`
FullName string `json:"full_name"`
HasPassword bool `json:"has_password"`
Id string `json:"id"`
Impersonation *ImpersonationBody `json:"impersonation,omitempty"`
LastName string `json:"last_name"`
Locale string `json:"locale"`
// MarketingOptIn Whether the customer agreed to receive marketing messages. Optional and off unless they opted in; changed with PATCH /v1/account
MarketingOptIn bool `json:"marketing_opt_in"`
// OnboardingCompleted False until the customer finishes the first-login onboarding screen
OnboardingCompleted bool `json:"onboarding_completed"`
OrganizationIsPersonal *bool `json:"organization_is_personal,omitempty"`
OrganizationRole *string `json:"organization_role,omitempty"`
OrganizationSuspended *bool `json:"organization_suspended,omitempty"`
PhoneVerified bool `json:"phone_verified"`
// Timezone IANA zone the panel formats dates in. Absent until the account has one
Timezone *string `json:"timezone,omitempty"`
TotpEnabled bool `json:"totp_enabled"`
}
UserBody defines model for UserBody.
type VerifyInputBody ¶
type VerifyInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/VerifyInputBody.json
Schema *string `json:"$schema,omitempty"`
Token string `json:"token"`
}
VerifyInputBody defines model for VerifyInputBody.
type VolumeAttachInputBody ¶
type VolumeAttachInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/VolumeAttachInputBody.json
Schema *string `json:"$schema,omitempty"`
// Automount Mount the volume inside the guest. Only mounts an existing filesystem; it never formats.
Automount *bool `json:"automount,omitempty"`
ServerId string `json:"server_id"`
}
VolumeAttachInputBody defines model for VolumeAttachInputBody.
type VolumeAttachJSONRequestBody ¶
type VolumeAttachJSONRequestBody = VolumeAttachInputBody
VolumeAttachJSONRequestBody defines body for VolumeAttach for application/json ContentType.
type VolumeAttachResponse ¶
type VolumeAttachResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseVolumeAttachResponse ¶
func ParseVolumeAttachResponse(rsp *http.Response) (*VolumeAttachResponse, error)
ParseVolumeAttachResponse parses an HTTP response from a VolumeAttachWithResponse call
func (VolumeAttachResponse) ContentType ¶
func (r VolumeAttachResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VolumeAttachResponse) GetApplicationproblemJSONDefault ¶
func (r VolumeAttachResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (VolumeAttachResponse) GetBody ¶
func (r VolumeAttachResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VolumeAttachResponse) Status ¶
func (r VolumeAttachResponse) Status() string
Status returns HTTPResponse.Status
func (VolumeAttachResponse) StatusCode ¶
func (r VolumeAttachResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VolumeBody ¶
type VolumeBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/VolumeBody.json
Schema *string `json:"$schema,omitempty"`
// Automount Prepare and mount this volume in the guest when attached
Automount bool `json:"automount"`
CreatedAt time.Time `json:"created_at"`
// FsType Filesystem on the volume (ext4 | xfs); absent while unknown
FsType *string `json:"fs_type,omitempty"`
Id string `json:"id"`
// MountError Why automatic mounting did not land
MountError *string `json:"mount_error,omitempty"`
// MountPath Where it is mounted in the guest
MountPath *string `json:"mount_path,omitempty"`
// MountState manual | pending | mounted | failed
MountState string `json:"mount_state"`
Name string `json:"name"`
// ProjectId Project the volume belongs to (organizational)
ProjectId *string `json:"project_id,omitempty"`
// Serial Disk serial (vol-…); resolve the guest path with /dev/disk/by-id/*<serial>
Serial string `json:"serial"`
// ServerId Attached server; absent when detached
ServerId *string `json:"server_id,omitempty"`
SizeGb int64 `json:"size_gb"`
// Slot scsi{slot} on the server
Slot *int64 `json:"slot,omitempty"`
// State SETTLED on available, attached or error; everything else is in flight. A create settles on available, an attach on attached.
State VolumeBodyState `json:"state"`
// Tags Tags this resource carries. Set them with PUT .../tags.
Tags *[]string `json:"tags"`
}
VolumeBody defines model for VolumeBody.
type VolumeBodyState ¶
type VolumeBodyState string
VolumeBodyState SETTLED on available, attached or error; everything else is in flight. A create settles on available, an attach on attached.
const ( VolumeBodyStateAttached VolumeBodyState = "attached" VolumeBodyStateAttaching VolumeBodyState = "attaching" VolumeBodyStateAvailable VolumeBodyState = "available" VolumeBodyStateCreating VolumeBodyState = "creating" VolumeBodyStateDeleting VolumeBodyState = "deleting" VolumeBodyStateDetaching VolumeBodyState = "detaching" VolumeBodyStateError VolumeBodyState = "error" VolumeBodyStateResizing VolumeBodyState = "resizing" )
Defines values for VolumeBodyState.
func (VolumeBodyState) Valid ¶
func (e VolumeBodyState) Valid() bool
Valid indicates whether the value is a known member of the VolumeBodyState enum.
type VolumeCreateInputBody ¶
type VolumeCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/VolumeCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Automount Mount the volume inside the guest once attached. Requires fs_type on a new volume.
Automount *bool `json:"automount,omitempty"`
// FsType Format the new volume with this filesystem. Omit to receive a raw disk you format yourself.
FsType *VolumeCreateInputBodyFsType `json:"fs_type,omitempty"`
// Name Hostname format: lowercase letters, digits, hyphens
Name string `json:"name"`
ProjectId *string `json:"project_id,omitempty"`
// ServerId Create and attach to this server in one step
ServerId *string `json:"server_id,omitempty"`
// SizeGb The real band is operator policy — read GET /v1/volumes/limits. A size outside it is refused with VOLUME_SIZE_INVALID.
SizeGb int64 `json:"size_gb"`
// Tags Tags to give the volume at birth. Lowercased, deduplicated and sorted before storage.
Tags *[]string `json:"tags,omitempty"`
}
VolumeCreateInputBody defines model for VolumeCreateInputBody.
type VolumeCreateInputBodyFsType ¶
type VolumeCreateInputBodyFsType string
VolumeCreateInputBodyFsType Format the new volume with this filesystem. Omit to receive a raw disk you format yourself.
const ( Ext4 VolumeCreateInputBodyFsType = "ext4" Xfs VolumeCreateInputBodyFsType = "xfs" )
Defines values for VolumeCreateInputBodyFsType.
func (VolumeCreateInputBodyFsType) Valid ¶
func (e VolumeCreateInputBodyFsType) Valid() bool
Valid indicates whether the value is a known member of the VolumeCreateInputBodyFsType enum.
type VolumeCreateJSONRequestBody ¶
type VolumeCreateJSONRequestBody = VolumeCreateInputBody
VolumeCreateJSONRequestBody defines body for VolumeCreate for application/json ContentType.
type VolumeCreateParams ¶
type VolumeCreateParams struct {
// IdempotencyKey Optional. Repeating a create with the same key returns the first call's resource instead of creating a second one. Remembered for 24 hours and scoped to your organization; reusing a key with a different body is refused.
IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}
VolumeCreateParams defines parameters for VolumeCreate.
type VolumeCreateResponse ¶
type VolumeCreateResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON202 the response for an HTTP 202 `application/json` response
JSON202 *VolumeBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseVolumeCreateResponse ¶
func ParseVolumeCreateResponse(rsp *http.Response) (*VolumeCreateResponse, error)
ParseVolumeCreateResponse parses an HTTP response from a VolumeCreateWithResponse call
func (VolumeCreateResponse) ContentType ¶
func (r VolumeCreateResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VolumeCreateResponse) GetApplicationproblemJSONDefault ¶
func (r VolumeCreateResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (VolumeCreateResponse) GetBody ¶
func (r VolumeCreateResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VolumeCreateResponse) GetJSON202 ¶
func (r VolumeCreateResponse) GetJSON202() *VolumeBody
GetJSON202 returns the response for an HTTP 202 `application/json` response
func (VolumeCreateResponse) Status ¶
func (r VolumeCreateResponse) Status() string
Status returns HTTPResponse.Status
func (VolumeCreateResponse) StatusCode ¶
func (r VolumeCreateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VolumeDeleteResponse ¶
type VolumeDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseVolumeDeleteResponse ¶
func ParseVolumeDeleteResponse(rsp *http.Response) (*VolumeDeleteResponse, error)
ParseVolumeDeleteResponse parses an HTTP response from a VolumeDeleteWithResponse call
func (VolumeDeleteResponse) ContentType ¶
func (r VolumeDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VolumeDeleteResponse) GetApplicationproblemJSONDefault ¶
func (r VolumeDeleteResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (VolumeDeleteResponse) GetBody ¶
func (r VolumeDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VolumeDeleteResponse) Status ¶
func (r VolumeDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (VolumeDeleteResponse) StatusCode ¶
func (r VolumeDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VolumeDetachResponse ¶
type VolumeDetachResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseVolumeDetachResponse ¶
func ParseVolumeDetachResponse(rsp *http.Response) (*VolumeDetachResponse, error)
ParseVolumeDetachResponse parses an HTTP response from a VolumeDetachWithResponse call
func (VolumeDetachResponse) ContentType ¶
func (r VolumeDetachResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VolumeDetachResponse) GetApplicationproblemJSONDefault ¶
func (r VolumeDetachResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (VolumeDetachResponse) GetBody ¶
func (r VolumeDetachResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VolumeDetachResponse) Status ¶
func (r VolumeDetachResponse) Status() string
Status returns HTTPResponse.Status
func (VolumeDetachResponse) StatusCode ¶
func (r VolumeDetachResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VolumeGetResponse ¶
type VolumeGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VolumeBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseVolumeGetResponse ¶
func ParseVolumeGetResponse(rsp *http.Response) (*VolumeGetResponse, error)
ParseVolumeGetResponse parses an HTTP response from a VolumeGetWithResponse call
func (VolumeGetResponse) ContentType ¶
func (r VolumeGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VolumeGetResponse) GetApplicationproblemJSONDefault ¶
func (r VolumeGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (VolumeGetResponse) GetBody ¶
func (r VolumeGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VolumeGetResponse) GetJSON200 ¶
func (r VolumeGetResponse) GetJSON200() *VolumeBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (VolumeGetResponse) Status ¶
func (r VolumeGetResponse) Status() string
Status returns HTTPResponse.Status
func (VolumeGetResponse) StatusCode ¶
func (r VolumeGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VolumeLimitsOutputBody ¶
type VolumeLimitsOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/VolumeLimitsOutputBody.json
Schema *string `json:"$schema,omitempty"`
// HasRoom Whether another volume can be ordered at all
HasRoom bool `json:"has_room"`
MaxCount int64 `json:"max_count"`
// MaxGb Largest volume orderable RIGHT NOW: the per-volume ceiling, already narrowed by remaining capacity. Below min_gb means there is no room.
MaxGb int64 `json:"max_gb"`
MaxTotalGb int64 `json:"max_total_gb"`
// MinGb Smallest orderable volume
MinGb int64 `json:"min_gb"`
// PerVolumeMaxGb Per-volume ceiling before the capacity quota narrows it
PerVolumeMaxGb int64 `json:"per_volume_max_gb"`
RemainingCount int64 `json:"remaining_count"`
RemainingTotalGb int64 `json:"remaining_total_gb"`
UsedCount int64 `json:"used_count"`
UsedTotalGb int64 `json:"used_total_gb"`
}
VolumeLimitsOutputBody defines model for VolumeLimitsOutputBody.
type VolumeLimitsResponse ¶
type VolumeLimitsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VolumeLimitsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseVolumeLimitsResponse ¶
func ParseVolumeLimitsResponse(rsp *http.Response) (*VolumeLimitsResponse, error)
ParseVolumeLimitsResponse parses an HTTP response from a VolumeLimitsWithResponse call
func (VolumeLimitsResponse) ContentType ¶
func (r VolumeLimitsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VolumeLimitsResponse) GetApplicationproblemJSONDefault ¶
func (r VolumeLimitsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (VolumeLimitsResponse) GetBody ¶
func (r VolumeLimitsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VolumeLimitsResponse) GetJSON200 ¶
func (r VolumeLimitsResponse) GetJSON200() *VolumeLimitsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (VolumeLimitsResponse) Status ¶
func (r VolumeLimitsResponse) Status() string
Status returns HTTPResponse.Status
func (VolumeLimitsResponse) StatusCode ¶
func (r VolumeLimitsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VolumeListOutputBody ¶
type VolumeListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/VolumeListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Total int64 `json:"total"`
Volumes *[]VolumeBody `json:"volumes"`
}
VolumeListOutputBody defines model for VolumeListOutputBody.
type VolumeListParams ¶
type VolumeListParams struct {
// Project Project UUID, or the literal 'none' for resources in no project at all
Project *string `form:"project,omitempty" json:"project,omitempty"`
// Tag Filter by tag. Repeat to require several: ?tag=env:prod&tag=role:web returns only what carries both.
Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"`
// ServerId Only volumes attached to this server
ServerId *string `form:"server_id,omitempty" json:"server_id,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
VolumeListParams defines parameters for VolumeList.
type VolumeListResponse ¶
type VolumeListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *VolumeListOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseVolumeListResponse ¶
func ParseVolumeListResponse(rsp *http.Response) (*VolumeListResponse, error)
ParseVolumeListResponse parses an HTTP response from a VolumeListWithResponse call
func (VolumeListResponse) ContentType ¶
func (r VolumeListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VolumeListResponse) GetApplicationproblemJSONDefault ¶
func (r VolumeListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (VolumeListResponse) GetBody ¶
func (r VolumeListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VolumeListResponse) GetJSON200 ¶
func (r VolumeListResponse) GetJSON200() *VolumeListOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (VolumeListResponse) Status ¶
func (r VolumeListResponse) Status() string
Status returns HTTPResponse.Status
func (VolumeListResponse) StatusCode ¶
func (r VolumeListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VolumeProjectSetJSONRequestBody ¶
type VolumeProjectSetJSONRequestBody = ProjectAssignmentBody
VolumeProjectSetJSONRequestBody defines body for VolumeProjectSet for application/json ContentType.
type VolumeProjectSetResponse ¶
type VolumeProjectSetResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseVolumeProjectSetResponse ¶
func ParseVolumeProjectSetResponse(rsp *http.Response) (*VolumeProjectSetResponse, error)
ParseVolumeProjectSetResponse parses an HTTP response from a VolumeProjectSetWithResponse call
func (VolumeProjectSetResponse) ContentType ¶
func (r VolumeProjectSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VolumeProjectSetResponse) GetApplicationproblemJSONDefault ¶
func (r VolumeProjectSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (VolumeProjectSetResponse) GetBody ¶
func (r VolumeProjectSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VolumeProjectSetResponse) Status ¶
func (r VolumeProjectSetResponse) Status() string
Status returns HTTPResponse.Status
func (VolumeProjectSetResponse) StatusCode ¶
func (r VolumeProjectSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VolumeResizeInputBody ¶
type VolumeResizeInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/VolumeResizeInputBody.json
Schema *string `json:"$schema,omitempty"`
// SizeGb New size — grow only. Bounded by operator policy and the capacity quota; see GET /v1/volumes/limits.
SizeGb int64 `json:"size_gb"`
}
VolumeResizeInputBody defines model for VolumeResizeInputBody.
type VolumeResizeJSONRequestBody ¶
type VolumeResizeJSONRequestBody = VolumeResizeInputBody
VolumeResizeJSONRequestBody defines body for VolumeResize for application/json ContentType.
type VolumeResizeResponse ¶
type VolumeResizeResponse struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseVolumeResizeResponse ¶
func ParseVolumeResizeResponse(rsp *http.Response) (*VolumeResizeResponse, error)
ParseVolumeResizeResponse parses an HTTP response from a VolumeResizeWithResponse call
func (VolumeResizeResponse) ContentType ¶
func (r VolumeResizeResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VolumeResizeResponse) GetApplicationproblemJSONDefault ¶
func (r VolumeResizeResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (VolumeResizeResponse) GetBody ¶
func (r VolumeResizeResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VolumeResizeResponse) Status ¶
func (r VolumeResizeResponse) Status() string
Status returns HTTPResponse.Status
func (VolumeResizeResponse) StatusCode ¶
func (r VolumeResizeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VolumeTagsSetJSONRequestBody ¶
type VolumeTagsSetJSONRequestBody = TagsBody
VolumeTagsSetJSONRequestBody defines body for VolumeTagsSet for application/json ContentType.
type VolumeTagsSetResponse ¶
type VolumeTagsSetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *TagsBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseVolumeTagsSetResponse ¶
func ParseVolumeTagsSetResponse(rsp *http.Response) (*VolumeTagsSetResponse, error)
ParseVolumeTagsSetResponse parses an HTTP response from a VolumeTagsSetWithResponse call
func (VolumeTagsSetResponse) ContentType ¶
func (r VolumeTagsSetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VolumeTagsSetResponse) GetApplicationproblemJSONDefault ¶
func (r VolumeTagsSetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (VolumeTagsSetResponse) GetBody ¶
func (r VolumeTagsSetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (VolumeTagsSetResponse) GetJSON200 ¶
func (r VolumeTagsSetResponse) GetJSON200() *TagsBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (VolumeTagsSetResponse) Status ¶
func (r VolumeTagsSetResponse) Status() string
Status returns HTTPResponse.Status
func (VolumeTagsSetResponse) StatusCode ¶
func (r VolumeTagsSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletBody ¶
type WalletBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/WalletBody.json
Schema *string `json:"$schema,omitempty"`
// BalanceMinor Kurus; can be negative
BalanceMinor int64 `json:"balance_minor"`
// BurnPerHourMinor Total hourly cost of active servers (kurus)
BurnPerHourMinor int64 `json:"burn_per_hour_minor"`
Currency string `json:"currency"`
// NegativeSince Moment the balance dropped to ≤0; the suspend counter runs from here
NegativeSince *time.Time `json:"negative_since,omitempty"`
RunwayHours *int64 `json:"runway_hours,omitempty"`
// TopupMaxMinor Largest single top-up this wallet accepts, inclusive, in the wallet currency's minor unit
TopupMaxMinor int64 `json:"topup_max_minor"`
// TopupMinMinor Smallest single top-up this wallet accepts, inclusive, in the wallet currency's minor unit
TopupMinMinor int64 `json:"topup_min_minor"`
}
WalletBody defines model for WalletBody.
type WalletGetResponse ¶
type WalletGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WalletBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseWalletGetResponse ¶
func ParseWalletGetResponse(rsp *http.Response) (*WalletGetResponse, error)
ParseWalletGetResponse parses an HTTP response from a WalletGetWithResponse call
func (WalletGetResponse) ContentType ¶
func (r WalletGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WalletGetResponse) GetApplicationproblemJSONDefault ¶
func (r WalletGetResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (WalletGetResponse) GetBody ¶
func (r WalletGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WalletGetResponse) GetJSON200 ¶
func (r WalletGetResponse) GetJSON200() *WalletBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WalletGetResponse) Status ¶
func (r WalletGetResponse) Status() string
Status returns HTTPResponse.Status
func (WalletGetResponse) StatusCode ¶
func (r WalletGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletLedgerDailyParams ¶
type WalletLedgerDailyParams struct {
// Days Window ending today, in days
Days *int32 `form:"days,omitempty" json:"days,omitempty"`
// Tz IANA zone the day boundaries are cut in. Defaults to Europe/Istanbul
Tz *string `form:"tz,omitempty" json:"tz,omitempty"`
}
WalletLedgerDailyParams defines parameters for WalletLedgerDaily.
type WalletLedgerDailyResponse ¶
type WalletLedgerDailyResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LedgerDailyOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseWalletLedgerDailyResponse ¶
func ParseWalletLedgerDailyResponse(rsp *http.Response) (*WalletLedgerDailyResponse, error)
ParseWalletLedgerDailyResponse parses an HTTP response from a WalletLedgerDailyWithResponse call
func (WalletLedgerDailyResponse) ContentType ¶
func (r WalletLedgerDailyResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WalletLedgerDailyResponse) GetApplicationproblemJSONDefault ¶
func (r WalletLedgerDailyResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (WalletLedgerDailyResponse) GetBody ¶
func (r WalletLedgerDailyResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WalletLedgerDailyResponse) GetJSON200 ¶
func (r WalletLedgerDailyResponse) GetJSON200() *LedgerDailyOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WalletLedgerDailyResponse) Status ¶
func (r WalletLedgerDailyResponse) Status() string
Status returns HTTPResponse.Status
func (WalletLedgerDailyResponse) StatusCode ¶
func (r WalletLedgerDailyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletLedgerListParams ¶
type WalletLedgerListParams struct {
// Direction Money in (amount > 0) or money out; omit for both
Direction *WalletLedgerListParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
Offset *int32 `form:"offset,omitempty" json:"offset,omitempty"`
}
WalletLedgerListParams defines parameters for WalletLedgerList.
type WalletLedgerListParamsDirection ¶
type WalletLedgerListParamsDirection string
WalletLedgerListParamsDirection defines parameters for WalletLedgerList.
const ( WalletLedgerListParamsDirectionEmpty WalletLedgerListParamsDirection = "" WalletLedgerListParamsDirectionIn WalletLedgerListParamsDirection = "in" WalletLedgerListParamsDirectionOut WalletLedgerListParamsDirection = "out" )
Defines values for WalletLedgerListParamsDirection.
func (WalletLedgerListParamsDirection) Valid ¶
func (e WalletLedgerListParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the WalletLedgerListParamsDirection enum.
type WalletLedgerListResponse ¶
type WalletLedgerListResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *LedgerOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseWalletLedgerListResponse ¶
func ParseWalletLedgerListResponse(rsp *http.Response) (*WalletLedgerListResponse, error)
ParseWalletLedgerListResponse parses an HTTP response from a WalletLedgerListWithResponse call
func (WalletLedgerListResponse) ContentType ¶
func (r WalletLedgerListResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WalletLedgerListResponse) GetApplicationproblemJSONDefault ¶
func (r WalletLedgerListResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (WalletLedgerListResponse) GetBody ¶
func (r WalletLedgerListResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WalletLedgerListResponse) GetJSON200 ¶
func (r WalletLedgerListResponse) GetJSON200() *LedgerOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WalletLedgerListResponse) Status ¶
func (r WalletLedgerListResponse) Status() string
Status returns HTTPResponse.Status
func (WalletLedgerListResponse) StatusCode ¶
func (r WalletLedgerListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletPromoRedeemJSONRequestBody ¶
type WalletPromoRedeemJSONRequestBody = PromoRedeemBody
WalletPromoRedeemJSONRequestBody defines body for WalletPromoRedeem for application/json ContentType.
type WalletPromoRedeemResponse ¶
type WalletPromoRedeemResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PromoRedeemOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseWalletPromoRedeemResponse ¶
func ParseWalletPromoRedeemResponse(rsp *http.Response) (*WalletPromoRedeemResponse, error)
ParseWalletPromoRedeemResponse parses an HTTP response from a WalletPromoRedeemWithResponse call
func (WalletPromoRedeemResponse) ContentType ¶
func (r WalletPromoRedeemResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WalletPromoRedeemResponse) GetApplicationproblemJSONDefault ¶
func (r WalletPromoRedeemResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (WalletPromoRedeemResponse) GetBody ¶
func (r WalletPromoRedeemResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WalletPromoRedeemResponse) GetJSON200 ¶
func (r WalletPromoRedeemResponse) GetJSON200() *PromoRedeemOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WalletPromoRedeemResponse) Status ¶
func (r WalletPromoRedeemResponse) Status() string
Status returns HTTPResponse.Status
func (WalletPromoRedeemResponse) StatusCode ¶
func (r WalletPromoRedeemResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WalletPromoRedemptionsResponse ¶
type WalletPromoRedemptionsResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *PromoRedemptionsOutputBody
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *ErrorModel
}
func ParseWalletPromoRedemptionsResponse ¶
func ParseWalletPromoRedemptionsResponse(rsp *http.Response) (*WalletPromoRedemptionsResponse, error)
ParseWalletPromoRedemptionsResponse parses an HTTP response from a WalletPromoRedemptionsWithResponse call
func (WalletPromoRedemptionsResponse) ContentType ¶
func (r WalletPromoRedemptionsResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WalletPromoRedemptionsResponse) GetApplicationproblemJSONDefault ¶
func (r WalletPromoRedemptionsResponse) GetApplicationproblemJSONDefault() *ErrorModel
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (WalletPromoRedemptionsResponse) GetBody ¶
func (r WalletPromoRedemptionsResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (WalletPromoRedemptionsResponse) GetJSON200 ¶
func (r WalletPromoRedemptionsResponse) GetJSON200() *PromoRedemptionsOutputBody
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (WalletPromoRedemptionsResponse) Status ¶
func (r WalletPromoRedemptionsResponse) Status() string
Status returns HTTPResponse.Status
func (WalletPromoRedemptionsResponse) StatusCode ¶
func (r WalletPromoRedemptionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ZoneCreateInputBody ¶
type ZoneCreateInputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ZoneCreateInputBody.json
Schema *string `json:"$schema,omitempty"`
// Name Apex domain, e.g. example.com
Name string `json:"name"`
ProjectId *string `json:"project_id,omitempty"`
// ServerId Seed @ and www with A/AAAA records pointing at this server's public IP
ServerId *string `json:"server_id,omitempty"`
// Tags Tags to give the resource at birth. Lowercased, deduplicated and sorted before storage.
Tags *[]string `json:"tags,omitempty"`
}
ZoneCreateInputBody defines model for ZoneCreateInputBody.
type ZoneDetailOutputBody ¶
type ZoneDetailOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ZoneDetailOutputBody.json
Schema *string `json:"$schema,omitempty"`
Records *[]DnsRecordBody `json:"records"`
Zone DnsZoneBody `json:"zone"`
}
ZoneDetailOutputBody defines model for ZoneDetailOutputBody.
type ZonesListOutputBody ¶
type ZonesListOutputBody struct {
// Schema A URL to the JSON Schema for this object.
//
// Examples: https://example.com/schemas/ZonesListOutputBody.json
Schema *string `json:"$schema,omitempty"`
Total int64 `json:"total"`
Zones *[]DnsZoneBody `json:"zones"`
}
ZonesListOutputBody defines model for ZonesListOutputBody.