Documentation
¶
Index ¶
- Constants
- type AccessToken
- type AccountMembership
- type AccountMembershipCapabilities
- type AccountSetup
- type AccountType
- type AccountUpdateSetup
- type AccountUsageCapability
- type AddMemberToAccountOKBody
- type Asset
- type AssetForm
- type AssetPublicSignature
- type AssetSignature
- type AuditLog
- type AuditLogPayload
- type Build
- type BuildHook
- type BuildLogMsg
- type ConfigureDNSForSiteOKBody
- type DNSRecord
- type DNSZone
- type DNSZoneRecords
- type Deploy
- type DeployFiles
- type DeployKey
- type DeploySiteCapabilities
- type DeployedBranch
- type Error
- type File
- type Form
- type Function
- type GetDNSForSiteOKBody
- type Hook
- type HookType
- type ListAccountTypesForUserOKBody
- type ListAccountsForUserOKBody
- type ListFormSubmissionsOKBody
- type ListFormsOKBody
- type ListHookTypesOKBody
- type ListHooksBySiteIDOKBody
- type ListMembersForAccountOKBody
- type ListPaymentMethodsForUserOKBody
- type ListSiteAssetsOKBody
- type ListSiteBuildsOKBody
- type ListSiteDeploysOKBody
- type ListSiteFilesOKBody
- type ListSiteFormsOKBody
- type ListSiteSnippetsOKBody
- type ListSiteSubmissionsOKBody
- type ListSitesForAccountOKBody
- type ListSitesOKBody
- type Member
- type Metadata
- type MinifyOptions
- type PaymentMethod
- type PaymentMethodData
- type RepoInfo
- type Service
- type ServiceInstance
- type Site
- type SiteDefaultHooksData
- type SiteProcessingSettings
- type SiteProcessingSettingsHTML
- type SiteProcessingSettingsImages
- type SiteSetup
- type SiteSetupAllOf1
- type SniCertificate
- type Snippet
- type Submission
- type Ticket
- type User
- type UserOnboardingProgress
Constants ¶
const ( // AccountSetupPeriodMonthly captures enum value "monthly" AccountSetupPeriodMonthly string = "monthly" // AccountSetupPeriodYearly captures enum value "yearly" AccountSetupPeriodYearly string = "yearly" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶ added in v0.0.3
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 ¶ added in v0.3.0
func (m *AccessToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccessToken) UnmarshalBinary ¶ added in v0.3.0
func (m *AccessToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountMembership ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *AccountMembership) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountMembership) UnmarshalBinary ¶ added in v0.3.0
func (m *AccountMembership) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountMembershipCapabilities ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *AccountMembershipCapabilities) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountMembershipCapabilities) UnmarshalBinary ¶ added in v0.3.0
func (m *AccountMembershipCapabilities) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountSetup ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *AccountSetup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountSetup) UnmarshalBinary ¶ added in v0.3.0
func (m *AccountSetup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountType ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *AccountType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountType) UnmarshalBinary ¶ added in v0.3.0
func (m *AccountType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountUpdateSetup ¶ added in v0.3.0
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"`
// payment method id
PaymentMethodID string `json:"payment_method_id,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 ¶ added in v0.3.0
func (m *AccountUpdateSetup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountUpdateSetup) UnmarshalBinary ¶ added in v0.3.0
func (m *AccountUpdateSetup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccountUsageCapability ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *AccountUsageCapability) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccountUsageCapability) UnmarshalBinary ¶ added in v0.3.0
func (m *AccountUsageCapability) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddMemberToAccountOKBody ¶ added in v0.3.0
type AddMemberToAccountOKBody []*Member
AddMemberToAccountOKBody add member to account o k body swagger:model addMemberToAccountOKBody
type Asset ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*Asset) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type AssetForm ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*AssetForm) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type AssetPublicSignature ¶ added in v0.3.0
type AssetPublicSignature struct {
// url
URL string `json:"url,omitempty"`
}
AssetPublicSignature asset public signature swagger:model assetPublicSignature
func (*AssetPublicSignature) MarshalBinary ¶ added in v0.3.0
func (m *AssetPublicSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssetPublicSignature) UnmarshalBinary ¶ added in v0.3.0
func (m *AssetPublicSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssetSignature ¶ added in v0.3.0
type AssetSignature struct {
// asset
Asset *Asset `json:"asset,omitempty"`
// form
Form *AssetForm `json:"form,omitempty"`
}
AssetSignature asset signature swagger:model assetSignature
func (*AssetSignature) MarshalBinary ¶ added in v0.3.0
func (m *AssetSignature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssetSignature) UnmarshalBinary ¶ added in v0.3.0
func (m *AssetSignature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuditLog ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*AuditLog) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type AuditLogPayload ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *AuditLogPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (AuditLogPayload) MarshalJSON ¶ added in v0.3.0
func (m AuditLogPayload) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object with additional properties into a JSON object
func (*AuditLogPayload) UnmarshalBinary ¶ added in v0.3.0
func (m *AuditLogPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AuditLogPayload) UnmarshalJSON ¶ added in v0.3.0
func (m *AuditLogPayload) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshals this object with additional properties from JSON
type Build ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*Build) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type BuildHook ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*BuildHook) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type BuildLogMsg ¶ added in v0.3.0
type BuildLogMsg struct {
// error
Error bool `json:"error,omitempty"`
// message
Message string `json:"message,omitempty"`
}
BuildLogMsg build log msg swagger:model buildLogMsg
func (*BuildLogMsg) MarshalBinary ¶ added in v0.3.0
func (m *BuildLogMsg) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildLogMsg) UnmarshalBinary ¶ added in v0.3.0
func (m *BuildLogMsg) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigureDNSForSiteOKBody ¶ added in v0.3.0
type ConfigureDNSForSiteOKBody []*DNSZone
ConfigureDNSForSiteOKBody configure Dns for site o k body swagger:model configureDnsForSiteOKBody
type DNSRecord ¶
type DNSRecord struct {
// hostname
Hostname string `json:"hostname,omitempty"`
// id
ID string `json:"id,omitempty"`
// priority
Priority int64 `json:"priority,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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*DNSRecord) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type DNSZone ¶
type DNSZone struct {
// id
ID string `json:"id,omitempty"`
// name
Name string `json:"name,omitempty"`
// records
Records []*DNSRecord `json:"records"`
}
DNSZone dns zone swagger:model dnsZone
func (*DNSZone) MarshalBinary ¶ added in v0.3.0
MarshalBinary interface implementation
func (*DNSZone) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type DNSZoneRecords ¶ added in v0.3.0
type DNSZoneRecords []*DNSRecord
DNSZoneRecords dns zone records swagger:model dnsZoneRecords
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"`
// 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 capabilities
SiteCapabilities *DeploySiteCapabilities `json:"site_capabilities,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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*Deploy) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type DeployFiles ¶
type DeployFiles struct {
// async
Async bool `json:"async,omitempty"`
// draft
Draft bool `json:"draft,omitempty"`
// files
Files interface{} `json:"files,omitempty"`
// functions
Functions interface{} `json:"functions,omitempty"`
}
DeployFiles deploy files swagger:model deployFiles
func (*DeployFiles) MarshalBinary ¶ added in v0.3.0
func (m *DeployFiles) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeployFiles) UnmarshalBinary ¶ added in v0.3.0
func (m *DeployFiles) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeployKey ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*DeployKey) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type DeploySiteCapabilities ¶ added in v0.4.0
type DeploySiteCapabilities struct {
// large media enabled
LargeMediaEnabled bool `json:"large_media_enabled,omitempty"`
}
DeploySiteCapabilities deploy site capabilities swagger:model deploySiteCapabilities
func (*DeploySiteCapabilities) MarshalBinary ¶ added in v0.4.0
func (m *DeploySiteCapabilities) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeploySiteCapabilities) UnmarshalBinary ¶ added in v0.4.0
func (m *DeploySiteCapabilities) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeployedBranch ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *DeployedBranch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeployedBranch) UnmarshalBinary ¶ added in v0.3.0
func (m *DeployedBranch) 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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*File) UnmarshalBinary ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*Form) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type Function ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*Function) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type GetDNSForSiteOKBody ¶ added in v0.3.0
type GetDNSForSiteOKBody []*DNSZone
GetDNSForSiteOKBody get Dns for site o k body swagger:model getDnsForSiteOKBody
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*Hook) UnmarshalBinary ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*HookType) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type ListAccountTypesForUserOKBody ¶ added in v0.3.0
type ListAccountTypesForUserOKBody []*AccountType
ListAccountTypesForUserOKBody list account types for user o k body swagger:model listAccountTypesForUserOKBody
type ListAccountsForUserOKBody ¶ added in v0.3.0
type ListAccountsForUserOKBody []*AccountMembership
ListAccountsForUserOKBody list accounts for user o k body swagger:model listAccountsForUserOKBody
type ListFormSubmissionsOKBody ¶ added in v0.3.0
type ListFormSubmissionsOKBody []*Submission
ListFormSubmissionsOKBody list form submissions o k body swagger:model listFormSubmissionsOKBody
type ListFormsOKBody ¶ added in v0.3.0
type ListFormsOKBody []*Form
ListFormsOKBody list forms o k body swagger:model listFormsOKBody
type ListHookTypesOKBody ¶ added in v0.3.0
type ListHookTypesOKBody []*HookType
ListHookTypesOKBody list hook types o k body swagger:model listHookTypesOKBody
type ListHooksBySiteIDOKBody ¶ added in v0.3.0
type ListHooksBySiteIDOKBody []*Hook
ListHooksBySiteIDOKBody list hooks by site Id o k body swagger:model listHooksBySiteIdOKBody
type ListMembersForAccountOKBody ¶ added in v0.3.0
type ListMembersForAccountOKBody []*Member
ListMembersForAccountOKBody list members for account o k body swagger:model listMembersForAccountOKBody
type ListPaymentMethodsForUserOKBody ¶ added in v0.3.0
type ListPaymentMethodsForUserOKBody []*PaymentMethod
ListPaymentMethodsForUserOKBody list payment methods for user o k body swagger:model listPaymentMethodsForUserOKBody
type ListSiteAssetsOKBody ¶ added in v0.3.0
type ListSiteAssetsOKBody []*Asset
ListSiteAssetsOKBody list site assets o k body swagger:model listSiteAssetsOKBody
type ListSiteBuildsOKBody ¶ added in v0.3.0
type ListSiteBuildsOKBody []*Build
ListSiteBuildsOKBody list site builds o k body swagger:model listSiteBuildsOKBody
type ListSiteDeploysOKBody ¶ added in v0.3.0
type ListSiteDeploysOKBody []*Deploy
ListSiteDeploysOKBody list site deploys o k body swagger:model listSiteDeploysOKBody
type ListSiteFilesOKBody ¶ added in v0.3.0
type ListSiteFilesOKBody []*File
ListSiteFilesOKBody list site files o k body swagger:model listSiteFilesOKBody
type ListSiteFormsOKBody ¶ added in v0.3.0
type ListSiteFormsOKBody []*Form
ListSiteFormsOKBody list site forms o k body swagger:model listSiteFormsOKBody
type ListSiteSnippetsOKBody ¶ added in v0.3.0
type ListSiteSnippetsOKBody []*Snippet
ListSiteSnippetsOKBody list site snippets o k body swagger:model listSiteSnippetsOKBody
type ListSiteSubmissionsOKBody ¶ added in v0.3.0
type ListSiteSubmissionsOKBody []*Submission
ListSiteSubmissionsOKBody list site submissions o k body swagger:model listSiteSubmissionsOKBody
type ListSitesForAccountOKBody ¶ added in v0.3.0
type ListSitesForAccountOKBody []*Site
ListSitesForAccountOKBody list sites for account o k body swagger:model listSitesForAccountOKBody
type ListSitesOKBody ¶ added in v0.3.0
type ListSitesOKBody []*Site
ListSitesOKBody list sites o k body swagger:model listSitesOKBody
type Member ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*Member) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type MinifyOptions ¶ added in v0.3.0
type MinifyOptions struct {
// bundle
Bundle bool `json:"bundle,omitempty"`
// minify
Minify bool `json:"minify,omitempty"`
}
MinifyOptions minify options swagger:model minifyOptions
func (*MinifyOptions) MarshalBinary ¶ added in v0.3.0
func (m *MinifyOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MinifyOptions) UnmarshalBinary ¶ added in v0.3.0
func (m *MinifyOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentMethod ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *PaymentMethod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentMethod) UnmarshalBinary ¶ added in v0.3.0
func (m *PaymentMethod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentMethodData ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *PaymentMethodData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentMethodData) UnmarshalBinary ¶ added in v0.3.0
func (m *PaymentMethodData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RepoInfo ¶ added in v0.3.0
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"`
// id
ID int64 `json:"id,omitempty"`
// installation id
InstallationID string `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"`
}
RepoInfo repo info swagger:model repoInfo
func (*RepoInfo) MarshalBinary ¶ added in v0.3.0
MarshalBinary interface implementation
func (*RepoInfo) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type Service ¶ added in v0.7.0
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 ¶ added in v0.7.0
MarshalBinary interface implementation
func (*Service) UnmarshalBinary ¶ added in v0.7.0
UnmarshalBinary interface implementation
type ServiceInstance ¶ added in v0.7.0
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 ¶ added in v0.7.0
func (m *ServiceInstance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServiceInstance) UnmarshalBinary ¶ added in v0.7.0
func (m *ServiceInstance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"`
// 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 url
DeployURL string `json:"deploy_url,omitempty"`
// domain aliases
DomainAliases []string `json:"domain_aliases"`
// force ssl
ForceSsl bool `json:"force_ssl,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"`
// 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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*Site) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type SiteDefaultHooksData ¶ added in v0.8.0
type SiteDefaultHooksData struct {
// access token
AccessToken string `json:"access_token,omitempty"`
}
SiteDefaultHooksData site default hooks data swagger:model siteDefaultHooksData
func (*SiteDefaultHooksData) MarshalBinary ¶ added in v0.8.0
func (m *SiteDefaultHooksData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteDefaultHooksData) UnmarshalBinary ¶ added in v0.8.0
func (m *SiteDefaultHooksData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiteProcessingSettings ¶ added in v0.3.0
type SiteProcessingSettings struct {
// css
CSS *MinifyOptions `json:"css,omitempty"`
// html
HTML *SiteProcessingSettingsHTML `json:"html,omitempty"`
// images
Images *SiteProcessingSettingsImages `json:"images,omitempty"`
// js
Js *MinifyOptions `json:"js,omitempty"`
// skip
Skip bool `json:"skip,omitempty"`
}
SiteProcessingSettings site processing settings swagger:model siteProcessingSettings
func (*SiteProcessingSettings) MarshalBinary ¶ added in v0.3.0
func (m *SiteProcessingSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteProcessingSettings) UnmarshalBinary ¶ added in v0.3.0
func (m *SiteProcessingSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiteProcessingSettingsHTML ¶ added in v0.3.0
type SiteProcessingSettingsHTML struct {
// pretty urls
PrettyUrls bool `json:"pretty_urls,omitempty"`
}
SiteProcessingSettingsHTML site processing settings Html swagger:model siteProcessingSettingsHtml
func (*SiteProcessingSettingsHTML) MarshalBinary ¶ added in v0.3.0
func (m *SiteProcessingSettingsHTML) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteProcessingSettingsHTML) UnmarshalBinary ¶ added in v0.3.0
func (m *SiteProcessingSettingsHTML) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiteProcessingSettingsImages ¶ added in v0.3.0
type SiteProcessingSettingsImages struct {
// optimize
Optimize bool `json:"optimize,omitempty"`
}
SiteProcessingSettingsImages site processing settings images swagger:model siteProcessingSettingsImages
func (*SiteProcessingSettingsImages) MarshalBinary ¶ added in v0.3.0
func (m *SiteProcessingSettingsImages) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteProcessingSettingsImages) UnmarshalBinary ¶ added in v0.3.0
func (m *SiteProcessingSettingsImages) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiteSetup ¶ added in v0.3.0
type SiteSetup struct {
Site
SiteSetupAllOf1
}
SiteSetup site setup swagger:model siteSetup
func (*SiteSetup) MarshalBinary ¶ added in v0.3.0
MarshalBinary interface implementation
func (SiteSetup) MarshalJSON ¶ added in v0.3.0
MarshalJSON marshals this object to a JSON structure
func (*SiteSetup) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
func (*SiteSetup) UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON unmarshals this object from a JSON structure
type SiteSetupAllOf1 ¶ added in v0.3.0
type SiteSetupAllOf1 struct {
// repo
Repo *RepoInfo `json:"repo,omitempty"`
}
SiteSetupAllOf1 site setup all of1 swagger:model siteSetupAllOf1
func (*SiteSetupAllOf1) MarshalBinary ¶ added in v0.3.0
func (m *SiteSetupAllOf1) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiteSetupAllOf1) UnmarshalBinary ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *SniCertificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SniCertificate) UnmarshalBinary ¶ added in v0.3.0
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*Snippet) UnmarshalBinary ¶ added in v0.3.0
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 ¶ added in v0.3.0
func (m *Submission) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Submission) UnmarshalBinary ¶ added in v0.3.0
func (m *Submission) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Ticket ¶ added in v0.0.3
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 ¶ added in v0.3.0
MarshalBinary interface implementation
func (*Ticket) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type User ¶ added in v0.3.0
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"`
// support priority
SupportPriority int64 `json:"support_priority,omitempty"`
// uid
UID string `json:"uid,omitempty"`
}
User user swagger:model user
func (*User) MarshalBinary ¶ added in v0.3.0
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶ added in v0.3.0
UnmarshalBinary interface implementation
type UserOnboardingProgress ¶ added in v0.3.0
type UserOnboardingProgress struct {
// slides
Slides string `json:"slides,omitempty"`
}
UserOnboardingProgress user onboarding progress swagger:model userOnboardingProgress
func (*UserOnboardingProgress) MarshalBinary ¶ added in v0.3.0
func (m *UserOnboardingProgress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserOnboardingProgress) UnmarshalBinary ¶ added in v0.3.0
func (m *UserOnboardingProgress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- access_token.go
- account_membership.go
- account_membership_capabilities.go
- account_setup.go
- account_type.go
- account_update_setup.go
- account_usage_capability.go
- add_member_to_account_okbody.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_log_msg.go
- configure_dns_for_site_okbody.go
- deploy.go
- deploy_files.go
- deploy_key.go
- deploy_site_capabilities.go
- deployed_branch.go
- dns_record.go
- dns_zone.go
- dns_zone_records.go
- error.go
- file.go
- form.go
- function.go
- get_dns_for_site_okbody.go
- hook.go
- hook_type.go
- list_account_types_for_user_okbody.go
- list_accounts_for_user_okbody.go
- list_form_submissions_okbody.go
- list_forms_okbody.go
- list_hook_types_okbody.go
- list_hooks_by_site_id_okbody.go
- list_members_for_account_okbody.go
- list_payment_methods_for_user_okbody.go
- list_site_assets_okbody.go
- list_site_builds_okbody.go
- list_site_deploys_okbody.go
- list_site_files_okbody.go
- list_site_forms_okbody.go
- list_site_snippets_okbody.go
- list_site_submissions_okbody.go
- list_sites_for_account_okbody.go
- list_sites_okbody.go
- member.go
- metadata.go
- minify_options.go
- payment_method.go
- payment_method_data.go
- repo_info.go
- service.go
- service_instance.go
- site.go
- site_default_hooks_data.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
- submission.go
- ticket.go
- user.go
- user_onboarding_progress.go