Documentation
¶
Index ¶
- Constants
- type AccessToken
- type AccountAddMemberSetup
- type AccountMembership
- type AccountMembershipCapabilities
- type AccountSetup
- type AccountType
- type AccountUpdateMemberSetup
- type AccountUpdateSetup
- type AccountUsageCapability
- type AgentRunner
- type AgentRunnerSession
- type AgentRunnerSessionConfig
- type AgentRunnerSessionStep
- type AgentRunnerUser
- type AiGatewayToken
- type Asset
- type AssetForm
- type AssetPublicSignature
- type AssetSignature
- type AuditLog
- type AuditLogPayload
- type Build
- type BuildHook
- type BuildHookSetup
- type BuildLogMsg
- type BuildSetup
- type BuildStatus
- type BuildStatusMinutes
- type CreateEnvVarsParamsBodyItems
- type DNSRecord
- type DNSRecordCreate
- type DNSRecords
- type DNSZone
- type DNSZoneSetup
- type DNSZones
- type Deploy
- type DeployFiles
- type DeployKey
- type DeploySiteCapabilities
- type DeployValidationsReport
- type DeployValidationsReportSecretScanResult
- type DeployedBranch
- type DevServer
- type DevServerHook
- type DevServerHookSetup
- type EnvVar
- type EnvVarUser
- type EnvVarValue
- type Error
- type ExcludedFunctionRoute
- type File
- type Form
- type Function
- type FunctionConfig
- type FunctionRoute
- type FunctionSchedule
- type GetAIGatewayProvidersOKBody
- type GetAiGatewayProvidersOKBody
- type Hook
- type HookType
- type Member
- type Metadata
- type MinifyOptions
- type PaymentMethod
- type PaymentMethodData
- type Plugin
- type PluginParams
- type PluginRun
- type PluginRunAllOf1
- type PluginRunData
- type ProviderDefinition
- type Purge
- type RepoInfo
- type Service
- type ServiceInstance
- type SetEnvVarValueParamsBody
- type Site
- type SiteDefaultHooksData
- type SiteFunction
- type SiteProcessingSettings
- type SiteProcessingSettingsHTML
- type SiteProcessingSettingsImages
- type SiteSetup
- type SiteSetupAllOf1
- type SniCertificate
- type Snippet
- type SplitTest
- type SplitTestSetup
- type SplitTests
- type Submission
- type Ticket
- type TrafficRulesAggregateConfig
- type TrafficRulesAggregateConfigKeysItems
- type TrafficRulesConfig
- type TrafficRulesConfigAction
- type TrafficRulesConfigActionConfig
- type TrafficRulesRateLimitConfig
- type UpdateDeployValidationsParamsBody
- type UpdateDevServerStateParamsBody
- type UpdateEnvVarParamsBody
- type User
- type UserOnboardingProgress
Constants ¶
const ( // AccountAddMemberSetupRoleOwner captures enum value "Owner" AccountAddMemberSetupRoleOwner string = "Owner" // AccountAddMemberSetupRoleDeveloper captures enum value "Developer" AccountAddMemberSetupRoleDeveloper string = "Developer" // AccountAddMemberSetupRoleBillingAdmin captures enum value "Billing Admin" AccountAddMemberSetupRoleBillingAdmin string = "Billing Admin" // AccountAddMemberSetupRoleReviewer captures enum value "Reviewer" AccountAddMemberSetupRoleReviewer string = "Reviewer" )
const ( // AccountSetupPeriodMonthly captures enum value "monthly" AccountSetupPeriodMonthly string = "monthly" // AccountSetupPeriodYearly captures enum value "yearly" AccountSetupPeriodYearly string = "yearly" )
const ( // AccountUpdateMemberSetupRoleOwner captures enum value "Owner" AccountUpdateMemberSetupRoleOwner string = "Owner" // AccountUpdateMemberSetupRoleDeveloper captures enum value "Developer" AccountUpdateMemberSetupRoleDeveloper string = "Developer" // AccountUpdateMemberSetupRoleBillingAdmin captures enum value "Billing Admin" AccountUpdateMemberSetupRoleBillingAdmin string = "Billing Admin" // AccountUpdateMemberSetupRoleReviewer captures enum value "Reviewer" AccountUpdateMemberSetupRoleReviewer string = "Reviewer" )
const ( // AccountUpdateMemberSetupSiteAccessAll captures enum value "all" AccountUpdateMemberSetupSiteAccessAll string = "all" // AccountUpdateMemberSetupSiteAccessNone captures enum value "none" AccountUpdateMemberSetupSiteAccessNone string = "none" // AccountUpdateMemberSetupSiteAccessSelected captures enum value "selected" AccountUpdateMemberSetupSiteAccessSelected string = "selected" )
const ( // BuildLogMsgSectionInitializing captures enum value "initializing" BuildLogMsgSectionInitializing string = "initializing" // BuildLogMsgSectionBuilding captures enum value "building" BuildLogMsgSectionBuilding string = "building" // BuildLogMsgSectionDeploying captures enum value "deploying" BuildLogMsgSectionDeploying string = "deploying" // BuildLogMsgSectionCleanup captures enum value "cleanup" BuildLogMsgSectionCleanup string = "cleanup" // BuildLogMsgSectionPostprocessing captures enum value "postprocessing" BuildLogMsgSectionPostprocessing string = "postprocessing" )
const ( // DevServerHookTypeNewDevServer captures enum value "new_dev_server" DevServerHookTypeNewDevServer string = "new_dev_server" // DevServerHookTypeContentRefresh captures enum value "content_refresh" DevServerHookTypeContentRefresh string = "content_refresh" )
const ( // DevServerHookSetupTypeNewDevServer captures enum value "new_dev_server" DevServerHookSetupTypeNewDevServer string = "new_dev_server" // DevServerHookSetupTypeContentRefresh captures enum value "content_refresh" DevServerHookSetupTypeContentRefresh string = "content_refresh" )
const ( // EnvVarValueContextAll captures enum value "all" EnvVarValueContextAll string = "all" // EnvVarValueContextDev captures enum value "dev" EnvVarValueContextDev string = "dev" // EnvVarValueContextDevServer captures enum value "dev-server" EnvVarValueContextDevServer string = "dev-server" // EnvVarValueContextBranchDeploy captures enum value "branch-deploy" EnvVarValueContextBranchDeploy string = "branch-deploy" // EnvVarValueContextDeployPreview captures enum value "deploy-preview" EnvVarValueContextDeployPreview string = "deploy-preview" // EnvVarValueContextProduction captures enum value "production" EnvVarValueContextProduction string = "production" // EnvVarValueContextBranch captures enum value "branch" EnvVarValueContextBranch string = "branch" )
const ( // SetEnvVarValueParamsBodyContextAll captures enum value "all" SetEnvVarValueParamsBodyContextAll string = "all" // SetEnvVarValueParamsBodyContextDev captures enum value "dev" SetEnvVarValueParamsBodyContextDev string = "dev" // SetEnvVarValueParamsBodyContextDevServer captures enum value "dev-server" SetEnvVarValueParamsBodyContextDevServer string = "dev-server" // SetEnvVarValueParamsBodyContextBranchDeploy captures enum value "branch-deploy" SetEnvVarValueParamsBodyContextBranchDeploy string = "branch-deploy" // SetEnvVarValueParamsBodyContextDeployPreview captures enum value "deploy-preview" SetEnvVarValueParamsBodyContextDeployPreview string = "deploy-preview" // SetEnvVarValueParamsBodyContextProduction captures enum value "production" SetEnvVarValueParamsBodyContextProduction string = "production" // SetEnvVarValueParamsBodyContextBranch captures enum value "branch" SetEnvVarValueParamsBodyContextBranch string = "branch" )
const ( // TrafficRulesAggregateConfigKeysItemsTypeIP captures enum value "ip" TrafficRulesAggregateConfigKeysItemsTypeIP string = "ip" // TrafficRulesAggregateConfigKeysItemsTypeDomain captures enum value "domain" TrafficRulesAggregateConfigKeysItemsTypeDomain string = "domain" )
const ( // UpdateDevServerStateParamsBodyStateStarting captures enum value "starting" UpdateDevServerStateParamsBodyStateStarting string = "starting" // UpdateDevServerStateParamsBodyStateLive captures enum value "live" UpdateDevServerStateParamsBodyStateLive string = "live" // UpdateDevServerStateParamsBodyStateError captures enum value "error" UpdateDevServerStateParamsBodyStateError string = "error" // UpdateDevServerStateParamsBodyStateDone captures enum value "done" UpdateDevServerStateParamsBodyStateDone string = "done" )
const ( // TrafficRulesRateLimitConfigAlgorithmSlidingWindow captures enum value "sliding_window" TrafficRulesRateLimitConfigAlgorithmSlidingWindow string = "sliding_window" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct {
// access token
AccessToken string `json:"access_token,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// id
ID string `json:"id,omitempty"`
// user email
UserEmail string `json:"user_email,omitempty"`
// user id
UserID string `json:"user_id,omitempty"`
}
AccessToken access token
swagger:model accessToken
func (*AccessToken) MarshalBinary ¶
func (m *AccessToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccessToken) UnmarshalBinary ¶
func (m *AccessToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountAddMemberSetup ¶ added in v2.13.0
type AccountAddMemberSetup struct {
// email
Email string `json:"email,omitempty"`
// role
// Enum: [Owner Developer Billing Admin Reviewer]
Role string `json:"role,omitempty"`
}
AccountAddMemberSetup account add member setup
swagger:model accountAddMemberSetup
func (*AccountAddMemberSetup) MarshalBinary ¶ added in v2.13.0
func (m *AccountAddMemberSetup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountAddMemberSetup) UnmarshalBinary ¶ added in v2.13.0
func (m *AccountAddMemberSetup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountMembership ¶
type AccountMembership struct {
// billing details
BillingDetails string `json:"billing_details,omitempty"`
// billing email
BillingEmail string `json:"billing_email,omitempty"`
// billing name
BillingName string `json:"billing_name,omitempty"`
// billing period
BillingPeriod string `json:"billing_period,omitempty"`
// capabilities
Capabilities *AccountMembershipCapabilities `json:"capabilities,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// owner ids
OwnerIds []string `json:"owner_ids"`
// payment method id
PaymentMethodID string `json:"payment_method_id,omitempty"`
// roles allowed
RolesAllowed []string `json:"roles_allowed"`
// slug
Slug string `json:"slug,omitempty"`
// type
Type string `json:"type,omitempty"`
// type id
TypeID string `json:"type_id,omitempty"`
// type name
TypeName string `json:"type_name,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
AccountMembership account membership
swagger:model accountMembership
func (*AccountMembership) MarshalBinary ¶
func (m *AccountMembership) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountMembership) UnmarshalBinary ¶
func (m *AccountMembership) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountMembershipCapabilities ¶
type AccountMembershipCapabilities struct {
// collaborators
Collaborators *AccountUsageCapability `json:"collaborators,omitempty"`
// sites
Sites *AccountUsageCapability `json:"sites,omitempty"`
}
AccountMembershipCapabilities account membership capabilities
swagger:model accountMembershipCapabilities
func (*AccountMembershipCapabilities) MarshalBinary ¶
func (m *AccountMembershipCapabilities) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountMembershipCapabilities) UnmarshalBinary ¶
func (m *AccountMembershipCapabilities) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountSetup ¶
type AccountSetup struct {
// extra seats block
ExtraSeatsBlock int64 `json:"extra_seats_block,omitempty"`
// name
// Required: true
Name *string `json:"name"`
// payment method id
PaymentMethodID string `json:"payment_method_id,omitempty"`
// period
// Enum: [monthly yearly]
Period string `json:"period,omitempty"`
// type id
// Required: true
TypeID *string `json:"type_id"`
}
AccountSetup account setup
swagger:model accountSetup
func (*AccountSetup) MarshalBinary ¶
func (m *AccountSetup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountSetup) UnmarshalBinary ¶
func (m *AccountSetup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountType ¶
type AccountType struct {
// capabilities
Capabilities interface{} `json:"capabilities,omitempty"`
// description
Description string `json:"description,omitempty"`
// id
ID string `json:"id,omitempty"`
// monthly dollar price
MonthlyDollarPrice int64 `json:"monthly_dollar_price,omitempty"`
// monthly seats addon dollar price
MonthlySeatsAddonDollarPrice int64 `json:"monthly_seats_addon_dollar_price,omitempty"`
// name
Name string `json:"name,omitempty"`
// yearly dollar price
YearlyDollarPrice int64 `json:"yearly_dollar_price,omitempty"`
// yearly seats addon dollar price
YearlySeatsAddonDollarPrice int64 `json:"yearly_seats_addon_dollar_price,omitempty"`
}
AccountType account type
swagger:model accountType
func (*AccountType) MarshalBinary ¶
func (m *AccountType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountType) UnmarshalBinary ¶
func (m *AccountType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountUpdateMemberSetup ¶ added in v2.13.0
type AccountUpdateMemberSetup struct {
// role
// Enum: [Owner Developer Billing Admin Reviewer]
Role string `json:"role,omitempty"`
// site access
// Enum: [all none selected]
SiteAccess string `json:"site_access,omitempty"`
// site ids
SiteIds []string `json:"site_ids"`
}
AccountUpdateMemberSetup account update member setup
swagger:model accountUpdateMemberSetup
func (*AccountUpdateMemberSetup) MarshalBinary ¶ added in v2.13.0
func (m *AccountUpdateMemberSetup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountUpdateMemberSetup) UnmarshalBinary ¶ added in v2.13.0
func (m *AccountUpdateMemberSetup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountUpdateSetup ¶
type AccountUpdateSetup struct {
// billing details
BillingDetails string `json:"billing_details,omitempty"`
// billing email
BillingEmail string `json:"billing_email,omitempty"`
// billing name
BillingName string `json:"billing_name,omitempty"`
// extra seats block
ExtraSeatsBlock int64 `json:"extra_seats_block,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
// type id
TypeID string `json:"type_id,omitempty"`
}
AccountUpdateSetup account update setup
swagger:model accountUpdateSetup
func (*AccountUpdateSetup) MarshalBinary ¶
func (m *AccountUpdateSetup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountUpdateSetup) UnmarshalBinary ¶
func (m *AccountUpdateSetup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountUsageCapability ¶
type AccountUsageCapability struct {
// included
Included int64 `json:"included,omitempty"`
// used
Used int64 `json:"used,omitempty"`
}
AccountUsageCapability account usage capability
swagger:model accountUsageCapability
func (*AccountUsageCapability) MarshalBinary ¶
func (m *AccountUsageCapability) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountUsageCapability) UnmarshalBinary ¶
func (m *AccountUsageCapability) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentRunner ¶ added in v2.39.0
type AgentRunner struct {
// active session created at
ActiveSessionCreatedAt string `json:"active_session_created_at,omitempty"`
// attached file keys
AttachedFileKeys []string `json:"attached_file_keys"`
// base deploy id
BaseDeployID string `json:"base_deploy_id,omitempty"`
// branch
Branch string `json:"branch,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// current task
CurrentTask string `json:"current_task,omitempty"`
// done at
DoneAt string `json:"done_at,omitempty"`
// id
ID string `json:"id,omitempty"`
// latest session deploy id
LatestSessionDeployID string `json:"latest_session_deploy_id,omitempty"`
// latest session deploy url
LatestSessionDeployURL string `json:"latest_session_deploy_url,omitempty"`
// merge commit error
MergeCommitError string `json:"merge_commit_error,omitempty"`
// merge commit is being created
MergeCommitIsBeingCreated bool `json:"merge_commit_is_being_created,omitempty"`
// merge commit sha
MergeCommitSha string `json:"merge_commit_sha,omitempty"`
// parent agent runner id
ParentAgentRunnerID string `json:"parent_agent_runner_id,omitempty"`
// pr branch
PrBranch string `json:"pr_branch,omitempty"`
// pr error
PrError string `json:"pr_error,omitempty"`
// pr is being created
PrIsBeingCreated bool `json:"pr_is_being_created,omitempty"`
// pr number
PrNumber int64 `json:"pr_number,omitempty"`
// pr state
PrState string `json:"pr_state,omitempty"`
// pr url
PrURL string `json:"pr_url,omitempty"`
// result branch
ResultBranch string `json:"result_branch,omitempty"`
// result diff
ResultDiff string `json:"result_diff,omitempty"`
// sha
Sha string `json:"sha,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// state
State string `json:"state,omitempty"`
// title
Title string `json:"title,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// user
User *AgentRunnerUser `json:"user,omitempty"`
}
AgentRunner agent runner
swagger:model agentRunner
func (*AgentRunner) MarshalBinary ¶ added in v2.39.0
func (m *AgentRunner) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentRunner) UnmarshalBinary ¶ added in v2.39.0
func (m *AgentRunner) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentRunnerSession ¶ added in v2.39.0
type AgentRunnerSession struct {
// agent config
AgentConfig *AgentRunnerSessionConfig `json:"agent_config,omitempty"`
// agent runner id
AgentRunnerID string `json:"agent_runner_id,omitempty"`
// attached file keys
AttachedFileKeys []string `json:"attached_file_keys"`
// commit sha
CommitSha string `json:"commit_sha,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// deploy id
DeployID string `json:"deploy_id,omitempty"`
// deploy url
DeployURL string `json:"deploy_url,omitempty"`
// dev server id
DevServerID string `json:"dev_server_id,omitempty"`
// done at
DoneAt string `json:"done_at,omitempty"`
// duration
Duration int64 `json:"duration,omitempty"`
// id
ID string `json:"id,omitempty"`
// is published
IsPublished bool `json:"is_published,omitempty"`
// prompt
Prompt string `json:"prompt,omitempty"`
// result
Result string `json:"result,omitempty"`
// result diff
ResultDiff string `json:"result_diff,omitempty"`
// result zip file name
ResultZipFileName string `json:"result_zip_file_name,omitempty"`
// state
State string `json:"state,omitempty"`
// steps
Steps []*AgentRunnerSessionStep `json:"steps"`
// title
Title string `json:"title,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// user
User *AgentRunnerUser `json:"user,omitempty"`
}
AgentRunnerSession agent runner session
swagger:model agentRunnerSession
func (*AgentRunnerSession) MarshalBinary ¶ added in v2.39.0
func (m *AgentRunnerSession) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentRunnerSession) UnmarshalBinary ¶ added in v2.39.0
func (m *AgentRunnerSession) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentRunnerSessionConfig ¶ added in v2.39.0
type AgentRunnerSessionConfig struct {
// agent
Agent string `json:"agent,omitempty"`
// model
Model string `json:"model,omitempty"`
}
AgentRunnerSessionConfig agent runner session config
swagger:model agentRunnerSessionConfig
func (*AgentRunnerSessionConfig) MarshalBinary ¶ added in v2.39.0
func (m *AgentRunnerSessionConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentRunnerSessionConfig) UnmarshalBinary ¶ added in v2.39.0
func (m *AgentRunnerSessionConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentRunnerSessionStep ¶ added in v2.39.0
type AgentRunnerSessionStep struct {
// message
Message string `json:"message,omitempty"`
// title
Title string `json:"title,omitempty"`
}
AgentRunnerSessionStep agent runner session step
swagger:model agentRunnerSessionStep
func (*AgentRunnerSessionStep) MarshalBinary ¶ added in v2.39.0
func (m *AgentRunnerSessionStep) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentRunnerSessionStep) UnmarshalBinary ¶ added in v2.39.0
func (m *AgentRunnerSessionStep) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AgentRunnerUser ¶ added in v2.39.0
type AgentRunnerUser struct {
// avatar url
AvatarURL string `json:"avatar_url,omitempty"`
// email
Email string `json:"email,omitempty"`
// full name
FullName string `json:"full_name,omitempty"`
// id
ID string `json:"id,omitempty"`
}
AgentRunnerUser agent runner user
swagger:model agentRunnerUser
func (*AgentRunnerUser) MarshalBinary ¶ added in v2.39.0
func (m *AgentRunnerUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AgentRunnerUser) UnmarshalBinary ¶ added in v2.39.0
func (m *AgentRunnerUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AiGatewayToken ¶ added in v2.40.0
type AiGatewayToken struct {
// Unix timestamp when the token expires
ExpiresAt int64 `json:"expires_at,omitempty"`
// The AI Gateway authentication token
Token string `json:"token,omitempty"`
// AI gateway base url
URL string `json:"url,omitempty"`
}
AiGatewayToken ai gateway token
swagger:model aiGatewayToken
func (*AiGatewayToken) MarshalBinary ¶ added in v2.40.0
func (m *AiGatewayToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AiGatewayToken) UnmarshalBinary ¶ added in v2.40.0
func (m *AiGatewayToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Asset ¶
type Asset struct {
// content type
ContentType string `json:"content_type,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// creator id
CreatorID string `json:"creator_id,omitempty"`
// id
ID string `json:"id,omitempty"`
// key
Key string `json:"key,omitempty"`
// name
Name string `json:"name,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// size
Size int64 `json:"size,omitempty"`
// state
State string `json:"state,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// url
URL string `json:"url,omitempty"`
// visibility
Visibility string `json:"visibility,omitempty"`
}
Asset asset
swagger:model asset
func (*Asset) MarshalBinary ¶
MarshalBinary interface implementation
func (*Asset) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AssetForm ¶
type AssetForm struct {
// fields
Fields map[string]string `json:"fields,omitempty"`
// url
URL string `json:"url,omitempty"`
}
AssetForm asset form
swagger:model assetForm
func (*AssetForm) MarshalBinary ¶
MarshalBinary interface implementation
func (*AssetForm) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AssetPublicSignature ¶
type AssetPublicSignature struct {
// url
URL string `json:"url,omitempty"`
}
AssetPublicSignature asset public signature
swagger:model assetPublicSignature
func (*AssetPublicSignature) MarshalBinary ¶
func (m *AssetPublicSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssetPublicSignature) UnmarshalBinary ¶
func (m *AssetPublicSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssetSignature ¶
type AssetSignature struct {
// asset
Asset *Asset `json:"asset,omitempty"`
// form
Form *AssetForm `json:"form,omitempty"`
}
AssetSignature asset signature
swagger:model assetSignature
func (*AssetSignature) MarshalBinary ¶
func (m *AssetSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssetSignature) UnmarshalBinary ¶
func (m *AssetSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuditLog ¶
type AuditLog struct {
// account id
AccountID string `json:"account_id,omitempty"`
// id
ID string `json:"id,omitempty"`
// payload
Payload *AuditLogPayload `json:"payload,omitempty"`
}
AuditLog audit log
swagger:model auditLog
func (*AuditLog) MarshalBinary ¶
MarshalBinary interface implementation
func (*AuditLog) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AuditLogPayload ¶
type AuditLogPayload struct {
// action
Action string `json:"action,omitempty"`
// actor email
ActorEmail string `json:"actor_email,omitempty"`
// actor id
ActorID string `json:"actor_id,omitempty"`
// actor name
ActorName string `json:"actor_name,omitempty"`
// log type
LogType string `json:"log_type,omitempty"`
// timestamp
Timestamp string `json:"timestamp,omitempty"`
// audit log payload
AuditLogPayload map[string]interface{} `json:"-"`
}
AuditLogPayload audit log payload
swagger:model auditLogPayload
func (*AuditLogPayload) MarshalBinary ¶
func (m *AuditLogPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (AuditLogPayload) MarshalJSON ¶
func (m AuditLogPayload) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*AuditLogPayload) UnmarshalBinary ¶
func (m *AuditLogPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AuditLogPayload) UnmarshalJSON ¶
func (m *AuditLogPayload) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
type Build ¶
type Build struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// deploy id
DeployID string `json:"deploy_id,omitempty"`
// done
Done bool `json:"done,omitempty"`
// error
Error string `json:"error,omitempty"`
// id
ID string `json:"id,omitempty"`
// sha
Sha string `json:"sha,omitempty"`
}
Build build
swagger:model build
func (*Build) MarshalBinary ¶
MarshalBinary interface implementation
func (*Build) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BuildHook ¶
type BuildHook struct {
// branch
Branch string `json:"branch,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// id
ID string `json:"id,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// title
Title string `json:"title,omitempty"`
// url
URL string `json:"url,omitempty"`
}
BuildHook build hook
swagger:model buildHook
func (*BuildHook) MarshalBinary ¶
MarshalBinary interface implementation
func (*BuildHook) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BuildHookSetup ¶
type BuildHookSetup struct {
// branch
Branch string `json:"branch,omitempty"`
// title
Title string `json:"title,omitempty"`
}
BuildHookSetup build hook setup
swagger:model buildHookSetup
func (*BuildHookSetup) MarshalBinary ¶
func (m *BuildHookSetup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildHookSetup) UnmarshalBinary ¶
func (m *BuildHookSetup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BuildLogMsg ¶
type BuildLogMsg struct {
// error
Error bool `json:"error,omitempty"`
// message
Message string `json:"message,omitempty"`
// section
// Enum: [initializing building deploying cleanup postprocessing]
Section string `json:"section,omitempty"`
}
BuildLogMsg build log msg
swagger:model buildLogMsg
func (*BuildLogMsg) MarshalBinary ¶
func (m *BuildLogMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildLogMsg) UnmarshalBinary ¶
func (m *BuildLogMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BuildSetup ¶ added in v2.5.0
type BuildSetup struct {
// clear cache
ClearCache bool `json:"clear_cache,omitempty"`
// image
Image string `json:"image,omitempty"`
}
BuildSetup build setup
swagger:model buildSetup
func (*BuildSetup) MarshalBinary ¶ added in v2.5.0
func (m *BuildSetup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildSetup) UnmarshalBinary ¶ added in v2.5.0
func (m *BuildSetup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BuildStatus ¶
type BuildStatus struct {
// active
Active int64 `json:"active,omitempty"`
// build count
BuildCount int64 `json:"build_count,omitempty"`
// enqueued
Enqueued int64 `json:"enqueued,omitempty"`
// minutes
Minutes *BuildStatusMinutes `json:"minutes,omitempty"`
// pending concurrency
PendingConcurrency int64 `json:"pending_concurrency,omitempty"`
}
BuildStatus build status
swagger:model buildStatus
func (*BuildStatus) MarshalBinary ¶
func (m *BuildStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildStatus) UnmarshalBinary ¶
func (m *BuildStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BuildStatusMinutes ¶
type BuildStatusMinutes struct {
// current
Current int64 `json:"current,omitempty"`
// current average sec
CurrentAverageSec int64 `json:"current_average_sec,omitempty"`
// included minutes
IncludedMinutes string `json:"included_minutes,omitempty"`
// included minutes with packs
IncludedMinutesWithPacks string `json:"included_minutes_with_packs,omitempty"`
// last updated at
LastUpdatedAt string `json:"last_updated_at,omitempty"`
// period end date
PeriodEndDate string `json:"period_end_date,omitempty"`
// period start date
PeriodStartDate string `json:"period_start_date,omitempty"`
// previous
Previous int64 `json:"previous,omitempty"`
}
BuildStatusMinutes build status minutes
swagger:model buildStatusMinutes
func (*BuildStatusMinutes) MarshalBinary ¶
func (m *BuildStatusMinutes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildStatusMinutes) UnmarshalBinary ¶
func (m *BuildStatusMinutes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateEnvVarsParamsBodyItems ¶ added in v2.10.0
type CreateEnvVarsParamsBodyItems struct {
// Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
IsSecret bool `json:"is_secret,omitempty"`
// The existing or new name of the key, if you wish to rename it (case-sensitive)
Key string `json:"key,omitempty"`
// The scopes that this environment variable is set to (Pro plans and above)
Scopes []string `json:"scopes"`
// values
Values []*EnvVarValue `json:"values"`
}
CreateEnvVarsParamsBodyItems create env vars params body items
swagger:model createEnvVarsParamsBodyItems
func (*CreateEnvVarsParamsBodyItems) MarshalBinary ¶ added in v2.10.0
func (m *CreateEnvVarsParamsBodyItems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateEnvVarsParamsBodyItems) UnmarshalBinary ¶ added in v2.10.0
func (m *CreateEnvVarsParamsBodyItems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DNSRecord ¶
type DNSRecord struct {
// dns zone id
DNSZoneID string `json:"dns_zone_id,omitempty"`
// flag
Flag int64 `json:"flag,omitempty"`
// hostname
Hostname string `json:"hostname,omitempty"`
// id
ID string `json:"id,omitempty"`
// managed
Managed bool `json:"managed,omitempty"`
// priority
Priority int64 `json:"priority,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// tag
Tag string `json:"tag,omitempty"`
// ttl
TTL int64 `json:"ttl,omitempty"`
// type
Type string `json:"type,omitempty"`
// value
Value string `json:"value,omitempty"`
}
DNSRecord dns record
swagger:model dnsRecord
func (*DNSRecord) MarshalBinary ¶
MarshalBinary interface implementation
func (*DNSRecord) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DNSRecordCreate ¶
type DNSRecordCreate struct {
// flag
Flag int64 `json:"flag,omitempty"`
// hostname
Hostname string `json:"hostname,omitempty"`
// port
Port int64 `json:"port,omitempty"`
// priority
Priority int64 `json:"priority,omitempty"`
// tag
Tag string `json:"tag,omitempty"`
// ttl
TTL int64 `json:"ttl,omitempty"`
// type
Type string `json:"type,omitempty"`
// value
Value string `json:"value,omitempty"`
// weight
Weight int64 `json:"weight,omitempty"`
}
DNSRecordCreate dns record create
swagger:model dnsRecordCreate
func (*DNSRecordCreate) MarshalBinary ¶
func (m *DNSRecordCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DNSRecordCreate) UnmarshalBinary ¶
func (m *DNSRecordCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DNSZone ¶
type DNSZone struct {
// account id
AccountID string `json:"account_id,omitempty"`
// account name
AccountName string `json:"account_name,omitempty"`
// account slug
AccountSlug string `json:"account_slug,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// dedicated
Dedicated bool `json:"dedicated,omitempty"`
// dns servers
DNSServers []string `json:"dns_servers"`
// domain
Domain string `json:"domain,omitempty"`
// errors
Errors []string `json:"errors"`
// id
ID string `json:"id,omitempty"`
// ipv6 enabled
IPV6Enabled bool `json:"ipv6_enabled,omitempty"`
// name
Name string `json:"name,omitempty"`
// records
Records []*DNSRecord `json:"records"`
// site id
SiteID string `json:"site_id,omitempty"`
// supported record types
SupportedRecordTypes []string `json:"supported_record_types"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// user id
UserID string `json:"user_id,omitempty"`
}
DNSZone dns zone
swagger:model dnsZone
func (*DNSZone) MarshalBinary ¶
MarshalBinary interface implementation
func (*DNSZone) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DNSZoneSetup ¶
type DNSZoneSetup struct {
// account slug
AccountSlug string `json:"account_slug,omitempty"`
// name
Name string `json:"name,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
}
DNSZoneSetup dns zone setup
swagger:model dnsZoneSetup
func (*DNSZoneSetup) MarshalBinary ¶
func (m *DNSZoneSetup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DNSZoneSetup) UnmarshalBinary ¶
func (m *DNSZoneSetup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Deploy ¶
type Deploy struct {
// admin url
AdminURL string `json:"admin_url,omitempty"`
// branch
Branch string `json:"branch,omitempty"`
// build id
BuildID string `json:"build_id,omitempty"`
// commit ref
CommitRef string `json:"commit_ref,omitempty"`
// commit url
CommitURL string `json:"commit_url,omitempty"`
// context
Context string `json:"context,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// deploy ssl url
DeploySslURL string `json:"deploy_ssl_url,omitempty"`
// deploy url
DeployURL string `json:"deploy_url,omitempty"`
// draft
Draft bool `json:"draft,omitempty"`
// error message
ErrorMessage string `json:"error_message,omitempty"`
// framework
Framework string `json:"framework,omitempty"`
// function schedules
FunctionSchedules []*FunctionSchedule `json:"function_schedules"`
// id
ID string `json:"id,omitempty"`
// locked
Locked bool `json:"locked,omitempty"`
// name
Name string `json:"name,omitempty"`
// published at
PublishedAt string `json:"published_at,omitempty"`
// required
Required []string `json:"required"`
// required functions
RequiredFunctions []string `json:"required_functions"`
// review id
ReviewID float64 `json:"review_id,omitempty"`
// review url
ReviewURL string `json:"review_url,omitempty"`
// screenshot url
ScreenshotURL string `json:"screenshot_url,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// skew protection token
SkewProtectionToken string `json:"skew_protection_token,omitempty"`
// skipped
Skipped bool `json:"skipped,omitempty"`
// ssl url
SslURL string `json:"ssl_url,omitempty"`
// state
State string `json:"state,omitempty"`
// title
Title string `json:"title,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// url
URL string `json:"url,omitempty"`
// user id
UserID string `json:"user_id,omitempty"`
}
Deploy deploy
swagger:model deploy
func (*Deploy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Deploy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DeployFiles ¶
type DeployFiles struct {
// async
Async bool `json:"async,omitempty"`
// branch
Branch string `json:"branch,omitempty"`
// draft
Draft bool `json:"draft,omitempty"`
// files
Files interface{} `json:"files,omitempty"`
// framework
Framework string `json:"framework,omitempty"`
// framework version
FrameworkVersion string `json:"framework_version,omitempty"`
// function schedules
FunctionSchedules []*FunctionSchedule `json:"function_schedules"`
// functions
Functions interface{} `json:"functions,omitempty"`
// functions config
FunctionsConfig map[string]FunctionConfig `json:"functions_config,omitempty"`
}
DeployFiles deploy files
swagger:model deployFiles
func (*DeployFiles) MarshalBinary ¶
func (m *DeployFiles) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeployFiles) UnmarshalBinary ¶
func (m *DeployFiles) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeployKey ¶
type DeployKey struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// id
ID string `json:"id,omitempty"`
// public key
PublicKey string `json:"public_key,omitempty"`
}
DeployKey deploy key
swagger:model deployKey
func (*DeployKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*DeployKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DeploySiteCapabilities ¶
type DeploySiteCapabilities struct {
// large media enabled
LargeMediaEnabled bool `json:"large_media_enabled,omitempty"`
}
DeploySiteCapabilities deploy site capabilities
swagger:model deploySiteCapabilities
func (*DeploySiteCapabilities) MarshalBinary ¶
func (m *DeploySiteCapabilities) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeploySiteCapabilities) UnmarshalBinary ¶
func (m *DeploySiteCapabilities) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeployValidationsReport ¶ added in v2.37.0
type DeployValidationsReport struct {
// The id of the deploy
DeployID string `json:"deploy_id,omitempty"`
// The id of the deploy validations report
ID string `json:"id,omitempty"`
// secret scan result
SecretScanResult *DeployValidationsReportSecretScanResult `json:"secret_scan_result,omitempty"`
}
DeployValidationsReport deploy validations report
swagger:model DeployValidationsReport
func (*DeployValidationsReport) MarshalBinary ¶ added in v2.37.0
func (m *DeployValidationsReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeployValidationsReport) UnmarshalBinary ¶ added in v2.37.0
func (m *DeployValidationsReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeployValidationsReportSecretScanResult ¶ added in v2.37.0
type DeployValidationsReportSecretScanResult struct {
// The number of files scanned
ScannedFilesCount int64 `json:"scannedFilesCount,omitempty"`
// The list of secrets scan matches
SecretsScanMatches []string `json:"secretsScanMatches"`
}
DeployValidationsReportSecretScanResult deploy validations report secret scan result
swagger:model DeployValidationsReport_SecretScanResult
func (*DeployValidationsReportSecretScanResult) MarshalBinary ¶ added in v2.37.0
func (m *DeployValidationsReportSecretScanResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeployValidationsReportSecretScanResult) UnmarshalBinary ¶ added in v2.37.0
func (m *DeployValidationsReportSecretScanResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeployedBranch ¶
type DeployedBranch struct {
// deploy id
DeployID string `json:"deploy_id,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
// ssl url
SslURL string `json:"ssl_url,omitempty"`
// url
URL string `json:"url,omitempty"`
}
DeployedBranch deployed branch
swagger:model deployedBranch
func (*DeployedBranch) MarshalBinary ¶
func (m *DeployedBranch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeployedBranch) UnmarshalBinary ¶
func (m *DeployedBranch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DevServer ¶ added in v2.30.0
type DevServer struct {
// branch
Branch string `json:"branch,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// done at
DoneAt string `json:"done_at,omitempty"`
// error at
ErrorAt string `json:"error_at,omitempty"`
// id
ID string `json:"id,omitempty"`
// live at
LiveAt string `json:"live_at,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// starting at
StartingAt string `json:"starting_at,omitempty"`
// state
State string `json:"state,omitempty"`
// title
Title string `json:"title,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// url
URL string `json:"url,omitempty"`
}
DevServer dev server
swagger:model devServer
func (*DevServer) MarshalBinary ¶ added in v2.30.0
MarshalBinary interface implementation
func (*DevServer) UnmarshalBinary ¶ added in v2.30.0
UnmarshalBinary interface implementation
type DevServerHook ¶ added in v2.30.0
type DevServerHook struct {
// branch
Branch string `json:"branch,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// id
ID string `json:"id,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// title
Title string `json:"title,omitempty"`
// type
// Enum: [new_dev_server content_refresh]
Type string `json:"type,omitempty"`
// url
URL string `json:"url,omitempty"`
}
DevServerHook dev server hook
swagger:model devServerHook
func (*DevServerHook) MarshalBinary ¶ added in v2.30.0
func (m *DevServerHook) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DevServerHook) UnmarshalBinary ¶ added in v2.30.0
func (m *DevServerHook) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DevServerHookSetup ¶ added in v2.30.0
type DevServerHookSetup struct {
// branch
Branch string `json:"branch,omitempty"`
// title
Title string `json:"title,omitempty"`
// type
// Enum: [new_dev_server content_refresh]
Type string `json:"type,omitempty"`
}
DevServerHookSetup dev server hook setup
swagger:model devServerHookSetup
func (*DevServerHookSetup) MarshalBinary ¶ added in v2.30.0
func (m *DevServerHookSetup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DevServerHookSetup) UnmarshalBinary ¶ added in v2.30.0
func (m *DevServerHookSetup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnvVar ¶ added in v2.10.0
type EnvVar struct {
// Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
IsSecret bool `json:"is_secret,omitempty"`
// The environment variable key, like ALGOLIA_ID (case-sensitive)
Key string `json:"key,omitempty"`
// The scopes that this environment variable is set to
Scopes []string `json:"scopes"`
// The timestamp of when the value was last updated
// Format: date-time
UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
// updated by
UpdatedBy *EnvVarUser `json:"updated_by,omitempty"`
// An array of Value objects containing values and metadata
Values []*EnvVarValue `json:"values"`
}
EnvVar Environment variable model definition
swagger:model envVar
func (*EnvVar) MarshalBinary ¶ added in v2.10.0
MarshalBinary interface implementation
func (*EnvVar) UnmarshalBinary ¶ added in v2.10.0
UnmarshalBinary interface implementation
type EnvVarUser ¶ added in v2.10.0
type EnvVarUser struct {
// A URL pointing to the user's avatar
AvatarURL string `json:"avatar_url,omitempty"`
// The user's email address
Email string `json:"email,omitempty"`
// The user's full name (first and last)
FullName string `json:"full_name,omitempty"`
// The user's unique identifier
ID string `json:"id,omitempty"`
}
EnvVarUser env var user
swagger:model envVarUser
func (*EnvVarUser) MarshalBinary ¶ added in v2.10.0
func (m *EnvVarUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnvVarUser) UnmarshalBinary ¶ added in v2.10.0
func (m *EnvVarUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnvVarValue ¶ added in v2.10.0
type EnvVarValue struct {
// The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`.
// Enum: [all dev dev-server branch-deploy deploy-preview production branch]
Context string `json:"context,omitempty"`
// An additional parameter for custom branches. Currently, this is used for specifying a branch name when `context=branch`.
ContextParameter string `json:"context_parameter,omitempty"`
// The environment variable value's universally unique ID
ID string `json:"id,omitempty"`
// The environment variable's unencrypted value
Value string `json:"value,omitempty"`
}
EnvVarValue Environment variable value model definition
swagger:model envVarValue
func (*EnvVarValue) MarshalBinary ¶ added in v2.10.0
func (m *EnvVarValue) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnvVarValue) UnmarshalBinary ¶ added in v2.10.0
func (m *EnvVarValue) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct {
// code
Code int64 `json:"code,omitempty"`
// message
// Required: true
Message string `json:"message"`
}
Error error
swagger:model error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ExcludedFunctionRoute ¶ added in v2.33.0
type ExcludedFunctionRoute struct {
// expression
Expression string `json:"expression,omitempty"`
// literal
Literal string `json:"literal,omitempty"`
// pattern
Pattern string `json:"pattern,omitempty"`
}
ExcludedFunctionRoute excluded function route
swagger:model excludedFunctionRoute
func (*ExcludedFunctionRoute) MarshalBinary ¶ added in v2.33.0
func (m *ExcludedFunctionRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExcludedFunctionRoute) UnmarshalBinary ¶ added in v2.33.0
func (m *ExcludedFunctionRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type File ¶
type File struct {
// id
ID string `json:"id,omitempty"`
// mime type
MimeType string `json:"mime_type,omitempty"`
// path
Path string `json:"path,omitempty"`
// sha
Sha string `json:"sha,omitempty"`
// size
Size int64 `json:"size,omitempty"`
}
File file
swagger:model file
func (*File) MarshalBinary ¶
MarshalBinary interface implementation
func (*File) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Form ¶
type Form struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// fields
Fields []interface{} `json:"fields"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// paths
Paths []string `json:"paths"`
// site id
SiteID string `json:"site_id,omitempty"`
// submission count
SubmissionCount int32 `json:"submission_count,omitempty"`
}
Form form
swagger:model form
func (*Form) MarshalBinary ¶
MarshalBinary interface implementation
func (*Form) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Function ¶
type Function struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// sha
Sha string `json:"sha,omitempty"`
}
Function function
swagger:model function
func (*Function) MarshalBinary ¶
MarshalBinary interface implementation
func (*Function) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FunctionConfig ¶ added in v2.13.0
type FunctionConfig struct {
// build data
BuildData interface{} `json:"build_data,omitempty"`
// display name
DisplayName string `json:"display_name,omitempty"`
// excluded routes
ExcludedRoutes []*ExcludedFunctionRoute `json:"excluded_routes"`
// generator
Generator string `json:"generator,omitempty"`
// priority
Priority int64 `json:"priority,omitempty"`
// routes
Routes []*FunctionRoute `json:"routes"`
// traffic rules
TrafficRules *TrafficRulesConfig `json:"traffic_rules,omitempty"`
}
FunctionConfig function config
swagger:model functionConfig
func (*FunctionConfig) MarshalBinary ¶ added in v2.13.0
func (m *FunctionConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FunctionConfig) UnmarshalBinary ¶ added in v2.13.0
func (m *FunctionConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FunctionRoute ¶ added in v2.20.0
type FunctionRoute struct {
// expression
Expression string `json:"expression,omitempty"`
// literal
Literal string `json:"literal,omitempty"`
// methods
Methods []string `json:"methods"`
// pattern
Pattern string `json:"pattern,omitempty"`
// prefer static
PreferStatic bool `json:"prefer_static,omitempty"`
}
FunctionRoute function route
swagger:model functionRoute
func (*FunctionRoute) MarshalBinary ¶ added in v2.20.0
func (m *FunctionRoute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FunctionRoute) UnmarshalBinary ¶ added in v2.20.0
func (m *FunctionRoute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FunctionSchedule ¶ added in v2.7.0
type FunctionSchedule struct {
// cron
Cron string `json:"cron,omitempty"`
// name
Name string `json:"name,omitempty"`
}
FunctionSchedule function schedule
swagger:model functionSchedule
func (*FunctionSchedule) MarshalBinary ¶ added in v2.7.0
func (m *FunctionSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FunctionSchedule) UnmarshalBinary ¶ added in v2.7.0
func (m *FunctionSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAIGatewayProvidersOKBody ¶ added in v2.40.0
type GetAIGatewayProvidersOKBody struct {
// providers
Providers map[string]ProviderDefinition `json:"providers,omitempty"`
}
GetAIGatewayProvidersOKBody get a i gateway providers o k body
swagger:model getAIGatewayProvidersOKBody
func (*GetAIGatewayProvidersOKBody) MarshalBinary ¶ added in v2.40.0
func (m *GetAIGatewayProvidersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAIGatewayProvidersOKBody) UnmarshalBinary ¶ added in v2.40.0
func (m *GetAIGatewayProvidersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAiGatewayProvidersOKBody ¶ added in v2.38.0
type GetAiGatewayProvidersOKBody struct {
// providers
Providers map[string]ProviderDefinition `json:"providers,omitempty"`
}
GetAiGatewayProvidersOKBody get ai gateway providers o k body
swagger:model getAiGatewayProvidersOKBody
func (*GetAiGatewayProvidersOKBody) MarshalBinary ¶ added in v2.38.0
func (m *GetAiGatewayProvidersOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAiGatewayProvidersOKBody) UnmarshalBinary ¶ added in v2.38.0
func (m *GetAiGatewayProvidersOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Hook ¶
type Hook struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// data
Data interface{} `json:"data,omitempty"`
// disabled
Disabled bool `json:"disabled,omitempty"`
// event
Event string `json:"event,omitempty"`
// id
ID string `json:"id,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// type
Type string `json:"type,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
Hook hook
swagger:model hook
func (*Hook) MarshalBinary ¶
MarshalBinary interface implementation
func (*Hook) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type HookType ¶
type HookType struct {
// events
Events []string `json:"events"`
// fields
Fields []interface{} `json:"fields"`
// name
Name string `json:"name,omitempty"`
}
HookType hook type
swagger:model hookType
func (*HookType) MarshalBinary ¶
MarshalBinary interface implementation
func (*HookType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Member ¶
type Member struct {
// avatar
Avatar string `json:"avatar,omitempty"`
// email
Email string `json:"email,omitempty"`
// full name
FullName string `json:"full_name,omitempty"`
// id
ID string `json:"id,omitempty"`
// role
Role string `json:"role,omitempty"`
}
Member member
swagger:model member
func (*Member) MarshalBinary ¶
MarshalBinary interface implementation
func (*Member) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MinifyOptions ¶
type MinifyOptions struct {
// bundle
Bundle bool `json:"bundle,omitempty"`
// minify
Minify bool `json:"minify,omitempty"`
}
MinifyOptions minify options
swagger:model minifyOptions
func (*MinifyOptions) MarshalBinary ¶
func (m *MinifyOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MinifyOptions) UnmarshalBinary ¶
func (m *MinifyOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentMethod ¶
type PaymentMethod struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// data
Data *PaymentMethodData `json:"data,omitempty"`
// id
ID string `json:"id,omitempty"`
// method name
MethodName string `json:"method_name,omitempty"`
// state
State string `json:"state,omitempty"`
// type
Type string `json:"type,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
PaymentMethod payment method
swagger:model paymentMethod
func (*PaymentMethod) MarshalBinary ¶
func (m *PaymentMethod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentMethod) UnmarshalBinary ¶
func (m *PaymentMethod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentMethodData ¶
type PaymentMethodData struct {
// card type
CardType string `json:"card_type,omitempty"`
// email
Email string `json:"email,omitempty"`
// last4
Last4 string `json:"last4,omitempty"`
}
PaymentMethodData payment method data
swagger:model paymentMethodData
func (*PaymentMethodData) MarshalBinary ¶
func (m *PaymentMethodData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentMethodData) UnmarshalBinary ¶
func (m *PaymentMethodData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Plugin ¶ added in v2.3.0
type Plugin struct {
// package
Package string `json:"package,omitempty"`
// pinned version
PinnedVersion string `json:"pinned_version,omitempty"`
}
Plugin plugin
swagger:model plugin
func (*Plugin) MarshalBinary ¶ added in v2.3.0
MarshalBinary interface implementation
func (*Plugin) UnmarshalBinary ¶ added in v2.3.0
UnmarshalBinary interface implementation
type PluginParams ¶ added in v2.3.0
type PluginParams struct {
// pinned version
PinnedVersion string `json:"pinned_version,omitempty"`
}
PluginParams plugin params
swagger:model pluginParams
func (*PluginParams) MarshalBinary ¶ added in v2.3.0
func (m *PluginParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PluginParams) UnmarshalBinary ¶ added in v2.3.0
func (m *PluginParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PluginRun ¶
type PluginRun struct {
PluginRunData
PluginRunAllOf1
}
PluginRun plugin run
swagger:model pluginRun
func (*PluginRun) MarshalBinary ¶
MarshalBinary interface implementation
func (PluginRun) MarshalJSON ¶
MarshalJSON marshals this object to a JSON structure
func (*PluginRun) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*PluginRun) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object from a JSON structure
type PluginRunAllOf1 ¶
type PluginRunAllOf1 struct {
// deploy id
DeployID string `json:"deploy_id,omitempty"`
}
PluginRunAllOf1 plugin run all of1
swagger:model pluginRunAllOf1
func (*PluginRunAllOf1) MarshalBinary ¶
func (m *PluginRunAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PluginRunAllOf1) UnmarshalBinary ¶
func (m *PluginRunAllOf1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PluginRunData ¶
type PluginRunData struct {
// package
Package string `json:"package,omitempty"`
// reporting event
ReportingEvent string `json:"reporting_event,omitempty"`
// state
State string `json:"state,omitempty"`
// summary
Summary string `json:"summary,omitempty"`
// text
Text string `json:"text,omitempty"`
// title
Title string `json:"title,omitempty"`
// version
Version string `json:"version,omitempty"`
}
PluginRunData plugin run data
swagger:model pluginRunData
func (*PluginRunData) MarshalBinary ¶
func (m *PluginRunData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PluginRunData) UnmarshalBinary ¶
func (m *PluginRunData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProviderDefinition ¶ added in v2.38.0
type ProviderDefinition struct {
// models
Models []string `json:"models"`
// token env var
TokenEnvVar string `json:"token_env_var,omitempty"`
// url env var
URLEnvVar string `json:"url_env_var,omitempty"`
}
ProviderDefinition provider definition
swagger:model providerDefinition
func (*ProviderDefinition) MarshalBinary ¶ added in v2.38.0
func (m *ProviderDefinition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProviderDefinition) UnmarshalBinary ¶ added in v2.38.0
func (m *ProviderDefinition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Purge ¶ added in v2.23.2
type Purge struct {
// cache tags
CacheTags []string `json:"cache_tags"`
// site id
SiteID string `json:"site_id,omitempty"`
// site slug
SiteSlug string `json:"site_slug,omitempty"`
}
Purge purge
swagger:model purge
func (*Purge) MarshalBinary ¶ added in v2.23.2
MarshalBinary interface implementation
func (*Purge) UnmarshalBinary ¶ added in v2.23.2
UnmarshalBinary interface implementation
type RepoInfo ¶
type RepoInfo struct {
// allowed branches
AllowedBranches []string `json:"allowed_branches"`
// cmd
Cmd string `json:"cmd,omitempty"`
// deploy key id
DeployKeyID string `json:"deploy_key_id,omitempty"`
// dir
Dir string `json:"dir,omitempty"`
// env
Env map[string]string `json:"env,omitempty"`
// functions dir
FunctionsDir string `json:"functions_dir,omitempty"`
// id
ID int64 `json:"id,omitempty"`
// installation id
InstallationID int64 `json:"installation_id,omitempty"`
// private logs
PrivateLogs bool `json:"private_logs,omitempty"`
// provider
Provider string `json:"provider,omitempty"`
// public repo
PublicRepo bool `json:"public_repo,omitempty"`
// repo branch
RepoBranch string `json:"repo_branch,omitempty"`
// repo path
RepoPath string `json:"repo_path,omitempty"`
// repo url
RepoURL string `json:"repo_url,omitempty"`
// stop builds
StopBuilds bool `json:"stop_builds,omitempty"`
}
RepoInfo repo info
swagger:model repoInfo
func (*RepoInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*RepoInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Service ¶
type Service struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// description
Description string `json:"description,omitempty"`
// environments
Environments []string `json:"environments"`
// events
Events []interface{} `json:"events"`
// icon
Icon string `json:"icon,omitempty"`
// id
ID string `json:"id,omitempty"`
// long description
LongDescription string `json:"long_description,omitempty"`
// manifest url
ManifestURL string `json:"manifest_url,omitempty"`
// name
Name string `json:"name,omitempty"`
// service path
ServicePath string `json:"service_path,omitempty"`
// slug
Slug string `json:"slug,omitempty"`
// tags
Tags []string `json:"tags"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
Service service
swagger:model service
func (*Service) MarshalBinary ¶
MarshalBinary interface implementation
func (*Service) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ServiceInstance ¶
type ServiceInstance struct {
// auth url
AuthURL string `json:"auth_url,omitempty"`
// config
Config interface{} `json:"config,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// env
Env interface{} `json:"env,omitempty"`
// external attributes
ExternalAttributes interface{} `json:"external_attributes,omitempty"`
// id
ID string `json:"id,omitempty"`
// service name
ServiceName string `json:"service_name,omitempty"`
// service path
ServicePath string `json:"service_path,omitempty"`
// service slug
ServiceSlug string `json:"service_slug,omitempty"`
// snippets
Snippets []interface{} `json:"snippets"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// url
URL string `json:"url,omitempty"`
}
ServiceInstance service instance
swagger:model serviceInstance
func (*ServiceInstance) MarshalBinary ¶
func (m *ServiceInstance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceInstance) UnmarshalBinary ¶
func (m *ServiceInstance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetEnvVarValueParamsBody ¶ added in v2.12.0
type SetEnvVarValueParamsBody struct {
// The deploy context in which this value will be used. `dev` refers to local development when running `netlify dev`. `branch` must be provided with a value in `context_parameter`.
// Enum: [all dev dev-server branch-deploy deploy-preview production branch]
Context string `json:"context,omitempty"`
// An additional parameter for custom branches. Currently, this is used for providing a branch name when `context=branch`.
ContextParameter string `json:"context_parameter,omitempty"`
// The environment variable's unencrypted value
Value string `json:"value,omitempty"`
}
SetEnvVarValueParamsBody set env var value params body
swagger:model setEnvVarValueParamsBody
func (*SetEnvVarValueParamsBody) MarshalBinary ¶ added in v2.12.0
func (m *SetEnvVarValueParamsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetEnvVarValueParamsBody) UnmarshalBinary ¶ added in v2.12.0
func (m *SetEnvVarValueParamsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Site ¶
type Site struct {
// account id
AccountID string `json:"account_id,omitempty"`
// account name
AccountName string `json:"account_name,omitempty"`
// account slug
AccountSlug string `json:"account_slug,omitempty"`
// admin url
AdminURL string `json:"admin_url,omitempty"`
// branch deploy custom domain
BranchDeployCustomDomain string `json:"branch_deploy_custom_domain,omitempty"`
// build image
BuildImage string `json:"build_image,omitempty"`
// build settings
BuildSettings *RepoInfo `json:"build_settings,omitempty"`
// capabilities
Capabilities map[string]interface{} `json:"capabilities,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// custom domain
CustomDomain string `json:"custom_domain,omitempty"`
// default hooks data
DefaultHooksData *SiteDefaultHooksData `json:"default_hooks_data,omitempty"`
// deploy hook
DeployHook string `json:"deploy_hook,omitempty"`
// deploy preview custom domain
DeployPreviewCustomDomain string `json:"deploy_preview_custom_domain,omitempty"`
// deploy url
DeployURL string `json:"deploy_url,omitempty"`
// domain aliases
DomainAliases []string `json:"domain_aliases"`
// force ssl
ForceSsl bool `json:"force_ssl,omitempty"`
// functions region
FunctionsRegion string `json:"functions_region,omitempty"`
// git provider
GitProvider string `json:"git_provider,omitempty"`
// id
ID string `json:"id,omitempty"`
// id domain
IDDomain string `json:"id_domain,omitempty"`
// managed dns
ManagedDNS bool `json:"managed_dns,omitempty"`
// name
Name string `json:"name,omitempty"`
// notification email
NotificationEmail string `json:"notification_email,omitempty"`
// password
Password string `json:"password,omitempty"`
// plan
Plan string `json:"plan,omitempty"`
// prerender
Prerender string `json:"prerender,omitempty"`
// prevent non git prod deploys
PreventNonGitProdDeploys *bool `json:"prevent_non_git_prod_deploys,omitempty"`
// processing settings
ProcessingSettings *SiteProcessingSettings `json:"processing_settings,omitempty"`
// published deploy
PublishedDeploy *Deploy `json:"published_deploy,omitempty"`
// screenshot url
ScreenshotURL string `json:"screenshot_url,omitempty"`
// session id
SessionID string `json:"session_id,omitempty"`
// ssl
Ssl bool `json:"ssl,omitempty"`
// ssl url
SslURL string `json:"ssl_url,omitempty"`
// state
State string `json:"state,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// url
URL string `json:"url,omitempty"`
// user id
UserID string `json:"user_id,omitempty"`
}
Site site
swagger:model site
func (*Site) MarshalBinary ¶
MarshalBinary interface implementation
func (*Site) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SiteDefaultHooksData ¶
type SiteDefaultHooksData struct {
// access token
AccessToken string `json:"access_token,omitempty"`
}
SiteDefaultHooksData site default hooks data
swagger:model siteDefaultHooksData
func (*SiteDefaultHooksData) MarshalBinary ¶
func (m *SiteDefaultHooksData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteDefaultHooksData) UnmarshalBinary ¶
func (m *SiteDefaultHooksData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiteFunction ¶ added in v2.26.0
type SiteFunction struct {
// branch
Branch string `json:"branch,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// functions
Functions []interface{} `json:"functions"`
// id
ID string `json:"id,omitempty"`
// log type
LogType string `json:"log_type,omitempty"`
// provider
Provider string `json:"provider,omitempty"`
}
SiteFunction site function
swagger:model siteFunction
func (*SiteFunction) MarshalBinary ¶ added in v2.26.0
func (m *SiteFunction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteFunction) UnmarshalBinary ¶ added in v2.26.0
func (m *SiteFunction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiteProcessingSettings ¶
type SiteProcessingSettings struct {
// html
HTML *SiteProcessingSettingsHTML `json:"html,omitempty"`
}
SiteProcessingSettings site processing settings
swagger:model siteProcessingSettings
func (*SiteProcessingSettings) MarshalBinary ¶
func (m *SiteProcessingSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteProcessingSettings) UnmarshalBinary ¶
func (m *SiteProcessingSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiteProcessingSettingsHTML ¶
type SiteProcessingSettingsHTML struct {
// pretty urls
PrettyUrls bool `json:"pretty_urls,omitempty"`
}
SiteProcessingSettingsHTML site processing settings Html
swagger:model siteProcessingSettingsHtml
func (*SiteProcessingSettingsHTML) MarshalBinary ¶
func (m *SiteProcessingSettingsHTML) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteProcessingSettingsHTML) UnmarshalBinary ¶
func (m *SiteProcessingSettingsHTML) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiteProcessingSettingsImages ¶
type SiteProcessingSettingsImages struct {
// optimize
Optimize bool `json:"optimize,omitempty"`
}
SiteProcessingSettingsImages site processing settings images
swagger:model siteProcessingSettingsImages
func (*SiteProcessingSettingsImages) MarshalBinary ¶
func (m *SiteProcessingSettingsImages) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteProcessingSettingsImages) UnmarshalBinary ¶
func (m *SiteProcessingSettingsImages) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiteSetup ¶
type SiteSetup struct {
Site
SiteSetupAllOf1
}
SiteSetup site setup
swagger:model siteSetup
func (*SiteSetup) MarshalBinary ¶
MarshalBinary interface implementation
func (SiteSetup) MarshalJSON ¶
MarshalJSON marshals this object to a JSON structure
func (*SiteSetup) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*SiteSetup) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object from a JSON structure
type SiteSetupAllOf1 ¶
type SiteSetupAllOf1 struct {
// repo
Repo *RepoInfo `json:"repo,omitempty"`
}
SiteSetupAllOf1 site setup all of1
swagger:model siteSetupAllOf1
func (*SiteSetupAllOf1) MarshalBinary ¶
func (m *SiteSetupAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteSetupAllOf1) UnmarshalBinary ¶
func (m *SiteSetupAllOf1) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SniCertificate ¶
type SniCertificate struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// domains
Domains []string `json:"domains"`
// expires at
ExpiresAt string `json:"expires_at,omitempty"`
// state
State string `json:"state,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
SniCertificate sni certificate
swagger:model sniCertificate
func (*SniCertificate) MarshalBinary ¶
func (m *SniCertificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SniCertificate) UnmarshalBinary ¶
func (m *SniCertificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Snippet ¶
type Snippet struct {
// general
General string `json:"general,omitempty"`
// general position
GeneralPosition string `json:"general_position,omitempty"`
// goal
Goal string `json:"goal,omitempty"`
// goal position
GoalPosition string `json:"goal_position,omitempty"`
// id
ID int32 `json:"id,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// title
Title string `json:"title,omitempty"`
}
Snippet snippet
swagger:model snippet
func (*Snippet) MarshalBinary ¶
MarshalBinary interface implementation
func (*Snippet) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SplitTest ¶
type SplitTest struct {
// active
Active bool `json:"active,omitempty"`
// branches
Branches []interface{} `json:"branches"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// path
Path string `json:"path,omitempty"`
// site id
SiteID string `json:"site_id,omitempty"`
// unpublished at
UnpublishedAt string `json:"unpublished_at,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
}
SplitTest split test
swagger:model splitTest
func (*SplitTest) MarshalBinary ¶
MarshalBinary interface implementation
func (*SplitTest) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SplitTestSetup ¶
type SplitTestSetup struct {
// branch tests
BranchTests interface{} `json:"branch_tests,omitempty"`
}
SplitTestSetup split test setup
swagger:model splitTestSetup
func (*SplitTestSetup) MarshalBinary ¶
func (m *SplitTestSetup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SplitTestSetup) UnmarshalBinary ¶
func (m *SplitTestSetup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Submission ¶
type Submission struct {
// body
Body string `json:"body,omitempty"`
// company
Company string `json:"company,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// data
Data interface{} `json:"data,omitempty"`
// email
Email string `json:"email,omitempty"`
// first name
FirstName string `json:"first_name,omitempty"`
// id
ID string `json:"id,omitempty"`
// last name
LastName string `json:"last_name,omitempty"`
// name
Name string `json:"name,omitempty"`
// number
Number int32 `json:"number,omitempty"`
// site url
SiteURL string `json:"site_url,omitempty"`
// summary
Summary string `json:"summary,omitempty"`
}
Submission submission
swagger:model submission
func (*Submission) MarshalBinary ¶
func (m *Submission) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Submission) UnmarshalBinary ¶
func (m *Submission) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Ticket ¶
type Ticket struct {
// authorized
Authorized bool `json:"authorized,omitempty"`
// client id
ClientID string `json:"client_id,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// id
ID string `json:"id,omitempty"`
}
Ticket ticket
swagger:model ticket
func (*Ticket) MarshalBinary ¶
MarshalBinary interface implementation
func (*Ticket) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TrafficRulesAggregateConfig ¶ added in v2.29.0
type TrafficRulesAggregateConfig struct {
// keys
Keys []*TrafficRulesAggregateConfigKeysItems `json:"keys"`
}
TrafficRulesAggregateConfig traffic rules aggregate config
swagger:model trafficRulesAggregateConfig
func (*TrafficRulesAggregateConfig) MarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesAggregateConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficRulesAggregateConfig) UnmarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesAggregateConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficRulesAggregateConfigKeysItems ¶ added in v2.29.0
type TrafficRulesAggregateConfigKeysItems struct {
// type
// Enum: [ip domain]
Type string `json:"type,omitempty"`
}
TrafficRulesAggregateConfigKeysItems traffic rules aggregate config keys items
swagger:model trafficRulesAggregateConfigKeysItems
func (*TrafficRulesAggregateConfigKeysItems) MarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesAggregateConfigKeysItems) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficRulesAggregateConfigKeysItems) UnmarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesAggregateConfigKeysItems) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficRulesConfig ¶ added in v2.29.0
type TrafficRulesConfig struct {
// action
Action *TrafficRulesConfigAction `json:"action,omitempty"`
}
TrafficRulesConfig traffic rules config
swagger:model trafficRulesConfig
func (*TrafficRulesConfig) MarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficRulesConfig) UnmarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficRulesConfigAction ¶ added in v2.29.0
type TrafficRulesConfigAction struct {
// config
Config *TrafficRulesConfigActionConfig `json:"config,omitempty"`
// type
Type string `json:"type,omitempty"`
}
TrafficRulesConfigAction traffic rules config action
swagger:model trafficRulesConfigAction
func (*TrafficRulesConfigAction) MarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesConfigAction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficRulesConfigAction) UnmarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesConfigAction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficRulesConfigActionConfig ¶ added in v2.29.0
type TrafficRulesConfigActionConfig struct {
// aggregate
Aggregate *TrafficRulesAggregateConfig `json:"aggregate,omitempty"`
// rate limit config
RateLimitConfig *TrafficRulesRateLimitConfig `json:"rate_limit_config,omitempty"`
// to
To string `json:"to,omitempty"`
}
TrafficRulesConfigActionConfig traffic rules config action config
swagger:model trafficRulesConfigActionConfig
func (*TrafficRulesConfigActionConfig) MarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesConfigActionConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficRulesConfigActionConfig) UnmarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesConfigActionConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TrafficRulesRateLimitConfig ¶ added in v2.29.0
type TrafficRulesRateLimitConfig struct {
// algorithm
// Enum: [sliding_window]
Algorithm string `json:"algorithm,omitempty"`
// window limit
WindowLimit int64 `json:"window_limit,omitempty"`
// window size
WindowSize int64 `json:"window_size,omitempty"`
}
TrafficRulesRateLimitConfig traffic rules rate limit config
swagger:model trafficRulesRateLimitConfig
func (*TrafficRulesRateLimitConfig) MarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesRateLimitConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TrafficRulesRateLimitConfig) UnmarshalBinary ¶ added in v2.29.0
func (m *TrafficRulesRateLimitConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeployValidationsParamsBody ¶ added in v2.37.0
type UpdateDeployValidationsParamsBody struct {
// secrets scan
SecretsScan interface{} `json:"secrets_scan,omitempty"`
}
UpdateDeployValidationsParamsBody update deploy validations params body
swagger:model updateDeployValidationsParamsBody
func (*UpdateDeployValidationsParamsBody) MarshalBinary ¶ added in v2.37.0
func (m *UpdateDeployValidationsParamsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeployValidationsParamsBody) UnmarshalBinary ¶ added in v2.37.0
func (m *UpdateDeployValidationsParamsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDevServerStateParamsBody ¶ added in v2.41.0
type UpdateDevServerStateParamsBody struct {
// error
Error string `json:"error,omitempty"`
// state
// Required: true
// Enum: [starting live error done]
State *string `json:"state"`
// task id
TaskID string `json:"task_id,omitempty"`
}
UpdateDevServerStateParamsBody update dev server state params body
swagger:model updateDevServerStateParamsBody
func (*UpdateDevServerStateParamsBody) MarshalBinary ¶ added in v2.41.0
func (m *UpdateDevServerStateParamsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDevServerStateParamsBody) UnmarshalBinary ¶ added in v2.41.0
func (m *UpdateDevServerStateParamsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateEnvVarParamsBody ¶ added in v2.10.0
type UpdateEnvVarParamsBody struct {
// Secret values are only readable by code running on Netlify's systems. With secrets, only the local development context values are readable from the UI, API, and CLI. By default, environment variable values are not secret.
IsSecret bool `json:"is_secret,omitempty"`
// The existing or new name of the key, if you wish to rename it (case-sensitive)
Key string `json:"key,omitempty"`
// The scopes that this environment variable is set to (Pro plans and above)
Scopes []string `json:"scopes"`
// values
Values []*EnvVarValue `json:"values"`
}
UpdateEnvVarParamsBody update env var params body
swagger:model updateEnvVarParamsBody
func (*UpdateEnvVarParamsBody) MarshalBinary ¶ added in v2.10.0
func (m *UpdateEnvVarParamsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateEnvVarParamsBody) UnmarshalBinary ¶ added in v2.10.0
func (m *UpdateEnvVarParamsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct {
// affiliate id
AffiliateID string `json:"affiliate_id,omitempty"`
// avatar url
AvatarURL string `json:"avatar_url,omitempty"`
// created at
CreatedAt string `json:"created_at,omitempty"`
// email
Email string `json:"email,omitempty"`
// full name
FullName string `json:"full_name,omitempty"`
// id
ID string `json:"id,omitempty"`
// last login
LastLogin string `json:"last_login,omitempty"`
// login providers
LoginProviders []string `json:"login_providers"`
// onboarding progress
OnboardingProgress *UserOnboardingProgress `json:"onboarding_progress,omitempty"`
// site count
SiteCount int64 `json:"site_count,omitempty"`
// uid
UID string `json:"uid,omitempty"`
}
User user
swagger:model user
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserOnboardingProgress ¶
type UserOnboardingProgress struct {
// slides
Slides string `json:"slides,omitempty"`
}
UserOnboardingProgress user onboarding progress
swagger:model userOnboardingProgress
func (*UserOnboardingProgress) MarshalBinary ¶
func (m *UserOnboardingProgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserOnboardingProgress) UnmarshalBinary ¶
func (m *UserOnboardingProgress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- access_token.go
- account_add_member_setup.go
- account_membership.go
- account_membership_capabilities.go
- account_setup.go
- account_type.go
- account_update_member_setup.go
- account_update_setup.go
- account_usage_capability.go
- agent_runner.go
- agent_runner_session.go
- agent_runner_session_config.go
- agent_runner_session_step.go
- agent_runner_user.go
- ai_gateway_token.go
- asset.go
- asset_form.go
- asset_public_signature.go
- asset_signature.go
- audit_log.go
- audit_log_payload.go
- build.go
- build_hook.go
- build_hook_setup.go
- build_log_msg.go
- build_setup.go
- build_status.go
- build_status_minutes.go
- create_env_vars_params_body_items.go
- deploy.go
- deploy_files.go
- deploy_key.go
- deploy_site_capabilities.go
- deploy_validations_report.go
- deploy_validations_report_secret_scan_result.go
- deployed_branch.go
- dev_server.go
- dev_server_hook.go
- dev_server_hook_setup.go
- dns_record.go
- dns_record_create.go
- dns_records.go
- dns_zone.go
- dns_zone_setup.go
- dns_zones.go
- env_var.go
- env_var_user.go
- env_var_value.go
- error.go
- excluded_function_route.go
- file.go
- form.go
- function.go
- function_config.go
- function_route.go
- function_schedule.go
- get_a_i_gateway_providers_o_k_body.go
- get_ai_gateway_providers_o_k_body.go
- hook.go
- hook_type.go
- member.go
- metadata.go
- minify_options.go
- payment_method.go
- payment_method_data.go
- plugin.go
- plugin_params.go
- plugin_run.go
- plugin_run_all_of1.go
- plugin_run_data.go
- provider_definition.go
- purge.go
- repo_info.go
- service.go
- service_instance.go
- set_env_var_value_params_body.go
- site.go
- site_default_hooks_data.go
- site_function.go
- site_processing_settings.go
- site_processing_settings_html.go
- site_processing_settings_images.go
- site_setup.go
- site_setup_all_of1.go
- sni_certificate.go
- snippet.go
- split_test_setup.go
- split_test_swagger.go
- split_tests.go
- submission.go
- ticket.go
- traffic_rules_aggregate_config.go
- traffic_rules_aggregate_config_keys_items.go
- traffic_rules_config.go
- traffic_rules_config_action.go
- traffic_rules_config_action_config.go
- traffic_rules_rate_limit_config.go
- update_deploy_validations_params_body.go
- update_dev_server_state_params_body.go
- update_env_var_params_body.go
- user.go
- user_onboarding_progress.go