models

package
v2.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 6 Imported by: 5

Documentation

Index

Constants

View Source
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"
)
View Source
const (

	// AccountSetupPeriodMonthly captures enum value "monthly"
	AccountSetupPeriodMonthly string = "monthly"

	// AccountSetupPeriodYearly captures enum value "yearly"
	AccountSetupPeriodYearly string = "yearly"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// DevServerHookTypeNewDevServer captures enum value "new_dev_server"
	DevServerHookTypeNewDevServer string = "new_dev_server"

	// DevServerHookTypeContentRefresh captures enum value "content_refresh"
	DevServerHookTypeContentRefresh string = "content_refresh"
)
View Source
const (

	// DevServerHookSetupTypeNewDevServer captures enum value "new_dev_server"
	DevServerHookSetupTypeNewDevServer string = "new_dev_server"

	// DevServerHookSetupTypeContentRefresh captures enum value "content_refresh"
	DevServerHookSetupTypeContentRefresh string = "content_refresh"
)
View Source
const (

	// EnvVarValueContextAll captures enum value "all"
	EnvVarValueContextAll string = "all"

	// EnvVarValueContextDev captures enum value "dev"
	EnvVarValueContextDev string = "dev"

	// 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"
)
View Source
const (

	// SetEnvVarValueParamsBodyContextAll captures enum value "all"
	SetEnvVarValueParamsBodyContextAll string = "all"

	// SetEnvVarValueParamsBodyContextDev captures enum value "dev"
	SetEnvVarValueParamsBodyContextDev string = "dev"

	// 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"
)
View Source
const (

	// TrafficRulesAggregateConfigKeysItemsTypeIP captures enum value "ip"
	TrafficRulesAggregateConfigKeysItemsTypeIP string = "ip"

	// TrafficRulesAggregateConfigKeysItemsTypeDomain captures enum value "domain"
	TrafficRulesAggregateConfigKeysItemsTypeDomain string = "domain"
)
View Source
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

func (*AccessToken) Validate

func (m *AccessToken) Validate(formats strfmt.Registry) error

Validate validates this access token

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

func (*AccountAddMemberSetup) Validate added in v2.13.0

func (m *AccountAddMemberSetup) Validate(formats strfmt.Registry) error

Validate validates this account add member setup

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

func (*AccountMembership) Validate

func (m *AccountMembership) Validate(formats strfmt.Registry) error

Validate validates this account membership

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

func (*AccountMembershipCapabilities) Validate

func (m *AccountMembershipCapabilities) Validate(formats strfmt.Registry) error

Validate validates this account membership capabilities

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

func (*AccountSetup) Validate

func (m *AccountSetup) Validate(formats strfmt.Registry) error

Validate validates this account setup

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

func (*AccountType) Validate

func (m *AccountType) Validate(formats strfmt.Registry) error

Validate validates this account type

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

func (*AccountUpdateMemberSetup) Validate added in v2.13.0

func (m *AccountUpdateMemberSetup) Validate(formats strfmt.Registry) error

Validate validates this account update member setup

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

func (*AccountUpdateSetup) Validate

func (m *AccountUpdateSetup) Validate(formats strfmt.Registry) error

Validate validates this account update setup

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

func (*AccountUsageCapability) Validate

func (m *AccountUsageCapability) Validate(formats strfmt.Registry) error

Validate validates this account usage capability

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

func (m *Asset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Asset) UnmarshalBinary

func (m *Asset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Asset) Validate

func (m *Asset) Validate(formats strfmt.Registry) error

Validate validates this asset

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

func (m *AssetForm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AssetForm) UnmarshalBinary

func (m *AssetForm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AssetForm) Validate

func (m *AssetForm) Validate(formats strfmt.Registry) error

Validate validates this asset form

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

func (*AssetPublicSignature) Validate

func (m *AssetPublicSignature) Validate(formats strfmt.Registry) error

Validate validates this asset public signature

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

func (*AssetSignature) Validate

func (m *AssetSignature) Validate(formats strfmt.Registry) error

Validate validates this asset signature

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

func (m *AuditLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuditLog) UnmarshalBinary

func (m *AuditLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuditLog) Validate

func (m *AuditLog) Validate(formats strfmt.Registry) error

Validate validates this audit log

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

func (*AuditLogPayload) Validate

func (m *AuditLogPayload) Validate(formats strfmt.Registry) error

Validate validates this audit log payload

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

func (m *Build) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Build) UnmarshalBinary

func (m *Build) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Build) Validate

func (m *Build) Validate(formats strfmt.Registry) error

Validate validates this build

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

func (m *BuildHook) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildHook) UnmarshalBinary

func (m *BuildHook) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildHook) Validate

func (m *BuildHook) Validate(formats strfmt.Registry) error

Validate validates this build hook

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

func (*BuildHookSetup) Validate

func (m *BuildHookSetup) Validate(formats strfmt.Registry) error

Validate validates this build hook setup

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

func (*BuildLogMsg) Validate

func (m *BuildLogMsg) Validate(formats strfmt.Registry) error

Validate validates this build log msg

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

func (*BuildSetup) Validate added in v2.5.0

func (m *BuildSetup) Validate(formats strfmt.Registry) error

Validate validates this build setup

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

func (*BuildStatus) Validate

func (m *BuildStatus) Validate(formats strfmt.Registry) error

Validate validates this build status

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

func (*BuildStatusMinutes) Validate

func (m *BuildStatusMinutes) Validate(formats strfmt.Registry) error

Validate validates this build status minutes

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. (Enterprise plans only)
	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

func (*CreateEnvVarsParamsBodyItems) Validate added in v2.10.0

func (m *CreateEnvVarsParamsBodyItems) Validate(formats strfmt.Registry) error

Validate validates this create env vars params body items

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

func (m *DNSRecord) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DNSRecord) UnmarshalBinary

func (m *DNSRecord) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DNSRecord) Validate

func (m *DNSRecord) Validate(formats strfmt.Registry) error

Validate validates this dns record

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

func (*DNSRecordCreate) Validate

func (m *DNSRecordCreate) Validate(formats strfmt.Registry) error

Validate validates this dns record create

type DNSRecords

type DNSRecords []*DNSRecord

DNSRecords dns records

swagger:model dnsRecords

func (DNSRecords) Validate

func (m DNSRecords) Validate(formats strfmt.Registry) error

Validate validates this dns records

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

func (m *DNSZone) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DNSZone) UnmarshalBinary

func (m *DNSZone) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DNSZone) Validate

func (m *DNSZone) Validate(formats strfmt.Registry) error

Validate validates this dns zone

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

func (*DNSZoneSetup) Validate

func (m *DNSZoneSetup) Validate(formats strfmt.Registry) error

Validate validates this dns zone setup

type DNSZones

type DNSZones []*DNSZone

DNSZones dns zones

swagger:model dnsZones

func (DNSZones) Validate

func (m DNSZones) Validate(formats strfmt.Registry) error

Validate validates this dns zones

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"`

	// 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

func (m *Deploy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Deploy) UnmarshalBinary

func (m *Deploy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Deploy) Validate

func (m *Deploy) Validate(formats strfmt.Registry) error

Validate validates this deploy

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

func (*DeployFiles) Validate

func (m *DeployFiles) Validate(formats strfmt.Registry) error

Validate validates this deploy files

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

func (m *DeployKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeployKey) UnmarshalBinary

func (m *DeployKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeployKey) Validate

func (m *DeployKey) Validate(formats strfmt.Registry) error

Validate validates this deploy key

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

func (*DeploySiteCapabilities) Validate

func (m *DeploySiteCapabilities) Validate(formats strfmt.Registry) error

Validate validates this deploy site capabilities

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

func (*DeployedBranch) Validate

func (m *DeployedBranch) Validate(formats strfmt.Registry) error

Validate validates this deployed branch

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

func (m *DevServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DevServer) UnmarshalBinary added in v2.30.0

func (m *DevServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DevServer) Validate added in v2.30.0

func (m *DevServer) Validate(formats strfmt.Registry) error

Validate validates this dev server

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

func (*DevServerHook) Validate added in v2.30.0

func (m *DevServerHook) Validate(formats strfmt.Registry) error

Validate validates this dev server hook

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

func (*DevServerHookSetup) Validate added in v2.30.0

func (m *DevServerHookSetup) Validate(formats strfmt.Registry) error

Validate validates this dev server hook setup

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. (Enterprise plans only)
	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

func (m *EnvVar) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnvVar) UnmarshalBinary added in v2.10.0

func (m *EnvVar) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnvVar) Validate added in v2.10.0

func (m *EnvVar) Validate(formats strfmt.Registry) error

Validate validates this env var

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

func (*EnvVarUser) Validate added in v2.10.0

func (m *EnvVarUser) Validate(formats strfmt.Registry) error

Validate validates this env var user

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 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

func (*EnvVarValue) Validate added in v2.10.0

func (m *EnvVarValue) Validate(formats strfmt.Registry) error

Validate validates this env var value

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

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

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

func (m *File) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*File) UnmarshalBinary

func (m *File) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*File) Validate

func (m *File) Validate(formats strfmt.Registry) error

Validate validates this file

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

func (m *Form) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Form) UnmarshalBinary

func (m *Form) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Form) Validate

func (m *Form) Validate(formats strfmt.Registry) error

Validate validates this form

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

func (m *Function) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Function) UnmarshalBinary

func (m *Function) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Function) Validate

func (m *Function) Validate(formats strfmt.Registry) error

Validate validates this function

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"`

	// 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

func (*FunctionConfig) Validate added in v2.13.0

func (m *FunctionConfig) Validate(formats strfmt.Registry) error

Validate validates this function config

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

func (*FunctionRoute) Validate added in v2.20.0

func (m *FunctionRoute) Validate(formats strfmt.Registry) error

Validate validates this function route

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

func (*FunctionSchedule) Validate added in v2.7.0

func (m *FunctionSchedule) Validate(formats strfmt.Registry) error

Validate validates this function schedule

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

func (m *Hook) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Hook) UnmarshalBinary

func (m *Hook) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Hook) Validate

func (m *Hook) Validate(formats strfmt.Registry) error

Validate validates this hook

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

func (m *HookType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HookType) UnmarshalBinary

func (m *HookType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HookType) Validate

func (m *HookType) Validate(formats strfmt.Registry) error

Validate validates this hook type

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

func (m *Member) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Member) UnmarshalBinary

func (m *Member) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Member) Validate

func (m *Member) Validate(formats strfmt.Registry) error

Validate validates this member

type Metadata

type Metadata interface{}

Metadata metadata

swagger:model metadata

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

func (*MinifyOptions) Validate

func (m *MinifyOptions) Validate(formats strfmt.Registry) error

Validate validates this minify options

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

func (*PaymentMethod) Validate

func (m *PaymentMethod) Validate(formats strfmt.Registry) error

Validate validates this payment method

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

func (*PaymentMethodData) Validate

func (m *PaymentMethodData) Validate(formats strfmt.Registry) error

Validate validates this payment method data

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

func (m *Plugin) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Plugin) UnmarshalBinary added in v2.3.0

func (m *Plugin) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Plugin) Validate added in v2.3.0

func (m *Plugin) Validate(formats strfmt.Registry) error

Validate validates this plugin

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

func (*PluginParams) Validate added in v2.3.0

func (m *PluginParams) Validate(formats strfmt.Registry) error

Validate validates this plugin params

type PluginRun

type PluginRun struct {
	PluginRunData

	PluginRunAllOf1
}

PluginRun plugin run

swagger:model pluginRun

func (*PluginRun) MarshalBinary

func (m *PluginRun) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (PluginRun) MarshalJSON

func (m PluginRun) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*PluginRun) UnmarshalBinary

func (m *PluginRun) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PluginRun) UnmarshalJSON

func (m *PluginRun) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*PluginRun) Validate

func (m *PluginRun) Validate(formats strfmt.Registry) error

Validate validates this plugin run

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

func (*PluginRunAllOf1) Validate

func (m *PluginRunAllOf1) Validate(formats strfmt.Registry) error

Validate validates this plugin run all of1

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

func (*PluginRunData) Validate

func (m *PluginRunData) Validate(formats strfmt.Registry) error

Validate validates this plugin run data

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

func (m *Purge) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Purge) UnmarshalBinary added in v2.23.2

func (m *Purge) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Purge) Validate added in v2.23.2

func (m *Purge) Validate(formats strfmt.Registry) error

Validate validates this purge

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

func (m *RepoInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RepoInfo) UnmarshalBinary

func (m *RepoInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RepoInfo) Validate

func (m *RepoInfo) Validate(formats strfmt.Registry) error

Validate validates this repo info

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

func (m *Service) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Service) UnmarshalBinary

func (m *Service) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Service) Validate

func (m *Service) Validate(formats strfmt.Registry) error

Validate validates this service

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

func (*ServiceInstance) Validate

func (m *ServiceInstance) Validate(formats strfmt.Registry) error

Validate validates this service instance

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 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

func (*SetEnvVarValueParamsBody) Validate added in v2.12.0

func (m *SetEnvVarValueParamsBody) Validate(formats strfmt.Registry) error

Validate validates this set env var value params body

type Site

type Site struct {

	// 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"`

	// 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

func (m *Site) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Site) UnmarshalBinary

func (m *Site) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Site) Validate

func (m *Site) Validate(formats strfmt.Registry) error

Validate validates this site

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

func (*SiteDefaultHooksData) Validate

func (m *SiteDefaultHooksData) Validate(formats strfmt.Registry) error

Validate validates this site default hooks data

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

func (*SiteFunction) Validate added in v2.26.0

func (m *SiteFunction) Validate(formats strfmt.Registry) error

Validate validates this site function

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

func (*SiteProcessingSettings) Validate

func (m *SiteProcessingSettings) Validate(formats strfmt.Registry) error

Validate validates this site processing settings

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

func (*SiteProcessingSettingsHTML) Validate

func (m *SiteProcessingSettingsHTML) Validate(formats strfmt.Registry) error

Validate validates this site processing settings Html

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

func (*SiteProcessingSettingsImages) Validate

func (m *SiteProcessingSettingsImages) Validate(formats strfmt.Registry) error

Validate validates this site processing settings images

type SiteSetup

type SiteSetup struct {
	Site

	SiteSetupAllOf1
}

SiteSetup site setup

swagger:model siteSetup

func (*SiteSetup) MarshalBinary

func (m *SiteSetup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (SiteSetup) MarshalJSON

func (m SiteSetup) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*SiteSetup) UnmarshalBinary

func (m *SiteSetup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SiteSetup) UnmarshalJSON

func (m *SiteSetup) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*SiteSetup) Validate

func (m *SiteSetup) Validate(formats strfmt.Registry) error

Validate validates this site setup

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

func (*SiteSetupAllOf1) Validate

func (m *SiteSetupAllOf1) Validate(formats strfmt.Registry) error

Validate validates this site setup all of1

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

func (*SniCertificate) Validate

func (m *SniCertificate) Validate(formats strfmt.Registry) error

Validate validates this sni certificate

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

func (m *Snippet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Snippet) UnmarshalBinary

func (m *Snippet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Snippet) Validate

func (m *Snippet) Validate(formats strfmt.Registry) error

Validate validates this snippet

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

func (m *SplitTest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SplitTest) UnmarshalBinary

func (m *SplitTest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SplitTest) Validate

func (m *SplitTest) Validate(formats strfmt.Registry) error

Validate validates this split test

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

func (*SplitTestSetup) Validate

func (m *SplitTestSetup) Validate(formats strfmt.Registry) error

Validate validates this split test setup

type SplitTests

type SplitTests []*SplitTest

SplitTests split tests

swagger:model splitTests

func (SplitTests) Validate

func (m SplitTests) Validate(formats strfmt.Registry) error

Validate validates this split tests

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

func (*Submission) Validate

func (m *Submission) Validate(formats strfmt.Registry) error

Validate validates this submission

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

func (m *Ticket) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Ticket) UnmarshalBinary

func (m *Ticket) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Ticket) Validate

func (m *Ticket) Validate(formats strfmt.Registry) error

Validate validates this ticket

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

func (*TrafficRulesAggregateConfig) Validate added in v2.29.0

func (m *TrafficRulesAggregateConfig) Validate(formats strfmt.Registry) error

Validate validates this traffic rules aggregate config

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

func (*TrafficRulesAggregateConfigKeysItems) Validate added in v2.29.0

Validate validates this traffic rules aggregate config keys items

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

func (*TrafficRulesConfig) Validate added in v2.29.0

func (m *TrafficRulesConfig) Validate(formats strfmt.Registry) error

Validate validates this traffic rules config

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

func (*TrafficRulesConfigAction) Validate added in v2.29.0

func (m *TrafficRulesConfigAction) Validate(formats strfmt.Registry) error

Validate validates this traffic rules config action

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

func (*TrafficRulesConfigActionConfig) Validate added in v2.29.0

func (m *TrafficRulesConfigActionConfig) Validate(formats strfmt.Registry) error

Validate validates this traffic rules config action config

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

func (*TrafficRulesRateLimitConfig) Validate added in v2.29.0

func (m *TrafficRulesRateLimitConfig) Validate(formats strfmt.Registry) error

Validate validates this traffic rules rate limit config

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. (Enterprise plans only)
	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

func (*UpdateEnvVarParamsBody) Validate added in v2.10.0

func (m *UpdateEnvVarParamsBody) Validate(formats strfmt.Registry) error

Validate validates this update env var params body

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

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

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

func (*UserOnboardingProgress) Validate

func (m *UserOnboardingProgress) Validate(formats strfmt.Registry) error

Validate validates this user onboarding progress

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL