model

package
v0.0.17-beta Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadApplicationCodeRequest

type DownloadApplicationCodeRequest struct {
	XLanguage *DownloadApplicationCodeRequestXLanguage `json:"X-Language,omitempty"`
	JobId     string                                   `json:"job_id"`
}

Request Object

func (DownloadApplicationCodeRequest) String

type DownloadApplicationCodeRequestXLanguage

type DownloadApplicationCodeRequestXLanguage struct {
	// contains filtered or unexported fields
}

func (DownloadApplicationCodeRequestXLanguage) MarshalJSON

func (c DownloadApplicationCodeRequestXLanguage) MarshalJSON() ([]byte, error)

func (*DownloadApplicationCodeRequestXLanguage) UnmarshalJSON

func (c *DownloadApplicationCodeRequestXLanguage) UnmarshalJSON(b []byte) error

type DownloadApplicationCodeRequestXLanguageEnum

type DownloadApplicationCodeRequestXLanguageEnum struct {
	ZH_CN DownloadApplicationCodeRequestXLanguage
	EN_US DownloadApplicationCodeRequestXLanguage
}

func GetDownloadApplicationCodeRequestXLanguageEnum

func GetDownloadApplicationCodeRequestXLanguageEnum() DownloadApplicationCodeRequestXLanguageEnum

type DownloadApplicationCodeResponse

type DownloadApplicationCodeResponse struct {
}

Response Object

func (DownloadApplicationCodeResponse) String

type ListPublishedTemplatesRequest

type ListPublishedTemplatesRequest struct {
	XLanguage *ListPublishedTemplatesRequestXLanguage `json:"X-Language,omitempty"`
	Keyword   *string                                 `json:"keyword,omitempty"`
	Offset    *int32                                  `json:"offset,omitempty"`
	Limit     *int32                                  `json:"limit,omitempty"`
}

Request Object

func (ListPublishedTemplatesRequest) String

type ListPublishedTemplatesRequestXLanguage

type ListPublishedTemplatesRequestXLanguage struct {
	// contains filtered or unexported fields
}

func (ListPublishedTemplatesRequestXLanguage) MarshalJSON

func (c ListPublishedTemplatesRequestXLanguage) MarshalJSON() ([]byte, error)

func (*ListPublishedTemplatesRequestXLanguage) UnmarshalJSON

func (c *ListPublishedTemplatesRequestXLanguage) UnmarshalJSON(b []byte) error

type ListPublishedTemplatesRequestXLanguageEnum

type ListPublishedTemplatesRequestXLanguageEnum struct {
	ZH_CN ListPublishedTemplatesRequestXLanguage
	EN_US ListPublishedTemplatesRequestXLanguage
}

func GetListPublishedTemplatesRequestXLanguageEnum

func GetListPublishedTemplatesRequestXLanguageEnum() ListPublishedTemplatesRequestXLanguageEnum

type ListPublishedTemplatesResponse

type ListPublishedTemplatesResponse struct {
	// 返回模板的数量
	Count *int32 `json:"count,omitempty"`
	// 返回模板的列表
	Templates *[]TemplateSimpleInfo `json:"templates,omitempty"`
}

Response Object

func (ListPublishedTemplatesResponse) String

type PropertiesInfo

type PropertiesInfo struct {
	// key
	Key *string `json:"key,omitempty"`
	// 默认值
	DefaultValue *string `json:"defaultValue,omitempty"`
	// 模板的描述信息
	Label *string `json:"label,omitempty"`
	// 类型 txet 或 select
	Type *string `json:"type,omitempty"`
	// 提示信息
	HelpText *string `json:"helpText,omitempty"`
	// 是否只读
	ReadOnly *bool `json:"readOnly,omitempty"`
	// 是否必填
	Required *bool `json:"required,omitempty"`
	// 正则校验类型
	RegType *string `json:"regType,omitempty"`
	// 正则表达式
	RegPattern *string `json:"regPattern,omitempty"`
	// 正则提示信息
	RegTip *string `json:"regTip,omitempty"`
	// 是否显示
	IsShow *bool `json:"isShow,omitempty"`
}

func (PropertiesInfo) String

func (o PropertiesInfo) String() string

type RepositoryInfo

type RepositoryInfo struct {
	// 代码仓的名称
	Name *string `json:"name,omitempty"`
	// 项目id
	ProjectId *string `json:"project_id,omitempty"`
	// 区域id
	RegionId *string `json:"region_id,omitempty"`
}

func (RepositoryInfo) String

func (o RepositoryInfo) String() string

type RunDevstarTemplateJobRequest

type RunDevstarTemplateJobRequest struct {
	XLanguage *RunDevstarTemplateJobRequestXLanguage `json:"X-Language,omitempty"`
	Body      *TemplateJobInfo                       `json:"body,omitempty"`
}

Request Object

func (RunDevstarTemplateJobRequest) String

type RunDevstarTemplateJobRequestXLanguage

type RunDevstarTemplateJobRequestXLanguage struct {
	// contains filtered or unexported fields
}

func (RunDevstarTemplateJobRequestXLanguage) MarshalJSON

func (c RunDevstarTemplateJobRequestXLanguage) MarshalJSON() ([]byte, error)

func (*RunDevstarTemplateJobRequestXLanguage) UnmarshalJSON

func (c *RunDevstarTemplateJobRequestXLanguage) UnmarshalJSON(b []byte) error

type RunDevstarTemplateJobRequestXLanguageEnum

type RunDevstarTemplateJobRequestXLanguageEnum struct {
	ZH_CN RunDevstarTemplateJobRequestXLanguage
	EN_US RunDevstarTemplateJobRequestXLanguage
}

func GetRunDevstarTemplateJobRequestXLanguageEnum

func GetRunDevstarTemplateJobRequestXLanguageEnum() RunDevstarTemplateJobRequestXLanguageEnum

type RunDevstarTemplateJobResponse

type RunDevstarTemplateJobResponse struct {
	// 任务id
	JobId *string `json:"job_id,omitempty"`
}

Response Object

func (RunDevstarTemplateJobResponse) String

type ShowJobDetailRequest

type ShowJobDetailRequest struct {
	XLanguage *ShowJobDetailRequestXLanguage `json:"X-Language,omitempty"`
	JobId     string                         `json:"job_id"`
}

Request Object

func (ShowJobDetailRequest) String

func (o ShowJobDetailRequest) String() string

type ShowJobDetailRequestXLanguage

type ShowJobDetailRequestXLanguage struct {
	// contains filtered or unexported fields
}

func (ShowJobDetailRequestXLanguage) MarshalJSON

func (c ShowJobDetailRequestXLanguage) MarshalJSON() ([]byte, error)

func (*ShowJobDetailRequestXLanguage) UnmarshalJSON

func (c *ShowJobDetailRequestXLanguage) UnmarshalJSON(b []byte) error

type ShowJobDetailRequestXLanguageEnum

type ShowJobDetailRequestXLanguageEnum struct {
	ZH_CN ShowJobDetailRequestXLanguage
	EN_US ShowJobDetailRequestXLanguage
}

func GetShowJobDetailRequestXLanguageEnum

func GetShowJobDetailRequestXLanguageEnum() ShowJobDetailRequestXLanguageEnum

type ShowJobDetailResponse

type ShowJobDetailResponse struct {
	// 任务的id
	Id *string `json:"id,omitempty"`
	// 任务的名称
	Name *string `json:"name,omitempty"`
	// 任务的状态
	JobStatus *interface{} `json:"job_status,omitempty"`
	// 任务结果信息
	JobResult *string `json:"job_result,omitempty"`
}

Response Object

func (ShowJobDetailResponse) String

func (o ShowJobDetailResponse) String() string

type ShowTemplateDetailRequest

type ShowTemplateDetailRequest struct {
	XLanguage  *ShowTemplateDetailRequestXLanguage `json:"X-Language,omitempty"`
	TemplateId string                              `json:"template_id"`
}

Request Object

func (ShowTemplateDetailRequest) String

func (o ShowTemplateDetailRequest) String() string

type ShowTemplateDetailRequestXLanguage

type ShowTemplateDetailRequestXLanguage struct {
	// contains filtered or unexported fields
}

func (ShowTemplateDetailRequestXLanguage) MarshalJSON

func (c ShowTemplateDetailRequestXLanguage) MarshalJSON() ([]byte, error)

func (*ShowTemplateDetailRequestXLanguage) UnmarshalJSON

func (c *ShowTemplateDetailRequestXLanguage) UnmarshalJSON(b []byte) error

type ShowTemplateDetailRequestXLanguageEnum

type ShowTemplateDetailRequestXLanguageEnum struct {
	ZH_CN ShowTemplateDetailRequestXLanguage
	EN_US ShowTemplateDetailRequestXLanguage
}

func GetShowTemplateDetailRequestXLanguageEnum

func GetShowTemplateDetailRequestXLanguageEnum() ShowTemplateDetailRequestXLanguageEnum

type ShowTemplateDetailResponse

type ShowTemplateDetailResponse struct {
	// 模板的id
	Id *string `json:"id,omitempty"`
	// 模板的名称
	Title *string `json:"title,omitempty"`
	// 模板的描述信息
	Description *string `json:"description,omitempty"`
	// 模板关联的region host id
	RegionId *string `json:"region_id,omitempty"`
	// 模板关联的repo id
	RepostoryId *string `json:"repostory_id,omitempty"`
	// 模板https下载路径
	CodeUrl *string `json:"code_url,omitempty"`
	// 模板ssh下载路径
	SshUrl *string `json:"ssh_url,omitempty"`
	// 项目id
	ProjectUuid *string `json:"project_uuid,omitempty"`
	// 模板状态
	Status     *int32            `json:"status,omitempty"`
	Properties *[]PropertiesInfo `json:"properties,omitempty"`
}

Response Object

func (ShowTemplateDetailResponse) String

type TemplateJobInfo

type TemplateJobInfo struct {
	// 应用名称
	ApplicationName *string `json:"application_name,omitempty"`
	// 任务依赖的模板id
	TemplateId string `json:"template_id"`
	// 应用代码生成后的地址类型,目前支持0:codehub地址
	RepoType *int32 `json:"repo_type,omitempty"`
	// 应用的动态参数json
	Properties *interface{}    `json:"properties,omitempty"`
	RepoInfo   *RepositoryInfo `json:"repo_info,omitempty"`
}

func (TemplateJobInfo) String

func (o TemplateJobInfo) String() string

type TemplateSimpleInfo

type TemplateSimpleInfo struct {
	// 模板id
	Id *string `json:"id,omitempty"`
	// 模板名
	Title *string `json:"title,omitempty"`
	// 模板描述
	Description *string `json:"description,omitempty"`
}

func (TemplateSimpleInfo) String

func (o TemplateSimpleInfo) String() string

Jump to

Keyboard shortcuts

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