model

package
v0.1.77 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationBaseV3 added in v0.0.73

type ApplicationBaseV3 struct {

	// 应用id
	Id *string `json:"id,omitempty"`

	// 应用名称
	Name string `json:"name"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 区域id
	RegionId string `json:"region_id"`

	// 区域名称
	RegionName string `json:"region_name"`

	// 所属项目id
	ProjectId string `json:"project_id"`

	// 项目名称
	ProjectName string `json:"project_name"`

	// 应用图标
	Icon *string `json:"icon,omitempty"`
}

func (ApplicationBaseV3) String added in v0.0.73

func (o ApplicationBaseV3) String() string

type ApplicationModifyInfo added in v0.0.73

type ApplicationModifyInfo struct {

	// 应用名称
	Name *string `json:"name,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 应用图标(传入图片的Base64编码,大小限制15k)
	Icon *string `json:"icon,omitempty"`
}

func (ApplicationModifyInfo) String added in v0.0.73

func (o ApplicationModifyInfo) String() string

type ApplicationV3 added in v0.0.73

type ApplicationV3 struct {

	// 应用id
	Id *string `json:"id,omitempty"`

	// 应用名称
	Name string `json:"name"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 区域id
	RegionId string `json:"region_id"`

	// 区域名称
	RegionName string `json:"region_name"`

	// 所属项目id
	ProjectId string `json:"project_id"`

	// 项目名称
	ProjectName string `json:"project_name"`

	// 应用图标
	Icon *string `json:"icon,omitempty"`

	// 流水线列表
	PipelineCreationResult *[]PipelineCreationResult `json:"pipeline_creation_result,omitempty"`

	RepositoryCreationResult *RepositoryCreationResult `json:"repository_creation_result,omitempty"`

	// 环境信息
	EnvironmentCreationResult *[]string `json:"environment_creation_result,omitempty"`

	// 模板类型
	TemplateTypes *[]TemplateType `json:"template_types,omitempty"`

	// 模板部署信息
	TemplateDeployment *string `json:"template_deployment,omitempty"`

	// 部署类型, function:函数部署,cci:cci容器部署,ServiceStage(Jar):ServiceStage jar包部署,ServiceStage(Docker):ServiceStage Docker容器部署,none不支持部署
	DeployType *ApplicationV3DeployType `json:"deploy_type,omitempty"`

	// 创建者名称
	CreatorName *string `json:"creator_name,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 应用版本号
	Version *string `json:"version,omitempty"`
}

ApplicationV3 应用详细信息

func (ApplicationV3) String added in v0.0.73

func (o ApplicationV3) String() string

type ApplicationV3DeployType added in v0.0.73

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

func (ApplicationV3DeployType) MarshalJSON added in v0.0.73

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

func (*ApplicationV3DeployType) UnmarshalJSON added in v0.0.73

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

func (ApplicationV3DeployType) Value added in v0.0.90

func (c ApplicationV3DeployType) Value() string

type ApplicationV3DeployTypeEnum added in v0.0.73

type ApplicationV3DeployTypeEnum struct {
	FUNCTION             ApplicationV3DeployType
	CCI                  ApplicationV3DeployType
	SERVICE_STAGE_JAR    ApplicationV3DeployType
	SERVICE_STAGE_DOCKER ApplicationV3DeployType
	NONE                 ApplicationV3DeployType
}

func GetApplicationV3DeployTypeEnum added in v0.0.73

func GetApplicationV3DeployTypeEnum() ApplicationV3DeployTypeEnum

type CciDeploymentJobsParam added in v0.0.86

type CciDeploymentJobsParam struct {

	// 软件包或者镜像地址
	Image *string `json:"image,omitempty"`
}

func (CciDeploymentJobsParam) String added in v0.0.86

func (o CciDeploymentJobsParam) String() string

type CheckRepositoryDuplicateNameRequest added in v0.0.73

type CheckRepositoryDuplicateNameRequest struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *string `json:"X-Language,omitempty"`

	// 项目id
	ProjectId string `json:"project_id"`

	// 仓库名称
	Name string `json:"name"`

	// 区域id
	RegionId string `json:"region_id"`
}

CheckRepositoryDuplicateNameRequest Request Object

func (CheckRepositoryDuplicateNameRequest) String added in v0.0.73

type CheckRepositoryDuplicateNameResponse added in v0.0.73

type CheckRepositoryDuplicateNameResponse struct {

	// 重名校验是否通过,true:校验通过不重名,false:校验不通过重名
	Result         *bool `json:"result,omitempty"`
	HttpStatusCode int   `json:"-"`
}

CheckRepositoryDuplicateNameResponse Response Object

func (CheckRepositoryDuplicateNameResponse) String added in v0.0.73

type CodehubJobInfo

type CodehubJobInfo struct {

	// 应用名称。
	ApplicationName string `json:"application_name"`

	// 仓库是否私有
	Privately *bool `json:"privately,omitempty"`

	// 仓库短id
	ShortId *string `json:"short_id,omitempty"`

	// 代码存放的ssh地址。
	CodeUrl string `json:"code_url"`

	// CodeHub 仓库所在的 Region ID: - 华南-广州:cn-south-1 - 华东-上海二:cn-east-2 - 华北-北京一:cn-north-1 - 华北-北京四:cn-north-4
	RegionId string `json:"region_id"`

	// - 0 - 将生成的应用代码存储于 repo_info 指定的 CodeHub 仓库中。 - 1 - 将生成的应用代码存储到华为云,任务创建人可以通过 ExportApplicationCode 下载代码压缩包。
	RepoType int32 `json:"repo_type"`

	// 可以根据 template-metadata.json 获取动态参数 ID 以及规则。
	Properties map[string]string `json:"properties,omitempty"`

	RepoInfo *RepositoryInfo `json:"repo_info,omitempty"`
}

func (CodehubJobInfo) String

func (o CodehubJobInfo) String() string

type ConfirmDeploymentJobRequest added in v0.0.86

type ConfirmDeploymentJobRequest struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *ConfirmDeploymentJobRequestXLanguage `json:"X-Language,omitempty"`

	// 应用id
	ApplicationId string `json:"application_id"`

	// 环境标识
	EnvironmentTag string `json:"environment_tag"`

	Body *DeploymentJobConfirmType `json:"body,omitempty"`
}

ConfirmDeploymentJobRequest Request Object

func (ConfirmDeploymentJobRequest) String added in v0.0.86

type ConfirmDeploymentJobRequestXLanguage added in v0.0.86

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

func (ConfirmDeploymentJobRequestXLanguage) MarshalJSON added in v0.0.86

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

func (*ConfirmDeploymentJobRequestXLanguage) UnmarshalJSON added in v0.0.86

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

func (ConfirmDeploymentJobRequestXLanguage) Value added in v0.0.90

type ConfirmDeploymentJobRequestXLanguageEnum added in v0.0.86

type ConfirmDeploymentJobRequestXLanguageEnum struct {
	ZH_CN ConfirmDeploymentJobRequestXLanguage
	EN_US ConfirmDeploymentJobRequestXLanguage
}

func GetConfirmDeploymentJobRequestXLanguageEnum added in v0.0.86

func GetConfirmDeploymentJobRequestXLanguageEnum() ConfirmDeploymentJobRequestXLanguageEnum

type ConfirmDeploymentJobResponse added in v0.0.86

type ConfirmDeploymentJobResponse struct {
	HttpStatusCode int `json:"-"`
}

ConfirmDeploymentJobResponse Response Object

func (ConfirmDeploymentJobResponse) String added in v0.0.86

type CreateDeploymentJobsParams added in v0.0.73

type CreateDeploymentJobsParams struct {
	Function *FgsDeploymentJobsParam `json:"function,omitempty"`

	Cci *CciDeploymentJobsParam `json:"cci,omitempty"`
}

func (CreateDeploymentJobsParams) String added in v0.0.73

type CreateDeploymentJobsRequest added in v0.0.73

type CreateDeploymentJobsRequest struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *CreateDeploymentJobsRequestXLanguage `json:"X-Language,omitempty"`

	// 应用id
	ApplicationId string `json:"application_id"`

	// 环境标识,从 [应用详情接口](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=DevStar&api=ShowApplication) 返回报文中的环境信息获取。
	EnvironmentTag string `json:"environment_tag"`

	Body *CreateDeploymentJobsParams `json:"body,omitempty"`
}

CreateDeploymentJobsRequest Request Object

func (CreateDeploymentJobsRequest) String added in v0.0.73

type CreateDeploymentJobsRequestXLanguage added in v0.0.73

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

func (CreateDeploymentJobsRequestXLanguage) MarshalJSON added in v0.0.73

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

func (*CreateDeploymentJobsRequestXLanguage) UnmarshalJSON added in v0.0.73

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

func (CreateDeploymentJobsRequestXLanguage) Value added in v0.0.90

type CreateDeploymentJobsRequestXLanguageEnum added in v0.0.73

type CreateDeploymentJobsRequestXLanguageEnum struct {
	ZH_CN CreateDeploymentJobsRequestXLanguage
	EN_US CreateDeploymentJobsRequestXLanguage
}

func GetCreateDeploymentJobsRequestXLanguageEnum added in v0.0.73

func GetCreateDeploymentJobsRequestXLanguageEnum() CreateDeploymentJobsRequestXLanguageEnum

type CreateDeploymentJobsResponse added in v0.0.73

type CreateDeploymentJobsResponse struct {

	// 部署任务编号
	Id *int32 `json:"id,omitempty"`

	// 任务ID
	JobId *string `json:"job_id,omitempty"`

	// 部署状态,-2:环境准备未就绪 -1 资源准备就绪 0 部署中 1:成功 2:失败
	Status *int32 `json:"status,omitempty"`

	// 访问地址
	Address *string `json:"address,omitempty"`

	// 部署参数
	DeployParameters *string `json:"deploy_parameters,omitempty"`

	// 部署耗时
	Time *int32 `json:"time,omitempty"`

	// 创建人
	CreatorName *string `json:"creator_name,omitempty"`

	// 创建时间
	CreatedTime    *string `json:"created_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDeploymentJobsResponse Response Object

func (CreateDeploymentJobsResponse) String added in v0.0.73

type CreateTemplateViewHistoriesRequest

type CreateTemplateViewHistoriesRequest struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *CreateTemplateViewHistoriesRequestXLanguage `json:"X-Language,omitempty"`

	Body *TemplatesInfo `json:"body,omitempty"`
}

CreateTemplateViewHistoriesRequest Request Object

func (CreateTemplateViewHistoriesRequest) String

type CreateTemplateViewHistoriesRequestXLanguage

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

func (CreateTemplateViewHistoriesRequestXLanguage) MarshalJSON

func (*CreateTemplateViewHistoriesRequestXLanguage) UnmarshalJSON

func (CreateTemplateViewHistoriesRequestXLanguage) Value added in v0.0.90

type CreateTemplateViewHistoriesResponse

type CreateTemplateViewHistoriesResponse struct {

	// 我浏览的模板。
	Templates *[]TemplateViewHistory `json:"templates,omitempty"`

	// 我浏览的模板数量。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateTemplateViewHistoriesResponse Response Object

func (CreateTemplateViewHistoriesResponse) String

type DeleteApplicationV4Request added in v0.0.73

type DeleteApplicationV4Request struct {

	// 应用id
	ApplicationId string `json:"application_id"`

	// 是否删除代码仓
	IsDeleteRepository *bool `json:"is_delete_repository,omitempty"`

	// 删除流水线ID,多流水线逗号隔开
	PipelineIds *string `json:"pipeline_ids,omitempty"`
}

DeleteApplicationV4Request Request Object

func (DeleteApplicationV4Request) String added in v0.0.73

type DeleteApplicationV4Response added in v0.0.73

type DeleteApplicationV4Response struct {
	HttpStatusCode int `json:"-"`
}

DeleteApplicationV4Response Response Object

func (DeleteApplicationV4Response) String added in v0.0.73

type Dependent added in v0.0.73

type Dependent struct {

	// 部署方式。
	Name *string `json:"name,omitempty"`

	// 依赖云资源信息
	DependentServices *[]ResouceInfo `json:"dependent_services,omitempty"`
}

func (Dependent) String added in v0.0.73

func (o Dependent) String() string

type DeploymentJobConfirmType added in v0.0.86

type DeploymentJobConfirmType struct {

	// 部署人工审核确认类型 stop终止部署 continue继续部署
	Type *DeploymentJobConfirmTypeType `json:"type,omitempty"`
}

func (DeploymentJobConfirmType) String added in v0.0.86

func (o DeploymentJobConfirmType) String() string

type DeploymentJobConfirmTypeType added in v0.0.86

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

func (DeploymentJobConfirmTypeType) MarshalJSON added in v0.0.86

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

func (*DeploymentJobConfirmTypeType) UnmarshalJSON added in v0.0.86

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

func (DeploymentJobConfirmTypeType) Value added in v0.0.90

type DeploymentJobConfirmTypeTypeEnum added in v0.0.86

type DeploymentJobConfirmTypeTypeEnum struct {
	STOP     DeploymentJobConfirmTypeType
	CONTINUE DeploymentJobConfirmTypeType
}

func GetDeploymentJobConfirmTypeTypeEnum added in v0.0.86

func GetDeploymentJobConfirmTypeTypeEnum() DeploymentJobConfirmTypeTypeEnum

type DownloadApplicationCodeRequest

type DownloadApplicationCodeRequest struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *DownloadApplicationCodeRequestXLanguage `json:"X-Language,omitempty"`

	// 任务id。
	JobId string `json:"job_id"`
}

DownloadApplicationCodeRequest 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

func (DownloadApplicationCodeRequestXLanguage) Value added in v0.0.90

type DownloadApplicationCodeRequestXLanguageEnum

type DownloadApplicationCodeRequestXLanguageEnum struct {
	ZH_CN DownloadApplicationCodeRequestXLanguage
	EN_US DownloadApplicationCodeRequestXLanguage
}

func GetDownloadApplicationCodeRequestXLanguageEnum

func GetDownloadApplicationCodeRequestXLanguageEnum() DownloadApplicationCodeRequestXLanguageEnum

type DownloadApplicationCodeResponse

type DownloadApplicationCodeResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

DownloadApplicationCodeResponse Response Object

func (DownloadApplicationCodeResponse) Consume

func (o DownloadApplicationCodeResponse) Consume(writer io.Writer) (int64, error)

func (DownloadApplicationCodeResponse) String

type FgsDeploymentJobsParam added in v0.0.73

type FgsDeploymentJobsParam struct {

	// 版本包id,使用历史版本包部署时需要
	FileId *string `json:"file_id,omitempty"`

	// 函数入口
	Handler *string `json:"handler,omitempty"`
}

func (FgsDeploymentJobsParam) String added in v0.0.73

func (o FgsDeploymentJobsParam) String() string

type FileTreeNode

type FileTreeNode struct {

	// 文件路径
	FilePath *string `json:"file_path,omitempty"`

	// 文件名称
	FileName *string `json:"file_name,omitempty"`

	// 是否文件夹
	FileType *string `json:"file_type,omitempty"`
}

func (FileTreeNode) String

func (o FileTreeNode) String() string

type ListApplicationsV6Request added in v0.0.73

type ListApplicationsV6Request struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *ListApplicationsV6RequestXLanguage `json:"X-Language,omitempty"`

	// 是否查询我关注的应用
	Attention *bool `json:"attention,omitempty"`

	// 区域id,从控制台获取方法请参见: [获取区域ID](https://console.huaweicloud.com/iam/?region=cn-north-1&locale=zh-cn#/iam/projects)
	RegionId *string `json:"region_id,omitempty"`

	// 搜索关键字,支持按名称和描述搜索,默认null
	Keyword *string `json:"keyword,omitempty"`

	// 所属DevCloud项目id,从 [项目列表接口](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=DevStar&api=ListProjectsV4) 查询。
	ProjectId *string `json:"project_id,omitempty"`

	// 主题id,场景或者部署方式分类id
	TopicId *string `json:"topic_id,omitempty"`

	// 是否查询由我创建
	IsCreatedBySelf *bool `json:"is_created_by_self,omitempty"`

	// 排序字段, name:应用名称,created_at:创建时间,updated_at:更新时间
	SortKey *[]ListApplicationsV6RequestSortKey `json:"sort_key,omitempty"`

	// 排序方式, desc:降序, asc:升序
	SortDir *[]ListApplicationsV6RequestSortDir `json:"sort_dir,omitempty"`

	// 每页显示的条目数量,默认10
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示从此偏移量开始查询,默认0
	Offset *int32 `json:"offset,omitempty"`
}

ListApplicationsV6Request Request Object

func (ListApplicationsV6Request) String added in v0.0.73

func (o ListApplicationsV6Request) String() string

type ListApplicationsV6RequestSortDir added in v0.0.73

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

func (ListApplicationsV6RequestSortDir) MarshalJSON added in v0.0.73

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

func (*ListApplicationsV6RequestSortDir) UnmarshalJSON added in v0.0.73

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

func (ListApplicationsV6RequestSortDir) Value added in v0.0.90

type ListApplicationsV6RequestSortDirEnum added in v0.0.73

type ListApplicationsV6RequestSortDirEnum struct {
	DESC ListApplicationsV6RequestSortDir
	ASC  ListApplicationsV6RequestSortDir
}

func GetListApplicationsV6RequestSortDirEnum added in v0.0.73

func GetListApplicationsV6RequestSortDirEnum() ListApplicationsV6RequestSortDirEnum

type ListApplicationsV6RequestSortKey added in v0.0.73

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

func (ListApplicationsV6RequestSortKey) MarshalJSON added in v0.0.73

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

func (*ListApplicationsV6RequestSortKey) UnmarshalJSON added in v0.0.73

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

func (ListApplicationsV6RequestSortKey) Value added in v0.0.90

type ListApplicationsV6RequestSortKeyEnum added in v0.0.73

type ListApplicationsV6RequestSortKeyEnum struct {
	NAME       ListApplicationsV6RequestSortKey
	CREATED_AT ListApplicationsV6RequestSortKey
	UPDATED_AT ListApplicationsV6RequestSortKey
}

func GetListApplicationsV6RequestSortKeyEnum added in v0.0.73

func GetListApplicationsV6RequestSortKeyEnum() ListApplicationsV6RequestSortKeyEnum

type ListApplicationsV6RequestXLanguage added in v0.0.73

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

func (ListApplicationsV6RequestXLanguage) MarshalJSON added in v0.0.73

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

func (*ListApplicationsV6RequestXLanguage) UnmarshalJSON added in v0.0.73

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

func (ListApplicationsV6RequestXLanguage) Value added in v0.0.90

type ListApplicationsV6RequestXLanguageEnum added in v0.0.73

type ListApplicationsV6RequestXLanguageEnum struct {
	ZH_CN ListApplicationsV6RequestXLanguage
	EN_US ListApplicationsV6RequestXLanguage
}

func GetListApplicationsV6RequestXLanguageEnum added in v0.0.73

func GetListApplicationsV6RequestXLanguageEnum() ListApplicationsV6RequestXLanguageEnum

type ListApplicationsV6Response added in v0.0.73

type ListApplicationsV6Response struct {

	// 应用列表
	Applications *[]ApplicationV3 `json:"applications,omitempty"`

	// 应用列表总条数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListApplicationsV6Response Response Object

func (ListApplicationsV6Response) String added in v0.0.73

type ListPipelineTemplatesRequest added in v0.0.73

type ListPipelineTemplatesRequest struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *string `json:"X-Language,omitempty"`

	// 区域id
	RegionId string `json:"region_id"`

	// 偏移量,表示从此偏移量开始查询,默认0
	Offset *int32 `json:"offset,omitempty"`

	// 每页显示的条目数量,默认10
	Limit *int32 `json:"limit,omitempty"`
}

ListPipelineTemplatesRequest Request Object

func (ListPipelineTemplatesRequest) String added in v0.0.73

type ListPipelineTemplatesResponse added in v0.0.73

type ListPipelineTemplatesResponse struct {

	// 模板列表
	Templates *[]PipelineTemplate `json:"templates,omitempty"`

	// 模板总数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListPipelineTemplatesResponse Response Object

func (ListPipelineTemplatesResponse) String added in v0.0.73

type ListProjectsV4Request added in v0.0.73

type ListProjectsV4Request struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *ListProjectsV4RequestXLanguage `json:"X-Language,omitempty"`

	// 搜索关键字,支持按名称和描述搜索,默认null
	Keyword *string `json:"keyword,omitempty"`

	// 每页显示的条目数量,默认100
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示从此偏移量开始查询,默认0
	Offset *int32 `json:"offset,omitempty"`
}

ListProjectsV4Request Request Object

func (ListProjectsV4Request) String added in v0.0.73

func (o ListProjectsV4Request) String() string

type ListProjectsV4RequestXLanguage added in v0.0.73

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

func (ListProjectsV4RequestXLanguage) MarshalJSON added in v0.0.73

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

func (*ListProjectsV4RequestXLanguage) UnmarshalJSON added in v0.0.73

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

func (ListProjectsV4RequestXLanguage) Value added in v0.0.90

type ListProjectsV4RequestXLanguageEnum added in v0.0.73

type ListProjectsV4RequestXLanguageEnum struct {
	ZH_CN ListProjectsV4RequestXLanguage
	EN_US ListProjectsV4RequestXLanguage
}

func GetListProjectsV4RequestXLanguageEnum added in v0.0.73

func GetListProjectsV4RequestXLanguageEnum() ListProjectsV4RequestXLanguageEnum

type ListProjectsV4Response added in v0.0.73

type ListProjectsV4Response struct {

	// 项目列表
	Projects *[]ProjectV3 `json:"projects,omitempty"`

	// 总数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListProjectsV4Response Response Object

func (ListProjectsV4Response) String added in v0.0.73

func (o ListProjectsV4Response) String() string

type ListPublishedTemplatesRequest

type ListPublishedTemplatesRequest struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *ListPublishedTemplatesRequestXLanguage `json:"X-Language,omitempty"`

	// 搜索关键字,支持按名称和描述搜索,默认null。
	Keyword *string `json:"keyword,omitempty"`

	// 偏移量,表示从此偏移量开始查询,offset大于等于0。
	Offset *int32 `json:"offset,omitempty"`

	// 每页的模板条数,默认10。
	Limit *int32 `json:"limit,omitempty"`
}

ListPublishedTemplatesRequest 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

func (ListPublishedTemplatesRequestXLanguage) Value added in v0.0.90

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"`
	HttpStatusCode int                   `json:"-"`
}

ListPublishedTemplatesResponse Response Object

func (ListPublishedTemplatesResponse) String

type ListTemplateViewHistoriesRequest

type ListTemplateViewHistoriesRequest struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *ListTemplateViewHistoriesRequestXLanguage `json:"X-Language,omitempty"`

	// 平台来源: - 0:查询CodeLabs中用户浏览过的模板。 - 1:查询DevStar中用户浏览过的模板。
	PlatformSource ListTemplateViewHistoriesRequestPlatformSource `json:"platform_source"`
}

ListTemplateViewHistoriesRequest Request Object

func (ListTemplateViewHistoriesRequest) String

type ListTemplateViewHistoriesRequestPlatformSource

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

func (ListTemplateViewHistoriesRequestPlatformSource) MarshalJSON

func (*ListTemplateViewHistoriesRequestPlatformSource) UnmarshalJSON

func (ListTemplateViewHistoriesRequestPlatformSource) Value added in v0.0.90

type ListTemplateViewHistoriesRequestXLanguage

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

func (ListTemplateViewHistoriesRequestXLanguage) MarshalJSON

func (*ListTemplateViewHistoriesRequestXLanguage) UnmarshalJSON

func (ListTemplateViewHistoriesRequestXLanguage) Value added in v0.0.90

type ListTemplateViewHistoriesResponse

type ListTemplateViewHistoriesResponse struct {

	// 我浏览的模板。
	Templates *[]TemplateViewHistory `json:"templates,omitempty"`

	// 我浏览的模板数量。
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListTemplateViewHistoriesResponse Response Object

func (ListTemplateViewHistoriesResponse) String

type ListTemplatesRequest added in v0.0.76

type ListTemplatesRequest struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *ListTemplatesRequestXLanguage `json:"X-Language,omitempty"`

	Body *TemplateQuery `json:"body,omitempty"`
}

ListTemplatesRequest Request Object

func (ListTemplatesRequest) String added in v0.0.76

func (o ListTemplatesRequest) String() string

type ListTemplatesRequestXLanguage added in v0.0.76

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

func (ListTemplatesRequestXLanguage) MarshalJSON added in v0.0.76

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

func (*ListTemplatesRequestXLanguage) UnmarshalJSON added in v0.0.76

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

func (ListTemplatesRequestXLanguage) Value added in v0.0.90

type ListTemplatesRequestXLanguageEnum added in v0.0.76

type ListTemplatesRequestXLanguageEnum struct {
	ZH_CN ListTemplatesRequestXLanguage
	EN_US ListTemplatesRequestXLanguage
}

func GetListTemplatesRequestXLanguageEnum added in v0.0.76

func GetListTemplatesRequestXLanguageEnum() ListTemplatesRequestXLanguageEnum

type ListTemplatesResponse added in v0.0.76

type ListTemplatesResponse struct {

	// 返回模板的数量。
	Count *int32 `json:"count,omitempty"`

	// 返回关联了失效资源的模板数量。
	InvalidCount *int32 `json:"invalid_count,omitempty"`

	// 返回模板的列表。
	Templates      *[]TemplateInfo `json:"templates,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListTemplatesResponse Response Object

func (ListTemplatesResponse) String added in v0.0.76

func (o ListTemplatesResponse) String() string

type ListTemplatesV2Request

type ListTemplatesV2Request struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *ListTemplatesV2RequestXLanguage `json:"X-Language,omitempty"`

	// 请填写固定值“query”。
	ActionId string `json:"action_id"`

	Body *TemplateQueryV2 `json:"body,omitempty"`
}

ListTemplatesV2Request Request Object

func (ListTemplatesV2Request) String

func (o ListTemplatesV2Request) String() string

type ListTemplatesV2RequestXLanguage

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

func (ListTemplatesV2RequestXLanguage) MarshalJSON

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

func (*ListTemplatesV2RequestXLanguage) UnmarshalJSON

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

func (ListTemplatesV2RequestXLanguage) Value added in v0.0.90

type ListTemplatesV2RequestXLanguageEnum

type ListTemplatesV2RequestXLanguageEnum struct {
	ZH_CN ListTemplatesV2RequestXLanguage
	EN_US ListTemplatesV2RequestXLanguage
}

func GetListTemplatesV2RequestXLanguageEnum

func GetListTemplatesV2RequestXLanguageEnum() ListTemplatesV2RequestXLanguageEnum

type ListTemplatesV2Response

type ListTemplatesV2Response struct {

	// 返回模板的数量。
	Count *int32 `json:"count,omitempty"`

	// 返回关联了失效资源的模板数量。
	InvalidCount *int32 `json:"invalid_count,omitempty"`

	// 返回模板的列表。
	Templates      *[]TemplateInfo `json:"templates,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListTemplatesV2Response Response Object

func (ListTemplatesV2Response) String

func (o ListTemplatesV2Response) String() string

type PipelineBasic added in v0.0.73

type PipelineBasic struct {

	// DevStar系统生成的流水线UUID
	Uuid *string `json:"uuid,omitempty"`

	// CloudPipeline系统对应流水线ID
	Id *string `json:"id,omitempty"`

	// 流水线名称
	Name *string `json:"name,omitempty"`

	// 流水线地址
	Url *string `json:"url,omitempty"`

	// 流水线最后一次运行状态,success:成功,failed:失败,running:运行中
	LastRunningStatus *PipelineBasicLastRunningStatus `json:"last_running_status,omitempty"`
}

PipelineBasic 流水线资源信息

func (PipelineBasic) String added in v0.0.73

func (o PipelineBasic) String() string

type PipelineBasicLastRunningStatus added in v0.0.73

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

func (PipelineBasicLastRunningStatus) MarshalJSON added in v0.0.73

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

func (*PipelineBasicLastRunningStatus) UnmarshalJSON added in v0.0.73

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

func (PipelineBasicLastRunningStatus) Value added in v0.0.90

type PipelineBasicLastRunningStatusEnum added in v0.0.73

type PipelineBasicLastRunningStatusEnum struct {
	SUCCESS PipelineBasicLastRunningStatus
	FAILED  PipelineBasicLastRunningStatus
	RUNNING PipelineBasicLastRunningStatus
}

func GetPipelineBasicLastRunningStatusEnum added in v0.0.73

func GetPipelineBasicLastRunningStatusEnum() PipelineBasicLastRunningStatusEnum

type PipelineCreationResult added in v0.0.73

type PipelineCreationResult struct {
	Pipeline *PipelineBasic `json:"pipeline,omitempty"`

	// 任务id
	TaskId *string `json:"task_id,omitempty"`

	// 任务状态, success:成功,failed:失败,creating:创建中,cancel:取消,pending:等待创建
	Status *PipelineCreationResultStatus `json:"status,omitempty"`

	// 失败原因
	FailureReason *string `json:"failure_reason,omitempty"`
}

PipelineCreationResult 流水线资源信息

func (PipelineCreationResult) String added in v0.0.73

func (o PipelineCreationResult) String() string

type PipelineCreationResultStatus added in v0.0.73

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

func (PipelineCreationResultStatus) MarshalJSON added in v0.0.73

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

func (*PipelineCreationResultStatus) UnmarshalJSON added in v0.0.73

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

func (PipelineCreationResultStatus) Value added in v0.0.90

type PipelineCreationResultStatusEnum added in v0.0.73

type PipelineCreationResultStatusEnum struct {
	SUCCESS  PipelineCreationResultStatus
	FAILED   PipelineCreationResultStatus
	CREATING PipelineCreationResultStatus
	CANCEL   PipelineCreationResultStatus
	PENDING  PipelineCreationResultStatus
}

func GetPipelineCreationResultStatusEnum added in v0.0.73

func GetPipelineCreationResultStatusEnum() PipelineCreationResultStatusEnum

type PipelineDeleteStatus added in v0.0.73

type PipelineDeleteStatus struct {

	// 流水线名称
	Name *string `json:"name,omitempty"`

	// 流水线删除状态,deleted:删除成功,failed:删除失败,going:正在删除中
	Status *PipelineDeleteStatusStatus `json:"status,omitempty"`
}

func (PipelineDeleteStatus) String added in v0.0.73

func (o PipelineDeleteStatus) String() string

type PipelineDeleteStatusStatus added in v0.0.73

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

func (PipelineDeleteStatusStatus) MarshalJSON added in v0.0.73

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

func (*PipelineDeleteStatusStatus) UnmarshalJSON added in v0.0.73

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

func (PipelineDeleteStatusStatus) Value added in v0.0.90

type PipelineDeleteStatusStatusEnum added in v0.0.73

type PipelineDeleteStatusStatusEnum struct {
	DELETED PipelineDeleteStatusStatus
	FAILED  PipelineDeleteStatusStatus
	GOING   PipelineDeleteStatusStatus
}

func GetPipelineDeleteStatusStatusEnum added in v0.0.73

func GetPipelineDeleteStatusStatusEnum() PipelineDeleteStatusStatusEnum

type PipelineStageResp added in v0.0.73

type PipelineStageResp struct {

	// 阶段名称
	DisplayName *string `json:"display_name,omitempty"`

	// 阶段状态
	Status *string `json:"status,omitempty"`

	// 阶段执行结果
	Result *string `json:"result,omitempty"`
}

func (PipelineStageResp) String added in v0.0.73

func (o PipelineStageResp) String() string

type PipelineTemplate added in v0.0.73

type PipelineTemplate struct {

	// 模板名称
	Name *string `json:"name,omitempty"`

	// 模板id
	Id *string `json:"id,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 区域id
	RegionId *string `json:"region_id,omitempty"`

	// 预览链接
	Url *string `json:"url,omitempty"`
}

func (PipelineTemplate) String added in v0.0.73

func (o PipelineTemplate) String() string

type PipelineTemplateInfo

type PipelineTemplateInfo struct {

	// 流水线模板的id。
	Id *string `json:"id,omitempty"`

	// 流水线模板的名称。
	Name *string `json:"name,omitempty"`

	// 流水线模板的详细信息。
	Detail *string `json:"detail,omitempty"`
}

func (PipelineTemplateInfo) String

func (o PipelineTemplateInfo) String() string

type ProjectV3 added in v0.0.73

type ProjectV3 struct {

	// 项目id
	ProjectId string `json:"project_id"`

	// 项目名
	Name string `json:"name"`

	// 区域编码
	RegionId *string `json:"region_id,omitempty"`

	// 区域名称
	RegionName *string `json:"region_name,omitempty"`

	// 管理权限
	ManagementPermission *bool `json:"management_permission,omitempty"`

	// 是否是存量项目
	IsStock *bool `json:"is_stock,omitempty"`
}

func (ProjectV3) String added in v0.0.73

func (o ProjectV3) String() string

type Reference

type Reference struct {

	// 标题名称。
	Title *string `json:"title,omitempty"`

	// 链接地址。
	Url *string `json:"url,omitempty"`

	// 关联类型。
	Type *int32 `json:"type,omitempty"`

	// 产品短名。
	Productshort *string `json:"productshort,omitempty"`

	// 是否有效
	IsValid *bool `json:"is_valid,omitempty"`
}

func (Reference) String

func (o Reference) String() string

type ReleaseRepository added in v0.0.73

type ReleaseRepository struct {

	// 软件包id
	Id *string `json:"id,omitempty"`

	// 软件包名称
	Name *string `json:"name,omitempty"`

	// 软件包下载地址
	DownloadPath *string `json:"download_path,omitempty"`

	// 软件包大小
	Size *string `json:"size,omitempty"`

	// 软件包类型名称
	CategoryName *string `json:"category_name,omitempty"`

	// 文件类型
	FileType *string `json:"file_type,omitempty"`

	// 创建时间
	Created *string `json:"created,omitempty"`

	// 修改时间
	Updated *string `json:"updated,omitempty"`
}

func (ReleaseRepository) String added in v0.0.73

func (o ReleaseRepository) String() string

type RepositoryBasicInfo added in v0.0.73

type RepositoryBasicInfo struct {

	// 仓库uuid
	Uuid *string `json:"uuid,omitempty"`

	// 仓库id
	Id *string `json:"id,omitempty"`

	// 仓库名称
	Name *string `json:"name,omitempty"`

	// 仓库git的https下载地址
	HttpsUrl *string `json:"https_url,omitempty"`

	// 仓库git的ssh下载地址
	SshUrl *string `json:"ssh_url,omitempty"`

	// 仓库codehub内容浏览页面地址
	WebUrl *string `json:"web_url,omitempty"`
}

func (RepositoryBasicInfo) String added in v0.0.73

func (o RepositoryBasicInfo) String() string

type RepositoryCreationResult added in v0.0.73

type RepositoryCreationResult struct {
	Repository *RepositoryBasicInfo `json:"repository,omitempty"`

	// 任务id
	TaskId *string `json:"task_id,omitempty"`

	// 任务状态, success:成功,failed:失败,creating:创建中
	Status *RepositoryCreationResultStatus `json:"status,omitempty"`

	// 失败原因
	FailureReason *string `json:"failure_reason,omitempty"`
}

RepositoryCreationResult 仓库信息

func (RepositoryCreationResult) String added in v0.0.73

func (o RepositoryCreationResult) String() string

type RepositoryCreationResultStatus added in v0.0.73

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

func (RepositoryCreationResultStatus) MarshalJSON added in v0.0.73

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

func (*RepositoryCreationResultStatus) UnmarshalJSON added in v0.0.73

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

func (RepositoryCreationResultStatus) Value added in v0.0.90

type RepositoryCreationResultStatusEnum added in v0.0.73

type RepositoryCreationResultStatusEnum struct {
	SUCCESS  RepositoryCreationResultStatus
	FAILED   RepositoryCreationResultStatus
	CREATING RepositoryCreationResultStatus
}

func GetRepositoryCreationResultStatusEnum added in v0.0.73

func GetRepositoryCreationResultStatusEnum() RepositoryCreationResultStatusEnum

type RepositoryInfo

type RepositoryInfo struct {

	// 代码仓的名称。
	Name *string `json:"name,omitempty"`

	// 代码仓描述。
	Description *string `json:"description,omitempty"`

	// 项目id。
	ProjectId *string `json:"project_id,omitempty"`

	// 区域id。
	RegionId *string `json:"region_id,omitempty"`

	// 根据编程语言生成gitignore文件。
	Gitignore *string `json:"gitignore,omitempty"`

	// 是否允许项目内成员访问仓库: - 0:不允许 - 1:允许
	MemberPermission *int32 `json:"member_permission,omitempty"`

	// 是否允许生成README文件: - 0:不允许 - 1:允许
	ReadmePermission *int32 `json:"readme_permission,omitempty"`

	// 是否公开: - 0:私有 - 20:公开只读
	VisibilityLevel *int32 `json:"visibility_level,omitempty"`

	//  开源许可证id (0:默认)。
	LicenseId *int32 `json:"license_id,omitempty"`
}

func (RepositoryInfo) String

func (o RepositoryInfo) String() string

type ResouceInfo added in v0.0.73

type ResouceInfo struct {

	// 云服务名称。
	Name *string `json:"name,omitempty"`

	// 描述。
	Description *string `json:"description,omitempty"`

	// 首页链接。
	HomeLink *string `json:"home_link,omitempty"`

	// 开通链接。
	SubscribeLink *string `json:"subscribe_link,omitempty"`

	// 开通指导。
	SubscribeGuide *string `json:"subscribe_guide,omitempty"`

	// 服务类型。
	Type *string `json:"type,omitempty"`

	// 参考价格。
	ReferencePrice *string `json:"reference_price,omitempty"`

	// 价格详情链接。
	PriceDetailsLink *string `json:"price_details_link,omitempty"`

	// 规格,例如: {\"cpu\" : \"0.5\",\"ram\" : 1GB}。
	Specifications *interface{} `json:"specifications,omitempty"`
}

func (ResouceInfo) String added in v0.0.73

func (o ResouceInfo) String() string

type RunCodehubTemplateJobRequest

type RunCodehubTemplateJobRequest struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *RunCodehubTemplateJobRequestXLanguage `json:"X-Language,omitempty"`

	Body *CodehubJobInfo `json:"body,omitempty"`
}

RunCodehubTemplateJobRequest Request Object

func (RunCodehubTemplateJobRequest) String

type RunCodehubTemplateJobRequestXLanguage

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

func (RunCodehubTemplateJobRequestXLanguage) MarshalJSON

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

func (*RunCodehubTemplateJobRequestXLanguage) UnmarshalJSON

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

func (RunCodehubTemplateJobRequestXLanguage) Value added in v0.0.90

type RunCodehubTemplateJobRequestXLanguageEnum

type RunCodehubTemplateJobRequestXLanguageEnum struct {
	ZH_CN RunCodehubTemplateJobRequestXLanguage
	EN_US RunCodehubTemplateJobRequestXLanguage
}

func GetRunCodehubTemplateJobRequestXLanguageEnum

func GetRunCodehubTemplateJobRequestXLanguageEnum() RunCodehubTemplateJobRequestXLanguageEnum

type RunCodehubTemplateJobResponse

type RunCodehubTemplateJobResponse struct {

	// 任务id。
	JobId *string `json:"job_id,omitempty"`

	// 文件列表。
	FileList       *[]FileTreeNode `json:"file_list,omitempty"`
	HttpStatusCode int             `json:"-"`
}

RunCodehubTemplateJobResponse Response Object

func (RunCodehubTemplateJobResponse) String

type RunDevstarTemplateJobRequest

type RunDevstarTemplateJobRequest struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *RunDevstarTemplateJobRequestXLanguage `json:"X-Language,omitempty"`

	Body *TemplateJobInfo `json:"body,omitempty"`
}

RunDevstarTemplateJobRequest 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

func (RunDevstarTemplateJobRequestXLanguage) Value added in v0.0.90

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

	// 文件列表。
	FileList       *[]FileTreeNode `json:"file_list,omitempty"`
	HttpStatusCode int             `json:"-"`
}

RunDevstarTemplateJobResponse Response Object

func (RunDevstarTemplateJobResponse) String

type ShowApplicationDependentResourcesRequest added in v0.0.73

type ShowApplicationDependentResourcesRequest struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *ShowApplicationDependentResourcesRequestXLanguage `json:"X-Language,omitempty"`

	// 应用id
	ApplicationId string `json:"application_id"`

	// 每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示从此偏移量开始查询
	Offset *int32 `json:"offset,omitempty"`
}

ShowApplicationDependentResourcesRequest Request Object

func (ShowApplicationDependentResourcesRequest) String added in v0.0.73

type ShowApplicationDependentResourcesRequestXLanguage added in v0.0.73

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

func (ShowApplicationDependentResourcesRequestXLanguage) MarshalJSON added in v0.0.73

func (*ShowApplicationDependentResourcesRequestXLanguage) UnmarshalJSON added in v0.0.73

func (ShowApplicationDependentResourcesRequestXLanguage) Value added in v0.0.90

type ShowApplicationDependentResourcesRequestXLanguageEnum added in v0.0.73

type ShowApplicationDependentResourcesRequestXLanguageEnum struct {
	ZH_CN ShowApplicationDependentResourcesRequestXLanguage
	EN_US ShowApplicationDependentResourcesRequestXLanguage
}

func GetShowApplicationDependentResourcesRequestXLanguageEnum added in v0.0.73

func GetShowApplicationDependentResourcesRequestXLanguageEnum() ShowApplicationDependentResourcesRequestXLanguageEnum

type ShowApplicationDependentResourcesResponse added in v0.0.73

type ShowApplicationDependentResourcesResponse struct {

	// 依赖云资源信息
	DependentServices *[]ResouceInfo `json:"dependent_services,omitempty"`

	// 资源总个数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowApplicationDependentResourcesResponse Response Object

func (ShowApplicationDependentResourcesResponse) String added in v0.0.73

type ShowApplicationReleaseRepositoriesRequest added in v0.0.73

type ShowApplicationReleaseRepositoriesRequest struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *ShowApplicationReleaseRepositoriesRequestXLanguage `json:"X-Language,omitempty"`

	// 应用id
	ApplicationId string `json:"application_id"`

	// 父id,仅在仓库类型为ReleaseMan需要
	ParentId *string `json:"parent_id,omitempty"`

	// 搜索关键字,支持按名称搜索,默认null
	Keyword *string `json:"keyword,omitempty"`

	// 每页显示的条目数量,默认10
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示从此偏移量开始查询,默认0
	Offset *int32 `json:"offset,omitempty"`
}

ShowApplicationReleaseRepositoriesRequest Request Object

func (ShowApplicationReleaseRepositoriesRequest) String added in v0.0.73

type ShowApplicationReleaseRepositoriesRequestXLanguage added in v0.0.73

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

func (ShowApplicationReleaseRepositoriesRequestXLanguage) MarshalJSON added in v0.0.73

func (*ShowApplicationReleaseRepositoriesRequestXLanguage) UnmarshalJSON added in v0.0.73

func (ShowApplicationReleaseRepositoriesRequestXLanguage) Value added in v0.0.90

type ShowApplicationReleaseRepositoriesRequestXLanguageEnum added in v0.0.73

type ShowApplicationReleaseRepositoriesRequestXLanguageEnum struct {
	ZH_CN ShowApplicationReleaseRepositoriesRequestXLanguage
	EN_US ShowApplicationReleaseRepositoriesRequestXLanguage
}

func GetShowApplicationReleaseRepositoriesRequestXLanguageEnum added in v0.0.73

func GetShowApplicationReleaseRepositoriesRequestXLanguageEnum() ShowApplicationReleaseRepositoriesRequestXLanguageEnum

type ShowApplicationReleaseRepositoriesResponse added in v0.0.73

type ShowApplicationReleaseRepositoriesResponse struct {

	// 软件包列表
	ReleaseRepositories *[]ReleaseRepository `json:"release_repositories,omitempty"`

	// 软件包总条数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowApplicationReleaseRepositoriesResponse Response Object

func (ShowApplicationReleaseRepositoriesResponse) String added in v0.0.73

type ShowApplicationResDeleteStatusRequest added in v0.0.73

type ShowApplicationResDeleteStatusRequest struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *ShowApplicationResDeleteStatusRequestXLanguage `json:"X-Language,omitempty"`

	// 应用id
	ApplicationId string `json:"application_id"`
}

ShowApplicationResDeleteStatusRequest Request Object

func (ShowApplicationResDeleteStatusRequest) String added in v0.0.73

type ShowApplicationResDeleteStatusRequestXLanguage added in v0.0.73

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

func (ShowApplicationResDeleteStatusRequestXLanguage) MarshalJSON added in v0.0.73

func (*ShowApplicationResDeleteStatusRequestXLanguage) UnmarshalJSON added in v0.0.73

func (ShowApplicationResDeleteStatusRequestXLanguage) Value added in v0.0.90

type ShowApplicationResDeleteStatusRequestXLanguageEnum added in v0.0.73

type ShowApplicationResDeleteStatusRequestXLanguageEnum struct {
	ZH_CN ShowApplicationResDeleteStatusRequestXLanguage
	EN_US ShowApplicationResDeleteStatusRequestXLanguage
}

func GetShowApplicationResDeleteStatusRequestXLanguageEnum added in v0.0.73

func GetShowApplicationResDeleteStatusRequestXLanguageEnum() ShowApplicationResDeleteStatusRequestXLanguageEnum

type ShowApplicationResDeleteStatusResponse added in v0.0.73

type ShowApplicationResDeleteStatusResponse struct {

	// 代码仓删除状态,deleted:删除成功,failed:删除失败,going:正在删除中
	RepoStatus *ShowApplicationResDeleteStatusResponseRepoStatus `json:"repo_status,omitempty"`

	// 流水线删除状态
	PipelineStatus *[]PipelineDeleteStatus `json:"pipeline_status,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ShowApplicationResDeleteStatusResponse Response Object

func (ShowApplicationResDeleteStatusResponse) String added in v0.0.73

type ShowApplicationResDeleteStatusResponseRepoStatus added in v0.0.73

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

func (ShowApplicationResDeleteStatusResponseRepoStatus) MarshalJSON added in v0.0.73

func (*ShowApplicationResDeleteStatusResponseRepoStatus) UnmarshalJSON added in v0.0.73

func (ShowApplicationResDeleteStatusResponseRepoStatus) Value added in v0.0.90

type ShowApplicationResDeleteStatusResponseRepoStatusEnum added in v0.0.73

func GetShowApplicationResDeleteStatusResponseRepoStatusEnum added in v0.0.73

func GetShowApplicationResDeleteStatusResponseRepoStatusEnum() ShowApplicationResDeleteStatusResponseRepoStatusEnum

type ShowApplicationV3Request added in v0.0.73

type ShowApplicationV3Request struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *ShowApplicationV3RequestXLanguage `json:"X-Language,omitempty"`

	// 应用id
	ApplicationId string `json:"application_id"`
}

ShowApplicationV3Request Request Object

func (ShowApplicationV3Request) String added in v0.0.73

func (o ShowApplicationV3Request) String() string

type ShowApplicationV3RequestXLanguage added in v0.0.73

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

func (ShowApplicationV3RequestXLanguage) MarshalJSON added in v0.0.73

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

func (*ShowApplicationV3RequestXLanguage) UnmarshalJSON added in v0.0.73

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

func (ShowApplicationV3RequestXLanguage) Value added in v0.0.90

type ShowApplicationV3RequestXLanguageEnum added in v0.0.73

type ShowApplicationV3RequestXLanguageEnum struct {
	ZH_CN ShowApplicationV3RequestXLanguage
	EN_US ShowApplicationV3RequestXLanguage
}

func GetShowApplicationV3RequestXLanguageEnum added in v0.0.73

func GetShowApplicationV3RequestXLanguageEnum() ShowApplicationV3RequestXLanguageEnum

type ShowApplicationV3Response added in v0.0.73

type ShowApplicationV3Response struct {

	// 应用id
	Id *string `json:"id,omitempty"`

	// 应用名称
	Name string `json:"name"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 区域id
	RegionId string `json:"region_id"`

	// 区域名称
	RegionName string `json:"region_name"`

	// 所属项目id
	ProjectId string `json:"project_id"`

	// 项目名称
	ProjectName string `json:"project_name"`

	// 应用图标
	Icon *string `json:"icon,omitempty"`

	// 流水线列表
	PipelineCreationResult *[]PipelineCreationResult `json:"pipeline_creation_result,omitempty"`

	RepositoryCreationResult *RepositoryCreationResult `json:"repository_creation_result,omitempty"`

	// 环境信息
	EnvironmentCreationResult *[]string `json:"environment_creation_result,omitempty"`

	// 模板类型
	TemplateTypes *[]TemplateType `json:"template_types,omitempty"`

	// 模板部署信息
	TemplateDeployment *string `json:"template_deployment,omitempty"`

	// 部署类型, function:函数部署,cci:cci容器部署,ServiceStage(Jar):ServiceStage jar包部署,ServiceStage(Docker):ServiceStage Docker容器部署,none不支持部署
	DeployType *ShowApplicationV3ResponseDeployType `json:"deploy_type,omitempty"`

	// 创建者名称
	CreatorName *string `json:"creator_name,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 应用版本号
	Version        *string `json:"version,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowApplicationV3Response Response Object

func (ShowApplicationV3Response) String added in v0.0.73

func (o ShowApplicationV3Response) String() string

type ShowApplicationV3ResponseDeployType added in v0.0.73

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

func (ShowApplicationV3ResponseDeployType) MarshalJSON added in v0.0.73

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

func (*ShowApplicationV3ResponseDeployType) UnmarshalJSON added in v0.0.73

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

func (ShowApplicationV3ResponseDeployType) Value added in v0.0.90

type ShowApplicationV3ResponseDeployTypeEnum added in v0.0.73

type ShowApplicationV3ResponseDeployTypeEnum struct {
	FUNCTION             ShowApplicationV3ResponseDeployType
	CCI                  ShowApplicationV3ResponseDeployType
	SERVICE_STAGE_JAR    ShowApplicationV3ResponseDeployType
	SERVICE_STAGE_DOCKER ShowApplicationV3ResponseDeployType
	NONE                 ShowApplicationV3ResponseDeployType
}

func GetShowApplicationV3ResponseDeployTypeEnum added in v0.0.73

func GetShowApplicationV3ResponseDeployTypeEnum() ShowApplicationV3ResponseDeployTypeEnum

type ShowDeploymentJobsRequest added in v0.0.73

type ShowDeploymentJobsRequest struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *ShowDeploymentJobsRequestXLanguage `json:"X-Language,omitempty"`

	// 应用id
	ApplicationId string `json:"application_id"`

	// 环境标识,从 [应用详情接口](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=DevStar&api=ShowApplication) 返回报文中的环境信息获取。
	EnvironmentTag string `json:"environment_tag"`
}

ShowDeploymentJobsRequest Request Object

func (ShowDeploymentJobsRequest) String added in v0.0.73

func (o ShowDeploymentJobsRequest) String() string

type ShowDeploymentJobsRequestXLanguage added in v0.0.73

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

func (ShowDeploymentJobsRequestXLanguage) MarshalJSON added in v0.0.73

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

func (*ShowDeploymentJobsRequestXLanguage) UnmarshalJSON added in v0.0.73

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

func (ShowDeploymentJobsRequestXLanguage) Value added in v0.0.90

type ShowDeploymentJobsRequestXLanguageEnum added in v0.0.73

type ShowDeploymentJobsRequestXLanguageEnum struct {
	ZH_CN ShowDeploymentJobsRequestXLanguage
	EN_US ShowDeploymentJobsRequestXLanguage
}

func GetShowDeploymentJobsRequestXLanguageEnum added in v0.0.73

func GetShowDeploymentJobsRequestXLanguageEnum() ShowDeploymentJobsRequestXLanguageEnum

type ShowDeploymentJobsResponse added in v0.0.73

type ShowDeploymentJobsResponse struct {

	// 部署任务编号
	Id *int32 `json:"id,omitempty"`

	// 任务ID
	JobId *string `json:"job_id,omitempty"`

	// 部署状态,-2:环境准备未就绪 -1 资源准备就绪 0 部署中 1:成功 2:失败
	Status *int32 `json:"status,omitempty"`

	// 访问地址
	Address *string `json:"address,omitempty"`

	// 部署参数
	DeployParameters *string `json:"deploy_parameters,omitempty"`

	// 部署耗时
	Time *int32 `json:"time,omitempty"`

	// 创建人
	CreatorName *string `json:"creator_name,omitempty"`

	// 创建时间
	CreatedTime    *string `json:"created_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDeploymentJobsResponse Response Object

func (ShowDeploymentJobsResponse) String added in v0.0.73

type ShowJobDetailRequest

type ShowJobDetailRequest struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *ShowJobDetailRequestXLanguage `json:"X-Language,omitempty"`

	// 任务 ID: 可以通过调用 RunDevstarTemplateJob 返回结果获取
	JobId string `json:"job_id"`
}

ShowJobDetailRequest 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

func (ShowJobDetailRequestXLanguage) Value added in v0.0.90

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

	// 任务显示类型,页面显示使用字段
	ShowType       *string `json:"show_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowJobDetailResponse Response Object

func (ShowJobDetailResponse) String

func (o ShowJobDetailResponse) String() string

type ShowPipelineLastStatusV2Request added in v0.0.73

type ShowPipelineLastStatusV2Request struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *ShowPipelineLastStatusV2RequestXLanguage `json:"X-Language,omitempty"`

	// 流水线ID
	PipelineId string `json:"pipeline_id"`
}

ShowPipelineLastStatusV2Request Request Object

func (ShowPipelineLastStatusV2Request) String added in v0.0.73

type ShowPipelineLastStatusV2RequestXLanguage added in v0.0.73

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

func (ShowPipelineLastStatusV2RequestXLanguage) MarshalJSON added in v0.0.73

func (*ShowPipelineLastStatusV2RequestXLanguage) UnmarshalJSON added in v0.0.73

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

func (ShowPipelineLastStatusV2RequestXLanguage) Value added in v0.0.90

type ShowPipelineLastStatusV2RequestXLanguageEnum added in v0.0.73

type ShowPipelineLastStatusV2RequestXLanguageEnum struct {
	ZH_CN ShowPipelineLastStatusV2RequestXLanguage
	EN_US ShowPipelineLastStatusV2RequestXLanguage
}

func GetShowPipelineLastStatusV2RequestXLanguageEnum added in v0.0.73

func GetShowPipelineLastStatusV2RequestXLanguageEnum() ShowPipelineLastStatusV2RequestXLanguageEnum

type ShowPipelineLastStatusV2Response added in v0.0.73

type ShowPipelineLastStatusV2Response struct {

	// 流水线id
	PipelineId *string `json:"pipeline_id,omitempty"`

	// 流水线名称
	Name *string `json:"name,omitempty"`

	// 执行状态
	Status *string `json:"status,omitempty"`

	// 执行结果
	Result *string `json:"result,omitempty"`

	// 执行人
	Executor *string `json:"executor,omitempty"`

	// 启动时间
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间
	FinishTime *string `json:"finish_time,omitempty"`

	// 运行详情链接
	DetailUrl *string `json:"detail_url,omitempty"`

	// 编辑链接
	ModifyUrl *string `json:"modify_url,omitempty"`

	// 流水线执行序号
	BuildId *string `json:"build_id,omitempty"`

	// 阶段信息
	Stages         *[]PipelineStageResp `json:"stages,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ShowPipelineLastStatusV2Response Response Object

func (ShowPipelineLastStatusV2Response) String added in v0.0.73

type ShowRepositoryByCloudIdeRequest added in v0.0.76

type ShowRepositoryByCloudIdeRequest struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *ShowRepositoryByCloudIdeRequestXLanguage `json:"X-Language,omitempty"`

	// 仓库id。
	RepositoryId string `json:"repository_id"`

	// 仓库下载地址。
	RepositorySshUrl string `json:"repository_ssh_url"`

	// 区域ID,目前仅支持北京四:cn-north-4及北京一:cn-north-1。
	RegionId *string `json:"region_id,omitempty"`

	// 工作空间名称前缀,仅在is_open_last为false时生效,由用户自定义,支持大小写字母、中文、_、-,长度1-256。
	SpacePrefix *string `json:"space_prefix,omitempty"`

	// 是否打开上一次的工作空间,true表示打开上一次工作空间,如果没有上一次工作空间会返回空,false代表打开一个全新的工作空间。
	IsOpenLast *bool `json:"is_open_last,omitempty"`

	// 是否创建 CloudIDE 免费实例链接,true表示创建一个 CloudIDE 免费实例链接,false表示创建一个 CloudIDE 收费实例链接。
	IsFree *bool `json:"is_free,omitempty"`
}

ShowRepositoryByCloudIdeRequest Request Object

func (ShowRepositoryByCloudIdeRequest) String added in v0.0.76

type ShowRepositoryByCloudIdeRequestXLanguage added in v0.0.76

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

func (ShowRepositoryByCloudIdeRequestXLanguage) MarshalJSON added in v0.0.76

func (*ShowRepositoryByCloudIdeRequestXLanguage) UnmarshalJSON added in v0.0.76

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

func (ShowRepositoryByCloudIdeRequestXLanguage) Value added in v0.0.90

type ShowRepositoryByCloudIdeRequestXLanguageEnum added in v0.0.76

type ShowRepositoryByCloudIdeRequestXLanguageEnum struct {
	ZH_CN ShowRepositoryByCloudIdeRequestXLanguage
	EN_US ShowRepositoryByCloudIdeRequestXLanguage
}

func GetShowRepositoryByCloudIdeRequestXLanguageEnum added in v0.0.76

func GetShowRepositoryByCloudIdeRequestXLanguageEnum() ShowRepositoryByCloudIdeRequestXLanguageEnum

type ShowRepositoryByCloudIdeResponse added in v0.0.76

type ShowRepositoryByCloudIdeResponse struct {

	// CloudIde打开链接:https://xxx/cloudide/loading?instanceId=xxx&scmUrl=xxx
	Url            *string `json:"url,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowRepositoryByCloudIdeResponse Response Object

func (ShowRepositoryByCloudIdeResponse) String added in v0.0.76

type ShowRepositoryStatisticalDataV2Request added in v0.0.73

type ShowRepositoryStatisticalDataV2Request struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *ShowRepositoryStatisticalDataV2RequestXLanguage `json:"X-Language,omitempty"`

	// 代码仓库id
	RepositoryId string `json:"repository_id"`
}

ShowRepositoryStatisticalDataV2Request Request Object

func (ShowRepositoryStatisticalDataV2Request) String added in v0.0.73

type ShowRepositoryStatisticalDataV2RequestXLanguage added in v0.0.73

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

func (ShowRepositoryStatisticalDataV2RequestXLanguage) MarshalJSON added in v0.0.73

func (*ShowRepositoryStatisticalDataV2RequestXLanguage) UnmarshalJSON added in v0.0.73

func (ShowRepositoryStatisticalDataV2RequestXLanguage) Value added in v0.0.90

type ShowRepositoryStatisticalDataV2RequestXLanguageEnum added in v0.0.73

type ShowRepositoryStatisticalDataV2RequestXLanguageEnum struct {
	ZH_CN ShowRepositoryStatisticalDataV2RequestXLanguage
	EN_US ShowRepositoryStatisticalDataV2RequestXLanguage
}

func GetShowRepositoryStatisticalDataV2RequestXLanguageEnum added in v0.0.73

func GetShowRepositoryStatisticalDataV2RequestXLanguageEnum() ShowRepositoryStatisticalDataV2RequestXLanguageEnum

type ShowRepositoryStatisticalDataV2Response added in v0.0.73

type ShowRepositoryStatisticalDataV2Response struct {

	// 代码仓的名称
	Name *string `json:"name,omitempty"`

	// 提交数量
	CommitNumber *int32 `json:"commit_number,omitempty"`

	// Git库容量
	GitRepoCap *string `json:"git_repo_cap,omitempty"`

	// 近一次提交时间
	LastCommitTime *string `json:"last_commit_time,omitempty"`

	// 代码行数
	CodeLines *int32 `json:"code_lines,omitempty"`

	// 分支数量
	BranchNumber *int32 `json:"branch_number,omitempty"`

	// 代码仓路径url
	DetailUrl *string `json:"detail_url,omitempty"`

	// 代码仓下载url
	DownloadUrl    *string `json:"download_url,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowRepositoryStatisticalDataV2Response Response Object

func (ShowRepositoryStatisticalDataV2Response) String added in v0.0.73

type ShowTemplateDetailRequest

type ShowTemplateDetailRequest struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *ShowTemplateDetailRequestXLanguage `json:"X-Language,omitempty"`

	// 模板ID,通过查询模板列表接口可获取相应模板ID。
	TemplateId string `json:"template_id"`
}

ShowTemplateDetailRequest 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

func (ShowTemplateDetailRequestXLanguage) Value added in v0.0.90

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

	// 源数据信息: - key:元数据标识 - defaultValue:用户输入值的默认值 - isShow:前台界面组件是否展示该元数据 - isProjectName:是否使用作为项目名称 - label:前台界面组件展示名称 - type:前台界面组件类型 - helpText:前台界面组件帮助文本 - readOnly:前台界面组件是否可修改 - required:前台界面组件是否展示必填 - regType:该元数据进行正则校验类型;简化模板编码使用 - regPattern:该元数据对应js语法正则表达式 - regTip:该元数据正则校验提示信息 - visibleRule:该元数据可见规则 - isRequired:是否必填 - isReadOnly:是否只读 - options:option对象集合   - displayName:前台界面展示字符串   - value:该选项值 - eventOnchange:联动属性集合   - associatedProperty:被关联Property的key值   - associatedValue:被关联的value - fold:是否折叠 - show:是否展示该Property
	Properties *[]interface{} `json:"properties,omitempty"`

	// dependency信息: - id:依赖全局唯一标识 - name:依赖展示名称 - description:依赖展示描述 - recommended:是否推荐使用该依赖 - versionProperty:该依赖版本被关联Property的key值 - versionRange:该依赖版本适用范围 - groupName:分组名称 - items:分组列表
	Dependencies *[]interface{} `json:"dependencies,omitempty"`

	// dependency类型: - 0:分组 - 1:不分组 - null:无分组信息
	DependencyType *string `json:"dependency_type,omitempty"`

	// 部署信息: - param:参数对象   - build:构建类型   - runtime:函数运行时   - handler:函数执行入口   - outputFile:构建产物文件路径 - target:部署环境
	Deployment     *interface{} `json:"deployment,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ShowTemplateDetailResponse Response Object

func (ShowTemplateDetailResponse) String

type ShowTemplateFileRequest

type ShowTemplateFileRequest struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *ShowTemplateFileRequestXLanguage `json:"X-Language,omitempty"`

	// 模板ID,通过查询模板列表接口可获取相应的模板ID。
	TemplateId string `json:"template_id"`

	// 文件相对路径,基于当前根目录的相对文件路径,例如获取HELP.md文件内容,则文件相对路径为“template-resources/file/HELP.md”。
	FilePath string `json:"file_path"`

	// 读取文件来源,缺省值为“source-pachage”。  枚举值: - source-package: 源文件压缩包 - introduction: 说明文件
	Type *ShowTemplateFileRequestType `json:"type,omitempty"`
}

ShowTemplateFileRequest Request Object

func (ShowTemplateFileRequest) String

func (o ShowTemplateFileRequest) String() string

type ShowTemplateFileRequestType

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

func (ShowTemplateFileRequestType) MarshalJSON

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

func (*ShowTemplateFileRequestType) UnmarshalJSON

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

func (ShowTemplateFileRequestType) Value added in v0.0.90

type ShowTemplateFileRequestTypeEnum

type ShowTemplateFileRequestTypeEnum struct {
	SOURCE_PACKAGE ShowTemplateFileRequestType
	INTRODUCTION   ShowTemplateFileRequestType
}

func GetShowTemplateFileRequestTypeEnum

func GetShowTemplateFileRequestTypeEnum() ShowTemplateFileRequestTypeEnum

type ShowTemplateFileRequestXLanguage

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

func (ShowTemplateFileRequestXLanguage) MarshalJSON

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

func (*ShowTemplateFileRequestXLanguage) UnmarshalJSON

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

func (ShowTemplateFileRequestXLanguage) Value added in v0.0.90

type ShowTemplateFileRequestXLanguageEnum

type ShowTemplateFileRequestXLanguageEnum struct {
	ZH_CN ShowTemplateFileRequestXLanguage
	EN_US ShowTemplateFileRequestXLanguage
}

func GetShowTemplateFileRequestXLanguageEnum

func GetShowTemplateFileRequestXLanguageEnum() ShowTemplateFileRequestXLanguageEnum

type ShowTemplateFileResponse

type ShowTemplateFileResponse struct {

	// 文件内容(返回的文件内容为encoding指定的编码格式编码后的内容)。
	Content *string `json:"content,omitempty"`

	// 内容编码格式(固定base64)。
	Encoding *string `json:"encoding,omitempty"`

	// 文件名。
	FileName *string `json:"file_name,omitempty"`

	// 文件相对路径。
	FilePath *string `json:"file_path,omitempty"`

	// 文件类型。
	FileType       *string `json:"file_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowTemplateFileResponse Response Object

func (ShowTemplateFileResponse) String

func (o ShowTemplateFileResponse) String() string

type ShowTemplateV3Request

type ShowTemplateV3Request struct {

	// 语言类型,缺省值为“zh-cn”。  枚举值: - zh-cn:中文 - en-us:英文
	XLanguage *ShowTemplateV3RequestXLanguage `json:"X-Language,omitempty"`

	// 模板ID,通过查询模板列表接口可获取相应的模板ID。
	TemplateId string `json:"template_id"`
}

ShowTemplateV3Request Request Object

func (ShowTemplateV3Request) String

func (o ShowTemplateV3Request) String() string

type ShowTemplateV3RequestXLanguage

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

func (ShowTemplateV3RequestXLanguage) MarshalJSON

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

func (*ShowTemplateV3RequestXLanguage) UnmarshalJSON

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

func (ShowTemplateV3RequestXLanguage) Value added in v0.0.90

type ShowTemplateV3RequestXLanguageEnum

type ShowTemplateV3RequestXLanguageEnum struct {
	ZH_CN ShowTemplateV3RequestXLanguage
	EN_US ShowTemplateV3RequestXLanguage
}

func GetShowTemplateV3RequestXLanguageEnum

func GetShowTemplateV3RequestXLanguageEnum() ShowTemplateV3RequestXLanguageEnum

type ShowTemplateV3Response

type ShowTemplateV3Response struct {

	// 模板id。
	Id *string `json:"id,omitempty"`

	// 模板名称。
	Title *string `json:"title,omitempty"`

	// 模板描述。
	Description *string `json:"description,omitempty"`

	// 模板创建者id。
	CreatorId *string `json:"creator_id,omitempty"`

	// 模板创建者,有别名返回别名。
	Creator *string `json:"creator,omitempty"`

	// 模板创建者,有别名返回别名。
	Nickname *string `json:"nickname,omitempty"`

	// 模板评分(点赞数)。
	Score *int32 `json:"score,omitempty"`

	// 模板状态: - 0:审核中 - 1:已上架 - 2:未上架(已下架) - 3:未上架(合规检查不通过) - 4:未上架(待上架) - 5:已删除
	Status *int32 `json:"status,omitempty"`

	// 访问量。
	ViewCount *int32 `json:"view_count,omitempty"`

	// 引用量。
	UsageCount *int32 `json:"usage_count,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 上架时间。
	PublishedAt *string `json:"published_at,omitempty"`

	// 点赞状态: - 1:点赞 - 0:未点赞
	FavoriteState *int32 `json:"favorite_state,omitempty"`

	// 模板相关联的所有维护人账号名称。
	Maintainers *[]string `json:"maintainers,omitempty"`

	// 平台来源: - 0:codelabs - 1:devstar
	PlatformSource *int32 `json:"platform_source,omitempty"`

	// 模板自定义参数列表。
	Properties *interface{} `json:"properties,omitempty"`

	// dependency信息。
	Dependencies *[]interface{} `json:"dependencies,omitempty"`

	// dependency类型: - '0':非分组的依赖类型 - '1':分组依赖类型
	DependencyType *string `json:"dependency_type,omitempty"`

	// 代码存储位置: - 0:codehub - 1:Obs - 2:efs - 3:网络公开代码仓
	Store *int32 `json:"store,omitempty"`

	// 获取代码模版所需的信息。
	StoreInfo *string `json:"store_info,omitempty"`

	// 模板文件解压缩之后的大小(单位:KB)。
	FileSize *int32 `json:"file_size,omitempty"`

	// 部署信息。
	Deployment *interface{} `json:"deployment,omitempty"`

	// 动、静态代码模板标识: - 0:动态模板codetemplate - 1:静态模板codesample
	IsStatic *int32 `json:"is_static,omitempty"`

	// 模板关联更新态Id。
	UpdateId *string `json:"update_id,omitempty"`

	// 模板标签。
	Topic *[]TopicCategory `json:"topic,omitempty"`

	// 自定义标签。
	Tags *[]TagInfo `json:"tags,omitempty"`

	// 模板部署支持方式信息
	Dependents     *[]Dependent `json:"dependents,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ShowTemplateV3Response Response Object

func (ShowTemplateV3Response) String

func (o ShowTemplateV3Response) String() string

type StartPipelineRequest added in v0.0.73

type StartPipelineRequest struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *StartPipelineRequestXLanguage `json:"X-Language,omitempty"`

	// 流水线ID
	PipelineId string `json:"pipeline_id"`
}

StartPipelineRequest Request Object

func (StartPipelineRequest) String added in v0.0.73

func (o StartPipelineRequest) String() string

type StartPipelineRequestXLanguage added in v0.0.73

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

func (StartPipelineRequestXLanguage) MarshalJSON added in v0.0.73

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

func (*StartPipelineRequestXLanguage) UnmarshalJSON added in v0.0.73

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

func (StartPipelineRequestXLanguage) Value added in v0.0.90

type StartPipelineRequestXLanguageEnum added in v0.0.73

type StartPipelineRequestXLanguageEnum struct {
	ZH_CN StartPipelineRequestXLanguage
	EN_US StartPipelineRequestXLanguage
}

func GetStartPipelineRequestXLanguageEnum added in v0.0.73

func GetStartPipelineRequestXLanguageEnum() StartPipelineRequestXLanguageEnum

type StartPipelineResponse added in v0.0.73

type StartPipelineResponse struct {

	// 流水线id
	Id *string `json:"id,omitempty"`

	// 流水线操作成功
	Result         *StartPipelineResponseResult `json:"result,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

StartPipelineResponse Response Object

func (StartPipelineResponse) String added in v0.0.73

func (o StartPipelineResponse) String() string

type StartPipelineResponseResult added in v0.0.73

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

func (StartPipelineResponseResult) MarshalJSON added in v0.0.73

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

func (*StartPipelineResponseResult) UnmarshalJSON added in v0.0.73

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

func (StartPipelineResponseResult) Value added in v0.0.90

type StartPipelineResponseResultEnum added in v0.0.73

type StartPipelineResponseResultEnum struct {
	SUCCESS StartPipelineResponseResult
	FAILED  StartPipelineResponseResult
}

func GetStartPipelineResponseResultEnum added in v0.0.73

func GetStartPipelineResponseResultEnum() StartPipelineResponseResultEnum

type TagInfo

type TagInfo struct {

	// 自定义标签id。
	Id *string `json:"id,omitempty"`

	// 自定义标签名称。
	Name *string `json:"name,omitempty"`
}

func (TagInfo) String

func (o TagInfo) String() string

type TemplateInfo

type TemplateInfo struct {

	// 模板id。
	Id *string `json:"id,omitempty"`

	// 模板名。
	Title *string `json:"title,omitempty"`

	// 模板描述。
	Description *string `json:"description,omitempty"`

	// 模板关联的所有云服务(产品短名)。
	Productshorts *[]string `json:"productshorts,omitempty"`

	// 模板关联的云产品。
	Products *[]TemplateProductExt `json:"products,omitempty"`

	// 模板标签。
	Topic *[]TopicCategory `json:"topic,omitempty"`

	// 模板创建者id。
	CreatorId *string `json:"creator_id,omitempty"`

	// 模板创建者,有别名返回别名。
	Creator *string `json:"creator,omitempty"`

	// 模板创建者,有别名返回别名。
	Nickname *string `json:"nickname,omitempty"`

	// 模板评分(点赞数)。
	Score *int32 `json:"score,omitempty"`

	// 模板标签(new、hot等)。
	Label *string `json:"label,omitempty"`

	// 代码存储位置。
	Store *int32 `json:"store,omitempty"`

	// 获取代码模版所需的信息。
	StoreInfo *string `json:"store_info,omitempty"`

	// 模板状态: - 0:审核中 - 1:已上架 - 2:未上架(已下架) - 3:未上架(合规检查不通过) - 4:未上架(待上架) - 5:已删除
	Status *int32 `json:"status,omitempty"`

	// 访问量。
	ViewCount *int32 `json:"view_count,omitempty"`

	// 引用量。
	UsageCount *int32 `json:"usage_count,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 模板上架时间。
	PublishedAt *string `json:"published_at,omitempty"`

	// 点赞状态: - 1:点赞 - 0:未点赞
	FavoriteState *int32 `json:"favorite_state,omitempty"`

	// 模板标签。
	Tags *[]TagInfo `json:"tags,omitempty"`

	// 模板类型: - 0:doc - 1:code - 2:pipeline - 3:devops 四种
	Type *int32 `json:"type,omitempty"`

	// 动、静态代码模板标识: - 0:动态模板codetemplate - 1:静态模板codesample
	IsStatic *int32 `json:"is_static,omitempty"`

	// 模板相关联的所有维护人账号名称。
	Maintainers *[]string `json:"maintainers,omitempty"`

	PipelineTemplate *PipelineTemplateInfo `json:"pipeline_template,omitempty"`

	// 平台来源: - 0:codelabs - 1:devstar
	PlatformSource *int32 `json:"platform_source,omitempty"`

	// 相关文档,示例,帖子。
	References *[]Reference `json:"references,omitempty"`

	// 模板自定义参数列表。
	Properties *interface{} `json:"properties,omitempty"`

	// dependency信息。
	Dependencies *[]interface{} `json:"dependencies,omitempty"`

	// dependency类型。
	DependencyType *string `json:"dependency_type,omitempty"`

	// 关联论坛板块id。
	ForumId *int32 `json:"forum_id,omitempty"`

	// 模板文件解压缩之后的大小(单位:KB)。
	FileSize *int32 `json:"file_size,omitempty"`

	// 部署信息。
	Deployment *interface{} `json:"deployment,omitempty"`

	// 模板关联更新态Id。
	UpdateId *string `json:"update_id,omitempty"`

	// 是否支持使用CloudIDE运行源码。
	IsSupportCloudide *bool `json:"is_support_cloudide,omitempty"`

	// 是否有消息
	HasNotices *bool `json:"has_notices,omitempty"`

	// 模板部署方式依赖信息
	Dependents *[]Dependent `json:"dependents,omitempty"`

	// 模板关联云服务。
	DependentServices *string `json:"dependent_services,omitempty"`
}

func (TemplateInfo) String

func (o TemplateInfo) String() string

type TemplateJobInfo

type TemplateJobInfo struct {

	// 应用名称
	ApplicationName *string `json:"application_name,omitempty"`

	// 任务依赖的模板id
	TemplateId string `json:"template_id"`

	// 应用名称
	ProjectName *string `json:"project_name,omitempty"`

	// 应用代码生成后的地址类型,目前支持0:codehub地址和1:压缩包下载地址
	RepoType *int32 `json:"repo_type,omitempty"`

	// 应用的动态参数json
	Properties *interface{} `json:"properties,omitempty"`

	// 模板 dependency ID 集合
	TemplateDependencies *[]string `json:"template_dependencies,omitempty"`

	RepoInfo *RepositoryInfo `json:"repo_info,omitempty"`
}

func (TemplateJobInfo) String

func (o TemplateJobInfo) String() string

type TemplateProductExt

type TemplateProductExt struct {

	// 产品id。
	Id *string `json:"id,omitempty"`

	// 产品短名。
	Productshort *string `json:"productshort,omitempty"`

	// 产品名。
	ProductName *string `json:"product_name,omitempty"`

	// 首页链接。
	HomeLink *string `json:"home_link,omitempty"`

	// api调试链接。
	ApiLink *string `json:"api_link,omitempty"`

	// sdk下载链接。
	SdkLink *string `json:"sdk_link,omitempty"`

	// 文档链接。
	DocLink *string `json:"doc_link,omitempty"`

	// logo链接。
	LogoLink *string `json:"logo_link,omitempty"`
}

func (TemplateProductExt) String

func (o TemplateProductExt) String() string

type TemplateQuery added in v0.0.76

type TemplateQuery struct {

	// 模板分类数组。
	Category *[]string `json:"category,omitempty"`

	// 搜索关键字,支持按名称和描述搜索,默认null。
	Keyword *string `json:"keyword,omitempty"`

	// 排序字段。
	SortKey *[]string `json:"sort_key,omitempty"`

	// 指定排序使用升序还是降序。 - asc 升序 - desc 降序
	SortDir *[]string `json:"sort_dir,omitempty"`

	// 标签: - all:全部 - new:最新 - hot:热门 - recommend:推荐
	Label *TemplateQueryLabel `json:"label,omitempty"`

	// 是否查询用户自己创建的模板,默认查所有模板。
	MyTemplates *bool `json:"my_templates,omitempty"`

	// 查所有模板时只处理上架的;查用户模板,需支持按状态查询,状态: - 0:审核中 - 1:上架 - 2:下架 不传表示查所有的(默认)
	Status *int32 `json:"status,omitempty"`

	// 模板状态数组。
	StatusArray *[]int32 `json:"status_array,omitempty"`

	// 是否查询有消息的模板,默认查所有模板。
	HasNotices *bool `json:"has_notices,omitempty"`

	// 模板关联的云产品(产品短名)列表。
	Productshorts *[]string `json:"productshorts,omitempty"`

	// 偏移量,表示从此偏移量开始查询,offset大于等于0。
	Offset *int32 `json:"offset,omitempty"`

	// 每页的模板条数。
	Limit *int32 `json:"limit,omitempty"`

	// 模板关联的自定义标签列表。
	TagIds *[]string `json:"tag_ids,omitempty"`

	// 模板类型: - 0:doc - 1:code - 2:pipeline - 3:devops
	Types *[]int32 `json:"types,omitempty"`

	// 动、静态代码模板标识: - 0:动态模板codetemplate - 1:静态模板codesample
	IsStatic *int32 `json:"is_static,omitempty"`

	// 平台来源: - 0:codelabs - 1:devstar
	PlatformSource *[]int32 `json:"platform_source,omitempty"`

	// 模板关联的标签名称列表。
	TagNames *[]string `json:"tag_names,omitempty"`
}

func (TemplateQuery) String added in v0.0.76

func (o TemplateQuery) String() string

type TemplateQueryLabel added in v0.0.76

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

func (TemplateQueryLabel) MarshalJSON added in v0.0.76

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

func (*TemplateQueryLabel) UnmarshalJSON added in v0.0.76

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

func (TemplateQueryLabel) Value added in v0.0.90

func (c TemplateQueryLabel) Value() string

type TemplateQueryLabelEnum added in v0.0.76

type TemplateQueryLabelEnum struct {
	ALL       TemplateQueryLabel
	NEW       TemplateQueryLabel
	HOT       TemplateQueryLabel
	RECOMMEND TemplateQueryLabel
}

func GetTemplateQueryLabelEnum added in v0.0.76

func GetTemplateQueryLabelEnum() TemplateQueryLabelEnum

type TemplateQueryV2

type TemplateQueryV2 struct {

	// 模板分类数组。
	Category *[]string `json:"category,omitempty"`

	// 搜索关键字,支持按名称和描述搜索,默认null。
	Keyword *string `json:"keyword,omitempty"`

	// 排序字段和排序顺序指定。比如: - desc(created_at):根据创建时间降序 - desc(usage_count):根据引用次数降序
	SortBy *string `json:"sort_by,omitempty"`

	// 标签: - all:全部 - new:最新 - hot:热门 - recommend:推荐
	Label *string `json:"label,omitempty"`

	// 是否查询用户自己创建的模板,默认查所有模板。
	MyTemplates *bool `json:"my_templates,omitempty"`

	// 查所有模板时只处理上架的;查用户模板,需支持按状态查询,状态: - 0:审核中 - 1:上架 - 2:下架 不传表示查所有的(默认)
	Status *int32 `json:"status,omitempty"`

	// 模板状态数组。
	StatusArray *[]int32 `json:"status_array,omitempty"`

	// 是否查询有消息的模板,默认查所有模板。
	HasNotices *bool `json:"has_notices,omitempty"`

	// 模板关联的云产品(产品短名)列表。
	Productshorts *[]string `json:"productshorts,omitempty"`

	// 偏移量,表示从此偏移量开始查询,offset大于等于0。
	Offset *int32 `json:"offset,omitempty"`

	// 每页的模板条数。
	Limit *int32 `json:"limit,omitempty"`

	// 模板关联的自定义标签列表。
	TagIds *[]string `json:"tag_ids,omitempty"`

	// 模板类型: - 0:doc - 1:code - 2:pipeline - 3:devops
	Types *[]int32 `json:"types,omitempty"`

	// 动、静态代码模板标识: - 0:动态模板codetemplate - 1:静态模板codesample
	IsStatic *int32 `json:"is_static,omitempty"`

	// 平台来源: - 0:codelabs - 1:devstar
	PlatformSource *[]int32 `json:"platform_source,omitempty"`

	// 模板关联的标签名称列表。
	TagNames *[]string `json:"tag_names,omitempty"`
}

func (TemplateQueryV2) String

func (o TemplateQueryV2) 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

type TemplateType added in v0.0.73

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

func (TemplateType) MarshalJSON added in v0.0.73

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

func (*TemplateType) UnmarshalJSON added in v0.0.73

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

func (TemplateType) Value added in v0.0.90

func (c TemplateType) Value() string

type TemplateTypeEnum added in v0.0.73

type TemplateTypeEnum struct {
	MOBILE       TemplateType
	MICROSERVICE TemplateType
	WEB          TemplateType
	FUNCTION     TemplateType
	IOT          TemplateType
	AI           TemplateType
	OTHERS       TemplateType
	NONE         TemplateType
}

func GetTemplateTypeEnum added in v0.0.73

func GetTemplateTypeEnum() TemplateTypeEnum

type TemplateViewHistory

type TemplateViewHistory struct {

	// 模板的id。
	TemplateId string `json:"template_id"`

	// 模板的名称。
	TemplateTitle string `json:"template_title"`
}

func (TemplateViewHistory) String

func (o TemplateViewHistory) String() string

type TemplatesInfo

type TemplatesInfo struct {

	// 模板ID列表。
	TemplateIds []string `json:"template_ids"`

	// 平台来源: - 0:codelabs - 1:devstar
	PlatformSource int32 `json:"platform_source"`
}

func (TemplatesInfo) String

func (o TemplatesInfo) String() string

type TopicCategory

type TopicCategory struct {

	// topic的id。
	TopicId *string `json:"topic_id,omitempty"`

	// topic的名称。
	TopicName *string `json:"topic_name,omitempty"`

	// topic对应的类别的id。
	CategoryId *string `json:"category_id,omitempty"`

	// topic对应的类别的名称。
	CategoryName *string `json:"category_name,omitempty"`
}

func (TopicCategory) String

func (o TopicCategory) String() string

type UpdateApplicationRequest added in v0.0.73

type UpdateApplicationRequest struct {

	// 语言类型 中文:zh-cn 英文:en-us
	XLanguage *UpdateApplicationRequestXLanguage `json:"X-Language,omitempty"`

	// 应用id
	ApplicationId string `json:"application_id"`

	Body *ApplicationModifyInfo `json:"body,omitempty"`
}

UpdateApplicationRequest Request Object

func (UpdateApplicationRequest) String added in v0.0.73

func (o UpdateApplicationRequest) String() string

type UpdateApplicationRequestXLanguage added in v0.0.73

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

func (UpdateApplicationRequestXLanguage) MarshalJSON added in v0.0.73

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

func (*UpdateApplicationRequestXLanguage) UnmarshalJSON added in v0.0.73

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

func (UpdateApplicationRequestXLanguage) Value added in v0.0.90

type UpdateApplicationRequestXLanguageEnum added in v0.0.73

type UpdateApplicationRequestXLanguageEnum struct {
	ZH_CN UpdateApplicationRequestXLanguage
	EN_US UpdateApplicationRequestXLanguage
}

func GetUpdateApplicationRequestXLanguageEnum added in v0.0.73

func GetUpdateApplicationRequestXLanguageEnum() UpdateApplicationRequestXLanguageEnum

type UpdateApplicationResponse added in v0.0.73

type UpdateApplicationResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateApplicationResponse Response Object

func (UpdateApplicationResponse) String added in v0.0.73

func (o UpdateApplicationResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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