models

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: MIT Imports: 6 Imported by: 15

Documentation

Index

Constants

View Source
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.2.0

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

MarshalBinary interface implementation

func (*AccessToken) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AccessToken) Validate added in v0.0.3

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

Validate validates this access token

type AccountMembership added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*AccountMembership) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AccountMembership) Validate added in v0.2.0

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

Validate validates this account membership

type AccountMembershipCapabilities added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*AccountMembershipCapabilities) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AccountMembershipCapabilities) Validate added in v0.2.0

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

Validate validates this account membership capabilities

type AccountSetup added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*AccountSetup) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AccountSetup) Validate added in v0.2.0

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

Validate validates this account setup

type AccountType added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*AccountType) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AccountType) Validate added in v0.2.0

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

Validate validates this account type

type AccountUpdateSetup added in v0.2.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"`

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

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

MarshalBinary interface implementation

func (*AccountUpdateSetup) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AccountUpdateSetup) Validate added in v0.2.0

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

Validate validates this account update setup

type AccountUsageCapability added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*AccountUsageCapability) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AccountUsageCapability) Validate added in v0.2.0

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

Validate validates this account usage capability

type Asset added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*Asset) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*Asset) Validate added in v0.2.0

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

Validate validates this asset

type AssetForm added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*AssetForm) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AssetForm) Validate added in v0.2.0

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

Validate validates this asset form

type AssetPublicSignature added in v0.2.0

type AssetPublicSignature struct {

	// url
	URL string `json:"url,omitempty"`
}

AssetPublicSignature asset public signature

swagger:model assetPublicSignature

func (*AssetPublicSignature) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*AssetPublicSignature) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AssetPublicSignature) Validate added in v0.2.0

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

Validate validates this asset public signature

type AssetSignature added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*AssetSignature) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AssetSignature) Validate added in v0.2.0

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

Validate validates this asset signature

type AuditLog added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*AuditLog) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AuditLog) Validate added in v0.2.0

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

Validate validates this audit log

type AuditLogPayload added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (AuditLogPayload) MarshalJSON added in v0.2.0

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

MarshalJSON marshals this object with additional properties into a JSON object

func (*AuditLogPayload) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*AuditLogPayload) UnmarshalJSON added in v0.2.0

func (m *AuditLogPayload) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*AuditLogPayload) Validate added in v0.2.0

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

Validate validates this audit log payload

type Build added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*Build) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*Build) Validate added in v0.2.0

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

Validate validates this build

type BuildHook added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*BuildHook) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*BuildHook) Validate added in v0.2.0

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

Validate validates this build hook

type BuildHookSetup added in v1.2.0

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 added in v1.2.0

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

MarshalBinary interface implementation

func (*BuildHookSetup) UnmarshalBinary added in v1.2.0

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

UnmarshalBinary interface implementation

func (*BuildHookSetup) Validate added in v1.2.0

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

Validate validates this build hook setup

type BuildLogMsg added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*BuildLogMsg) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*BuildLogMsg) Validate added in v0.2.0

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

Validate validates this build log msg

type BuildStatus added in v1.3.0

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 added in v1.3.0

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

MarshalBinary interface implementation

func (*BuildStatus) UnmarshalBinary added in v1.3.0

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

UnmarshalBinary interface implementation

func (*BuildStatus) Validate added in v1.3.0

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

Validate validates this build status

type BuildStatusMinutes added in v1.3.0

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 added in v1.3.0

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

MarshalBinary interface implementation

func (*BuildStatusMinutes) UnmarshalBinary added in v1.3.0

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

UnmarshalBinary interface implementation

func (*BuildStatusMinutes) Validate added in v1.3.0

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

Validate validates this build status minutes

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 added in v0.2.0

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

MarshalBinary interface implementation

func (*DNSRecord) UnmarshalBinary added in v0.2.0

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 added in v0.14.0

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 added in v0.14.0

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

MarshalBinary interface implementation

func (*DNSRecordCreate) UnmarshalBinary added in v0.14.0

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

UnmarshalBinary interface implementation

func (*DNSRecordCreate) Validate added in v0.14.0

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

Validate validates this dns record create

type DNSRecords added in v0.14.0

type DNSRecords []*DNSRecord

DNSRecords dns records

swagger:model dnsRecords

func (DNSRecords) Validate added in v0.14.0

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 added in v0.2.0

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

MarshalBinary interface implementation

func (*DNSZone) UnmarshalBinary added in v0.2.0

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 added in v0.14.0

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 added in v0.14.0

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

MarshalBinary interface implementation

func (*DNSZoneSetup) UnmarshalBinary added in v0.14.0

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

UnmarshalBinary interface implementation

func (*DNSZoneSetup) Validate added in v0.14.0

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

Validate validates this dns zone setup

type DNSZones added in v0.14.0

type DNSZones []*DNSZone

DNSZones dns zones

swagger:model dnsZones

func (DNSZones) Validate added in v0.14.0

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

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

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

MarshalBinary interface implementation

func (*Deploy) UnmarshalBinary added in v0.2.0

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

	// functions
	Functions interface{} `json:"functions,omitempty"`
}

DeployFiles deploy files

swagger:model deployFiles

func (*DeployFiles) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*DeployFiles) UnmarshalBinary added in v0.2.0

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 added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*DeployKey) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*DeployKey) Validate added in v0.2.0

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

Validate validates this deploy key

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

func (*DeploySiteCapabilities) Validate added in v0.4.0

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

Validate validates this deploy site capabilities

type DeployedBranch added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*DeployedBranch) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*DeployedBranch) Validate added in v0.2.0

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

Validate validates this deployed branch

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

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary added in v0.2.0

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 added in v0.2.0

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

MarshalBinary interface implementation

func (*File) UnmarshalBinary added in v0.2.0

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 added in v0.2.0

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

MarshalBinary interface implementation

func (*Form) UnmarshalBinary added in v0.2.0

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 added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*Function) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*Function) Validate added in v0.2.0

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

Validate validates this function

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

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

MarshalBinary interface implementation

func (*Hook) UnmarshalBinary added in v0.2.0

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 added in v0.2.0

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

MarshalBinary interface implementation

func (*HookType) UnmarshalBinary added in v0.2.0

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 added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*Member) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*Member) Validate added in v0.2.0

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

Validate validates this member

type Metadata

type Metadata interface{}

Metadata metadata

swagger:model metadata

type MinifyOptions added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*MinifyOptions) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*MinifyOptions) Validate added in v0.2.0

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

Validate validates this minify options

type PaymentMethod added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*PaymentMethod) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*PaymentMethod) Validate added in v0.2.0

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

Validate validates this payment method

type PaymentMethodData added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*PaymentMethodData) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*PaymentMethodData) Validate added in v0.2.0

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

Validate validates this payment method data

type PluginRun added in v0.15.0

type PluginRun struct {
	PluginRunData

	PluginRunAllOf1
}

PluginRun plugin run

swagger:model pluginRun

func (*PluginRun) MarshalBinary added in v0.15.0

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

MarshalBinary interface implementation

func (PluginRun) MarshalJSON added in v0.15.0

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

MarshalJSON marshals this object to a JSON structure

func (*PluginRun) UnmarshalBinary added in v0.15.0

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

UnmarshalBinary interface implementation

func (*PluginRun) UnmarshalJSON added in v0.15.0

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

UnmarshalJSON unmarshals this object from a JSON structure

func (*PluginRun) Validate added in v0.15.0

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

Validate validates this plugin run

type PluginRunAllOf1 added in v0.15.0

type PluginRunAllOf1 struct {

	// deploy id
	DeployID string `json:"deploy_id,omitempty"`
}

PluginRunAllOf1 plugin run all of1

swagger:model pluginRunAllOf1

func (*PluginRunAllOf1) MarshalBinary added in v0.15.0

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

MarshalBinary interface implementation

func (*PluginRunAllOf1) UnmarshalBinary added in v0.15.0

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

UnmarshalBinary interface implementation

func (*PluginRunAllOf1) Validate added in v0.15.0

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

Validate validates this plugin run all of1

type PluginRunData added in v0.15.0

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 added in v0.15.0

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

MarshalBinary interface implementation

func (*PluginRunData) UnmarshalBinary added in v0.15.0

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

UnmarshalBinary interface implementation

func (*PluginRunData) Validate added in v0.15.0

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

Validate validates this plugin run data

type RepoInfo added in v0.2.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 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 added in v0.2.0

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

MarshalBinary interface implementation

func (*RepoInfo) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*RepoInfo) Validate added in v0.2.0

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

Validate validates this repo info

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

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

MarshalBinary interface implementation

func (*Service) UnmarshalBinary added in v0.7.0

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

UnmarshalBinary interface implementation

func (*Service) Validate added in v0.7.0

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

Validate validates this service

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

func (*ServiceInstance) Validate added in v0.7.0

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

Validate validates this service instance

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

	// 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 added in v0.2.0

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

MarshalBinary interface implementation

func (*Site) UnmarshalBinary added in v0.2.0

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

func (*SiteDefaultHooksData) Validate added in v0.8.0

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

Validate validates this site default hooks data

type SiteProcessingSettings added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*SiteProcessingSettings) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*SiteProcessingSettings) Validate added in v0.2.0

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

Validate validates this site processing settings

type SiteProcessingSettingsHTML added in v0.2.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.2.0

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

MarshalBinary interface implementation

func (*SiteProcessingSettingsHTML) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*SiteProcessingSettingsHTML) Validate added in v0.2.0

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

Validate validates this site processing settings Html

type SiteProcessingSettingsImages added in v0.2.0

type SiteProcessingSettingsImages struct {

	// optimize
	Optimize bool `json:"optimize,omitempty"`
}

SiteProcessingSettingsImages site processing settings images

swagger:model siteProcessingSettingsImages

func (*SiteProcessingSettingsImages) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*SiteProcessingSettingsImages) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*SiteProcessingSettingsImages) Validate added in v0.2.0

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

Validate validates this site processing settings images

type SiteSetup added in v0.2.0

type SiteSetup struct {
	Site

	SiteSetupAllOf1
}

SiteSetup site setup

swagger:model siteSetup

func (*SiteSetup) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (SiteSetup) MarshalJSON added in v0.2.0

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

MarshalJSON marshals this object to a JSON structure

func (*SiteSetup) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*SiteSetup) UnmarshalJSON added in v0.2.0

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

UnmarshalJSON unmarshals this object from a JSON structure

func (*SiteSetup) Validate added in v0.2.0

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

Validate validates this site setup

type SiteSetupAllOf1 added in v0.2.0

type SiteSetupAllOf1 struct {

	// repo
	Repo *RepoInfo `json:"repo,omitempty"`
}

SiteSetupAllOf1 site setup all of1

swagger:model siteSetupAllOf1

func (*SiteSetupAllOf1) MarshalBinary added in v0.2.0

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

MarshalBinary interface implementation

func (*SiteSetupAllOf1) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*SiteSetupAllOf1) Validate added in v0.2.0

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 added in v0.2.0

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

MarshalBinary interface implementation

func (*SniCertificate) UnmarshalBinary added in v0.2.0

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 added in v0.2.0

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

MarshalBinary interface implementation

func (*Snippet) UnmarshalBinary added in v0.2.0

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 added in v0.12.0

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 added in v0.12.0

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

MarshalBinary interface implementation

func (*SplitTest) UnmarshalBinary added in v0.12.0

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

UnmarshalBinary interface implementation

func (*SplitTest) Validate added in v0.12.0

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

Validate validates this split test

type SplitTestSetup added in v0.12.0

type SplitTestSetup struct {

	// branch tests
	BranchTests interface{} `json:"branch_tests,omitempty"`
}

SplitTestSetup split test setup

swagger:model splitTestSetup

func (*SplitTestSetup) MarshalBinary added in v0.12.0

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

MarshalBinary interface implementation

func (*SplitTestSetup) UnmarshalBinary added in v0.12.0

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

UnmarshalBinary interface implementation

func (*SplitTestSetup) Validate added in v0.12.0

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

Validate validates this split test setup

type SplitTests added in v0.12.0

type SplitTests []*SplitTest

SplitTests split tests

swagger:model splitTests

func (SplitTests) Validate added in v0.12.0

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 added in v0.2.0

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

MarshalBinary interface implementation

func (*Submission) UnmarshalBinary added in v0.2.0

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

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

MarshalBinary interface implementation

func (*Ticket) UnmarshalBinary added in v0.2.0

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

UnmarshalBinary interface implementation

func (*Ticket) Validate added in v0.0.3

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

Validate validates this ticket

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

	// uid
	UID string `json:"uid,omitempty"`
}

User user

swagger:model user

func (*User) MarshalBinary added in v0.3.0

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

MarshalBinary interface implementation

func (*User) UnmarshalBinary added in v0.3.0

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

UnmarshalBinary interface implementation

func (*User) Validate added in v0.3.0

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

Validate validates this user

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

func (*UserOnboardingProgress) Validate added in v0.3.0

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

Validate validates this user onboarding progress

Jump to

Keyboard shortcuts

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