output

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 6 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addon

type Addon struct {
	ProjectId   uuid.ProjectIdNull `json:"projectId"`
	AddonName   types.String       `json:"addonName"`
	MetricId    types.String       `json:"metricId"`
	UserEnabled types.Bool         `json:"userEnabled"`
	ValidFrom   types.DateTime     `json:"validFrom"`
	ValidTill   types.DateTime     `json:"validTill"`
	UnitPrice   types.Float        `json:"unitPrice"`
}

type AppVersionBuild

type AppVersionBuild struct {
	ServiceStackId            uuid.ServiceStackIdNull                `json:"serviceStackId"`
	ServiceStackName          types.StringNull                       `json:"serviceStackName"`
	ServiceStackTypeVersionId stringId.ServiceStackTypeVersionIdNull `json:"serviceStackTypeVersionId"`
	PipelineStart             types.DateTimeNull                     `json:"pipelineStart"`
	PipelineFinish            types.DateTimeNull                     `json:"pipelineFinish"`
	PipelineFailed            types.DateTimeNull                     `json:"pipelineFailed"`
	ContainerCreationStart    types.DateTimeNull                     `json:"containerCreationStart"`
	StartDate                 types.DateTimeNull                     `json:"startDate"`
	EndDate                   types.DateTimeNull                     `json:"endDate"`
	CacheSnapshotId           uuid.BuildCacheSnapshotIdNull          `json:"cacheSnapshotId"`
}

type AppVersionGithubIntegration

type AppVersionGithubIntegration struct {
	EventType          enum.AppVersionGithubIntegrationEventTypeEnum `json:"eventType"`
	BranchName         types.StringNull                              `json:"branchName"`
	TagRegex           types.StringNull                              `json:"tagRegex"`
	Pusher             types.String                                  `json:"pusher"`
	Commit             types.String                                  `json:"commit"`
	RepositoryFullName types.String                                  `json:"repositoryFullName"`
	TagName            types.StringNull                              `json:"tagName"`
	ZeropsYamlSetup    types.StringNull                              `json:"zeropsYamlSetup"`
}

type AppVersionGitlabIntegration

type AppVersionGitlabIntegration struct {
	EventType          enum.AppVersionGitlabIntegrationEventTypeEnum `json:"eventType"`
	BranchName         types.StringNull                              `json:"branchName"`
	TagRegex           types.StringNull                              `json:"tagRegex"`
	Pusher             types.String                                  `json:"pusher"`
	Commit             types.String                                  `json:"commit"`
	RepositoryFullName types.String                                  `json:"repositoryFullName"`
	TagName            types.StringNull                              `json:"tagName"`
	ZeropsYamlSetup    types.StringNull                              `json:"zeropsYamlSetup"`
}

type AppVersionJsonObject

type AppVersionJsonObject struct {
	Id                   uuid.AppVersionId            `json:"id"`
	ServiceStackId       uuid.ServiceStackIdNull      `json:"serviceStackId"`
	ProjectId            uuid.ProjectIdNull           `json:"projectId"`
	Status               *enum.AppVersionStatusEnum   `json:"status"`
	Source               enum.AppVersionSourceEnum    `json:"source"`
	Os                   types.StringNull             `json:"os"`
	Base                 types.StringNull             `json:"base"`
	Sequence             types.Int                    `json:"sequence"`
	Name                 types.StringNull             `json:"name"`
	Created              types.DateTimeNull           `json:"created"`
	Build                *AppVersionBuild             `json:"build"`
	PrepareCustomRuntime *PrepareCustomRuntime        `json:"prepareCustomRuntime"`
	GithubIntegration    *AppVersionGithubIntegration `json:"githubIntegration"`
	GitlabIntegration    *AppVersionGitlabIntegration `json:"gitlabIntegration"`
	CreatedByUser        *UserJsonObject              `json:"createdByUser"`
	ActivationDate       types.DateTimeNull           `json:"activationDate"`
	PublicGitSource      *AppVersionPublicGitSource   `json:"publicGitSource"`
	ConfigContent        types.TextNull               `json:"configContent"`
	ZeropsYamlJson       types.TextNull               `json:"zeropsYamlJson"`
}

type AppVersionLight

type AppVersionLight struct {
	Id         uuid.AppVersionId         `json:"id"`
	Status     enum.AppVersionStatusEnum `json:"status"`
	Os         types.StringNull          `json:"os"`
	Base       types.StringNull          `json:"base"`
	Created    types.DateTime            `json:"created"`
	LastUpdate types.DateTime            `json:"lastUpdate"`
}

type AppVersionPublicGitSource

type AppVersionPublicGitSource struct {
	GitUrl                  types.String   `json:"gitUrl"`
	BranchName              types.String   `json:"branchName"`
	ConfigContentFromImport types.Bool     `json:"configContentFromImport"`
	ExplicitSetup           types.BoolNull `json:"explicitSetup"`
}

type AppVersionUserData

type AppVersionUserData struct {
	Key     types.String          `json:"key"`
	Content types.Text            `json:"content"`
	Type    enum.UserDataTypeEnum `json:"type"`
}

type Auth

type Auth struct {
	AccessToken   types.String          `json:"accessToken"`
	TokenType     types.String          `json:"tokenType"`
	ExpiresIn     types.Int             `json:"expiresIn"`
	ExpiresAt     types.DateTime        `json:"expiresAt"`
	TwoFAMethods  types.StringArrayNull `json:"twoFAMethods"`
	TwoFAVerified types.BoolNull        `json:"twoFAVerified"`
	SudoUntil     types.DateTimeNull    `json:"sudoUntil"`
	UserId        uuid.AuthUserId       `json:"userId"`
	Author        Author                `json:"author"`
}

type AuthFull added in v1.0.16

type AuthFull struct {
	AccessToken   types.String          `json:"accessToken"`
	TokenType     types.String          `json:"tokenType"`
	ExpiresIn     types.Int             `json:"expiresIn"`
	ExpiresAt     types.DateTime        `json:"expiresAt"`
	TwoFAMethods  types.StringArrayNull `json:"twoFAMethods"`
	TwoFAVerified types.BoolNull        `json:"twoFAVerified"`
	SudoUntil     types.DateTimeNull    `json:"sudoUntil"`
	UserId        uuid.AuthUserId       `json:"userId"`
	Author        Author                `json:"author"`
	RefreshToken  types.StringNull      `json:"refreshToken"`
}

type AuthLogin

type AuthLogin struct {
	User *User    `json:"user"`
	Auth AuthFull `json:"auth"`
}

type AuthRegistration added in v1.0.16

type AuthRegistration struct {
	User     *User            `json:"user"`
	Auth     AuthFull         `json:"auth"`
	WebAuthn *WebAuthnOptions `json:"webAuthn"`
}

type Author

type Author struct {
	AuthorId   uuid.AuthorAuthorId       `json:"authorId"`
	AuthorType enum.AuthorAuthorTypeEnum `json:"authorType"`
}

type AvailableAddons

type AvailableAddons struct {
	ClientAddons  AvailableAddonsClientAddons  `json:"clientAddons"`
	ProjectAddons AvailableAddonsProjectAddons `json:"projectAddons"`
}

type AvailableAddonsClientAddons

type AvailableAddonsClientAddons []Addon

func (AvailableAddonsClientAddons) MarshalJSON

func (dto AvailableAddonsClientAddons) MarshalJSON() ([]byte, error)

type AvailableAddonsProjectAddons

type AvailableAddonsProjectAddons []Addon

func (AvailableAddonsProjectAddons) MarshalJSON

func (dto AvailableAddonsProjectAddons) MarshalJSON() ([]byte, error)

type BackupRetentionPolicy added in v1.0.12

type BackupRetentionPolicy struct {
	MaxTotalFiles types.Int         `json:"maxTotalFiles"`
	MaxTotalGiB   types.Int         `json:"maxTotalGiB"`
	ProtectedTags types.StringArray `json:"protectedTags"`
	MinDaily      types.Int         `json:"minDaily"`
	MaxDaily      types.Int         `json:"maxDaily"`
	MinWeekly     types.Int         `json:"minWeekly"`
	MaxWeekly     types.Int         `json:"maxWeekly"`
	MinMonthly    types.Int         `json:"minMonthly"`
	MaxMonthly    types.Int         `json:"maxMonthly"`
}

type BillingInfo

type BillingInfo struct {
	VatNumber               types.StringNull            `json:"vatNumber"`
	CompanyNumber           types.StringNull            `json:"companyNumber"`
	CompanyName             types.String                `json:"companyName"`
	InvoiceAddressStreet    types.String                `json:"invoiceAddressStreet"`
	InvoiceAddressCity      types.String                `json:"invoiceAddressCity"`
	InvoiceAddressPostcode  types.String                `json:"invoiceAddressPostcode"`
	InvoiceAddressCountryId stringId.CountryId          `json:"invoiceAddressCountryId"`
	VatCountryId            stringId.CountryId          `json:"vatCountryId"`
	VatMode                 enum.BillingInfoVatModeEnum `json:"vatMode"`
	VatRate                 types.Float                 `json:"vatRate"`
	VatVerified             types.Bool                  `json:"vatVerified"`
}

type BuildCache added in v1.0.11

type BuildCache struct {
	BuildServiceStackId uuid.ServiceStackId       `json:"buildServiceStackId"`
	SnapshotId          uuid.BuildCacheSnapshotId `json:"snapshotId"`
	ConfigChecksum      types.String              `json:"configChecksum"`
}

type Client added in v1.0.9

type Client struct {
	Id                      uuid.ClientId    `json:"id"`
	AccountName             types.String     `json:"accountName"`
	Avatar                  *ClientAvatar    `json:"avatar"`
	BillingInfo             *BillingInfo     `json:"billingInfo"`
	PaymentProviderClientId types.StringNull `json:"paymentProviderClientId"`
	VerifiedByTopUp         types.Bool       `json:"verifiedByTopUp"`
	VerifiedManually        types.Bool       `json:"verifiedManually"`
}

type ClientAvatar

type ClientAvatar struct {
	LargeAvatarUrl    types.StringNull `json:"largeAvatarUrl"`
	SmallAvatarUrl    types.StringNull `json:"smallAvatarUrl"`
	ExternalAvatarUrl types.StringNull `json:"externalAvatarUrl"`
}

type ClientInfoLanguageObject

type ClientInfoLanguageObject struct {
	Id types.String `json:"id"`
}

type ClientInfoObject

type ClientInfoObject struct {
	Id               types.String             `json:"id"`
	CompanyName      types.String             `json:"companyName"`
	CompanyNumber    types.StringNull         `json:"companyNumber"`
	VatNumber        types.StringNull         `json:"vatNumber"`
	Created          types.DateTime           `json:"created"`
	LastUpdate       types.DateTime           `json:"lastUpdate"`
	LastPublicUpdate types.DateTime           `json:"lastPublicUpdate"`
	Status           types.String             `json:"status"`
	VatCountry       types.String             `json:"vatCountry"`
	VatPayer         types.Bool               `json:"vatPayer"`
	VatRate          types.Float              `json:"vatRate"`
	VatMode          types.StringNull         `json:"vatMode"`
	Currency         ClientInfoObjectCurrency `json:"currency"`
	Language         ClientInfoLanguageObject `json:"language"`
}

type ClientInfoObjectCurrency

type ClientInfoObjectCurrency struct {
	Id                  types.String `json:"id"`
	Symbol              types.String `json:"symbol"`
	DisplaySymbolBefore types.Bool   `json:"displaySymbolBefore"`
	RoundDigits         types.Int    `json:"roundDigits"`
}

type ClientIntegrationToken added in v1.0.16

type ClientIntegrationToken struct {
	Id                uuid.UserId                    `json:"id"`
	Name              types.String                   `json:"name"`
	RoleCode          enum.ClientUserRoleCodeEnum    `json:"roleCode"`
	CanViewFinances   types.Bool                     `json:"canViewFinances"`
	CanEditFinances   types.Bool                     `json:"canEditFinances"`
	CanCreateProjects types.Bool                     `json:"canCreateProjects"`
	CreatedByUser     uuid.UserIdNull                `json:"createdByUser"`
	Created           types.DateTime                 `json:"created"`
	LastUpdate        types.DateTime                 `json:"lastUpdate"`
	Projects          ClientIntegrationTokenProjects `json:"projects"`
}

type ClientIntegrationTokenList added in v1.0.16

type ClientIntegrationTokenList struct {
	List ClientIntegrationTokenListList `json:"list"`
}

type ClientIntegrationTokenListList added in v1.0.16

type ClientIntegrationTokenListList []ClientIntegrationToken

func (ClientIntegrationTokenListList) MarshalJSON added in v1.0.16

func (dto ClientIntegrationTokenListList) MarshalJSON() ([]byte, error)

type ClientIntegrationTokenProjectAccess added in v1.0.16

type ClientIntegrationTokenProjectAccess struct {
	ProjectId uuid.ProjectId              `json:"projectId"`
	RoleCode  enum.ClientUserRoleCodeEnum `json:"roleCode"`
}

type ClientIntegrationTokenProjects added in v1.0.16

type ClientIntegrationTokenProjects []ClientIntegrationTokenProjectAccess

func (ClientIntegrationTokenProjects) MarshalJSON added in v1.0.16

func (dto ClientIntegrationTokenProjects) MarshalJSON() ([]byte, error)

type ClientIntegrationTokenRaw added in v1.0.16

type ClientIntegrationTokenRaw struct {
	Id                uuid.UserId                       `json:"id"`
	Name              types.String                      `json:"name"`
	RoleCode          enum.ClientUserRoleCodeEnum       `json:"roleCode"`
	CanViewFinances   types.Bool                        `json:"canViewFinances"`
	CanEditFinances   types.Bool                        `json:"canEditFinances"`
	CanCreateProjects types.Bool                        `json:"canCreateProjects"`
	CreatedByUser     uuid.UserIdNull                   `json:"createdByUser"`
	Created           types.DateTime                    `json:"created"`
	LastUpdate        types.DateTime                    `json:"lastUpdate"`
	Projects          ClientIntegrationTokenRawProjects `json:"projects"`
	Token             types.String                      `json:"token"`
}

type ClientIntegrationTokenRawProjects added in v1.0.16

type ClientIntegrationTokenRawProjects []ClientIntegrationTokenProjectAccess

func (ClientIntegrationTokenRawProjects) MarshalJSON added in v1.0.16

func (dto ClientIntegrationTokenRawProjects) MarshalJSON() ([]byte, error)

type ClientLight

type ClientLight struct {
	Id          uuid.ClientId `json:"id"`
	AccountName types.String  `json:"accountName"`
	Avatar      *ClientAvatar `json:"avatar"`
}

type ClientSecret added in v1.0.11

type ClientSecret struct {
	ClientSecret types.String `json:"clientSecret"`
}

type ClientStatus

type ClientStatus struct {
	Credit      types.Float      `json:"credit"`
	PromoCredit types.Float      `json:"promoCredit"`
	ClientInfo  ClientInfoObject `json:"clientInfo"`
}

type ClientUserExtra

type ClientUserExtra struct {
	Id                uuid.ClientUserId           `json:"id"`
	ClientId          uuid.ClientId               `json:"clientId"`
	UserId            uuid.UserId                 `json:"userId"`
	Status            enum.ClientUserStatusEnum   `json:"status"`
	RoleCode          enum.ClientUserRoleCodeEnum `json:"roleCode"`
	CanViewFinances   types.Bool                  `json:"canViewFinances"`
	CanEditFinances   types.Bool                  `json:"canEditFinances"`
	CanCreateProjects types.Bool                  `json:"canCreateProjects"`
	User              UserLight                   `json:"user"`
}

type ClientUserExtraWithClientLight added in v1.0.16

type ClientUserExtraWithClientLight struct {
	Id                uuid.ClientUserId           `json:"id"`
	ClientId          uuid.ClientId               `json:"clientId"`
	UserId            uuid.UserId                 `json:"userId"`
	Status            enum.ClientUserStatusEnum   `json:"status"`
	RoleCode          enum.ClientUserRoleCodeEnum `json:"roleCode"`
	CanViewFinances   types.Bool                  `json:"canViewFinances"`
	CanEditFinances   types.Bool                  `json:"canEditFinances"`
	CanCreateProjects types.Bool                  `json:"canCreateProjects"`
	User              UserLight                   `json:"user"`
	Client            ClientLight                 `json:"client"`
}

type ClientUserList added in v1.0.16

type ClientUserList struct {
	ClientUserList ClientUserListClientUserList `json:"clientUserList"`
}

type ClientUserListClientUserList added in v1.0.16

type ClientUserListClientUserList []ClientUserExtra

func (ClientUserListClientUserList) MarshalJSON added in v1.0.16

func (dto ClientUserListClientUserList) MarshalJSON() ([]byte, error)

type ClientUserProjectRole added in v1.0.16

type ClientUserProjectRole struct {
	Id        uuid.ClientUserProjectId    `json:"id"`
	ProjectId uuid.ProjectId              `json:"projectId"`
	RoleCode  enum.ClientUserRoleCodeEnum `json:"roleCode"`
}

type ClientUserProjectRoleList added in v1.0.16

type ClientUserProjectRoleList struct {
	ProjectRoleList ClientUserProjectRoleListProjectRoleList `json:"projectRoleList"`
}

type ClientUserProjectRoleListProjectRoleList added in v1.0.16

type ClientUserProjectRoleListProjectRoleList []ClientUserProjectRole

func (ClientUserProjectRoleListProjectRoleList) MarshalJSON added in v1.0.16

func (dto ClientUserProjectRoleListProjectRoleList) MarshalJSON() ([]byte, error)

type ClientUserValidate

type ClientUserValidate struct {
	Id    uuid.UserId `json:"id"`
	Email types.Email `json:"email"`
}

type Country

type Country struct {
	Id   stringId.CountryId `json:"id"`
	Name types.String       `json:"name"`
	InEu types.Bool         `json:"inEu"`
}

type Currency

type Currency struct {
	Id                  stringId.CurrencyId `json:"id"`
	Symbol              types.String        `json:"symbol"`
	DisplaySymbolBefore types.Bool          `json:"displaySymbolBefore"`
	RoundDigits         types.Int           `json:"roundDigits"`
}

type CustomAutoscaling

type CustomAutoscaling struct {
	VerticalAutoscalingNullable   *VerticalAutoscalingNullable   `json:"verticalAutoscalingNullable"`
	HorizontalAutoscalingNullable *HorizontalAutoscalingNullable `json:"horizontalAutoscalingNullable"`
}

type DeletePublicHttpRouting

type DeletePublicHttpRouting struct {
	Deleted           types.Bool         `json:"deleted"`
	PublicHttpRouting *PublicHttpRouting `json:"publicHttpRouting"`
}

type DeletePublicPortRouting

type DeletePublicPortRouting struct {
	Deleted           types.Bool         `json:"deleted"`
	PublicPortRouting *PublicPortRouting `json:"publicPortRouting"`
}

type EnvFile added in v1.0.12

type EnvFile struct {
	EnvFile types.String `json:"envFile"`
}

type ErrorObject

type ErrorObject struct {
	Code    types.String         `json:"code"`
	Message types.String         `json:"message"`
	Meta    types.JsonRawMessage `json:"meta"`
}

type EsAppVersion

type EsAppVersion struct {
	Id                uuid.AppVersionId            `json:"id"`
	ClientId          uuid.ClientId                `json:"clientId"`
	ProjectId         uuid.ProjectId               `json:"projectId"`
	ServiceStackId    uuid.ServiceStackId          `json:"serviceStackId"`
	Build             *AppVersionBuild             `json:"build"`
	Source            enum.AppVersionSourceEnum    `json:"source"`
	Sequence          types.Int                    `json:"sequence"`
	Status            enum.AppVersionStatusEnum    `json:"status"`
	UserData          EsAppVersionUserData         `json:"userData"`
	GithubIntegration *AppVersionGithubIntegration `json:"githubIntegration"`
	PublicGitSource   *AppVersionPublicGitSource   `json:"publicGitSource"`
	Created           types.DateTime               `json:"created"`
	LastUpdate        types.DateTime               `json:"lastUpdate"`
}

type EsAppVersionResponse

type EsAppVersionResponse struct {
	Limit     types.Int                 `json:"limit"`
	Offset    types.Int                 `json:"offset"`
	TotalHits types.Int                 `json:"totalHits"`
	Items     EsAppVersionResponseItems `json:"items"`
}

type EsAppVersionResponseItems

type EsAppVersionResponseItems []EsAppVersion

func (EsAppVersionResponseItems) MarshalJSON

func (dto EsAppVersionResponseItems) MarshalJSON() ([]byte, error)

type EsAppVersionUserData

type EsAppVersionUserData []AppVersionUserData

func (EsAppVersionUserData) MarshalJSON

func (dto EsAppVersionUserData) MarshalJSON() ([]byte, error)

type EsCardPayment

type EsCardPayment struct {
	Id                uuid.CardPaymentId              `json:"id"`
	ClientId          uuid.ClientId                   `json:"clientId"`
	Status            enum.PaymentStatusEnum          `json:"status"`
	RequestId         types.StringNull                `json:"requestId"`
	Created           types.DateTime                  `json:"created"`
	Amount            types.Decimal                   `json:"amount"`
	AmountVat         types.Decimal                   `json:"amountVat"`
	CurrencyId        stringId.CurrencyId             `json:"currencyId"`
	DatePaid          types.DateTimeNull              `json:"datePaid"`
	InteractionType   enum.PaymentInteractionTypeEnum `json:"interactionType"`
	LastUpdate        types.DateTime                  `json:"lastUpdate"`
	PaymentMethod     types.StringNull                `json:"paymentMethod"`
	PaymentObject     types.JsonRawMessage            `json:"paymentObject"`
	BillingInfoObject types.JsonRawMessage            `json:"billingInfoObject"`
}

type EsCardPaymentResponse

type EsCardPaymentResponse struct {
	Limit     types.Int                  `json:"limit"`
	Offset    types.Int                  `json:"offset"`
	TotalHits types.Int                  `json:"totalHits"`
	Items     EsCardPaymentResponseItems `json:"items"`
}

type EsCardPaymentResponseItems

type EsCardPaymentResponseItems []EsCardPayment

func (EsCardPaymentResponseItems) MarshalJSON

func (dto EsCardPaymentResponseItems) MarshalJSON() ([]byte, error)

type EsClient

type EsClient struct {
	Id         uuid.ClientIdNull `json:"id"`
	Created    types.DateTime    `json:"created"`
	LastUpdate types.DateTime    `json:"lastUpdate"`
}

type EsClientResponse

type EsClientResponse struct {
	Limit     types.Int             `json:"limit"`
	Offset    types.Int             `json:"offset"`
	TotalHits types.Int             `json:"totalHits"`
	Items     EsClientResponseItems `json:"items"`
}

type EsClientResponseItems

type EsClientResponseItems []EsClient

func (EsClientResponseItems) MarshalJSON

func (dto EsClientResponseItems) MarshalJSON() ([]byte, error)

type EsClientUser

type EsClientUser struct {
	Id                uuid.ClientUserId           `json:"id"`
	ClientId          uuid.ClientId               `json:"clientId"`
	UserId            uuid.UserId                 `json:"userId"`
	Status            enum.ClientUserStatusEnum   `json:"status"`
	RoleCode          enum.ClientUserRoleCodeEnum `json:"roleCode"`
	CanViewFinances   types.Bool                  `json:"canViewFinances"`
	CanEditFinances   types.Bool                  `json:"canEditFinances"`
	CanCreateProjects types.Bool                  `json:"canCreateProjects"`
	Client            ClientLight                 `json:"client"`
	User              UserLight                   `json:"user"`
}

type EsClientUserResponse

type EsClientUserResponse struct {
	Limit     types.Int                 `json:"limit"`
	Offset    types.Int                 `json:"offset"`
	TotalHits types.Int                 `json:"totalHits"`
	Items     EsClientUserResponseItems `json:"items"`
}

type EsClientUserResponseItems

type EsClientUserResponseItems []EsClientUser

func (EsClientUserResponseItems) MarshalJSON

func (dto EsClientUserResponseItems) MarshalJSON() ([]byte, error)

type EsContainer

type EsContainer struct {
	Id                      uuid.ContainerId          `json:"id"`
	ClientId                uuid.ClientId             `json:"clientId"`
	ProjectId               uuid.ProjectId            `json:"projectId"`
	InstanceId              uuid.InstanceId           `json:"instanceId"`
	ServiceStackId          uuid.ServiceStackId       `json:"serviceStackId"`
	ServiceId               uuid.ServiceId            `json:"serviceId"`
	Status                  *enum.ContainerStatusEnum `json:"status"`
	Number                  types.Int                 `json:"number"`
	Name                    types.StringNull          `json:"name"`
	Hostname                types.StringNull          `json:"hostname"`
	CurrentHardwareResource HardwareResource          `json:"currentHardwareResource"`
	Created                 types.DateTime            `json:"created"`
	LastUpdate              types.DateTime            `json:"lastUpdate"`
}

type EsContainerResponse

type EsContainerResponse struct {
	Limit     types.Int                `json:"limit"`
	Offset    types.Int                `json:"offset"`
	TotalHits types.Int                `json:"totalHits"`
	Items     EsContainerResponseItems `json:"items"`
}

type EsContainerResponseItems

type EsContainerResponseItems []EsContainer

func (EsContainerResponseItems) MarshalJSON

func (dto EsContainerResponseItems) MarshalJSON() ([]byte, error)

type EsCountry

type EsCountry struct {
	Id   stringId.CountryId     `json:"id"`
	Name LanguageTextJsonObject `json:"name"`
	InEu types.Bool             `json:"inEu"`
}

type EsCountryResponse

type EsCountryResponse struct {
	Limit     types.Int              `json:"limit"`
	Offset    types.Int              `json:"offset"`
	TotalHits types.Int              `json:"totalHits"`
	Items     EsCountryResponseItems `json:"items"`
}

type EsCountryResponseItems

type EsCountryResponseItems []EsCountry

func (EsCountryResponseItems) MarshalJSON

func (dto EsCountryResponseItems) MarshalJSON() ([]byte, error)

type EsCurrency

type EsCurrency struct {
	Id                  stringId.CurrencyId `json:"id"`
	Symbol              types.String        `json:"symbol"`
	DisplaySymbolBefore types.Bool          `json:"displaySymbolBefore"`
	RoundDigits         types.Int           `json:"roundDigits"`
}

type EsCurrencyResponse

type EsCurrencyResponse struct {
	Limit     types.Int               `json:"limit"`
	Offset    types.Int               `json:"offset"`
	TotalHits types.Int               `json:"totalHits"`
	Items     EsCurrencyResponseItems `json:"items"`
}

type EsCurrencyResponseItems

type EsCurrencyResponseItems []EsCurrency

func (EsCurrencyResponseItems) MarshalJSON

func (dto EsCurrencyResponseItems) MarshalJSON() ([]byte, error)

type EsGroupBySearchResponse added in v1.0.13

type EsGroupBySearchResponse struct {
	Items       types.JsonRawMessageArray       `json:"items"`
	TotalHits   types.Int                       `json:"totalHits"`
	Limit       types.IntNull                   `json:"limit"`
	From        types.DateTimeNull              `json:"from"`
	Till        types.DateTimeNull              `json:"till"`
	ProjectId   uuid.ProjectIdNull              `json:"projectId"`
	StackId     uuid.ServiceStackIdNull         `json:"stackId"`
	GroupBy     enum.EsGroupBySearchGroupByEnum `json:"groupBy"`
	TimeGroupBy types.String                    `json:"timeGroupBy"`
}

type EsLanguage

type EsLanguage struct {
	Id   stringId.LanguageId `json:"id"`
	Name types.String        `json:"name"`
}

type EsLanguageResponse

type EsLanguageResponse struct {
	Limit     types.Int               `json:"limit"`
	Offset    types.Int               `json:"offset"`
	TotalHits types.Int               `json:"totalHits"`
	Items     EsLanguageResponseItems `json:"items"`
}

type EsLanguageResponseItems

type EsLanguageResponseItems []EsLanguage

func (EsLanguageResponseItems) MarshalJSON

func (dto EsLanguageResponseItems) MarshalJSON() ([]byte, error)

type EsProcess

type EsProcess struct {
	Id              uuid.ProcessId          `json:"id"`
	ClientId        uuid.ClientId           `json:"clientId"`
	ProjectId       uuid.ProjectId          `json:"projectId"`
	ServiceStackId  uuid.ServiceStackIdNull `json:"serviceStackId"`
	Project         *ProjectLightJsonObject `json:"project"`
	ServiceStacks   EsProcessServiceStacks  `json:"serviceStacks"`
	Status          enum.ProcessStatusEnum  `json:"status"`
	Sequence        types.Int               `json:"sequence"`
	CreatedByUser   UserJsonObject          `json:"createdByUser"`
	CanceledByUser  *UserJsonObject         `json:"canceledByUser"`
	ActionName      types.String            `json:"actionName"`
	Created         types.DateTime          `json:"created"`
	LastUpdate      types.DateTime          `json:"lastUpdate"`
	Started         types.DateTimeNull      `json:"started"`
	Finished        types.DateTimeNull      `json:"finished"`
	CreatedBySystem types.Bool              `json:"createdBySystem"`
	AppVersion      *AppVersionJsonObject   `json:"appVersion"`
	PublicMeta      types.MapNull           `json:"publicMeta"`
}

type EsProcessResponse

type EsProcessResponse struct {
	Limit     types.Int              `json:"limit"`
	Offset    types.Int              `json:"offset"`
	TotalHits types.Int              `json:"totalHits"`
	Items     EsProcessResponseItems `json:"items"`
}

type EsProcessResponseItems

type EsProcessResponseItems []EsProcess

func (EsProcessResponseItems) MarshalJSON

func (dto EsProcessResponseItems) MarshalJSON() ([]byte, error)

type EsProcessServiceStacks

type EsProcessServiceStacks []ServiceStackLightJsonObject

func (EsProcessServiceStacks) MarshalJSON

func (dto EsProcessServiceStacks) MarshalJSON() ([]byte, error)

type EsProject

type EsProject struct {
	Id                  uuid.ProjectId         `json:"id"`
	ClientId            uuid.ClientId          `json:"clientId"`
	Name                types.String           `json:"name"`
	Mode                enum.ProjectModeEnum   `json:"mode"`
	Description         types.TextNull         `json:"description"`
	TagList             types.StringArray      `json:"tagList"`
	Status              enum.ProjectStatusEnum `json:"status"`
	Created             types.DateTime         `json:"created"`
	LastUpdate          types.DateTime         `json:"lastUpdate"`
	PublicIpV4          types.StringNull       `json:"publicIpV4"`
	PublicIpV6          types.StringNull       `json:"publicIpV6"`
	PublicIpV4Shared    types.Bool             `json:"publicIpV4Shared"`
	PublicZone          types.String           `json:"publicZone"`
	ZeropsSubdomainHost types.StringNull       `json:"zeropsSubdomainHost"`
	LogForwardingType   types.StringNull       `json:"logForwardingType"`
	AutoStartup         types.Bool             `json:"autoStartup"`
	EnvList             EsProjectEnvList       `json:"envList"`
	UserRoles           EsProjectUserRoles     `json:"userRoles"`
}

type EsProjectEnvList added in v1.0.11

type EsProjectEnvList []ProjectEnv

func (EsProjectEnvList) MarshalJSON added in v1.0.11

func (dto EsProjectEnvList) MarshalJSON() ([]byte, error)

type EsProjectResponse

type EsProjectResponse struct {
	Limit     types.Int              `json:"limit"`
	Offset    types.Int              `json:"offset"`
	TotalHits types.Int              `json:"totalHits"`
	Items     EsProjectResponseItems `json:"items"`
}

type EsProjectResponseItems

type EsProjectResponseItems []EsProject

func (EsProjectResponseItems) MarshalJSON

func (dto EsProjectResponseItems) MarshalJSON() ([]byte, error)

type EsProjectUserRole added in v1.0.16

type EsProjectUserRole struct {
	ClientUserId uuid.ClientUserId           `json:"clientUserId"`
	RoleCode     enum.ClientUserRoleCodeEnum `json:"roleCode"`
}

type EsProjectUserRoles added in v1.0.16

type EsProjectUserRoles []EsProjectUserRole

func (EsProjectUserRoles) MarshalJSON added in v1.0.16

func (dto EsProjectUserRoles) MarshalJSON() ([]byte, error)

type EsPublicHttpRouting

type EsPublicHttpRouting struct {
	Id           uuid.PublicHttpRoutingId     `json:"id"`
	ClientId     uuid.ClientId                `json:"clientId"`
	ProjectId    uuid.ProjectId               `json:"projectId"`
	SslEnabled   types.Bool                   `json:"sslEnabled"`
	Domains      EsPublicHttpRoutingDomains   `json:"domains"`
	Locations    EsPublicHttpRoutingLocations `json:"locations"`
	Created      types.DateTime               `json:"created"`
	LastUpdate   types.DateTime               `json:"lastUpdate"`
	IsSynced     types.Bool                   `json:"isSynced"`
	DeleteOnSync types.Bool                   `json:"deleteOnSync"`
	IsEditable   types.Bool                   `json:"isEditable"`
	CdnEnabled   types.Bool                   `json:"cdnEnabled"`
}

type EsPublicHttpRoutingDomains

type EsPublicHttpRoutingDomains []PublicHttpRoutingDomain

func (EsPublicHttpRoutingDomains) MarshalJSON

func (dto EsPublicHttpRoutingDomains) MarshalJSON() ([]byte, error)

type EsPublicHttpRoutingLocations

type EsPublicHttpRoutingLocations []PublicHttpRoutingLocation

func (EsPublicHttpRoutingLocations) MarshalJSON

func (dto EsPublicHttpRoutingLocations) MarshalJSON() ([]byte, error)

type EsPublicHttpRoutingResponse

type EsPublicHttpRoutingResponse struct {
	Limit     types.Int                        `json:"limit"`
	Offset    types.Int                        `json:"offset"`
	TotalHits types.Int                        `json:"totalHits"`
	Items     EsPublicHttpRoutingResponseItems `json:"items"`
}

type EsPublicHttpRoutingResponseItems

type EsPublicHttpRoutingResponseItems []EsPublicHttpRouting

func (EsPublicHttpRoutingResponseItems) MarshalJSON

func (dto EsPublicHttpRoutingResponseItems) MarshalJSON() ([]byte, error)

type EsPublicPortRouting

type EsPublicPortRouting struct {
	Id                uuid.PublicPortRoutingId                 `json:"id"`
	ClientId          uuid.ClientId                            `json:"clientId"`
	ProjectId         uuid.ProjectId                           `json:"projectId"`
	ServiceStackId    uuid.ServiceStackId                      `json:"serviceStackId"`
	PublicIpType      enum.PublicPortRoutingPublicIpTypeEnum   `json:"publicIpType"`
	PublicPort        types.Int                                `json:"publicPort"`
	InternalPort      types.Int                                `json:"internalPort"`
	InternalProtocol  enum.ServicePortProtocolEnum             `json:"internalProtocol"`
	FirewallPolicy    enum.PublicPortRoutingFirewallPolicyEnum `json:"firewallPolicy"`
	FirewallIpRanges  types.StringArray                        `json:"firewallIpRanges"`
	FirewallAllowMyIp types.Bool                               `json:"firewallAllowMyIp"`
	Created           types.DateTime                           `json:"created"`
	LastUpdate        types.DateTime                           `json:"lastUpdate"`
	IsSynced          types.Bool                               `json:"isSynced"`
	DeleteOnSync      types.Bool                               `json:"deleteOnSync"`
}

type EsPublicPortRoutingResponse

type EsPublicPortRoutingResponse struct {
	Limit     types.Int                        `json:"limit"`
	Offset    types.Int                        `json:"offset"`
	TotalHits types.Int                        `json:"totalHits"`
	Items     EsPublicPortRoutingResponseItems `json:"items"`
}

type EsPublicPortRoutingResponseItems

type EsPublicPortRoutingResponseItems []EsPublicPortRouting

func (EsPublicPortRoutingResponseItems) MarshalJSON

func (dto EsPublicPortRoutingResponseItems) MarshalJSON() ([]byte, error)

type EsService

type EsService struct {
	Id               uuid.ServiceId          `json:"id"`
	ClientId         uuid.ClientId           `json:"clientId"`
	ProjectId        uuid.ProjectId          `json:"projectId"`
	InstanceId       uuid.InstanceId         `json:"instanceId"`
	ServiceStackId   uuid.ServiceStackId     `json:"serviceStackId"`
	Name             types.String            `json:"name"`
	Status           *enum.ServiceStatusEnum `json:"status"`
	StackAccessPoint types.Bool              `json:"stackAccessPoint"`
	Created          types.DateTime          `json:"created"`
	LastUpdate       types.DateTime          `json:"lastUpdate"`
}

type EsServiceResponse

type EsServiceResponse struct {
	Limit     types.Int              `json:"limit"`
	Offset    types.Int              `json:"offset"`
	TotalHits types.Int              `json:"totalHits"`
	Items     EsServiceResponseItems `json:"items"`
}

type EsServiceResponseItems

type EsServiceResponseItems []EsService

func (EsServiceResponseItems) MarshalJSON

func (dto EsServiceResponseItems) MarshalJSON() ([]byte, error)

type EsServiceStack

type EsServiceStack struct {
	Id                                 uuid.ServiceStackId                `json:"id"`
	ClientId                           uuid.ClientId                      `json:"clientId"`
	ProjectId                          uuid.ProjectId                     `json:"projectId"`
	InstanceId                         uuid.InstanceId                    `json:"instanceId"`
	ServiceStackTypeId                 stringId.ServiceStackTypeId        `json:"serviceStackTypeId"`
	ServiceStackTypeVersionId          stringId.ServiceStackTypeVersionId `json:"serviceStackTypeVersionId"`
	DriverId                           stringId.DriverIdNull              `json:"driverId"`
	ServiceStackTypeInfo               ServiceStackInfoJsonObject         `json:"serviceStackTypeInfo"`
	Status                             enum.ServiceStackStatusEnum        `json:"status"`
	Name                               types.String                       `json:"name"`
	Created                            types.DateTime                     `json:"created"`
	LastUpdate                         types.DateTime                     `json:"lastUpdate"`
	Ports                              EsServiceStackPorts                `json:"ports"`
	RequestedPorts                     RequestedPortsJsonObject           `json:"requestedPorts"`
	IsSystem                           types.Bool                         `json:"isSystem"`
	Mode                               *enum.ServiceStackModeEnum         `json:"mode"`
	SubdomainAccess                    types.Bool                         `json:"subdomainAccess"`
	VersionNumber                      types.EmptyString                  `json:"versionNumber"`
	ReloadAvailable                    types.Bool                         `json:"reloadAvailable"`
	Project                            ProjectLight                       `json:"project"`
	UserData                           EsServiceStackUserData             `json:"userData"`
	ConnectedStacks                    EsServiceStackConnectedStacks      `json:"connectedStacks"`
	ActiveAppVersion                   *AppVersionLight                   `json:"activeAppVersion"`
	HasUnsyncedUserDataRecord          types.Bool                         `json:"hasUnsyncedUserDataRecord"`
	HasUnsyncedPublicHttpRoutingRecord types.Bool                         `json:"hasUnsyncedPublicHttpRoutingRecord"`
	HasUnsyncedPublicPortRecord        types.Bool                         `json:"hasUnsyncedPublicPortRecord"`
	HasPublicHttpRoutingAccess         types.Bool                         `json:"hasPublicHttpRoutingAccess"`
	HasPublicPortRoutingAccess         types.Bool                         `json:"hasPublicPortRoutingAccess"`
	ActivePublicHttpRoutingCount       types.IntNull                      `json:"activePublicHttpRoutingCount"`
	ActivePublicPortRoutingCount       types.IntNull                      `json:"activePublicPortRoutingCount"`
	StartOnProjectStart                types.Bool                         `json:"startOnProjectStart"`
	GithubIntegration                  *GithubIntegration                 `json:"githubIntegration"`
	GitlabIntegration                  *GitlabIntegration                 `json:"gitlabIntegration"`
	CustomAutoscaling                  *CustomAutoscaling                 `json:"customAutoscaling"`
	BuildCache                         *BuildCache                        `json:"buildCache"`
	CdnEnabled                         types.Bool                         `json:"cdnEnabled"`
}

type EsServiceStackConnectedStacks

type EsServiceStackConnectedStacks []ServiceStackConnectedServiceStack

func (EsServiceStackConnectedStacks) MarshalJSON

func (dto EsServiceStackConnectedStacks) MarshalJSON() ([]byte, error)

type EsServiceStackPorts

type EsServiceStackPorts []ServicePort

func (EsServiceStackPorts) MarshalJSON

func (dto EsServiceStackPorts) MarshalJSON() ([]byte, error)

type EsServiceStackResponse

type EsServiceStackResponse struct {
	Limit     types.Int                   `json:"limit"`
	Offset    types.Int                   `json:"offset"`
	TotalHits types.Int                   `json:"totalHits"`
	Items     EsServiceStackResponseItems `json:"items"`
}

type EsServiceStackResponseItems

type EsServiceStackResponseItems []EsServiceStack

func (EsServiceStackResponseItems) MarshalJSON

func (dto EsServiceStackResponseItems) MarshalJSON() ([]byte, error)

type EsServiceStackType

type EsServiceStackType struct {
	Id                           stringId.ServiceStackTypeId                   `json:"id"`
	Name                         types.String                                  `json:"name"`
	Description                  types.Text                                    `json:"description"`
	DefaultServiceStackVersionId stringId.ServiceStackTypeVersionIdNull        `json:"defaultServiceStackVersionId"`
	Category                     enum.ServiceStackTypeCategoryEnum             `json:"category"`
	Created                      types.DateTime                                `json:"created"`
	LastUpdate                   types.DateTime                                `json:"lastUpdate"`
	DefaultServiceStackVersion   *ServiceStackTypeVersionLight                 `json:"defaultServiceStackVersion"`
	ServiceStackTypeVersionList  EsServiceStackTypeServiceStackTypeVersionList `json:"serviceStackTypeVersionList"`
}

type EsServiceStackTypeResponse

type EsServiceStackTypeResponse struct {
	Limit     types.Int                       `json:"limit"`
	Offset    types.Int                       `json:"offset"`
	TotalHits types.Int                       `json:"totalHits"`
	Items     EsServiceStackTypeResponseItems `json:"items"`
}

type EsServiceStackTypeResponseItems

type EsServiceStackTypeResponseItems []EsServiceStackType

func (EsServiceStackTypeResponseItems) MarshalJSON

func (dto EsServiceStackTypeResponseItems) MarshalJSON() ([]byte, error)

type EsServiceStackTypeServiceStackTypeVersionList

type EsServiceStackTypeServiceStackTypeVersionList []ServiceStackTypeVersionLight

func (EsServiceStackTypeServiceStackTypeVersionList) MarshalJSON

type EsServiceStackUserData

type EsServiceStackUserData []UserDataLight

func (EsServiceStackUserData) MarshalJSON

func (dto EsServiceStackUserData) MarshalJSON() ([]byte, error)

type EsStatsHistory

type EsStatsHistory struct {
	From           types.DateTime   `json:"from"`
	Till           types.DateTime   `json:"till"`
	ProjectId      types.String     `json:"projectId"`
	ServiceStackId types.String     `json:"serviceStackId"`
	ServiceId      types.StringNull `json:"serviceId"`
	ContainerId    types.StringNull `json:"containerId"`
	ContainerCount types.IntNull    `json:"containerCount"`
	CpuLimit       types.Float      `json:"cpuLimit"`
	CpuUsed        types.Float      `json:"cpuUsed"`
	VCpuLimit      types.Float      `json:"vCpuLimit"`
	VCpuUsed       types.Float      `json:"vCpuUsed"`
	RamLimit       types.Float      `json:"ramLimit"`
	RamUsed        types.Float      `json:"ramUsed"`
	DiskLimit      types.Float      `json:"diskLimit"`
	DiskUsed       types.Float      `json:"diskUsed"`
}

type EsStatsHistoryList

type EsStatsHistoryList struct {
	Limit       types.IntNull                  `json:"limit"`
	From        types.DateTimeNull             `json:"from"`
	Till        types.DateTimeNull             `json:"till"`
	TotalHits   types.Int                      `json:"totalHits"`
	GroupBy     enum.EsStatsHistoryGroupByEnum `json:"groupBy"`
	TimeGroupBy types.String                   `json:"timeGroupBy"`
	Items       EsStatsHistoryListItems        `json:"items"`
}

type EsStatsHistoryListItems

type EsStatsHistoryListItems []EsStatsHistory

func (EsStatsHistoryListItems) MarshalJSON

func (dto EsStatsHistoryListItems) MarshalJSON() ([]byte, error)

type EsTransactionDebitCostItem

type EsTransactionDebitCostItem struct {
	Id         types.String                 `json:"id"`
	PeriodCost EsTransactionDebitPeriodCost `json:"periodCost"`
}

type EsTransactionDebitCostResponse

type EsTransactionDebitCostResponse struct {
	Client  EsTransactionDebitCostItem            `json:"client"`
	Project EsTransactionDebitCostResponseProject `json:"project"`
	Stack   EsTransactionDebitCostResponseStack   `json:"stack"`
}

type EsTransactionDebitCostResponseProject

type EsTransactionDebitCostResponseProject []EsTransactionDebitCostItem

func (EsTransactionDebitCostResponseProject) MarshalJSON

func (dto EsTransactionDebitCostResponseProject) MarshalJSON() ([]byte, error)

type EsTransactionDebitCostResponseStack

type EsTransactionDebitCostResponseStack []EsTransactionDebitCostItem

func (EsTransactionDebitCostResponseStack) MarshalJSON

func (dto EsTransactionDebitCostResponseStack) MarshalJSON() ([]byte, error)

type EsTransactionDebitPeriodCost

type EsTransactionDebitPeriodCost struct {
	Last24hours                types.Float `json:"last24hours"`
	Last7days                  types.Float `json:"last7days"`
	Last30days                 types.Float `json:"last30days"`
	Last12month                types.Float `json:"last12month"`
	Today                      types.Float `json:"today"`
	Yesterday                  types.Float `json:"yesterday"`
	LastMonth                  types.Float `json:"lastMonth"`
	ThisMonth                  types.Float `json:"thisMonth"`
	LastYear                   types.Float `json:"lastYear"`
	ThisYear                   types.Float `json:"thisYear"`
	AverageLast30Days          types.Float `json:"averageLast30Days"`
	AverageLast30DaysPrecision types.Int   `json:"averageLast30DaysPrecision"`
}

type EsUserData

type EsUserData struct {
	Id               uuid.UserDataId       `json:"id"`
	ClientId         uuid.ClientId         `json:"clientId"`
	ProjectId        uuid.ProjectId        `json:"projectId"`
	ServiceStackId   uuid.ServiceStackId   `json:"serviceStackId"`
	Key              types.String          `json:"key"`
	Content          types.Text            `json:"content"`
	Type             enum.UserDataTypeEnum `json:"type"`
	Created          types.DateTime        `json:"created"`
	LastUpdate       types.DateTime        `json:"lastUpdate"`
	ServiceStackName types.String          `json:"serviceStackName"`
}

type EsUserDataResponse

type EsUserDataResponse struct {
	Limit     types.Int               `json:"limit"`
	Offset    types.Int               `json:"offset"`
	TotalHits types.Int               `json:"totalHits"`
	Items     EsUserDataResponseItems `json:"items"`
}

type EsUserDataResponseItems

type EsUserDataResponseItems []EsUserData

func (EsUserDataResponseItems) MarshalJSON

func (dto EsUserDataResponseItems) MarshalJSON() ([]byte, error)

type EsUserNotification

type EsUserNotification struct {
	Id              uuid.UserNotificationId         `json:"id"`
	ClientId        uuid.ClientId                   `json:"clientId"`
	Project         *ProjectLightJsonObject         `json:"project"`
	ServiceStacks   EsUserNotificationServiceStacks `json:"serviceStacks"`
	Type            enum.UserNotificationTypeEnum   `json:"type"`
	CreatedByUser   UserJsonObject                  `json:"createdByUser"`
	CanceledByUser  *UserJsonObject                 `json:"canceledByUser"`
	ActionName      types.String                    `json:"actionName"`
	ActionCreated   types.DateTime                  `json:"actionCreated"`
	ActionFinished  types.DateTimeNull              `json:"actionFinished"`
	Error           *ErrorObject                    `json:"error"`
	UserId          uuid.UserId                     `json:"userId"`
	Acknowledged    types.Bool                      `json:"acknowledged"`
	AppVersion      *AppVersionJsonObject           `json:"appVersion"`
	UnreadByUserIds types.StringArray               `json:"unreadByUserIds"`
}

type EsUserNotificationResponse

type EsUserNotificationResponse struct {
	Limit     types.Int                       `json:"limit"`
	Offset    types.Int                       `json:"offset"`
	TotalHits types.Int                       `json:"totalHits"`
	Items     EsUserNotificationResponseItems `json:"items"`
}

type EsUserNotificationResponseItems

type EsUserNotificationResponseItems []EsUserNotification

func (EsUserNotificationResponseItems) MarshalJSON

func (dto EsUserNotificationResponseItems) MarshalJSON() ([]byte, error)

type EsUserNotificationServiceStacks

type EsUserNotificationServiceStacks []ServiceStackLightJsonObject

func (EsUserNotificationServiceStacks) MarshalJSON

func (dto EsUserNotificationServiceStacks) MarshalJSON() ([]byte, error)

type ExternalRepositoryIntegration

type ExternalRepositoryIntegration struct {
	GitlabIntegration *GitlabIntegration `json:"gitlabIntegration"`
	GithubIntegration *GithubIntegration `json:"githubIntegration"`
}

type FileBrowsing

type FileBrowsing struct {
	AccessToken        uuid.FileBrowsingAccessToken `json:"accessToken"`
	Expiration         types.DateTime               `json:"expiration"`
	ListUrl            types.String                 `json:"listUrl"`
	ReadFileUrl        types.String                 `json:"readFileUrl"`
	ReadFileContentUrl types.String                 `json:"readFileContentUrl"`
}

type FileDownload

type FileDownload struct{}

type FirstClassRecipe added in v1.0.16

type FirstClassRecipe struct {
	ProjectId   uuid.ProjectId            `json:"projectId"`
	ProjectName types.String              `json:"projectName"`
	Processes   FirstClassRecipeProcesses `json:"processes"`
}

type FirstClassRecipeProcesses added in v1.0.16

type FirstClassRecipeProcesses []Process

func (FirstClassRecipeProcesses) MarshalJSON added in v1.0.16

func (dto FirstClassRecipeProcesses) MarshalJSON() ([]byte, error)

type GetAppVersion

type GetAppVersion struct {
	Id                uuid.AppVersionId            `json:"id"`
	ClientId          uuid.ClientId                `json:"clientId"`
	ProjectId         uuid.ProjectId               `json:"projectId"`
	ServiceStackId    uuid.ServiceStackId          `json:"serviceStackId"`
	Build             *AppVersionBuild             `json:"build"`
	Source            enum.AppVersionSourceEnum    `json:"source"`
	Sequence          types.Int                    `json:"sequence"`
	Status            enum.AppVersionStatusEnum    `json:"status"`
	UserDataList      GetAppVersionUserDataList    `json:"userDataList"`
	Created           types.DateTime               `json:"created"`
	LastUpdate        types.DateTime               `json:"lastUpdate"`
	GithubIntegration *AppVersionGithubIntegration `json:"githubIntegration"`
	GitlabIntegration *AppVersionGitlabIntegration `json:"gitlabIntegration"`
	CreatedByUser     *UserJsonObject              `json:"createdByUser"`
	ActivationDate    types.DateTimeNull           `json:"activationDate"`
	PublicGitSource   *AppVersionPublicGitSource   `json:"publicGitSource"`
}

type GetAppVersionUserDataList

type GetAppVersionUserDataList []AppVersionUserData

func (GetAppVersionUserDataList) MarshalJSON

func (dto GetAppVersionUserDataList) MarshalJSON() ([]byte, error)

type GetBilling

type GetBilling struct {
	Current *BillingInfo `json:"current"`
}

type GetProjectsByName

type GetProjectsByName struct {
	Projects GetProjectsByNameProjects `json:"projects"`
}

type GetProjectsByNameProjects

type GetProjectsByNameProjects []Project

func (GetProjectsByNameProjects) MarshalJSON

func (dto GetProjectsByNameProjects) MarshalJSON() ([]byte, error)

type GetRecipeData added in v1.0.16

type GetRecipeData struct {
	Name         types.String              `json:"name"`
	Content      types.String              `json:"content"`
	Extracts     types.Map                 `json:"extracts"`
	Environments GetRecipeDataEnvironments `json:"environments"`
	Errors       types.StringArrayNull     `json:"errors"`
}

type GetRecipeDataEnvironments added in v1.0.16

type GetRecipeDataEnvironments []GetRecipeEnvironment

func (GetRecipeDataEnvironments) MarshalJSON added in v1.0.16

func (dto GetRecipeDataEnvironments) MarshalJSON() ([]byte, error)

type GetRecipeEnvironment added in v1.0.16

type GetRecipeEnvironment struct {
	Name        types.String                 `json:"name"`
	Content     types.String                 `json:"content"`
	Extracts    types.Map                    `json:"extracts"`
	Import      types.String                 `json:"import"`
	ProjectName types.String                 `json:"projectName"`
	Services    GetRecipeEnvironmentServices `json:"services"`
}

type GetRecipeEnvironmentServices added in v1.0.16

type GetRecipeEnvironmentServices []GetRecipeService

func (GetRecipeEnvironmentServices) MarshalJSON added in v1.0.16

func (dto GetRecipeEnvironmentServices) MarshalJSON() ([]byte, error)

type GetRecipeInfo added in v1.0.12

type GetRecipeInfo struct {
	Url              types.String                  `json:"url"`
	ReadmeMd         GetRecipeInfoReadmeMd         `json:"readmeMd"`
	ZeropsYaml       GetRecipeInfoZeropsYaml       `json:"zeropsYaml"`
	ZeropsImportYaml GetRecipeInfoZeropsImportYaml `json:"zeropsImportYaml"`
}

type GetRecipeInfoItem added in v1.0.12

type GetRecipeInfoItem struct {
	Name    types.String `json:"name"`
	Url     types.String `json:"url"`
	Content types.Text   `json:"content"`
}

type GetRecipeInfoReadmeMd added in v1.0.13

type GetRecipeInfoReadmeMd []GetRecipeInfoItem

func (GetRecipeInfoReadmeMd) MarshalJSON added in v1.0.13

func (dto GetRecipeInfoReadmeMd) MarshalJSON() ([]byte, error)

type GetRecipeInfoZeropsImportYaml added in v1.0.12

type GetRecipeInfoZeropsImportYaml []GetRecipeInfoItem

func (GetRecipeInfoZeropsImportYaml) MarshalJSON added in v1.0.12

func (dto GetRecipeInfoZeropsImportYaml) MarshalJSON() ([]byte, error)

type GetRecipeInfoZeropsYaml added in v1.0.12

type GetRecipeInfoZeropsYaml []GetRecipeInfoItem

func (GetRecipeInfoZeropsYaml) MarshalJSON added in v1.0.12

func (dto GetRecipeInfoZeropsYaml) MarshalJSON() ([]byte, error)

type GetRecipeService added in v1.0.16

type GetRecipeService struct {
	Name               types.String                       `json:"name"`
	TypeId             stringId.ServiceStackTypeId        `json:"typeId"`
	TypeName           types.String                       `json:"typeName"`
	TypeVersionId      stringId.ServiceStackTypeVersionId `json:"typeVersionId"`
	TypeVersionName    types.String                       `json:"typeVersionName"`
	ExactVersionNumber types.String                       `json:"exactVersionNumber"`
	Category           enum.ServiceStackTypeCategoryEnum  `json:"category"`
	Mode               enum.ServiceStackModeEnum          `json:"mode"`
	GitRepo            types.StringNull                   `json:"gitRepo"`
	Content            types.StringNull                   `json:"content"`
	ZeropsYaml         types.StringNull                   `json:"zeropsYaml"`
	Extracts           types.Map                          `json:"extracts"`
	Autoscaling        *CustomAutoscaling                 `json:"autoscaling"`
	Ports              GetRecipeServicePorts              `json:"ports"`
	ObjectStorageSize  types.IntNull                      `json:"objectStorageSize"`
	IsUtility          types.Bool                         `json:"isUtility"`
}

type GetRecipeServicePorts added in v1.0.16

type GetRecipeServicePorts []ServicePort

func (GetRecipeServicePorts) MarshalJSON added in v1.0.16

func (dto GetRecipeServicePorts) MarshalJSON() ([]byte, error)

type GithubAuth

type GithubAuth struct {
	GithubUrl types.String `json:"githubUrl"`
}

type GithubIntegration

type GithubIntegration struct {
	UserId                types.String                        `json:"userId"`
	AuthorizationRequired types.Bool                          `json:"authorizationRequired"`
	BranchName            types.StringNull                    `json:"branchName"`
	TagRegex              types.StringNull                    `json:"tagRegex"`
	EventType             enum.GithubIntegrationEventTypeEnum `json:"eventType"`
	IsActive              types.Bool                          `json:"isActive"`
	RepositoryFullName    types.String                        `json:"repositoryFullName"`
	WebhookId             types.IntNull                       `json:"webhookId"`
	ZeropsYamlSetup       types.StringNull                    `json:"zeropsYamlSetup"`
}

type GitlabAuth

type GitlabAuth struct {
	GitlabUrl types.String `json:"gitlabUrl"`
}

type GitlabIntegration

type GitlabIntegration struct {
	UserId                types.String                        `json:"userId"`
	AuthorizationRequired types.Bool                          `json:"authorizationRequired"`
	BranchName            types.StringNull                    `json:"branchName"`
	TagRegex              types.StringNull                    `json:"tagRegex"`
	EventType             enum.GitlabIntegrationEventTypeEnum `json:"eventType"`
	IsActive              types.Bool                          `json:"isActive"`
	RepositoryFullName    types.String                        `json:"repositoryFullName"`
	WebhookId             types.IntNull                       `json:"webhookId"`
	ZeropsYamlSetup       types.StringNull                    `json:"zeropsYamlSetup"`
}

type HardwareResource

type HardwareResource struct {
	CpuCoreCount types.Int `json:"cpuCoreCount"`
	MemoryMBytes types.Int `json:"memoryMBytes"`
	DiskGBytes   types.Int `json:"diskGBytes"`
}

type HorizontalAutoscaling

type HorizontalAutoscaling struct {
	MaxContainerCount types.Int `json:"maxContainerCount"`
	MinContainerCount types.Int `json:"minContainerCount"`
}

type HorizontalAutoscalingNullable added in v1.0.9

type HorizontalAutoscalingNullable struct {
	MaxContainerCount types.IntNull `json:"maxContainerCount"`
	MinContainerCount types.IntNull `json:"minContainerCount"`
}

type Invoice

type Invoice struct {
	Id              uuid.InvoiceId         `json:"id"`
	ClientId        uuid.ClientId          `json:"clientId"`
	CurrencyId      stringId.CurrencyId    `json:"currencyId"`
	PaymentId       uuid.CardPaymentIdNull `json:"paymentId"`
	Created         types.DateTime         `json:"created"`
	LastUpdate      types.DateTime         `json:"lastUpdate"`
	Status          enum.InvoiceStatusEnum `json:"status"`
	Number          types.String           `json:"number"`
	BillingInfo     types.JsonRawMessage   `json:"billingInfo"`
	Supplier        types.JsonRawMessage   `json:"supplier"`
	VatRate         types.Float            `json:"vatRate"`
	Amount          types.Float            `json:"amount"`
	AmountVat       types.Float            `json:"amountVat"`
	AmountVatCzk    types.Float            `json:"amountVatCzk"`
	CurrencyRateCzk types.Float            `json:"currencyRateCzk"`
	Total           types.Float            `json:"total"`
	DueDate         types.DateTime         `json:"dueDate"`
	PaidDate        types.DateTimeNull     `json:"paidDate"`
}

type Language

type Language struct {
	Id   stringId.LanguageId `json:"id"`
	Name types.String        `json:"name"`
}

type LanguageTextJsonObject

type LanguageTextJsonObject struct {
	Cs types.String `json:"cs"`
	En types.String `json:"en"`
}

type LocationServiceStackInfo

type LocationServiceStackInfo struct {
	ServiceStackName            types.String `json:"serviceStackName"`
	ServiceStackTypeName        types.String `json:"serviceStackTypeName"`
	ServiceStackTypeVersionName types.String `json:"serviceStackTypeVersionName"`
}

type NginxConfig added in v1.0.16

type NginxConfig struct {
	DefaultSite types.Text `json:"defaultSite"`
}

type PaymentSource

type PaymentSource struct {
	Id                 types.String `json:"id"`
	Object             types.String `json:"object"`
	AddressCity        types.String `json:"addressCity"`
	AddressCountry     types.String `json:"addressCountry"`
	AddressLine1       types.String `json:"addressLine1"`
	AddressLine1Check  types.String `json:"addressLine1Check"`
	AddressLine2       types.String `json:"addressLine2"`
	AddressState       types.String `json:"addressState"`
	AddressZip         types.String `json:"addressZip"`
	AddressZipCheck    types.String `json:"addressZipCheck"`
	Brand              types.String `json:"brand"`
	Country            types.String `json:"country"`
	CvcCheck           types.String `json:"cvcCheck"`
	ExpMonth           types.String `json:"expMonth"`
	ExpYear            types.String `json:"expYear"`
	Funding            types.String `json:"funding"`
	Last4              types.String `json:"last4"`
	Name               types.String `json:"name"`
	TokenizationMethod types.String `json:"tokenizationMethod"`
	Metadata           types.Map    `json:"metadata"`
}

type PaymentSources

type PaymentSources struct {
	ClientId uuid.PaymentSourcesClientId `json:"clientId"`
	Sources  PaymentSourcesSources       `json:"sources"`
}

type PaymentSourcesSources

type PaymentSourcesSources []PaymentSource

func (PaymentSourcesSources) MarshalJSON

func (dto PaymentSourcesSources) MarshalJSON() ([]byte, error)

type PostAppVersion

type PostAppVersion struct {
	Id             uuid.AppVersionId          `json:"id"`
	ClientId       uuid.ClientId              `json:"clientId"`
	ProjectId      uuid.ProjectId             `json:"projectId"`
	ServiceStackId uuid.ServiceStackId        `json:"serviceStackId"`
	Build          *AppVersionBuild           `json:"build"`
	Sequence       types.Int                  `json:"sequence"`
	Status         enum.AppVersionStatusEnum  `json:"status"`
	UserDataList   PostAppVersionUserDataList `json:"userDataList"`
	Created        types.DateTime             `json:"created"`
	LastUpdate     types.DateTime             `json:"lastUpdate"`
	UploadUrl      types.String               `json:"uploadUrl"`
}

type PostAppVersionUserDataList

type PostAppVersionUserDataList []AppVersionUserData

func (PostAppVersionUserDataList) MarshalJSON

func (dto PostAppVersionUserDataList) MarshalJSON() ([]byte, error)

type PostBilling

type PostBilling struct {
	ClientSecret  types.String `json:"clientSecret"`
	PaymentId     types.String `json:"paymentId"`
	PaymentStatus types.String `json:"paymentStatus"`
}

type PrepareCustomRuntime

type PrepareCustomRuntime struct {
	ContainerCreationStart types.DateTimeNull      `json:"containerCreationStart"`
	StartDate              types.DateTimeNull      `json:"startDate"`
	EndDate                types.DateTimeNull      `json:"endDate"`
	ServiceStackId         uuid.ServiceStackIdNull `json:"serviceStackId"`
	ServiceStackName       types.StringNull        `json:"serviceStackName"`
	Reason                 types.StringNull        `json:"reason"`
}

type Process

type Process struct {
	Id              uuid.ProcessId          `json:"id"`
	ClientId        uuid.ClientId           `json:"clientId"`
	ProjectId       uuid.ProjectId          `json:"projectId"`
	ServiceStackId  uuid.ServiceStackIdNull `json:"serviceStackId"`
	Project         *ProjectLightJsonObject `json:"project"`
	ServiceStacks   ProcessServiceStacks    `json:"serviceStacks"`
	Status          enum.ProcessStatusEnum  `json:"status"`
	Sequence        types.Int               `json:"sequence"`
	CreatedByUser   UserJsonObject          `json:"createdByUser"`
	CanceledByUser  *UserJsonObject         `json:"canceledByUser"`
	ActionName      types.String            `json:"actionName"`
	Created         types.DateTime          `json:"created"`
	LastUpdate      types.DateTime          `json:"lastUpdate"`
	Started         types.DateTimeNull      `json:"started"`
	Finished        types.DateTimeNull      `json:"finished"`
	CreatedBySystem types.Bool              `json:"createdBySystem"`
	AppVersion      *AppVersionJsonObject   `json:"appVersion"`
	PublicMeta      types.MapNull           `json:"publicMeta"`
}

type ProcessNil added in v1.0.4

type ProcessNil struct {
	Process *Process `json:"process"`
}

type ProcessServiceStacks

type ProcessServiceStacks []ServiceStackLightJsonObject

func (ProcessServiceStacks) MarshalJSON

func (dto ProcessServiceStacks) MarshalJSON() ([]byte, error)

type Project

type Project struct {
	Id                  uuid.ProjectId         `json:"id"`
	ClientId            uuid.ClientId          `json:"clientId"`
	Name                types.String           `json:"name"`
	Mode                enum.ProjectModeEnum   `json:"mode"`
	Description         types.TextNull         `json:"description"`
	TagList             types.StringArray      `json:"tagList"`
	Status              enum.ProjectStatusEnum `json:"status"`
	Created             types.DateTime         `json:"created"`
	LastUpdate          types.DateTime         `json:"lastUpdate"`
	RecipeSource        types.TextNull         `json:"recipeSource"`
	UserRoles           ProjectUserRoles       `json:"userRoles"`
	PublicIpV4          types.StringNull       `json:"publicIpV4"`
	PublicIpV4Shared    types.Bool             `json:"publicIpV4Shared"`
	PublicIpV6          types.StringNull       `json:"publicIpV6"`
	PublicZone          types.String           `json:"publicZone"`
	ZeropsSubdomainHost types.StringNull       `json:"zeropsSubdomainHost"`
	LogForwardingType   types.StringNull       `json:"logForwardingType"`
	AutoStartup         types.Bool             `json:"autoStartup"`
}

type ProjectEnv added in v1.0.11

type ProjectEnv struct {
	Id         uuid.EnvId       `json:"id"`
	Created    types.DateTime   `json:"created"`
	LastUpdate types.DateTime   `json:"lastUpdate"`
	ClientId   uuid.ClientId    `json:"clientId"`
	ProjectId  uuid.ProjectId   `json:"projectId"`
	Key        types.String     `json:"key"`
	Content    types.Text       `json:"content"`
	Type       enum.EnvTypeEnum `json:"type"`
	Sensitive  types.Bool       `json:"sensitive"`
	Editable   types.Bool       `json:"editable"`
}

type ProjectExport

type ProjectExport struct {
	Yaml types.Text `json:"yaml"`
}

type ProjectImport

type ProjectImport struct {
	ProjectId     uuid.ProjectId             `json:"projectId"`
	ProjectName   types.String               `json:"projectName"`
	ServiceStacks ProjectImportServiceStacks `json:"serviceStacks"`
}

type ProjectImportServiceStack

type ProjectImportServiceStack struct {
	Id        uuid.ServiceStackId                `json:"id"`
	Name      types.String                       `json:"name"`
	Error     *ErrorObject                       `json:"error"`
	Processes ProjectImportServiceStackProcesses `json:"processes"`
}

type ProjectImportServiceStackProcesses

type ProjectImportServiceStackProcesses []Process

func (ProjectImportServiceStackProcesses) MarshalJSON

func (dto ProjectImportServiceStackProcesses) MarshalJSON() ([]byte, error)

type ProjectImportServiceStacks

type ProjectImportServiceStacks []ProjectImportServiceStack

func (ProjectImportServiceStacks) MarshalJSON

func (dto ProjectImportServiceStacks) MarshalJSON() ([]byte, error)

type ProjectL7httpbalancerConfig added in v1.0.13

type ProjectL7httpbalancerConfig struct {
	Values ProjectL7httpbalancerConfigValues `json:"values"`
}

type ProjectL7httpbalancerConfigValue added in v1.0.13

type ProjectL7httpbalancerConfigValue struct {
	Name    types.String     `json:"name"`
	Current types.StringNull `json:"current"`
	Default types.String     `json:"default"`
}

type ProjectL7httpbalancerConfigValues added in v1.0.13

type ProjectL7httpbalancerConfigValues []ProjectL7httpbalancerConfigValue

func (ProjectL7httpbalancerConfigValues) MarshalJSON added in v1.0.13

func (dto ProjectL7httpbalancerConfigValues) MarshalJSON() ([]byte, error)

type ProjectLight

type ProjectLight struct {
	Id           uuid.ProjectId         `json:"id"`
	ClientId     uuid.ClientId          `json:"clientId"`
	Name         types.String           `json:"name"`
	Mode         enum.ProjectModeEnum   `json:"mode"`
	Description  types.TextNull         `json:"description"`
	TagList      types.StringArray      `json:"tagList"`
	Status       enum.ProjectStatusEnum `json:"status"`
	Created      types.DateTime         `json:"created"`
	LastUpdate   types.DateTime         `json:"lastUpdate"`
	RecipeSource types.TextNull         `json:"recipeSource"`
	UserRoles    ProjectLightUserRoles  `json:"userRoles"`
}

type ProjectLightJsonObject

type ProjectLightJsonObject struct {
	Id           uuid.ProjectId         `json:"id"`
	ClientId     uuid.ClientId          `json:"clientId"`
	Name         types.String           `json:"name"`
	Description  types.TextNull         `json:"description"`
	TagList      types.StringArray      `json:"tagList"`
	Status       enum.ProjectStatusEnum `json:"status"`
	Created      types.DateTime         `json:"created"`
	LastUpdate   types.DateTime         `json:"lastUpdate"`
	RecipeSource types.TextNull         `json:"recipeSource"`
}

type ProjectLightUserRoles added in v1.0.16

type ProjectLightUserRoles []ProjectUserRole

func (ProjectLightUserRoles) MarshalJSON added in v1.0.16

func (dto ProjectLightUserRoles) MarshalJSON() ([]byte, error)

type ProjectLog

type ProjectLog struct {
	AccessToken uuid.ProjectLogAccessToken `json:"accessToken"`
	Expiration  types.DateTime             `json:"expiration"`
	Url         types.String               `json:"url"`
	UrlInfo     types.String               `json:"urlInfo"`
	UrlPlain    types.String               `json:"urlPlain"`
}

type ProjectUserRole added in v1.0.16

type ProjectUserRole struct {
	Id       uuid.ClientUserId           `json:"id"`
	RoleCode enum.ClientUserRoleCodeEnum `json:"roleCode"`
}

type ProjectUserRoles added in v1.0.16

type ProjectUserRoles []ProjectUserRole

func (ProjectUserRoles) MarshalJSON added in v1.0.16

func (dto ProjectUserRoles) MarshalJSON() ([]byte, error)

type ProjectVpnItem added in v1.0.5

type ProjectVpnItem struct {
	Project ProjectVpnSetup     `json:"project"`
	Peer    ProjectVpnPeerSetup `json:"peer"`
}

type ProjectVpnList added in v1.0.5

type ProjectVpnList struct {
	Peers   ProjectVpnListPeers `json:"peers"`
	Project ProjectVpnSetup     `json:"project"`
}

type ProjectVpnListPeers added in v1.0.7

type ProjectVpnListPeers []ProjectVpnPeerSetup

func (ProjectVpnListPeers) MarshalJSON added in v1.0.7

func (dto ProjectVpnListPeers) MarshalJSON() ([]byte, error)

type ProjectVpnPeerSetup added in v1.0.7

type ProjectVpnPeerSetup struct {
	PublicKey    types.String `json:"publicKey"`
	Ipv4         VpnIpConfig  `json:"ipv4"`
	Ipv6         VpnIpConfig  `json:"ipv6"`
	Setup        types.String `json:"setup"`
	SetupLinux   types.String `json:"setupLinux"`
	SetupMacOS   types.String `json:"setupMacOS"`
	SetupWindows types.String `json:"setupWindows"`
}

type ProjectVpnSetup added in v1.0.5

type ProjectVpnSetup struct {
	PublicKey types.String `json:"publicKey"`
	Ipv4      VpnConfig    `json:"ipv4"`
	Ipv6      VpnConfig    `json:"ipv6"`
}

type PublicHttpRouting

type PublicHttpRouting struct {
	Id           uuid.PublicHttpRoutingId   `json:"id"`
	ClientId     uuid.ClientId              `json:"clientId"`
	ProjectId    uuid.ProjectId             `json:"projectId"`
	SslEnabled   types.Bool                 `json:"sslEnabled"`
	Domains      PublicHttpRoutingDomains   `json:"domains"`
	Locations    PublicHttpRoutingLocations `json:"locations"`
	Created      types.DateTime             `json:"created"`
	LastUpdate   types.DateTime             `json:"lastUpdate"`
	IsSynced     types.Bool                 `json:"isSynced"`
	IsEditable   types.Bool                 `json:"isEditable"`
	DeleteOnSync types.Bool                 `json:"deleteOnSync"`
	CdnEnabled   types.Bool                 `json:"cdnEnabled"`
}

type PublicHttpRoutingDomain

type PublicHttpRoutingDomain struct {
	DomainName     types.String                  `json:"domainName"`
	DnsCheckStatus enum.DomainDnsCheckStatusEnum `json:"dnsCheckStatus"`
	SslStatus      enum.DomainSslStatusEnum      `json:"sslStatus"`
	CdnStatus      enum.DomainCdnStatusEnum      `json:"cdnStatus"`
}

type PublicHttpRoutingDomains

type PublicHttpRoutingDomains []PublicHttpRoutingDomain

func (PublicHttpRoutingDomains) MarshalJSON

func (dto PublicHttpRoutingDomains) MarshalJSON() ([]byte, error)

type PublicHttpRoutingLocation

type PublicHttpRoutingLocation struct {
	Path             types.String                     `json:"path"`
	Port             types.Int                        `json:"port"`
	Config           *PublicHttpRoutingLocationConfig `json:"config"`
	ServiceStackId   uuid.ServiceStackId              `json:"serviceStackId"`
	ServiceStackInfo LocationServiceStackInfo         `json:"serviceStackInfo"`
}

type PublicHttpRoutingLocationAccessPolicy added in v1.0.13

type PublicHttpRoutingLocationAccessPolicy struct {
	Enabled       types.Bool                                                  `json:"enabled"`
	DefaultPolicy enum.PublicHttpRoutingLocationAccessPolicyDefaultPolicyEnum `json:"defaultPolicy"`
	Cidr          types.StringArray                                           `json:"cidr"`
}

type PublicHttpRoutingLocationBasicAuth added in v1.0.13

type PublicHttpRoutingLocationBasicAuth struct {
	Enabled types.Bool                              `json:"enabled"`
	Realm   types.EmptyString                       `json:"realm"`
	Users   PublicHttpRoutingLocationBasicAuthUsers `json:"users"`
}

type PublicHttpRoutingLocationBasicAuthUser added in v1.0.13

type PublicHttpRoutingLocationBasicAuthUser struct {
	Username types.EmptyString `json:"username"`
	Password types.EmptyString `json:"password"`
	Comment  types.EmptyString `json:"comment"`
}

type PublicHttpRoutingLocationBasicAuthUsers added in v1.0.13

type PublicHttpRoutingLocationBasicAuthUsers []PublicHttpRoutingLocationBasicAuthUser

func (PublicHttpRoutingLocationBasicAuthUsers) MarshalJSON added in v1.0.13

func (dto PublicHttpRoutingLocationBasicAuthUsers) MarshalJSON() ([]byte, error)

type PublicHttpRoutingLocationConfig added in v1.0.13

type PublicHttpRoutingLocationConfig struct {
	Redirect     *PublicHttpRoutingLocationRedirect     `json:"redirect"`
	AccessPolicy *PublicHttpRoutingLocationAccessPolicy `json:"accessPolicy"`
	RateLimiting *PublicHttpRoutingLocationRateLimiting `json:"rateLimiting"`
	BasicAuth    *PublicHttpRoutingLocationBasicAuth    `json:"basicAuth"`
	Content      *PublicHttpRoutingLocationContent      `json:"content"`
}

type PublicHttpRoutingLocationContent added in v1.0.13

type PublicHttpRoutingLocationContent struct {
	Enabled     types.Bool        `json:"enabled"`
	Code        types.Int         `json:"code"`
	Content     types.Text        `json:"content"`
	ContentType types.EmptyString `json:"contentType"`
}

type PublicHttpRoutingLocationRateLimiting added in v1.0.13

type PublicHttpRoutingLocationRateLimiting struct {
	Enabled  types.Bool                                        `json:"enabled"`
	Key      enum.PublicHttpRoutingLocationRateLimitingKeyEnum `json:"key"`
	Burst    types.Int                                         `json:"burst"`
	Rate     types.Int                                         `json:"rate"`
	Zone     types.EmptyString                                 `json:"zone"`
	ZoneSize types.Int                                         `json:"zoneSize"`
}

type PublicHttpRoutingLocationRedirect added in v1.0.13

type PublicHttpRoutingLocationRedirect struct {
	Enabled       types.Bool        `json:"enabled"`
	To            types.EmptyString `json:"to"`
	Code          types.Int         `json:"code"`
	PreservePath  types.Bool        `json:"preservePath"`
	PreserveQuery types.Bool        `json:"preserveQuery"`
}

type PublicHttpRoutingLocations

type PublicHttpRoutingLocations []PublicHttpRoutingLocation

func (PublicHttpRoutingLocations) MarshalJSON

func (dto PublicHttpRoutingLocations) MarshalJSON() ([]byte, error)

type PublicPortRouting

type PublicPortRouting struct {
	Id                uuid.PublicPortRoutingId                 `json:"id"`
	ClientId          uuid.ClientId                            `json:"clientId"`
	ProjectId         uuid.ProjectId                           `json:"projectId"`
	ServiceStackId    uuid.ServiceStackId                      `json:"serviceStackId"`
	PublicIpType      enum.PublicPortRoutingPublicIpTypeEnum   `json:"publicIpType"`
	PublicPort        types.Int                                `json:"publicPort"`
	InternalPort      types.Int                                `json:"internalPort"`
	InternalProtocol  enum.ServicePortProtocolEnum             `json:"internalProtocol"`
	FirewallPolicy    enum.PublicPortRoutingFirewallPolicyEnum `json:"firewallPolicy"`
	FirewallIpRanges  types.StringArray                        `json:"firewallIpRanges"`
	FirewallAllowMyIp types.Bool                               `json:"firewallAllowMyIp"`
	Created           types.DateTime                           `json:"created"`
	LastUpdate        types.DateTime                           `json:"lastUpdate"`
	IsSynced          types.Bool                               `json:"isSynced"`
	DeleteOnSync      types.Bool                               `json:"deleteOnSync"`
}

type Region added in v1.0.5

type Region struct {
	Name      types.String `json:"name"`
	IsDefault types.Bool   `json:"isDefault"`
	Address   types.String `json:"address"`
}

type RegionList added in v1.0.5

type RegionList struct {
	Items RegionListItems `json:"items"`
}

type RegionListItems added in v1.0.5

type RegionListItems []Region

func (RegionListItems) MarshalJSON added in v1.0.5

func (dto RegionListItems) MarshalJSON() ([]byte, error)

type RequestedPortsJsonObject

type RequestedPortsJsonObject struct {
	IsActive       types.Bool                             `json:"isActive"`
	RequestedPorts RequestedPortsJsonObjectRequestedPorts `json:"requestedPorts"`
}

type RequestedPortsJsonObjectRequestedPorts

type RequestedPortsJsonObjectRequestedPorts []ServicePort

func (RequestedPortsJsonObjectRequestedPorts) MarshalJSON

func (dto RequestedPortsJsonObjectRequestedPorts) MarshalJSON() ([]byte, error)

type ScalingMinFreeResource added in v1.0.9

type ScalingMinFreeResource struct {
	CpuCoreCount   types.Float `json:"cpuCoreCount"`
	CpuCorePercent types.Float `json:"cpuCorePercent"`
	MemoryGBytes   types.Float `json:"memoryGBytes"`
	MemoryPercent  types.Float `json:"memoryPercent"`
}

type ScalingMinFreeResourceNullable added in v1.0.9

type ScalingMinFreeResourceNullable struct {
	CpuCoreCount   types.FloatNull `json:"cpuCoreCount"`
	CpuCorePercent types.FloatNull `json:"cpuCorePercent"`
	MemoryGBytes   types.FloatNull `json:"memoryGBytes"`
	MemoryPercent  types.FloatNull `json:"memoryPercent"`
}

type ScalingResource

type ScalingResource struct {
	CpuCoreCount types.Int   `json:"cpuCoreCount"`
	MemoryGBytes types.Float `json:"memoryGBytes"`
	DiskGBytes   types.Float `json:"diskGBytes"`
}

type ScalingResourceNullable added in v1.0.9

type ScalingResourceNullable struct {
	CpuCoreCount types.IntNull   `json:"cpuCoreCount"`
	MemoryGBytes types.FloatNull `json:"memoryGBytes"`
	DiskGBytes   types.FloatNull `json:"diskGBytes"`
}

type ServicePort

type ServicePort struct {
	Protocol    enum.ServicePortProtocolEnum `json:"protocol"`
	Port        types.Int                    `json:"port"`
	Description types.EmptyString            `json:"description"`
	PortRouting types.BoolNull               `json:"portRouting"`
	HttpRouting types.BoolNull               `json:"httpRouting"`
	Scheme      enum.ServicePortSchemeEnum   `json:"scheme"`
	ServiceId   uuid.ServiceIdNull           `json:"serviceId"`
}

type ServiceStack

type ServiceStack struct {
	Id                        uuid.ServiceStackId                `json:"id"`
	Status                    enum.ServiceStackStatusEnum        `json:"status"`
	Name                      types.String                       `json:"name"`
	ServiceStackTypeInfo      ServiceStackInfoJsonObject         `json:"serviceStackTypeInfo"`
	ServiceStackTypeId        stringId.ServiceStackTypeId        `json:"serviceStackTypeId"`
	ServiceStackTypeVersionId stringId.ServiceStackTypeVersionId `json:"serviceStackTypeVersionId"`
	IsSystem                  types.Bool                         `json:"isSystem"`
	StartOnProjectStart       types.Bool                         `json:"startOnProjectStart"`
	GithubIntegration         *GithubIntegration                 `json:"githubIntegration"`
	GitlabIntegration         *GitlabIntegration                 `json:"gitlabIntegration"`
	CurrentAutoscaling        *CustomAutoscaling                 `json:"currentAutoscaling"`
	CustomAutoscaling         *CustomAutoscaling                 `json:"customAutoscaling"`
	BuildCache                *BuildCache                        `json:"buildCache"`
	CdnEnabled                types.Bool                         `json:"cdnEnabled"`
	NestId                    stringId.NestId                    `json:"nestId"`
	RecipeSource              types.TextNull                     `json:"recipeSource"`
	Ports                     ServiceStackPorts                  `json:"ports"`
	RequestedPorts            RequestedPortsJsonObject           `json:"requestedPorts"`
	Created                   types.DateTime                     `json:"created"`
	LastUpdate                types.DateTime                     `json:"lastUpdate"`
	Mode                      enum.ServiceStackModeEnum          `json:"mode"`
	CustomPortsEnabled        types.Bool                         `json:"customPortsEnabled"`
	SubdomainAccess           types.Bool                         `json:"subdomainAccess"`
	ReloadAvailable           types.Bool                         `json:"reloadAvailable"`
	VersionNumber             types.EmptyString                  `json:"versionNumber"`
	ProjectId                 uuid.ProjectId                     `json:"projectId"`
	Project                   ProjectLight                       `json:"project"`
	ConnectedStacks           ServiceStackConnectedStacks        `json:"connectedStacks"`
	UserData                  ServiceStackUserData               `json:"userData"`
	ActiveAppVersion          *GetAppVersion                     `json:"activeAppVersion"`
	CoreService               *ServiceStackLight                 `json:"coreService"`
}

type ServiceStackBackup added in v1.0.11

type ServiceStackBackup struct {
	Success types.Bool `json:"success"`
	Async   types.Bool `json:"async"`
}

type ServiceStackBackupFile added in v1.0.11

type ServiceStackBackupFile struct {
	Path     types.String `json:"path"`
	Name     types.String `json:"name"`
	Size     types.Int64  `json:"size"`
	Metadata types.Map    `json:"metadata"`
}

type ServiceStackBackupFileList added in v1.0.11

type ServiceStackBackupFileList struct {
	Files                  ServiceStackBackupFileListFiles `json:"files"`
	BackupPeriod           types.String                    `json:"backupPeriod"`
	RetentionPolicy        *BackupRetentionPolicy          `json:"retentionPolicy"`
	DefaultRetentionPolicy BackupRetentionPolicy           `json:"defaultRetentionPolicy"`
}

type ServiceStackBackupFileListFiles added in v1.0.11

type ServiceStackBackupFileListFiles []ServiceStackBackupFile

func (ServiceStackBackupFileListFiles) MarshalJSON added in v1.0.11

func (dto ServiceStackBackupFileListFiles) MarshalJSON() ([]byte, error)

type ServiceStackConnectedServiceStack

type ServiceStackConnectedServiceStack struct {
	ServiceStack ServiceStackLight                     `json:"serviceStack"`
	Status       enum.ServiceStackConnectionStatusEnum `json:"status"`
}

type ServiceStackConnectedStacks

type ServiceStackConnectedStacks []ServiceStackConnectedServiceStack

func (ServiceStackConnectedStacks) MarshalJSON

func (dto ServiceStackConnectedStacks) MarshalJSON() ([]byte, error)

type ServiceStackDebug added in v1.0.11

type ServiceStackDebug struct {
	DebugBuild          enum.ServiceStackDebugDebugEnum `json:"debugBuild"`
	DebugRuntimePrepare enum.ServiceStackDebugDebugEnum `json:"debugRuntimePrepare"`
}

type ServiceStackDiskGBytesUsed

type ServiceStackDiskGBytesUsed struct {
	DiskGBytesUsed types.Float `json:"diskGBytesUsed"`
	Objects        types.Int64 `json:"objects"`
	RawPolicy      types.Text  `json:"rawPolicy"`
}

type ServiceStackEnv added in v1.0.13

type ServiceStackEnv struct {
	Id             uuid.UserDataId       `json:"id"`
	ClientId       uuid.ClientId         `json:"clientId"`
	ProjectId      uuid.ProjectId        `json:"projectId"`
	ServiceStackId uuid.ServiceStackId   `json:"serviceStackId"`
	Key            types.String          `json:"key"`
	Content        types.Text            `json:"content"`
	Type           enum.UserDataTypeEnum `json:"type"`
	Sensitive      types.Bool            `json:"sensitive"`
	Created        types.DateTime        `json:"created"`
	LastUpdate     types.DateTime        `json:"lastUpdate"`
}

type ServiceStackEnvList added in v1.0.13

type ServiceStackEnvList struct {
	Items ServiceStackEnvListItems `json:"items"`
}

type ServiceStackEnvListItems added in v1.0.13

type ServiceStackEnvListItems []ServiceStackEnv

func (ServiceStackEnvListItems) MarshalJSON added in v1.0.13

func (dto ServiceStackEnvListItems) MarshalJSON() ([]byte, error)

type ServiceStackInfoJsonObject

type ServiceStackInfoJsonObject struct {
	ServiceStackTypeName        types.String                      `json:"serviceStackTypeName"`
	ServiceStackTypeCategory    enum.ServiceStackTypeCategoryEnum `json:"serviceStackTypeCategory"`
	ServiceStackTypeVersionName types.String                      `json:"serviceStackTypeVersionName"`
}

type ServiceStackLight

type ServiceStackLight struct {
	Id                        uuid.ServiceStackId                `json:"id"`
	Status                    enum.ServiceStackStatusEnum        `json:"status"`
	Name                      types.String                       `json:"name"`
	ServiceStackTypeInfo      ServiceStackInfoJsonObject         `json:"serviceStackTypeInfo"`
	ServiceStackTypeId        stringId.ServiceStackTypeId        `json:"serviceStackTypeId"`
	ServiceStackTypeVersionId stringId.ServiceStackTypeVersionId `json:"serviceStackTypeVersionId"`
	IsSystem                  types.Bool                         `json:"isSystem"`
	StartOnProjectStart       types.Bool                         `json:"startOnProjectStart"`
	GithubIntegration         *GithubIntegration                 `json:"githubIntegration"`
	GitlabIntegration         *GitlabIntegration                 `json:"gitlabIntegration"`
	CurrentAutoscaling        *CustomAutoscaling                 `json:"currentAutoscaling"`
	CustomAutoscaling         *CustomAutoscaling                 `json:"customAutoscaling"`
	BuildCache                *BuildCache                        `json:"buildCache"`
	CdnEnabled                types.Bool                         `json:"cdnEnabled"`
	NestId                    stringId.NestId                    `json:"nestId"`
	RecipeSource              types.TextNull                     `json:"recipeSource"`
}

type ServiceStackLightJsonObject

type ServiceStackLightJsonObject struct {
	Id                        uuid.ServiceStackId                `json:"id"`
	Created                   types.DateTime                     `json:"created"`
	LastUpdate                types.DateTime                     `json:"lastUpdate"`
	ProjectId                 uuid.ProjectId                     `json:"projectId"`
	ServiceStackTypeId        stringId.ServiceStackTypeId        `json:"serviceStackTypeId"`
	ServiceStackTypeVersionId stringId.ServiceStackTypeVersionId `json:"serviceStackTypeVersionId"`
	DriverId                  stringId.DriverIdNull              `json:"driverId"`
	Name                      types.String                       `json:"name"`
	ServiceStackTypeInfo      ServiceStackInfoJsonObject         `json:"serviceStackTypeInfo"`
	Ports                     ServiceStackLightJsonObjectPorts   `json:"ports"`
}

type ServiceStackLightJsonObjectPorts

type ServiceStackLightJsonObjectPorts []ServicePort

func (ServiceStackLightJsonObjectPorts) MarshalJSON

func (dto ServiceStackLightJsonObjectPorts) MarshalJSON() ([]byte, error)

type ServiceStackPorts

type ServiceStackPorts []ServicePort

func (ServiceStackPorts) MarshalJSON

func (dto ServiceStackPorts) MarshalJSON() ([]byte, error)

type ServiceStackProcess

type ServiceStackProcess struct {
	Id                        uuid.ServiceStackId                `json:"id"`
	Status                    enum.ServiceStackStatusEnum        `json:"status"`
	Name                      types.String                       `json:"name"`
	ServiceStackTypeInfo      ServiceStackInfoJsonObject         `json:"serviceStackTypeInfo"`
	ServiceStackTypeId        stringId.ServiceStackTypeId        `json:"serviceStackTypeId"`
	ServiceStackTypeVersionId stringId.ServiceStackTypeVersionId `json:"serviceStackTypeVersionId"`
	IsSystem                  types.Bool                         `json:"isSystem"`
	StartOnProjectStart       types.Bool                         `json:"startOnProjectStart"`
	GithubIntegration         *GithubIntegration                 `json:"githubIntegration"`
	GitlabIntegration         *GitlabIntegration                 `json:"gitlabIntegration"`
	CurrentAutoscaling        *CustomAutoscaling                 `json:"currentAutoscaling"`
	CustomAutoscaling         *CustomAutoscaling                 `json:"customAutoscaling"`
	BuildCache                *BuildCache                        `json:"buildCache"`
	CdnEnabled                types.Bool                         `json:"cdnEnabled"`
	NestId                    stringId.NestId                    `json:"nestId"`
	RecipeSource              types.TextNull                     `json:"recipeSource"`
	Ports                     ServiceStackProcessPorts           `json:"ports"`
	RequestedPorts            RequestedPortsJsonObject           `json:"requestedPorts"`
	Created                   types.DateTime                     `json:"created"`
	LastUpdate                types.DateTime                     `json:"lastUpdate"`
	Mode                      enum.ServiceStackModeEnum          `json:"mode"`
	CustomPortsEnabled        types.Bool                         `json:"customPortsEnabled"`
	SubdomainAccess           types.Bool                         `json:"subdomainAccess"`
	ReloadAvailable           types.Bool                         `json:"reloadAvailable"`
	VersionNumber             types.EmptyString                  `json:"versionNumber"`
	ProjectId                 uuid.ProjectId                     `json:"projectId"`
	Project                   ProjectLight                       `json:"project"`
	ConnectedStacks           ServiceStackProcessConnectedStacks `json:"connectedStacks"`
	UserData                  ServiceStackProcessUserData        `json:"userData"`
	ActiveAppVersion          *GetAppVersion                     `json:"activeAppVersion"`
	CoreService               *ServiceStackLight                 `json:"coreService"`
	Process                   Process                            `json:"process"`
}

type ServiceStackProcessConnectedStacks

type ServiceStackProcessConnectedStacks []ServiceStackConnectedServiceStack

func (ServiceStackProcessConnectedStacks) MarshalJSON

func (dto ServiceStackProcessConnectedStacks) MarshalJSON() ([]byte, error)

type ServiceStackProcessPorts

type ServiceStackProcessPorts []ServicePort

func (ServiceStackProcessPorts) MarshalJSON

func (dto ServiceStackProcessPorts) MarshalJSON() ([]byte, error)

type ServiceStackProcessUserData

type ServiceStackProcessUserData []UserData

func (ServiceStackProcessUserData) MarshalJSON

func (dto ServiceStackProcessUserData) MarshalJSON() ([]byte, error)

type ServiceStackType

type ServiceStackType struct {
	Id                          stringId.ServiceStackTypeId                 `json:"id"`
	Name                        types.String                                `json:"name"`
	Description                 types.Text                                  `json:"description"`
	Created                     types.DateTime                              `json:"created"`
	LastUpdate                  types.DateTime                              `json:"lastUpdate"`
	Category                    enum.ServiceStackTypeCategoryEnum           `json:"category"`
	ServiceStackTypeVersionList ServiceStackTypeServiceStackTypeVersionList `json:"serviceStackTypeVersionList"`
}

type ServiceStackTypeServiceStackTypeVersionList

type ServiceStackTypeServiceStackTypeVersionList []ServiceStackTypeVersion

func (ServiceStackTypeServiceStackTypeVersionList) MarshalJSON

type ServiceStackTypeVersion

type ServiceStackTypeVersion struct {
	Id                 stringId.ServiceStackTypeVersionId     `json:"id"`
	Name               types.String                           `json:"name"`
	IsBuild            types.Bool                             `json:"isBuild"`
	ServiceStackTypeId stringId.ServiceStackTypeId            `json:"serviceStackTypeId"`
	Status             enum.ServiceStackTypeVersionStatusEnum `json:"status"`
	ReleaseDate        types.DateTime                         `json:"releaseDate"`
	Created            types.DateTime                         `json:"created"`
	LastUpdate         types.DateTime                         `json:"lastUpdate"`
	Description        types.Text                             `json:"description"`
	HaDriverId         stringId.DriverIdNull                  `json:"haDriverId"`
	NonHaDriverId      stringId.DriverIdNull                  `json:"nonHaDriverId"`
	VersionNumber      types.EmptyString                      `json:"versionNumber"`
	ExactVersionNumber types.EmptyString                      `json:"exactVersionNumber"`
	Config             ServiceStackTypeVersionConfig          `json:"config"`
	OsList             types.StringArray                      `json:"osList"`
}

type ServiceStackTypeVersionConfig

type ServiceStackTypeVersionConfig struct {
	DefaultWebserverConfig types.StringNull       `json:"defaultWebserverConfig"`
	DefaultAutoscaling     *CustomAutoscaling     `json:"defaultAutoscaling"`
	VerticalAutoscaling    *VerticalAutoscaling   `json:"verticalAutoscaling"`
	HorizontalAutoscaling  *HorizontalAutoscaling `json:"horizontalAutoscaling"`
}

type ServiceStackTypeVersionLight

type ServiceStackTypeVersionLight struct {
	Id                 stringId.ServiceStackTypeVersionId     `json:"id"`
	ServiceStackTypeId stringId.ServiceStackTypeId            `json:"serviceStackTypeId"`
	Name               types.String                           `json:"name"`
	IsBuild            types.Bool                             `json:"isBuild"`
	UpdateUrl          types.Text                             `json:"updateUrl"`
	Status             enum.ServiceStackTypeVersionStatusEnum `json:"status"`
	ReleaseDate        types.DateTime                         `json:"releaseDate"`
}

type ServiceStackUserData

type ServiceStackUserData []UserData

func (ServiceStackUserData) MarshalJSON

func (dto ServiceStackUserData) MarshalJSON() ([]byte, error)

type Settings

type Settings struct {
	CurrencyList     SettingsCurrencyList     `json:"currencyList"`
	LanguageList     SettingsLanguageList     `json:"languageList"`
	ServiceStackList SettingsServiceStackList `json:"serviceStackList"`
	LocationList     types.StringArray        `json:"locationList"`
}

type SettingsCountryList

type SettingsCountryList struct {
	List SettingsCountryListList `json:"list"`
}

type SettingsCountryListList

type SettingsCountryListList []Country

func (SettingsCountryListList) MarshalJSON

func (dto SettingsCountryListList) MarshalJSON() ([]byte, error)

type SettingsCurrencyList

type SettingsCurrencyList []Currency

func (SettingsCurrencyList) MarshalJSON

func (dto SettingsCurrencyList) MarshalJSON() ([]byte, error)

type SettingsLanguageList

type SettingsLanguageList []Language

func (SettingsLanguageList) MarshalJSON

func (dto SettingsLanguageList) MarshalJSON() ([]byte, error)

type SettingsServiceStackList

type SettingsServiceStackList []ServiceStackType

func (SettingsServiceStackList) MarshalJSON

func (dto SettingsServiceStackList) MarshalJSON() ([]byte, error)

type Success

type Success struct {
	Success types.Bool `json:"success"`
}

type SudoMode added in v1.0.16

type SudoMode struct {
	InSudo    types.Bool         `json:"inSudo"`
	SudoUntil types.DateTimeNull `json:"sudoUntil"`
}

type TagList

type TagList struct {
	Items types.StringArray `json:"items"`
}

type TotpRegistration added in v1.0.16

type TotpRegistration struct {
	SessionId uuid.TotpRegistrationSessionId `json:"sessionId"`
	Qrcode    types.String                   `json:"qrcode"`
	Code      types.String                   `json:"code"`
}

type TwoFAAuth added in v1.0.16

type TwoFAAuth struct {
	AccessToken      types.String          `json:"accessToken"`
	TokenType        types.String          `json:"tokenType"`
	ExpiresIn        types.Int             `json:"expiresIn"`
	ExpiresAt        types.DateTime        `json:"expiresAt"`
	TwoFAMethods     types.StringArrayNull `json:"twoFAMethods"`
	TwoFAVerified    types.BoolNull        `json:"twoFAVerified"`
	SudoUntil        types.DateTimeNull    `json:"sudoUntil"`
	UserId           uuid.AuthUserId       `json:"userId"`
	Author           Author                `json:"author"`
	NewRecoveryToken types.StringNull      `json:"newRecoveryToken"`
}

type TwoFAAuthLogin added in v1.0.16

type TwoFAAuthLogin struct {
	User             *User            `json:"user"`
	Auth             AuthFull         `json:"auth"`
	NewRecoveryToken types.StringNull `json:"newRecoveryToken"`
}

type TwoFARecoveryCodes added in v1.0.16

type TwoFARecoveryCodes struct {
	Codes types.StringArray `json:"codes"`
}

type Url

type Url struct {
	Url types.String `json:"url"`
}

type User

type User struct {
	Id                 uuid.UserId         `json:"id"`
	Email              types.Email         `json:"email"`
	FullName           types.String        `json:"fullName"`
	FirstName          types.String        `json:"firstName"`
	LastName           types.EmptyString   `json:"lastName"`
	Avatar             *UserAvatar         `json:"avatar"`
	CountryCallingCode types.IntNull       `json:"countryCallingCode"`
	PhoneNumber        types.IntNull       `json:"phoneNumber"`
	Language           Language            `json:"language"`
	Created            types.DateTime      `json:"created"`
	LastUpdate         types.DateTime      `json:"lastUpdate"`
	Status             enum.UserStatusEnum `json:"status"`
	ClientUserList     UserClientUserList  `json:"clientUserList"`
}

type UserAuthorize

type UserAuthorize struct {
	Id                 uuid.UserId                 `json:"id"`
	Email              types.Email                 `json:"email"`
	FullName           types.String                `json:"fullName"`
	FirstName          types.String                `json:"firstName"`
	LastName           types.EmptyString           `json:"lastName"`
	Avatar             *UserAvatar                 `json:"avatar"`
	CountryCallingCode types.IntNull               `json:"countryCallingCode"`
	PhoneNumber        types.IntNull               `json:"phoneNumber"`
	Language           Language                    `json:"language"`
	Created            types.DateTime              `json:"created"`
	LastUpdate         types.DateTime              `json:"lastUpdate"`
	Status             enum.UserStatusEnum         `json:"status"`
	ClientUserList     UserAuthorizeClientUserList `json:"clientUserList"`
	PasswordIsSet      types.Bool                  `json:"passwordIsSet"`
	TotpIsSet          types.Bool                  `json:"totpIsSet"`
	HasPasskey         types.Bool                  `json:"hasPasskey"`
	HasU2F             types.Bool                  `json:"hasU2F"`
	IntercomHash       types.String                `json:"intercomHash"`
}

type UserAuthorizeClientUserList

type UserAuthorizeClientUserList []ClientUserExtraWithClientLight

func (UserAuthorizeClientUserList) MarshalJSON

func (dto UserAuthorizeClientUserList) MarshalJSON() ([]byte, error)

type UserAvatar

type UserAvatar struct {
	LargeAvatarUrl    types.StringNull `json:"largeAvatarUrl"`
	SmallAvatarUrl    types.StringNull `json:"smallAvatarUrl"`
	ExternalAvatarUrl types.StringNull `json:"externalAvatarUrl"`
}

type UserClientUserList

type UserClientUserList []ClientUserExtraWithClientLight

func (UserClientUserList) MarshalJSON

func (dto UserClientUserList) MarshalJSON() ([]byte, error)

type UserConnect added in v1.0.16

type UserConnect struct {
	Id    uuid.UserId `json:"id"`
	Email types.Email `json:"email"`
}

type UserData

type UserData struct {
	Id               uuid.UserDataId       `json:"id"`
	Created          types.DateTime        `json:"created"`
	LastUpdate       types.DateTime        `json:"lastUpdate"`
	ClientId         uuid.ClientId         `json:"clientId"`
	ProjectId        uuid.ProjectId        `json:"projectId"`
	ServiceStackId   uuid.ServiceStackId   `json:"serviceStackId"`
	Key              types.String          `json:"key"`
	Content          types.Text            `json:"content"`
	Type             enum.UserDataTypeEnum `json:"type"`
	ServiceStackName types.String          `json:"serviceStackName"`
}

type UserDataLight

type UserDataLight struct {
	Id             uuid.UserDataId       `json:"id"`
	ClientId       uuid.ClientId         `json:"clientId"`
	ProjectId      uuid.ProjectId        `json:"projectId"`
	ServiceStackId uuid.ServiceStackId   `json:"serviceStackId"`
	Key            types.String          `json:"key"`
	Content        types.Text            `json:"content"`
	Type           enum.UserDataTypeEnum `json:"type"`
	Created        types.DateTime        `json:"created"`
	LastUpdate     types.DateTime        `json:"lastUpdate"`
	Sensitive      types.Bool            `json:"sensitive"`
}

type UserJsonObject

type UserJsonObject struct {
	Type      enum.UserJsonObjectTypeEnum `json:"type"`
	Id        uuid.UserIdNull             `json:"id"`
	Email     types.EmailNull             `json:"email"`
	FirstName types.StringNull            `json:"firstName"`
	FullName  types.StringNull            `json:"fullName"`
	Avatar    *UserAvatar                 `json:"avatar"`
}

type UserLight

type UserLight struct {
	Id        uuid.UserId       `json:"id"`
	Email     types.Email       `json:"email"`
	FullName  types.String      `json:"fullName"`
	FirstName types.String      `json:"firstName"`
	LastName  types.EmptyString `json:"lastName"`
	Avatar    *UserAvatar       `json:"avatar"`
}

type UserToken

type UserToken struct {
	Id      uuid.UserTokenId `json:"id"`
	Name    types.String     `json:"name"`
	Created types.DateTime   `json:"created"`
}

type UserTokenList added in v1.0.16

type UserTokenList struct {
	List UserTokenListList `json:"list"`
}

type UserTokenListList added in v1.0.16

type UserTokenListList []UserToken

func (UserTokenListList) MarshalJSON added in v1.0.16

func (dto UserTokenListList) MarshalJSON() ([]byte, error)

type UserTokenRaw added in v1.0.16

type UserTokenRaw struct {
	Id      uuid.UserTokenId `json:"id"`
	Name    types.String     `json:"name"`
	Created types.DateTime   `json:"created"`
	Token   types.String     `json:"token"`
}

type VCSRepository

type VCSRepository struct {
	Name       types.String                     `json:"name"`
	FullName   types.String                     `json:"fullName"`
	Visibility enum.VCSRepositoryVisibilityEnum `json:"visibility"`
	Owner      types.String                     `json:"owner"`
	OwnerUrl   types.String                     `json:"ownerUrl"`
	Admin      types.Bool                       `json:"admin"`
}

type VCSRepositoryBranch

type VCSRepositoryBranch struct {
	Name      types.String `json:"name"`
	IsDefault types.Bool   `json:"isDefault"`
}

type VCSRepositoryBranchList

type VCSRepositoryBranchList struct {
	Branches VCSRepositoryBranchListBranches `json:"branches"`
}

type VCSRepositoryBranchListBranches

type VCSRepositoryBranchListBranches []VCSRepositoryBranch

func (VCSRepositoryBranchListBranches) MarshalJSON

func (dto VCSRepositoryBranchListBranches) MarshalJSON() ([]byte, error)

type VCSRepositoryList

type VCSRepositoryList struct {
	Repositories VCSRepositoryListRepositories `json:"repositories"`
}

type VCSRepositoryListRepositories

type VCSRepositoryListRepositories []VCSRepository

func (VCSRepositoryListRepositories) MarshalJSON

func (dto VCSRepositoryListRepositories) MarshalJSON() ([]byte, error)

type VerticalAutoscaling

type VerticalAutoscaling struct {
	MaxResource       ScalingResource                     `json:"maxResource"`
	MinResource       ScalingResource                     `json:"minResource"`
	MinFreeResource   ScalingMinFreeResource              `json:"minFreeResource"`
	CpuMode           enum.VerticalAutoscalingCpuModeEnum `json:"cpuMode"`
	StartCpuCoreCount types.Int                           `json:"startCpuCoreCount"`
	SwapEnabled       types.Bool                          `json:"swapEnabled"`
}

type VerticalAutoscalingNullable added in v1.0.9

type VerticalAutoscalingNullable struct {
	MaxResource       *ScalingResourceNullable             `json:"maxResource"`
	MinResource       *ScalingResourceNullable             `json:"minResource"`
	MinFreeResource   *ScalingMinFreeResourceNullable      `json:"minFreeResource"`
	CpuMode           *enum.VerticalAutoscalingCpuModeEnum `json:"cpuMode"`
	StartCpuCoreCount types.IntNull                        `json:"startCpuCoreCount"`
	SwapEnabled       types.BoolNull                       `json:"swapEnabled"`
}

type VpnConfig added in v1.0.5

type VpnConfig struct {
	Network        VpnNetworkConfig `json:"network"`
	SharedEndpoint types.String     `json:"sharedEndpoint"`
	Endpoint       types.String     `json:"endpoint"`
}

type VpnIpConfig added in v1.0.5

type VpnIpConfig struct {
	Network           VpnNetworkConfig `json:"network"`
	AssignedIpAddress types.String     `json:"assignedIpAddress"`
}

type VpnNetworkConfig added in v1.0.5

type VpnNetworkConfig struct {
	Network types.String `json:"network"`
	Gateway types.String `json:"gateway"`
}

type WebAuthnCredential added in v1.0.16

type WebAuthnCredential struct {
	Id         types.String   `json:"id"`
	Name       types.String   `json:"name"`
	Created    types.DateTime `json:"created"`
	LastUpdate types.DateTime `json:"lastUpdate"`
	IsResident types.Bool     `json:"isResident"`
}

type WebAuthnCredentialList added in v1.0.16

type WebAuthnCredentialList struct {
	List WebAuthnCredentialListList `json:"list"`
}

type WebAuthnCredentialListList added in v1.0.16

type WebAuthnCredentialListList []WebAuthnCredential

func (WebAuthnCredentialListList) MarshalJSON added in v1.0.16

func (dto WebAuthnCredentialListList) MarshalJSON() ([]byte, error)

type WebAuthnOptions added in v1.0.16

type WebAuthnOptions struct {
	SessionId uuid.WebAuthnOptionsSessionId `json:"sessionId"`
	Response  types.JsonRawMessage          `json:"response"`
}

type WebAuthnRegistrationVerification added in v1.0.16

type WebAuthnRegistrationVerification struct {
	Credential WebAuthnCredential `json:"credential"`
	Auth       Auth               `json:"auth"`
}

type ZcliVersion added in v1.0.15

type ZcliVersion struct {
	Url              types.String      `json:"url"`
	Assets_url       types.String      `json:"assets_url"`
	Upload_url       types.String      `json:"upload_url"`
	Html_url         types.String      `json:"html_url"`
	Id               types.Int         `json:"id"`
	Author           ZcliVersionAuthor `json:"author"`
	Node_id          types.String      `json:"node_id"`
	Tag_name         types.String      `json:"tag_name"`
	Target_commitish types.String      `json:"target_commitish"`
	Name             types.String      `json:"name"`
	Draft            types.Bool        `json:"draft"`
	Prerelease       types.Bool        `json:"prerelease"`
	Created_at       types.DateTime    `json:"created_at"`
	Published_at     types.DateTime    `json:"published_at"`
	Assets           ZcliVersionAssets `json:"assets"`
	Tarball_url      types.String      `json:"tarball_url"`
	Zipball_url      types.String      `json:"zipball_url"`
	Body             types.String      `json:"body"`
}

type ZcliVersionAsset added in v1.0.15

type ZcliVersionAsset struct {
	Url                  types.String        `json:"url"`
	Id                   types.Int           `json:"id"`
	Node_id              types.String        `json:"node_id"`
	Name                 types.String        `json:"name"`
	Label                types.String        `json:"label"`
	Uploader             ZcliVersionUploader `json:"uploader"`
	Content_type         types.String        `json:"content_type"`
	State                types.String        `json:"state"`
	Size                 types.Int           `json:"size"`
	Download_count       types.Int           `json:"download_count"`
	Created_at           types.DateTime      `json:"created_at"`
	Updated_at           types.DateTime      `json:"updated_at"`
	Browser_download_url types.String        `json:"browser_download_url"`
}

type ZcliVersionAssets added in v1.0.15

type ZcliVersionAssets []ZcliVersionAsset

func (ZcliVersionAssets) MarshalJSON added in v1.0.15

func (dto ZcliVersionAssets) MarshalJSON() ([]byte, error)

type ZcliVersionAuthor added in v1.0.15

type ZcliVersionAuthor struct {
	Login               types.String `json:"login"`
	Id                  types.Int    `json:"id"`
	Node_id             types.String `json:"node_id"`
	Avatar_url          types.String `json:"avatar_url"`
	Gravatar_id         types.String `json:"gravatar_id"`
	Url                 types.String `json:"url"`
	Html_url            types.String `json:"html_url"`
	Followers_url       types.String `json:"followers_url"`
	Following_url       types.String `json:"following_url"`
	Gists_url           types.String `json:"gists_url"`
	Starred_url         types.String `json:"starred_url"`
	Subscriptions_url   types.String `json:"subscriptions_url"`
	Organizations_url   types.String `json:"organizations_url"`
	Repos_url           types.String `json:"repos_url"`
	Events_url          types.String `json:"events_url"`
	Received_events_url types.String `json:"received_events_url"`
	Type                types.String `json:"type"`
	User_view_type      types.String `json:"user_view_type"`
	Site_admin          types.Bool   `json:"site_admin"`
}

type ZcliVersionUploader added in v1.0.15

type ZcliVersionUploader struct {
	Login               types.String `json:"login"`
	Id                  types.Int    `json:"id"`
	Node_id             types.String `json:"node_id"`
	Avatar_url          types.String `json:"avatar_url"`
	Gravatar_id         types.String `json:"gravatar_id"`
	Url                 types.String `json:"url"`
	Html_url            types.String `json:"html_url"`
	Followers_url       types.String `json:"followers_url"`
	Following_url       types.String `json:"following_url"`
	Gists_url           types.String `json:"gists_url"`
	Starred_url         types.String `json:"starred_url"`
	Subscriptions_url   types.String `json:"subscriptions_url"`
	Organizations_url   types.String `json:"organizations_url"`
	Repos_url           types.String `json:"repos_url"`
	Events_url          types.String `json:"events_url"`
	Received_events_url types.String `json:"received_events_url"`
	Type                types.String `json:"type"`
	User_view_type      types.String `json:"user_view_type"`
	Site_admin          types.Bool   `json:"site_admin"`
}

Source Files

Jump to

Keyboard shortcuts

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