Documentation
¶
Index ¶
Constants ¶
This section is empty.
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
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
type DNSZone ¶
type DNSZone struct {
/* id
*/
ID string `json:"id,omitempty"`
/* name
*/
Name string `json:"name,omitempty"`
/* records
*/
Records []*DNSRecord `json:"records,omitempty"`
}
DNSZone dns zone
swagger:model dnsZone
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"`
/* 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"`
/* name
*/
Name string `json:"name,omitempty"`
/* required
*/
Required []string `json:"required,omitempty"`
/* review id
*/
ReviewID string `json:"review_id,omitempty"`
/* screenshot url
*/
ScreenshotURL string `json:"screenshot_url,omitempty"`
/* site id
*/
SiteID string `json:"site_id,omitempty"`
/* skipped
*/
Skipped bool `json:"skipped,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"`
}
Deploy deploy
swagger:model deploy
type DeployFiles ¶
type DeployFiles struct {
/* async
*/
Async bool `json:"async,omitempty"`
/* draft
*/
Draft bool `json:"draft,omitempty"`
/* files
*/
Files interface{} `json:"files,omitempty"`
}
DeployFiles deploy files
swagger:model deployFiles
type Error ¶
type Error struct {
/* code
*/
Code int64 `json:"code,omitempty"`
/* message
Required: true
*/
Message *string `json:"message"`
}
Error error
swagger:model 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
type Form ¶
type Form struct {
/* created at
*/
CreatedAt string `json:"created_at,omitempty"`
/* fields
*/
Fields []interface{} `json:"fields,omitempty"`
/* id
*/
ID string `json:"id,omitempty"`
/* name
*/
Name string `json:"name,omitempty"`
/* paths
*/
Paths []string `json:"paths,omitempty"`
/* site id
*/
SiteID string `json:"site_id,omitempty"`
/* submission count
*/
SubmissionCount int32 `json:"submission_count,omitempty"`
}
Form form
swagger:model form
type Hook ¶
type Hook struct {
/* created at
*/
CreatedAt string `json:"created_at,omitempty"`
/* data
*/
Data interface{} `json:"data,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
type HookType ¶
type HookType struct {
/* events
*/
Events []string `json:"events,omitempty"`
/* fields
*/
Fields []interface{} `json:"fields,omitempty"`
/* name
*/
Name string `json:"name,omitempty"`
}
HookType hook type
swagger:model hookType
type Site ¶
type Site struct {
/* admin url
*/
AdminURL string `json:"admin_url,omitempty"`
/* created at
*/
CreatedAt string `json:"created_at,omitempty"`
/* custom domain
*/
CustomDomain string `json:"custom_domain,omitempty"`
/* deploy url
*/
DeployURL string `json:"deploy_url,omitempty"`
/* domain aliases
*/
DomainAliases []string `json:"domain_aliases,omitempty"`
/* force ssl
*/
ForceSsl bool `json:"force_ssl,omitempty"`
/* id
*/
ID string `json:"id,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"`
/* published deploy
*/
PublishedDeploy *Deploy `json:"published_deploy,omitempty"`
/* screenshot url
*/
ScreenshotURL string `json:"screenshot_url,omitempty"`
/* ssl
*/
Ssl bool `json:"ssl,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
type SniCertificate ¶
type SniCertificate struct {
/* created at
*/
CreatedAt string `json:"created_at,omitempty"`
/* domains
*/
Domains []string `json:"domains,omitempty"`
/* 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
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
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
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
Click to show internal directories.
Click to hide internal directories.